raspberry_games_server_game_logic 1.8.382 → 1.8.384
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 +9866 -9859
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.d.ts +10 -1
- package/Logic_Debertz-game_server.js +549 -537
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +8 -8
- package/kotlinx-coroutines-core.js.map +1 -1
- 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.d9v(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
364
364
|
tmp_0 = Unit_instance;
|
|
365
365
|
} else {
|
|
366
|
-
tmp_0 = $super.
|
|
366
|
+
tmp_0 = $super.d9v.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.e9v(newRid);
|
|
375
375
|
tmp = Unit_instance;
|
|
376
376
|
} else {
|
|
377
|
-
tmp = $super.
|
|
377
|
+
tmp = $super.e9v.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.f9v(reason, roomId);
|
|
386
386
|
tmp = Unit_instance;
|
|
387
387
|
} else {
|
|
388
|
-
tmp = $super.
|
|
388
|
+
tmp = $super.f9v.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.x9z(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig) : $super.x9z.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.r9e_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).t9e = function (it, $completion) {
|
|
468
|
+
var tmp = this.u9e(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.t9e(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.r9e_1(this.s9e_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).u9e = function (it, completion) {
|
|
495
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.r9e_1, completion);
|
|
496
|
+
i.s9e_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.t9e(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.d9f_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).f9f = function (it, $completion) {
|
|
512
|
+
var tmp = this.g9f(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.f9f((!(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.d9f_1(this.e9f_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).g9f = function (it, completion) {
|
|
539
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.d9f_1, completion);
|
|
540
|
+
i.e9f_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.f9f(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.p9f_1 = $$this$unsafeFlow;
|
|
553
|
+
this.q9f_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.p9f_1;
|
|
574
|
+
var value = this.r9f_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.q9f_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.p9f_1, this.q9f_1, completion);
|
|
600
|
+
i.r9f_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.a9g_1 = _this__u8e3s4;
|
|
614
|
+
this.b9g_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.b9g_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.a9g_1.d9g_1, null);
|
|
627
|
+
suspendResult = this.a9g_1.c9g_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.c9g_1 = $this;
|
|
651
|
+
this.d9g_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.m9g_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).o9g = function (it, $completion) {
|
|
667
|
+
var tmp = this.p9g(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.o9g((!(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.m9g_1(this.n9g_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).p9g = function (it, completion) {
|
|
694
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.m9g_1, completion);
|
|
695
|
+
i.n9g_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.o9g(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.y9g_1 = $$this$unsafeFlow;
|
|
708
|
+
this.z9g_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.y9g_1;
|
|
729
|
+
var value = this.a9h_1;
|
|
730
730
|
this.r8_1 = 1;
|
|
731
|
-
suspendResult = tmp0.l28(new ActionsStateUpdate(this.
|
|
731
|
+
suspendResult = tmp0.l28(new ActionsStateUpdate(this.z9g_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.y9g_1, this.z9g_1, completion);
|
|
755
|
+
i.a9h_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.j9h_1 = _this__u8e3s4;
|
|
769
|
+
this.k9h_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.k9h_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.j9h_1.m9h_1, null);
|
|
782
|
+
suspendResult = this.j9h_1.l9h_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.l9h_1 = $this;
|
|
806
|
+
this.m9h_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.v9h_1 = $table;
|
|
819
|
+
this.w9h_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).y9h = function ($this$flow, $completion) {
|
|
823
|
+
var tmp = this.z9h($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.y9h((!(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.x9h_1.l28(new TableStateUpdate(this.v9h_1.id, this.v9h_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.w9h_1).k8j(), fromInt(_get_serverReduxConfig__rprcrm(this.w9h_1).serverStateUpdateIntervalMillis));
|
|
849
|
+
suspendResult = emitAll(this.x9h_1, new _no_name_provided__qut3iv(this_0, this.v9h_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).z9h = function ($this$flow, completion) {
|
|
872
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.v9h_1, this.w9h_1, completion);
|
|
873
|
+
i.x9h_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.y9h($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.i9i_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.n9i_1 = this.i9i_1;
|
|
907
907
|
var tmp_1 = this;
|
|
908
|
-
tmp_1.
|
|
908
|
+
tmp_1.m9i_1 = this.j9i_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.k9i_1 = this.n9i_1;
|
|
913
|
+
var tmp0_elvis_lhs = this.m9i_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.l9i_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.l9i_1;
|
|
926
926
|
this.r8_1 = 3;
|
|
927
|
-
suspendResult = this.
|
|
927
|
+
suspendResult = this.k9i_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.i9i_1, completion);
|
|
959
|
+
i.j9i_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.w9i_1 = _this__u8e3s4;
|
|
973
|
+
this.x9i_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.x9i_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.w9i_1.y9i_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.h9j_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.h9j_1;
|
|
1030
|
+
var value = this.i9j_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.h9j_1, completion);
|
|
1056
|
+
i.i9j_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.r9j_1 = _this__u8e3s4;
|
|
1070
|
+
this.s9j_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.s9j_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.r9j_1.t9j_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.c9k_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.c9k_1;
|
|
1127
|
+
var value = this.d9k_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.c9k_1, completion);
|
|
1153
|
+
i.d9k_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.m9k_1 = _this__u8e3s4;
|
|
1167
|
+
this.n9k_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.n9k_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.m9k_1.o9k_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.x9k_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).z9k = function (it, $completion) {
|
|
1207
|
+
var tmp = this.a9l(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.z9k(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.x9k_1(this.y9k_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).a9l = function (it, completion) {
|
|
1234
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.x9k_1, completion);
|
|
1235
|
+
i.y9k_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.z9k(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.b9l_1 = $playerId;
|
|
1248
1248
|
}
|
|
1249
1249
|
protoOf(GameServer$roomOnCreate$2$updatedUsers$previousTeams$1).t65 = function () {
|
|
1250
|
-
return this.
|
|
1250
|
+
return this.b9l_1;
|
|
1251
1251
|
};
|
|
1252
1252
|
function _get_logger__rkp4sl($this) {
|
|
1253
|
-
var tmp0 = $this.
|
|
1253
|
+
var tmp0 = $this.e9l_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.f9l_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.g9l_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.h9l_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.i9l_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.j9l_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.k9l_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.l9l_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.m9l_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);
|
|
@@ -1834,7 +1834,7 @@
|
|
|
1834
1834
|
return l;
|
|
1835
1835
|
}
|
|
1836
1836
|
function GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1($this) {
|
|
1837
|
-
this.
|
|
1837
|
+
this.y9i_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.t9j_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.o9k_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);
|
|
@@ -2058,7 +2058,7 @@
|
|
|
2058
2058
|
if (get_isFinished(this.l9p_1.state) || get_isFinishing(this.l9p_1.state)) {
|
|
2059
2059
|
return Unit_instance;
|
|
2060
2060
|
}
|
|
2061
|
-
if (!get_isCreated(this.l9p_1.state) || !this.i9p_1.s66().
|
|
2061
|
+
if (!get_isCreated(this.l9p_1.state) || !this.i9p_1.s66().n6n()) {
|
|
2062
2062
|
_get_logger__rkp4sl(this.i9p_1).w('GameEngine_API', 'playerLive: ' + this.j9p_1 + ' before game is created');
|
|
2063
2063
|
return Unit_instance;
|
|
2064
2064
|
}
|
|
@@ -2114,7 +2114,7 @@
|
|
|
2114
2114
|
if (get_isFinished(this.x9p_1.state) || get_isFinishing(this.x9p_1.state)) {
|
|
2115
2115
|
return Unit_instance;
|
|
2116
2116
|
}
|
|
2117
|
-
if (!get_isCreated(this.x9p_1.state) || !this.u9p_1.s66().
|
|
2117
|
+
if (!get_isCreated(this.x9p_1.state) || !this.u9p_1.s66().n6n()) {
|
|
2118
2118
|
_get_logger__rkp4sl(this.u9p_1).w('GameEngine_API', 'playerLeft: ' + this.v9p_1 + ' before game is created');
|
|
2119
2119
|
return Unit_instance;
|
|
2120
2120
|
}
|
|
@@ -2193,7 +2193,7 @@
|
|
|
2193
2193
|
var item = _iterator__ex2g4s.n();
|
|
2194
2194
|
destination.j(new GameServer$roomOnCreate$2$updatedUsers$previousTeams$1(item));
|
|
2195
2195
|
}
|
|
2196
|
-
var previousTeams = tmp_2.
|
|
2196
|
+
var previousTeams = tmp_2.b8j(destination);
|
|
2197
2197
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
2198
2198
|
var _iterator__ex2g4s_0 = users.l();
|
|
2199
2199
|
while (_iterator__ex2g4s_0.m()) {
|
|
@@ -2217,7 +2217,7 @@
|
|
|
2217
2217
|
destination_1.j(destination_2);
|
|
2218
2218
|
}
|
|
2219
2219
|
var updatedTeams = destination_1;
|
|
2220
|
-
tmp_1 = _get_teamsLogicProvider__u10pm6(this.i9q_1).
|
|
2220
|
+
tmp_1 = _get_teamsLogicProvider__u10pm6(this.i9q_1).f8j(updatedTeams);
|
|
2221
2221
|
} else {
|
|
2222
2222
|
tmp_1 = users;
|
|
2223
2223
|
}
|
|
@@ -2590,10 +2590,10 @@
|
|
|
2590
2590
|
var tmp = this.r8_1;
|
|
2591
2591
|
if (tmp === 0) {
|
|
2592
2592
|
this.s8_1 = 1;
|
|
2593
|
-
var table = this.r9t_1.state.
|
|
2593
|
+
var table = this.r9t_1.state.m6n();
|
|
2594
2594
|
var player = getPlayer(table.players, this.o9t_1);
|
|
2595
|
-
if (player.
|
|
2596
|
-
this.r9t_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.p9t_1).
|
|
2595
|
+
if (player.n6q_1.v68().m67_1.isLive) {
|
|
2596
|
+
this.r9t_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.p9t_1).v8p(player, table));
|
|
2597
2597
|
} else {
|
|
2598
2598
|
var tmp_0 = this.r9t_1.dispatch;
|
|
2599
2599
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
@@ -2645,7 +2645,7 @@
|
|
|
2645
2645
|
var tmp = this.r8_1;
|
|
2646
2646
|
if (tmp === 0) {
|
|
2647
2647
|
this.s8_1 = 1;
|
|
2648
|
-
var it = this.a9u_1.s66().
|
|
2648
|
+
var it = this.a9u_1.s66().m6m_1;
|
|
2649
2649
|
var tmp_0;
|
|
2650
2650
|
if (it == null) {
|
|
2651
2651
|
_get_logger__rkp4sl(this.a9u_1).w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
@@ -2654,7 +2654,7 @@
|
|
|
2654
2654
|
tmp_0 = it;
|
|
2655
2655
|
}
|
|
2656
2656
|
var terminationState = tmp_0;
|
|
2657
|
-
var gameTransition = terminationState.
|
|
2657
|
+
var gameTransition = terminationState.s8t_1;
|
|
2658
2658
|
var tmp_1;
|
|
2659
2659
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
2660
2660
|
var tmp0_elvis_lhs = this.b9u_1;
|
|
@@ -2664,8 +2664,8 @@
|
|
|
2664
2664
|
}
|
|
2665
2665
|
var transition = tmp_1;
|
|
2666
2666
|
var tmp_2 = this.d9u_1.dispatch;
|
|
2667
|
-
var tmp0_reason = terminationState.
|
|
2668
|
-
var tmp1_isGameFinished = this.a9u_1.s66().
|
|
2667
|
+
var tmp0_reason = terminationState.r8t_1;
|
|
2668
|
+
var tmp1_isGameFinished = this.a9u_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) {
|
|
@@ -2761,7 +2761,7 @@
|
|
|
2761
2761
|
if (tmp === 0) {
|
|
2762
2762
|
this.s8_1 = 1;
|
|
2763
2763
|
var state = this.b9v_1.store.state;
|
|
2764
|
-
if (state.
|
|
2764
|
+
if (state.n6n()) {
|
|
2765
2765
|
var tmp0_elvis_lhs = toDomainEnumSafe(this.x9u_1, get_serverShutdownReasonMapping());
|
|
2766
2766
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
2767
2767
|
var tmp_0 = this.b9v_1.dispatch;
|
|
@@ -2782,8 +2782,8 @@
|
|
|
2782
2782
|
} else {
|
|
2783
2783
|
_get_logger__rkp4sl(this.y9u_1).w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.z9u_1);
|
|
2784
2784
|
var tmp_3 = this.b9v_1.dispatch;
|
|
2785
|
-
var tmp2_safe_receiver = state.
|
|
2786
|
-
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
2785
|
+
var tmp2_safe_receiver = state.m6m_1;
|
|
2786
|
+
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.s8t_1));
|
|
2787
2787
|
}
|
|
2788
2788
|
return Unit_instance;
|
|
2789
2789
|
} else if (tmp === 1) {
|
|
@@ -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.e9l_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.f9l_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.g9l_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.h9l_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.i9l_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.j9l_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.k9l_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.l9l_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,25 +2893,32 @@
|
|
|
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.m9l_1 = tmp_32.u64(this, getPropertyCallableRef('encoderDecoderProvider', 1, tmp_33, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8(), null));
|
|
2897
2897
|
var tmp_34 = this;
|
|
2898
|
-
var tmp0_externalMiddlewares = plus(storeContract.
|
|
2899
|
-
var tmp1_externalReducers = plus(storeContract.
|
|
2900
|
-
tmp_34.
|
|
2898
|
+
var tmp0_externalMiddlewares = plus(storeContract.f8y(), externalMiddlewares);
|
|
2899
|
+
var tmp1_externalReducers = plus(storeContract.e8y(), externalReducers);
|
|
2900
|
+
tmp_34.n9l_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
2901
|
+
this.o9l_1 = new Object();
|
|
2901
2902
|
}
|
|
2902
2903
|
protoOf(GameServer).b6m = function () {
|
|
2904
|
+
return this.n9l_1;
|
|
2905
|
+
};
|
|
2906
|
+
protoOf(GameServer).c9v = function (_set____db54di) {
|
|
2907
|
+
this.o9l_1 = _set____db54di;
|
|
2908
|
+
};
|
|
2909
|
+
protoOf(GameServer).k8e = function () {
|
|
2903
2910
|
return this.o9l_1;
|
|
2904
2911
|
};
|
|
2905
2912
|
protoOf(GameServer).w53 = function () {
|
|
2906
|
-
return this.s66().
|
|
2913
|
+
return this.s66().m6n().id;
|
|
2914
|
+
};
|
|
2915
|
+
protoOf(GameServer).m6n = function () {
|
|
2916
|
+
return this.s66().m6n();
|
|
2907
2917
|
};
|
|
2908
2918
|
protoOf(GameServer).n6n = function () {
|
|
2909
2919
|
return this.s66().n6n();
|
|
2910
2920
|
};
|
|
2911
2921
|
protoOf(GameServer).o6n = function () {
|
|
2912
|
-
return this.s66().o6n();
|
|
2913
|
-
};
|
|
2914
|
-
protoOf(GameServer).p6n = function () {
|
|
2915
2922
|
return this.s66().gameLifecycleState;
|
|
2916
2923
|
};
|
|
2917
2924
|
protoOf(GameServer).subscribeToClientAction = function (subscriber) {
|
|
@@ -2932,55 +2939,55 @@
|
|
|
2932
2939
|
};
|
|
2933
2940
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
2934
2941
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
2935
|
-
this.
|
|
2942
|
+
this.n9l_1.k6n(GameServer$fromClientEvent$slambda_0(action, null));
|
|
2936
2943
|
};
|
|
2937
2944
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
2938
2945
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
2939
|
-
this.
|
|
2946
|
+
this.n9l_1.k6n(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
2940
2947
|
};
|
|
2941
2948
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
2942
2949
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLive: ' + playerId);
|
|
2943
|
-
this.
|
|
2950
|
+
this.n9l_1.k6n(GameServer$playerLive$slambda_0(this, playerId, null));
|
|
2944
2951
|
};
|
|
2945
2952
|
protoOf(GameServer).playerLeft = function (playerId) {
|
|
2946
2953
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
2947
|
-
this.
|
|
2954
|
+
this.n9l_1.k6n(GameServer$playerLeft$slambda_0(this, playerId, null));
|
|
2948
2955
|
};
|
|
2949
|
-
protoOf(GameServer).
|
|
2956
|
+
protoOf(GameServer).d9v = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
2950
2957
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
2951
|
-
this.
|
|
2958
|
+
this.n9l_1.k6n(GameServer$roomOnCreate$slambda_0(usersArray, config, this, roomId, transition, gameCreatorId, spectators, null));
|
|
2952
2959
|
};
|
|
2953
2960
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
2954
2961
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
2955
|
-
var isCreated = this.
|
|
2956
|
-
this.
|
|
2962
|
+
var isCreated = this.n9l_1.l6n(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
2963
|
+
this.n9l_1.k6n(GameServer$roomOnContinueFromState$slambda_2(isCreated, state, null));
|
|
2957
2964
|
};
|
|
2958
2965
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
2959
2966
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
2960
|
-
this.
|
|
2961
|
-
this.
|
|
2967
|
+
this.n9l_1.k6n(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
2968
|
+
this.n9l_1.k6n(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
2962
2969
|
};
|
|
2963
2970
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
2964
|
-
this.
|
|
2971
|
+
this.n9l_1.k6n(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
2965
2972
|
};
|
|
2966
2973
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
2967
|
-
this.
|
|
2974
|
+
this.n9l_1.k6n(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
2968
2975
|
};
|
|
2969
2976
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
2970
2977
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
2971
|
-
this.
|
|
2978
|
+
this.n9l_1.k6n(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
2972
2979
|
};
|
|
2973
|
-
protoOf(GameServer).
|
|
2980
|
+
protoOf(GameServer).e9v = function (newRid) {
|
|
2974
2981
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnDelete: ' + newRid);
|
|
2975
|
-
this.
|
|
2982
|
+
this.n9l_1.k6n(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
2976
2983
|
};
|
|
2977
2984
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
2978
2985
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
2979
|
-
this.
|
|
2986
|
+
this.n9l_1.k6n(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
2980
2987
|
};
|
|
2981
|
-
protoOf(GameServer).
|
|
2988
|
+
protoOf(GameServer).f9v = function (reason, roomId) {
|
|
2982
2989
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
2983
|
-
this.
|
|
2990
|
+
this.n9l_1.k6n(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
2984
2991
|
};
|
|
2985
2992
|
protoOf(GameServer).clear = function () {
|
|
2986
2993
|
return this.h2();
|
|
@@ -3031,10 +3038,10 @@
|
|
|
3031
3038
|
this.fromRound = fromRound;
|
|
3032
3039
|
this.canStartNewGame = canStartNewGame;
|
|
3033
3040
|
}
|
|
3034
|
-
protoOf(ServerConfig).
|
|
3041
|
+
protoOf(ServerConfig).g9v = function () {
|
|
3035
3042
|
return this.fromRound;
|
|
3036
3043
|
};
|
|
3037
|
-
protoOf(ServerConfig).
|
|
3044
|
+
protoOf(ServerConfig).h9v = function () {
|
|
3038
3045
|
return this.canStartNewGame;
|
|
3039
3046
|
};
|
|
3040
3047
|
protoOf(ServerConfig).ne = function () {
|
|
@@ -3043,13 +3050,13 @@
|
|
|
3043
3050
|
protoOf(ServerConfig).oe = function () {
|
|
3044
3051
|
return this.canStartNewGame;
|
|
3045
3052
|
};
|
|
3046
|
-
protoOf(ServerConfig).
|
|
3053
|
+
protoOf(ServerConfig).i9v = function (fromRound, canStartNewGame) {
|
|
3047
3054
|
return new ServerConfig(fromRound, canStartNewGame);
|
|
3048
3055
|
};
|
|
3049
3056
|
protoOf(ServerConfig).copy = function (fromRound, canStartNewGame, $super) {
|
|
3050
3057
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
3051
3058
|
canStartNewGame = canStartNewGame === VOID ? this.canStartNewGame : canStartNewGame;
|
|
3052
|
-
return $super === VOID ? this.
|
|
3059
|
+
return $super === VOID ? this.i9v(fromRound, canStartNewGame) : $super.i9v.call(this, fromRound, canStartNewGame);
|
|
3053
3060
|
};
|
|
3054
3061
|
protoOf(ServerConfig).toString = function () {
|
|
3055
3062
|
return 'ServerConfig(fromRound=' + this.fromRound + ', canStartNewGame=' + this.canStartNewGame + ')';
|
|
@@ -3111,20 +3118,20 @@
|
|
|
3111
3118
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 2);
|
|
3112
3119
|
tmp0_serialDesc.gz('roomId', false);
|
|
3113
3120
|
tmp0_serialDesc.gz('table', false);
|
|
3114
|
-
this.
|
|
3121
|
+
this.j9v_1 = tmp0_serialDesc;
|
|
3115
3122
|
}
|
|
3116
|
-
protoOf($serializer).
|
|
3117
|
-
var tmp0_desc = this.
|
|
3123
|
+
protoOf($serializer).k9v = function (encoder, value) {
|
|
3124
|
+
var tmp0_desc = this.j9v_1;
|
|
3118
3125
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3119
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3126
|
+
tmp1_output.dt(tmp0_desc, 0, value.l9v_1);
|
|
3120
3127
|
tmp1_output.dt(tmp0_desc, 1, value.table);
|
|
3121
3128
|
tmp1_output.pr(tmp0_desc);
|
|
3122
3129
|
};
|
|
3123
3130
|
protoOf($serializer).co = function (encoder, value) {
|
|
3124
|
-
return this.
|
|
3131
|
+
return this.k9v(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3125
3132
|
};
|
|
3126
3133
|
protoOf($serializer).do = function (decoder) {
|
|
3127
|
-
var tmp0_desc = this.
|
|
3134
|
+
var tmp0_desc = this.j9v_1;
|
|
3128
3135
|
var tmp1_flag = true;
|
|
3129
3136
|
var tmp2_index = 0;
|
|
3130
3137
|
var tmp3_bitMask0 = 0;
|
|
@@ -3159,7 +3166,7 @@
|
|
|
3159
3166
|
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3160
3167
|
};
|
|
3161
3168
|
protoOf($serializer).bo = function () {
|
|
3162
|
-
return this.
|
|
3169
|
+
return this.j9v_1;
|
|
3163
3170
|
};
|
|
3164
3171
|
protoOf($serializer).vz = function () {
|
|
3165
3172
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3175,9 +3182,9 @@
|
|
|
3175
3182
|
}
|
|
3176
3183
|
function TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, $this) {
|
|
3177
3184
|
if (!(3 === (3 & seen0))) {
|
|
3178
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance().
|
|
3185
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance().j9v_1);
|
|
3179
3186
|
}
|
|
3180
|
-
$this.
|
|
3187
|
+
$this.l9v_1 = roomId;
|
|
3181
3188
|
$this.table = table;
|
|
3182
3189
|
return $this;
|
|
3183
3190
|
}
|
|
@@ -3185,17 +3192,17 @@
|
|
|
3185
3192
|
return TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, objectCreate(protoOf(TableStateUpdateDto)));
|
|
3186
3193
|
}
|
|
3187
3194
|
function TableStateUpdateDto(roomId, table) {
|
|
3188
|
-
this.
|
|
3195
|
+
this.l9v_1 = roomId;
|
|
3189
3196
|
this.table = table;
|
|
3190
3197
|
}
|
|
3191
|
-
protoOf(TableStateUpdateDto).
|
|
3192
|
-
return this.
|
|
3198
|
+
protoOf(TableStateUpdateDto).u8w = function () {
|
|
3199
|
+
return this.l9v_1;
|
|
3193
3200
|
};
|
|
3194
|
-
protoOf(TableStateUpdateDto).
|
|
3201
|
+
protoOf(TableStateUpdateDto).m6n = function () {
|
|
3195
3202
|
return this.table;
|
|
3196
3203
|
};
|
|
3197
3204
|
protoOf(TableStateUpdateDto).ne = function () {
|
|
3198
|
-
return this.
|
|
3205
|
+
return this.l9v_1;
|
|
3199
3206
|
};
|
|
3200
3207
|
protoOf(TableStateUpdateDto).oe = function () {
|
|
3201
3208
|
return this.table;
|
|
@@ -3204,15 +3211,15 @@
|
|
|
3204
3211
|
return new TableStateUpdateDto(roomId, table);
|
|
3205
3212
|
};
|
|
3206
3213
|
protoOf(TableStateUpdateDto).copy = function (roomId, table, $super) {
|
|
3207
|
-
roomId = roomId === VOID ? this.
|
|
3214
|
+
roomId = roomId === VOID ? this.l9v_1 : roomId;
|
|
3208
3215
|
table = table === VOID ? this.table : table;
|
|
3209
3216
|
return $super === VOID ? this.c54(roomId, table) : $super.c54.call(this, roomId, table);
|
|
3210
3217
|
};
|
|
3211
3218
|
protoOf(TableStateUpdateDto).toString = function () {
|
|
3212
|
-
return 'TableStateUpdateDto(roomId=' + this.
|
|
3219
|
+
return 'TableStateUpdateDto(roomId=' + this.l9v_1 + ', table=' + this.table + ')';
|
|
3213
3220
|
};
|
|
3214
3221
|
protoOf(TableStateUpdateDto).hashCode = function () {
|
|
3215
|
-
var result = getStringHashCode(this.
|
|
3222
|
+
var result = getStringHashCode(this.l9v_1);
|
|
3216
3223
|
result = imul(result, 31) + getStringHashCode(this.table) | 0;
|
|
3217
3224
|
return result;
|
|
3218
3225
|
};
|
|
@@ -3221,7 +3228,7 @@
|
|
|
3221
3228
|
return true;
|
|
3222
3229
|
if (!(other instanceof TableStateUpdateDto))
|
|
3223
3230
|
return false;
|
|
3224
|
-
if (!(this.
|
|
3231
|
+
if (!(this.l9v_1 === other.l9v_1))
|
|
3225
3232
|
return false;
|
|
3226
3233
|
if (!(this.table === other.table))
|
|
3227
3234
|
return false;
|
|
@@ -3241,20 +3248,20 @@
|
|
|
3241
3248
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 2);
|
|
3242
3249
|
tmp0_serialDesc.gz('roomId', false);
|
|
3243
3250
|
tmp0_serialDesc.gz('actions', false);
|
|
3244
|
-
this.
|
|
3251
|
+
this.m9v_1 = tmp0_serialDesc;
|
|
3245
3252
|
}
|
|
3246
|
-
protoOf($serializer_0).
|
|
3247
|
-
var tmp0_desc = this.
|
|
3253
|
+
protoOf($serializer_0).n9v = function (encoder, value) {
|
|
3254
|
+
var tmp0_desc = this.m9v_1;
|
|
3248
3255
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3249
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3256
|
+
tmp1_output.dt(tmp0_desc, 0, value.o9v_1);
|
|
3250
3257
|
tmp1_output.dt(tmp0_desc, 1, value.actions);
|
|
3251
3258
|
tmp1_output.pr(tmp0_desc);
|
|
3252
3259
|
};
|
|
3253
3260
|
protoOf($serializer_0).co = function (encoder, value) {
|
|
3254
|
-
return this.
|
|
3261
|
+
return this.n9v(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
|
|
3255
3262
|
};
|
|
3256
3263
|
protoOf($serializer_0).do = function (decoder) {
|
|
3257
|
-
var tmp0_desc = this.
|
|
3264
|
+
var tmp0_desc = this.m9v_1;
|
|
3258
3265
|
var tmp1_flag = true;
|
|
3259
3266
|
var tmp2_index = 0;
|
|
3260
3267
|
var tmp3_bitMask0 = 0;
|
|
@@ -3289,7 +3296,7 @@
|
|
|
3289
3296
|
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3290
3297
|
};
|
|
3291
3298
|
protoOf($serializer_0).bo = function () {
|
|
3292
|
-
return this.
|
|
3299
|
+
return this.m9v_1;
|
|
3293
3300
|
};
|
|
3294
3301
|
protoOf($serializer_0).vz = function () {
|
|
3295
3302
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3305,9 +3312,9 @@
|
|
|
3305
3312
|
}
|
|
3306
3313
|
function ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, $this) {
|
|
3307
3314
|
if (!(3 === (3 & seen0))) {
|
|
3308
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().
|
|
3315
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().m9v_1);
|
|
3309
3316
|
}
|
|
3310
|
-
$this.
|
|
3317
|
+
$this.o9v_1 = roomId;
|
|
3311
3318
|
$this.actions = actions;
|
|
3312
3319
|
return $this;
|
|
3313
3320
|
}
|
|
@@ -3315,17 +3322,17 @@
|
|
|
3315
3322
|
return ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, objectCreate(protoOf(ActionsStateUpdateDto)));
|
|
3316
3323
|
}
|
|
3317
3324
|
function ActionsStateUpdateDto(roomId, actions) {
|
|
3318
|
-
this.
|
|
3325
|
+
this.o9v_1 = roomId;
|
|
3319
3326
|
this.actions = actions;
|
|
3320
3327
|
}
|
|
3321
|
-
protoOf(ActionsStateUpdateDto).
|
|
3322
|
-
return this.
|
|
3328
|
+
protoOf(ActionsStateUpdateDto).u8w = function () {
|
|
3329
|
+
return this.o9v_1;
|
|
3323
3330
|
};
|
|
3324
|
-
protoOf(ActionsStateUpdateDto).
|
|
3331
|
+
protoOf(ActionsStateUpdateDto).r8b = function () {
|
|
3325
3332
|
return this.actions;
|
|
3326
3333
|
};
|
|
3327
3334
|
protoOf(ActionsStateUpdateDto).ne = function () {
|
|
3328
|
-
return this.
|
|
3335
|
+
return this.o9v_1;
|
|
3329
3336
|
};
|
|
3330
3337
|
protoOf(ActionsStateUpdateDto).oe = function () {
|
|
3331
3338
|
return this.actions;
|
|
@@ -3334,15 +3341,15 @@
|
|
|
3334
3341
|
return new ActionsStateUpdateDto(roomId, actions);
|
|
3335
3342
|
};
|
|
3336
3343
|
protoOf(ActionsStateUpdateDto).copy = function (roomId, actions, $super) {
|
|
3337
|
-
roomId = roomId === VOID ? this.
|
|
3344
|
+
roomId = roomId === VOID ? this.o9v_1 : roomId;
|
|
3338
3345
|
actions = actions === VOID ? this.actions : actions;
|
|
3339
3346
|
return $super === VOID ? this.c54(roomId, actions) : $super.c54.call(this, roomId, actions);
|
|
3340
3347
|
};
|
|
3341
3348
|
protoOf(ActionsStateUpdateDto).toString = function () {
|
|
3342
|
-
return 'ActionsStateUpdateDto(roomId=' + this.
|
|
3349
|
+
return 'ActionsStateUpdateDto(roomId=' + this.o9v_1 + ', actions=' + this.actions + ')';
|
|
3343
3350
|
};
|
|
3344
3351
|
protoOf(ActionsStateUpdateDto).hashCode = function () {
|
|
3345
|
-
var result = getStringHashCode(this.
|
|
3352
|
+
var result = getStringHashCode(this.o9v_1);
|
|
3346
3353
|
result = imul(result, 31) + getStringHashCode(this.actions) | 0;
|
|
3347
3354
|
return result;
|
|
3348
3355
|
};
|
|
@@ -3351,7 +3358,7 @@
|
|
|
3351
3358
|
return true;
|
|
3352
3359
|
if (!(other instanceof ActionsStateUpdateDto))
|
|
3353
3360
|
return false;
|
|
3354
|
-
if (!(this.
|
|
3361
|
+
if (!(this.o9v_1 === other.o9v_1))
|
|
3355
3362
|
return false;
|
|
3356
3363
|
if (!(this.actions === other.actions))
|
|
3357
3364
|
return false;
|
|
@@ -3381,42 +3388,42 @@
|
|
|
3381
3388
|
var tmp$ret$0 = mapToDto(item);
|
|
3382
3389
|
destination.j(tmp$ret$0);
|
|
3383
3390
|
}
|
|
3384
|
-
return new ActionsStateUpdateDto(_this__u8e3s4.
|
|
3391
|
+
return new ActionsStateUpdateDto(_this__u8e3s4.p9v_1, encoderDecoderProvider.k8i(destination));
|
|
3385
3392
|
}
|
|
3386
3393
|
function mapToDto_3(_this__u8e3s4, encoderDecoderProvider) {
|
|
3387
|
-
return new TableStateUpdateDto(_this__u8e3s4.
|
|
3394
|
+
return new TableStateUpdateDto(_this__u8e3s4.q9v_1, encoderDecoderProvider.i8i(mapToDto_0(_this__u8e3s4.table)));
|
|
3388
3395
|
}
|
|
3389
3396
|
function ServerStateUpdate() {
|
|
3390
3397
|
}
|
|
3391
3398
|
function TableStateUpdate(roomId, table) {
|
|
3392
|
-
this.
|
|
3399
|
+
this.q9v_1 = roomId;
|
|
3393
3400
|
this.table = table;
|
|
3394
3401
|
}
|
|
3395
|
-
protoOf(TableStateUpdate).
|
|
3396
|
-
return this.
|
|
3402
|
+
protoOf(TableStateUpdate).u8w = function () {
|
|
3403
|
+
return this.q9v_1;
|
|
3397
3404
|
};
|
|
3398
|
-
protoOf(TableStateUpdate).
|
|
3405
|
+
protoOf(TableStateUpdate).m6n = function () {
|
|
3399
3406
|
return this.table;
|
|
3400
3407
|
};
|
|
3401
3408
|
protoOf(TableStateUpdate).ne = function () {
|
|
3402
|
-
return this.
|
|
3409
|
+
return this.q9v_1;
|
|
3403
3410
|
};
|
|
3404
3411
|
protoOf(TableStateUpdate).oe = function () {
|
|
3405
3412
|
return this.table;
|
|
3406
3413
|
};
|
|
3407
|
-
protoOf(TableStateUpdate).
|
|
3414
|
+
protoOf(TableStateUpdate).r9v = function (roomId, table) {
|
|
3408
3415
|
return new TableStateUpdate(roomId, table);
|
|
3409
3416
|
};
|
|
3410
3417
|
protoOf(TableStateUpdate).copy = function (roomId, table, $super) {
|
|
3411
|
-
roomId = roomId === VOID ? this.
|
|
3418
|
+
roomId = roomId === VOID ? this.q9v_1 : roomId;
|
|
3412
3419
|
table = table === VOID ? this.table : table;
|
|
3413
|
-
return $super === VOID ? this.
|
|
3420
|
+
return $super === VOID ? this.r9v(roomId, table) : $super.r9v.call(this, roomId, table);
|
|
3414
3421
|
};
|
|
3415
3422
|
protoOf(TableStateUpdate).toString = function () {
|
|
3416
|
-
return 'TableStateUpdate(roomId=' + this.
|
|
3423
|
+
return 'TableStateUpdate(roomId=' + this.q9v_1 + ', table=' + this.table.toString() + ')';
|
|
3417
3424
|
};
|
|
3418
3425
|
protoOf(TableStateUpdate).hashCode = function () {
|
|
3419
|
-
var result = getStringHashCode(this.
|
|
3426
|
+
var result = getStringHashCode(this.q9v_1);
|
|
3420
3427
|
result = imul(result, 31) + this.table.hashCode() | 0;
|
|
3421
3428
|
return result;
|
|
3422
3429
|
};
|
|
@@ -3425,41 +3432,41 @@
|
|
|
3425
3432
|
return true;
|
|
3426
3433
|
if (!(other instanceof TableStateUpdate))
|
|
3427
3434
|
return false;
|
|
3428
|
-
if (!(this.
|
|
3435
|
+
if (!(this.q9v_1 === other.q9v_1))
|
|
3429
3436
|
return false;
|
|
3430
3437
|
if (!this.table.equals(other.table))
|
|
3431
3438
|
return false;
|
|
3432
3439
|
return true;
|
|
3433
3440
|
};
|
|
3434
3441
|
function ActionsStateUpdate(roomId, actions) {
|
|
3435
|
-
this.
|
|
3442
|
+
this.p9v_1 = roomId;
|
|
3436
3443
|
this.actions = actions;
|
|
3437
3444
|
}
|
|
3438
|
-
protoOf(ActionsStateUpdate).
|
|
3439
|
-
return this.
|
|
3445
|
+
protoOf(ActionsStateUpdate).u8w = function () {
|
|
3446
|
+
return this.p9v_1;
|
|
3440
3447
|
};
|
|
3441
|
-
protoOf(ActionsStateUpdate).
|
|
3448
|
+
protoOf(ActionsStateUpdate).r8b = function () {
|
|
3442
3449
|
return this.actions;
|
|
3443
3450
|
};
|
|
3444
3451
|
protoOf(ActionsStateUpdate).ne = function () {
|
|
3445
|
-
return this.
|
|
3452
|
+
return this.p9v_1;
|
|
3446
3453
|
};
|
|
3447
3454
|
protoOf(ActionsStateUpdate).oe = function () {
|
|
3448
3455
|
return this.actions;
|
|
3449
3456
|
};
|
|
3450
|
-
protoOf(ActionsStateUpdate).
|
|
3457
|
+
protoOf(ActionsStateUpdate).s9v = function (roomId, actions) {
|
|
3451
3458
|
return new ActionsStateUpdate(roomId, actions);
|
|
3452
3459
|
};
|
|
3453
3460
|
protoOf(ActionsStateUpdate).copy = function (roomId, actions, $super) {
|
|
3454
|
-
roomId = roomId === VOID ? this.
|
|
3461
|
+
roomId = roomId === VOID ? this.p9v_1 : roomId;
|
|
3455
3462
|
actions = actions === VOID ? this.actions : actions;
|
|
3456
|
-
return $super === VOID ? this.
|
|
3463
|
+
return $super === VOID ? this.s9v(roomId, actions) : $super.s9v.call(this, roomId, actions);
|
|
3457
3464
|
};
|
|
3458
3465
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
3459
|
-
return 'ActionsStateUpdate(roomId=' + this.
|
|
3466
|
+
return 'ActionsStateUpdate(roomId=' + this.p9v_1 + ', actions=' + toString(this.actions) + ')';
|
|
3460
3467
|
};
|
|
3461
3468
|
protoOf(ActionsStateUpdate).hashCode = function () {
|
|
3462
|
-
var result = getStringHashCode(this.
|
|
3469
|
+
var result = getStringHashCode(this.p9v_1);
|
|
3463
3470
|
result = imul(result, 31) + hashCode(this.actions) | 0;
|
|
3464
3471
|
return result;
|
|
3465
3472
|
};
|
|
@@ -3468,7 +3475,7 @@
|
|
|
3468
3475
|
return true;
|
|
3469
3476
|
if (!(other instanceof ActionsStateUpdate))
|
|
3470
3477
|
return false;
|
|
3471
|
-
if (!(this.
|
|
3478
|
+
if (!(this.p9v_1 === other.p9v_1))
|
|
3472
3479
|
return false;
|
|
3473
3480
|
if (!equals(this.actions, other.actions))
|
|
3474
3481
|
return false;
|
|
@@ -3702,18 +3709,18 @@
|
|
|
3702
3709
|
function ToClientEventsObserver() {
|
|
3703
3710
|
}
|
|
3704
3711
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
3705
|
-
this.
|
|
3706
|
-
this.
|
|
3712
|
+
this.c9w_1 = this$0;
|
|
3713
|
+
this.d9w_1 = $actions;
|
|
3707
3714
|
CoroutineImpl.call(this, resultContinuation);
|
|
3708
3715
|
}
|
|
3709
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3710
|
-
var tmp = this.
|
|
3716
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).g9w = function ($this$flow, $completion) {
|
|
3717
|
+
var tmp = this.h9w($this$flow, $completion);
|
|
3711
3718
|
tmp.t8_1 = Unit_instance;
|
|
3712
3719
|
tmp.u8_1 = null;
|
|
3713
3720
|
return tmp.z8();
|
|
3714
3721
|
};
|
|
3715
3722
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).h9 = function (p1, $completion) {
|
|
3716
|
-
return this.
|
|
3723
|
+
return this.g9w((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
3717
3724
|
};
|
|
3718
3725
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).z8 = function () {
|
|
3719
3726
|
var suspendResult = this.t8_1;
|
|
@@ -3723,19 +3730,19 @@
|
|
|
3723
3730
|
switch (tmp) {
|
|
3724
3731
|
case 0:
|
|
3725
3732
|
this.s8_1 = 4;
|
|
3726
|
-
this.
|
|
3727
|
-
this.
|
|
3733
|
+
this.c9w_1.m9w_1;
|
|
3734
|
+
this.f9w_1 = transformToEmits(this.c9w_1, this.d9w_1).l();
|
|
3728
3735
|
this.r8_1 = 1;
|
|
3729
3736
|
continue $sm;
|
|
3730
3737
|
case 1:
|
|
3731
|
-
if (!this.
|
|
3738
|
+
if (!this.f9w_1.m()) {
|
|
3732
3739
|
this.r8_1 = 3;
|
|
3733
3740
|
continue $sm;
|
|
3734
3741
|
}
|
|
3735
3742
|
|
|
3736
|
-
var element = this.
|
|
3743
|
+
var element = this.f9w_1.n();
|
|
3737
3744
|
this.r8_1 = 2;
|
|
3738
|
-
suspendResult = this.
|
|
3745
|
+
suspendResult = this.e9w_1.l28(element, this);
|
|
3739
3746
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3740
3747
|
return suspendResult;
|
|
3741
3748
|
}
|
|
@@ -3745,11 +3752,11 @@
|
|
|
3745
3752
|
this.r8_1 = 1;
|
|
3746
3753
|
continue $sm;
|
|
3747
3754
|
case 3:
|
|
3748
|
-
var tmp0 = this.
|
|
3755
|
+
var tmp0 = this.c9w_1.l9w_1;
|
|
3749
3756
|
l$ret$1: do {
|
|
3750
3757
|
while (true) {
|
|
3751
3758
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
3752
|
-
var upd = cur - this.
|
|
3759
|
+
var upd = cur - this.d9w_1.o() | 0;
|
|
3753
3760
|
if (tmp0.atomicfu$compareAndSet(cur, upd)) {
|
|
3754
3761
|
break l$ret$1;
|
|
3755
3762
|
}
|
|
@@ -3771,15 +3778,15 @@
|
|
|
3771
3778
|
}
|
|
3772
3779
|
while (true);
|
|
3773
3780
|
};
|
|
3774
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3775
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
3776
|
-
i.
|
|
3781
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).h9w = function ($this$flow, completion) {
|
|
3782
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.c9w_1, this.d9w_1, completion);
|
|
3783
|
+
i.e9w_1 = $this$flow;
|
|
3777
3784
|
return i;
|
|
3778
3785
|
};
|
|
3779
3786
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
3780
3787
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
3781
3788
|
var l = function ($this$flow, $completion) {
|
|
3782
|
-
return i.
|
|
3789
|
+
return i.g9w($this$flow, $completion);
|
|
3783
3790
|
};
|
|
3784
3791
|
l.$arity = 1;
|
|
3785
3792
|
return l;
|
|
@@ -3849,29 +3856,29 @@
|
|
|
3849
3856
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
3850
3857
|
}
|
|
3851
3858
|
function mapFromGroupKey($this, _this__u8e3s4) {
|
|
3852
|
-
var tmp = $this.
|
|
3859
|
+
var tmp = $this.k9w_1.z6d();
|
|
3853
3860
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3854
|
-
var this_0 = _this__u8e3s4.
|
|
3861
|
+
var this_0 = _this__u8e3s4.p9w_1;
|
|
3855
3862
|
var tmp_0 = copyToArray(this_0);
|
|
3856
3863
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3857
|
-
var this_1 = _this__u8e3s4.
|
|
3864
|
+
var this_1 = _this__u8e3s4.q9w_1;
|
|
3858
3865
|
var tmp$ret$1 = copyToArray(this_1);
|
|
3859
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
3866
|
+
return new ActionDeliveryPayload(_this__u8e3s4.o9w_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.r9w_1);
|
|
3860
3867
|
}
|
|
3861
3868
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
3862
|
-
this.
|
|
3863
|
-
this.
|
|
3864
|
-
this.
|
|
3865
|
-
this.
|
|
3869
|
+
this.o9w_1 = tableId;
|
|
3870
|
+
this.p9w_1 = includePlayers;
|
|
3871
|
+
this.q9w_1 = excludePlayers;
|
|
3872
|
+
this.r9w_1 = deliveryType;
|
|
3866
3873
|
}
|
|
3867
3874
|
protoOf(GroupKey).toString = function () {
|
|
3868
|
-
return 'GroupKey(tableId=' + this.
|
|
3875
|
+
return 'GroupKey(tableId=' + this.o9w_1 + ', includePlayers=' + toString(this.p9w_1) + ', excludePlayers=' + toString(this.q9w_1) + ', deliveryType=' + this.r9w_1.toString() + ')';
|
|
3869
3876
|
};
|
|
3870
3877
|
protoOf(GroupKey).hashCode = function () {
|
|
3871
|
-
var result = getStringHashCode(this.
|
|
3872
|
-
result = imul(result, 31) + hashCode(this.o9w_1) | 0;
|
|
3878
|
+
var result = getStringHashCode(this.o9w_1);
|
|
3873
3879
|
result = imul(result, 31) + hashCode(this.p9w_1) | 0;
|
|
3874
|
-
result = imul(result, 31) + this.q9w_1
|
|
3880
|
+
result = imul(result, 31) + hashCode(this.q9w_1) | 0;
|
|
3881
|
+
result = imul(result, 31) + this.r9w_1.hashCode() | 0;
|
|
3875
3882
|
return result;
|
|
3876
3883
|
};
|
|
3877
3884
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -3879,35 +3886,35 @@
|
|
|
3879
3886
|
return true;
|
|
3880
3887
|
if (!(other instanceof GroupKey))
|
|
3881
3888
|
return false;
|
|
3882
|
-
if (!(this.
|
|
3883
|
-
return false;
|
|
3884
|
-
if (!equals(this.o9w_1, other.o9w_1))
|
|
3889
|
+
if (!(this.o9w_1 === other.o9w_1))
|
|
3885
3890
|
return false;
|
|
3886
3891
|
if (!equals(this.p9w_1, other.p9w_1))
|
|
3887
3892
|
return false;
|
|
3888
|
-
if (!this.q9w_1
|
|
3893
|
+
if (!equals(this.q9w_1, other.q9w_1))
|
|
3894
|
+
return false;
|
|
3895
|
+
if (!this.r9w_1.equals(other.r9w_1))
|
|
3889
3896
|
return false;
|
|
3890
3897
|
return true;
|
|
3891
3898
|
};
|
|
3892
3899
|
function Companion_4() {
|
|
3893
|
-
this.
|
|
3900
|
+
this.s9w_1 = 6;
|
|
3894
3901
|
}
|
|
3895
3902
|
var Companion_instance_12;
|
|
3896
3903
|
function Companion_getInstance_5() {
|
|
3897
3904
|
return Companion_instance_12;
|
|
3898
3905
|
}
|
|
3899
3906
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
3900
|
-
this.
|
|
3907
|
+
this.b9x_1 = this$0;
|
|
3901
3908
|
CoroutineImpl.call(this, resultContinuation);
|
|
3902
3909
|
}
|
|
3903
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3904
|
-
var tmp = this.
|
|
3910
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).d9x = function (actions, $completion) {
|
|
3911
|
+
var tmp = this.e9x(actions, $completion);
|
|
3905
3912
|
tmp.t8_1 = Unit_instance;
|
|
3906
3913
|
tmp.u8_1 = null;
|
|
3907
3914
|
return tmp.z8();
|
|
3908
3915
|
};
|
|
3909
3916
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).h9 = function (p1, $completion) {
|
|
3910
|
-
return this.
|
|
3917
|
+
return this.d9x((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
3911
3918
|
};
|
|
3912
3919
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).z8 = function () {
|
|
3913
3920
|
var suspendResult = this.t8_1;
|
|
@@ -3916,7 +3923,7 @@
|
|
|
3916
3923
|
var tmp = this.r8_1;
|
|
3917
3924
|
if (tmp === 0) {
|
|
3918
3925
|
this.s8_1 = 1;
|
|
3919
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
3926
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.b9x_1, this.c9x_1, null));
|
|
3920
3927
|
} else if (tmp === 1) {
|
|
3921
3928
|
throw this.u8_1;
|
|
3922
3929
|
}
|
|
@@ -3926,23 +3933,23 @@
|
|
|
3926
3933
|
}
|
|
3927
3934
|
while (true);
|
|
3928
3935
|
};
|
|
3929
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3930
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
3931
|
-
i.
|
|
3936
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).e9x = function (actions, completion) {
|
|
3937
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.b9x_1, completion);
|
|
3938
|
+
i.c9x_1 = actions;
|
|
3932
3939
|
return i;
|
|
3933
3940
|
};
|
|
3934
3941
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
3935
3942
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
3936
3943
|
var l = function (actions, $completion) {
|
|
3937
|
-
return i.
|
|
3944
|
+
return i.d9x(actions, $completion);
|
|
3938
3945
|
};
|
|
3939
3946
|
l.$arity = 1;
|
|
3940
3947
|
return l;
|
|
3941
3948
|
}
|
|
3942
3949
|
function $sentEventCOROUTINE$(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
3943
3950
|
CoroutineImpl.call(this, resultContinuation);
|
|
3944
|
-
this.
|
|
3945
|
-
this.
|
|
3951
|
+
this.n9x_1 = _this__u8e3s4;
|
|
3952
|
+
this.o9x_1 = fromEvent;
|
|
3946
3953
|
}
|
|
3947
3954
|
protoOf($sentEventCOROUTINE$).z8 = function () {
|
|
3948
3955
|
var suspendResult = this.t8_1;
|
|
@@ -3952,8 +3959,8 @@
|
|
|
3952
3959
|
switch (tmp) {
|
|
3953
3960
|
case 0:
|
|
3954
3961
|
this.s8_1 = 2;
|
|
3955
|
-
this.
|
|
3956
|
-
var tmp0 = this.
|
|
3962
|
+
this.n9x_1.m9w_1;
|
|
3963
|
+
var tmp0 = this.n9x_1.l9w_1;
|
|
3957
3964
|
l$ret$1: do {
|
|
3958
3965
|
while (true) {
|
|
3959
3966
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
@@ -3965,7 +3972,7 @@
|
|
|
3965
3972
|
}
|
|
3966
3973
|
while (false);
|
|
3967
3974
|
this.r8_1 = 1;
|
|
3968
|
-
suspendResult = this.
|
|
3975
|
+
suspendResult = this.n9x_1.n9w_1.l28(this.o9x_1, this);
|
|
3969
3976
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3970
3977
|
return suspendResult;
|
|
3971
3978
|
}
|
|
@@ -3989,7 +3996,7 @@
|
|
|
3989
3996
|
};
|
|
3990
3997
|
function $waitForCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
3991
3998
|
CoroutineImpl.call(this, resultContinuation);
|
|
3992
|
-
this.
|
|
3999
|
+
this.x9x_1 = _this__u8e3s4;
|
|
3993
4000
|
}
|
|
3994
4001
|
protoOf($waitForCOROUTINE$).z8 = function () {
|
|
3995
4002
|
var suspendResult = this.t8_1;
|
|
@@ -3999,12 +4006,12 @@
|
|
|
3999
4006
|
switch (tmp) {
|
|
4000
4007
|
case 0:
|
|
4001
4008
|
this.s8_1 = 5;
|
|
4002
|
-
this.
|
|
4003
|
-
this.
|
|
4009
|
+
this.x9x_1.m9w_1;
|
|
4010
|
+
this.y9x_1 = 0;
|
|
4004
4011
|
this.r8_1 = 1;
|
|
4005
4012
|
continue $sm;
|
|
4006
4013
|
case 1:
|
|
4007
|
-
if (!!(this.
|
|
4014
|
+
if (!!(this.x9x_1.l9w_1.kotlinx$atomicfu$value === 0)) {
|
|
4008
4015
|
this.r8_1 = 4;
|
|
4009
4016
|
continue $sm;
|
|
4010
4017
|
}
|
|
@@ -4017,9 +4024,9 @@
|
|
|
4017
4024
|
|
|
4018
4025
|
continue $sm;
|
|
4019
4026
|
case 2:
|
|
4020
|
-
this.
|
|
4021
|
-
if (this.
|
|
4022
|
-
this.
|
|
4027
|
+
this.y9x_1 = this.y9x_1 + 1 | 0;
|
|
4028
|
+
if (this.y9x_1 > 6) {
|
|
4029
|
+
this.x9x_1.j9w_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.x9x_1.l9w_1.kotlinx$atomicfu$value);
|
|
4023
4030
|
this.r8_1 = 4;
|
|
4024
4031
|
continue $sm;
|
|
4025
4032
|
} else {
|
|
@@ -4047,183 +4054,183 @@
|
|
|
4047
4054
|
while (true);
|
|
4048
4055
|
};
|
|
4049
4056
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
4050
|
-
this.
|
|
4051
|
-
this.
|
|
4052
|
-
this.
|
|
4053
|
-
this.
|
|
4057
|
+
this.i9w_1 = serverReduxConfig;
|
|
4058
|
+
this.j9w_1 = logger;
|
|
4059
|
+
this.k9w_1 = idsProvider;
|
|
4060
|
+
this.l9w_1 = atomic$ref$1(0);
|
|
4054
4061
|
var tmp = this;
|
|
4055
4062
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
4056
|
-
tmp.
|
|
4057
|
-
this.
|
|
4063
|
+
tmp.m9w_1 = get_atomicfu$reentrantLock();
|
|
4064
|
+
this.n9w_1 = MutableSharedFlow();
|
|
4058
4065
|
}
|
|
4059
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4066
|
+
protoOf(ToClientEventsObserverImpl).t9v = function (fromEvent, $completion) {
|
|
4060
4067
|
var tmp = new $sentEventCOROUTINE$(this, fromEvent, $completion);
|
|
4061
4068
|
tmp.t8_1 = Unit_instance;
|
|
4062
4069
|
tmp.u8_1 = null;
|
|
4063
4070
|
return tmp.z8();
|
|
4064
4071
|
};
|
|
4065
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4072
|
+
protoOf(ToClientEventsObserverImpl).q96 = function ($completion) {
|
|
4066
4073
|
var tmp = new $waitForCOROUTINE$(this, $completion);
|
|
4067
4074
|
tmp.t8_1 = Unit_instance;
|
|
4068
4075
|
tmp.u8_1 = null;
|
|
4069
4076
|
return tmp.z8();
|
|
4070
4077
|
};
|
|
4071
4078
|
protoOf(ToClientEventsObserverImpl).h9m = function () {
|
|
4072
|
-
if (!this.
|
|
4073
|
-
return this.
|
|
4079
|
+
if (!this.i9w_1.enabledCombinedEvents) {
|
|
4080
|
+
return this.n9w_1;
|
|
4074
4081
|
}
|
|
4075
|
-
var tmp = windowedByInterval(this.
|
|
4082
|
+
var tmp = windowedByInterval(this.n9w_1, fromInt(this.i9w_1.combinedEventsIntervalMillis));
|
|
4076
4083
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
4077
4084
|
};
|
|
4078
4085
|
function UpdateServerConfigAction(serverConfig) {
|
|
4079
|
-
this.
|
|
4086
|
+
this.z9x_1 = serverConfig;
|
|
4080
4087
|
}
|
|
4081
4088
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
4082
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
4089
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.z9x_1.toString() + ')';
|
|
4083
4090
|
};
|
|
4084
4091
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
4085
|
-
return this.
|
|
4092
|
+
return this.z9x_1.hashCode();
|
|
4086
4093
|
};
|
|
4087
4094
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
4088
4095
|
if (this === other)
|
|
4089
4096
|
return true;
|
|
4090
4097
|
if (!(other instanceof UpdateServerConfigAction))
|
|
4091
4098
|
return false;
|
|
4092
|
-
if (!this.
|
|
4099
|
+
if (!this.z9x_1.equals(other.z9x_1))
|
|
4093
4100
|
return false;
|
|
4094
4101
|
return true;
|
|
4095
4102
|
};
|
|
4096
4103
|
function SpectatorsAction() {
|
|
4097
4104
|
}
|
|
4098
4105
|
function AddSpectatorsAction(spectators) {
|
|
4099
|
-
this.
|
|
4106
|
+
this.a9y_1 = spectators;
|
|
4100
4107
|
}
|
|
4101
4108
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
4102
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
4109
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.a9y_1) + ')';
|
|
4103
4110
|
};
|
|
4104
4111
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
4105
|
-
return hashCode(this.
|
|
4112
|
+
return hashCode(this.a9y_1);
|
|
4106
4113
|
};
|
|
4107
4114
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
4108
4115
|
if (this === other)
|
|
4109
4116
|
return true;
|
|
4110
4117
|
if (!(other instanceof AddSpectatorsAction))
|
|
4111
4118
|
return false;
|
|
4112
|
-
if (!equals(this.
|
|
4119
|
+
if (!equals(this.a9y_1, other.a9y_1))
|
|
4113
4120
|
return false;
|
|
4114
4121
|
return true;
|
|
4115
4122
|
};
|
|
4116
4123
|
function RemoveSpectatorsAction(spectators) {
|
|
4117
|
-
this.
|
|
4124
|
+
this.b9y_1 = spectators;
|
|
4118
4125
|
}
|
|
4119
4126
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
4120
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
4127
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.b9y_1) + ')';
|
|
4121
4128
|
};
|
|
4122
4129
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
4123
|
-
return hashCode(this.
|
|
4130
|
+
return hashCode(this.b9y_1);
|
|
4124
4131
|
};
|
|
4125
4132
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
4126
4133
|
if (this === other)
|
|
4127
4134
|
return true;
|
|
4128
4135
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
4129
4136
|
return false;
|
|
4130
|
-
if (!equals(this.
|
|
4137
|
+
if (!equals(this.b9y_1, other.b9y_1))
|
|
4131
4138
|
return false;
|
|
4132
4139
|
return true;
|
|
4133
4140
|
};
|
|
4134
4141
|
function _get_asyncProvider__jbpyhw($this) {
|
|
4135
|
-
var tmp0 = $this.
|
|
4142
|
+
var tmp0 = $this.h9y_1;
|
|
4136
4143
|
var tmp = KProperty1;
|
|
4137
4144
|
// Inline function 'kotlin.getValue' call
|
|
4138
4145
|
getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
|
|
4139
4146
|
return tmp0.w();
|
|
4140
4147
|
}
|
|
4141
4148
|
function _get_logger__rkp4sl_0($this) {
|
|
4142
|
-
var tmp0 = $this.
|
|
4149
|
+
var tmp0 = $this.i9y_1;
|
|
4143
4150
|
var tmp = KProperty1;
|
|
4144
4151
|
// Inline function 'kotlin.getValue' call
|
|
4145
4152
|
getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
|
|
4146
4153
|
return tmp0.w();
|
|
4147
4154
|
}
|
|
4148
4155
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
4149
|
-
var tmp0 = $this.
|
|
4156
|
+
var tmp0 = $this.j9y_1;
|
|
4150
4157
|
var tmp = KProperty1;
|
|
4151
4158
|
// Inline function 'kotlin.getValue' call
|
|
4152
4159
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
|
|
4153
4160
|
return tmp0.w();
|
|
4154
4161
|
}
|
|
4155
4162
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
4156
|
-
var tmp0 = $this.
|
|
4163
|
+
var tmp0 = $this.k9y_1;
|
|
4157
4164
|
var tmp = KProperty1;
|
|
4158
4165
|
// Inline function 'kotlin.getValue' call
|
|
4159
4166
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
|
|
4160
4167
|
return tmp0.w();
|
|
4161
4168
|
}
|
|
4162
4169
|
function _get_serverConfig__rk2g06($this) {
|
|
4163
|
-
var tmp0 = $this.
|
|
4170
|
+
var tmp0 = $this.l9y_1;
|
|
4164
4171
|
var tmp = KProperty1;
|
|
4165
4172
|
// Inline function 'kotlin.getValue' call
|
|
4166
4173
|
getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
|
|
4167
4174
|
return tmp0.w();
|
|
4168
4175
|
}
|
|
4169
4176
|
function _get_logicConfig__52ww9d($this) {
|
|
4170
|
-
var tmp0 = $this.
|
|
4177
|
+
var tmp0 = $this.m9y_1;
|
|
4171
4178
|
var tmp = KProperty1;
|
|
4172
4179
|
// Inline function 'kotlin.getValue' call
|
|
4173
4180
|
getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
|
|
4174
4181
|
return tmp0.w();
|
|
4175
4182
|
}
|
|
4176
4183
|
function _get_idsProvider__fnfajc_0($this) {
|
|
4177
|
-
var tmp0 = $this.
|
|
4184
|
+
var tmp0 = $this.n9y_1;
|
|
4178
4185
|
var tmp = KProperty1;
|
|
4179
4186
|
// Inline function 'kotlin.getValue' call
|
|
4180
4187
|
getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
|
|
4181
4188
|
return tmp0.w();
|
|
4182
4189
|
}
|
|
4183
4190
|
function _get_botConfig__cpaxzc($this) {
|
|
4184
|
-
var tmp0 = $this.
|
|
4191
|
+
var tmp0 = $this.o9y_1;
|
|
4185
4192
|
var tmp = KProperty1;
|
|
4186
4193
|
// Inline function 'kotlin.getValue' call
|
|
4187
4194
|
getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
|
|
4188
4195
|
return tmp0.w();
|
|
4189
4196
|
}
|
|
4190
4197
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
4191
|
-
var tmp0 = $this.
|
|
4198
|
+
var tmp0 = $this.p9y_1;
|
|
4192
4199
|
var tmp = KProperty1;
|
|
4193
4200
|
// Inline function 'kotlin.getValue' call
|
|
4194
4201
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
|
|
4195
4202
|
return tmp0.w();
|
|
4196
4203
|
}
|
|
4197
4204
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
4198
|
-
var tmp0 = $this.
|
|
4205
|
+
var tmp0 = $this.q9y_1;
|
|
4199
4206
|
var tmp = KProperty1;
|
|
4200
4207
|
// Inline function 'kotlin.getValue' call
|
|
4201
4208
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
|
|
4202
4209
|
return tmp0.w();
|
|
4203
4210
|
}
|
|
4204
4211
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
4205
|
-
var tmp0 = $this.
|
|
4212
|
+
var tmp0 = $this.r9y_1;
|
|
4206
4213
|
var tmp = KProperty1;
|
|
4207
4214
|
// Inline function 'kotlin.getValue' call
|
|
4208
4215
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
|
|
4209
4216
|
return tmp0.w();
|
|
4210
4217
|
}
|
|
4211
4218
|
function _get_dealerConfig__183ci8($this) {
|
|
4212
|
-
var tmp0 = $this.
|
|
4219
|
+
var tmp0 = $this.s9y_1;
|
|
4213
4220
|
var tmp = KProperty1;
|
|
4214
4221
|
// Inline function 'kotlin.getValue' call
|
|
4215
4222
|
getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
|
|
4216
4223
|
return tmp0.w();
|
|
4217
4224
|
}
|
|
4218
4225
|
function _get_poolProvider__tqti6a($this) {
|
|
4219
|
-
var tmp0 = $this.
|
|
4226
|
+
var tmp0 = $this.t9y_1;
|
|
4220
4227
|
var tmp = KProperty1;
|
|
4221
4228
|
// Inline function 'kotlin.getValue' call
|
|
4222
4229
|
getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
|
|
4223
4230
|
return tmp0.w();
|
|
4224
4231
|
}
|
|
4225
4232
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
4226
|
-
var tmp0 = $this.
|
|
4233
|
+
var tmp0 = $this.u9y_1;
|
|
4227
4234
|
var tmp = KProperty1;
|
|
4228
4235
|
// Inline function 'kotlin.getValue' call
|
|
4229
4236
|
getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
|
|
@@ -4387,11 +4394,11 @@
|
|
|
4387
4394
|
tmp = fileLoggerStoreContract;
|
|
4388
4395
|
}
|
|
4389
4396
|
fileLoggerStoreContract = tmp;
|
|
4390
|
-
this.
|
|
4391
|
-
this.
|
|
4392
|
-
this.
|
|
4393
|
-
this.
|
|
4394
|
-
this.
|
|
4397
|
+
this.c9y_1 = validationStoreContract;
|
|
4398
|
+
this.d9y_1 = timersStoreContract;
|
|
4399
|
+
this.e9y_1 = botGameStoreContract;
|
|
4400
|
+
this.f9y_1 = gameMechanicStoreContract;
|
|
4401
|
+
this.g9y_1 = fileLoggerStoreContract;
|
|
4395
4402
|
var tmp_0 = this;
|
|
4396
4403
|
// Inline function 'org.kodein.di.instance' call
|
|
4397
4404
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4399,7 +4406,7 @@
|
|
|
4399
4406
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
4400
4407
|
var tmp_2 = Instance(di, tmp$ret$0, null);
|
|
4401
4408
|
var tmp_3 = KProperty1;
|
|
4402
|
-
tmp_0.
|
|
4409
|
+
tmp_0.h9y_1 = tmp_2.u64(this, getPropertyCallableRef('asyncProvider', 1, tmp_3, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
|
|
4403
4410
|
var tmp_4 = this;
|
|
4404
4411
|
// Inline function 'org.kodein.di.instance' call
|
|
4405
4412
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4407,7 +4414,7 @@
|
|
|
4407
4414
|
var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
4408
4415
|
var tmp_6 = Instance(di, tmp$ret$2, null);
|
|
4409
4416
|
var tmp_7 = KProperty1;
|
|
4410
|
-
tmp_4.
|
|
4417
|
+
tmp_4.i9y_1 = tmp_6.u64(this, getPropertyCallableRef('logger', 1, tmp_7, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
|
|
4411
4418
|
var tmp_8 = this;
|
|
4412
4419
|
// Inline function 'org.kodein.di.instance' call
|
|
4413
4420
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4415,7 +4422,7 @@
|
|
|
4415
4422
|
var tmp$ret$4 = isInterface(tmp_9, TypeToken) ? tmp_9 : THROW_CCE();
|
|
4416
4423
|
var tmp_10 = Instance(di, tmp$ret$4, null);
|
|
4417
4424
|
var tmp_11 = KProperty1;
|
|
4418
|
-
tmp_8.
|
|
4425
|
+
tmp_8.j9y_1 = tmp_10.u64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_11, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
|
|
4419
4426
|
var tmp_12 = this;
|
|
4420
4427
|
// Inline function 'org.kodein.di.instance' call
|
|
4421
4428
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4423,7 +4430,7 @@
|
|
|
4423
4430
|
var tmp$ret$6 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
4424
4431
|
var tmp_14 = Instance(di, tmp$ret$6, null);
|
|
4425
4432
|
var tmp_15 = KProperty1;
|
|
4426
|
-
tmp_12.
|
|
4433
|
+
tmp_12.k9y_1 = tmp_14.u64(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_15, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
|
|
4427
4434
|
var tmp_16 = this;
|
|
4428
4435
|
// Inline function 'org.kodein.di.instance' call
|
|
4429
4436
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4431,7 +4438,7 @@
|
|
|
4431
4438
|
var tmp$ret$8 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
4432
4439
|
var tmp_18 = Instance(di, tmp$ret$8, null);
|
|
4433
4440
|
var tmp_19 = KProperty1;
|
|
4434
|
-
tmp_16.
|
|
4441
|
+
tmp_16.l9y_1 = tmp_18.u64(this, getPropertyCallableRef('serverConfig', 1, tmp_19, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
|
|
4435
4442
|
var tmp_20 = this;
|
|
4436
4443
|
// Inline function 'org.kodein.di.instance' call
|
|
4437
4444
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4439,7 +4446,7 @@
|
|
|
4439
4446
|
var tmp$ret$10 = isInterface(tmp_21, TypeToken) ? tmp_21 : THROW_CCE();
|
|
4440
4447
|
var tmp_22 = Instance(di, tmp$ret$10, null);
|
|
4441
4448
|
var tmp_23 = KProperty1;
|
|
4442
|
-
tmp_20.
|
|
4449
|
+
tmp_20.m9y_1 = tmp_22.u64(this, getPropertyCallableRef('logicConfig', 1, tmp_23, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
|
|
4443
4450
|
var tmp_24 = this;
|
|
4444
4451
|
// Inline function 'org.kodein.di.instance' call
|
|
4445
4452
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4447,7 +4454,7 @@
|
|
|
4447
4454
|
var tmp$ret$12 = isInterface(tmp_25, TypeToken) ? tmp_25 : THROW_CCE();
|
|
4448
4455
|
var tmp_26 = Instance(di, tmp$ret$12, null);
|
|
4449
4456
|
var tmp_27 = KProperty1;
|
|
4450
|
-
tmp_24.
|
|
4457
|
+
tmp_24.n9y_1 = tmp_26.u64(this, getPropertyCallableRef('idsProvider', 1, tmp_27, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
|
|
4451
4458
|
var tmp_28 = this;
|
|
4452
4459
|
// Inline function 'org.kodein.di.instance' call
|
|
4453
4460
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4455,7 +4462,7 @@
|
|
|
4455
4462
|
var tmp$ret$14 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
|
|
4456
4463
|
var tmp_30 = Instance(di, tmp$ret$14, null);
|
|
4457
4464
|
var tmp_31 = KProperty1;
|
|
4458
|
-
tmp_28.
|
|
4465
|
+
tmp_28.o9y_1 = tmp_30.u64(this, getPropertyCallableRef('botConfig', 1, tmp_31, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
|
|
4459
4466
|
var tmp_32 = this;
|
|
4460
4467
|
// Inline function 'org.kodein.di.instance' call
|
|
4461
4468
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4463,7 +4470,7 @@
|
|
|
4463
4470
|
var tmp$ret$16 = isInterface(tmp_33, TypeToken) ? tmp_33 : THROW_CCE();
|
|
4464
4471
|
var tmp_34 = Instance(di, tmp$ret$16, null);
|
|
4465
4472
|
var tmp_35 = KProperty1;
|
|
4466
|
-
tmp_32.
|
|
4473
|
+
tmp_32.p9y_1 = tmp_34.u64(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_35, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
|
|
4467
4474
|
var tmp_36 = this;
|
|
4468
4475
|
// Inline function 'org.kodein.di.instance' call
|
|
4469
4476
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4471,7 +4478,7 @@
|
|
|
4471
4478
|
var tmp$ret$18 = isInterface(tmp_37, TypeToken) ? tmp_37 : THROW_CCE();
|
|
4472
4479
|
var tmp_38 = Instance(di, tmp$ret$18, null);
|
|
4473
4480
|
var tmp_39 = KProperty1;
|
|
4474
|
-
tmp_36.
|
|
4481
|
+
tmp_36.q9y_1 = tmp_38.u64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_39, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
|
|
4475
4482
|
var tmp_40 = this;
|
|
4476
4483
|
// Inline function 'org.kodein.di.instance' call
|
|
4477
4484
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4479,7 +4486,7 @@
|
|
|
4479
4486
|
var tmp$ret$20 = isInterface(tmp_41, TypeToken) ? tmp_41 : THROW_CCE();
|
|
4480
4487
|
var tmp_42 = Instance(di, tmp$ret$20, null);
|
|
4481
4488
|
var tmp_43 = KProperty1;
|
|
4482
|
-
tmp_40.
|
|
4489
|
+
tmp_40.r9y_1 = tmp_42.u64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_43, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
|
|
4483
4490
|
var tmp_44 = this;
|
|
4484
4491
|
// Inline function 'org.kodein.di.instance' call
|
|
4485
4492
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4487,7 +4494,7 @@
|
|
|
4487
4494
|
var tmp$ret$22 = isInterface(tmp_45, TypeToken) ? tmp_45 : THROW_CCE();
|
|
4488
4495
|
var tmp_46 = Instance(di, tmp$ret$22, null);
|
|
4489
4496
|
var tmp_47 = KProperty1;
|
|
4490
|
-
tmp_44.
|
|
4497
|
+
tmp_44.s9y_1 = tmp_46.u64(this, getPropertyCallableRef('dealerConfig', 1, tmp_47, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
|
|
4491
4498
|
var tmp_48 = this;
|
|
4492
4499
|
// Inline function 'org.kodein.di.instance' call
|
|
4493
4500
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4495,7 +4502,7 @@
|
|
|
4495
4502
|
var tmp$ret$24 = isInterface(tmp_49, TypeToken) ? tmp_49 : THROW_CCE();
|
|
4496
4503
|
var tmp_50 = Instance(di, tmp$ret$24, null);
|
|
4497
4504
|
var tmp_51 = KProperty1;
|
|
4498
|
-
tmp_48.
|
|
4505
|
+
tmp_48.t9y_1 = tmp_50.u64(this, getPropertyCallableRef('poolProvider', 1, tmp_51, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
|
|
4499
4506
|
var tmp_52 = this;
|
|
4500
4507
|
// Inline function 'org.kodein.di.instance' call
|
|
4501
4508
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4503,13 +4510,13 @@
|
|
|
4503
4510
|
var tmp$ret$26 = isInterface(tmp_53, TypeToken) ? tmp_53 : THROW_CCE();
|
|
4504
4511
|
var tmp_54 = Instance(di, tmp$ret$26, null);
|
|
4505
4512
|
var tmp_55 = KProperty1;
|
|
4506
|
-
tmp_52.
|
|
4513
|
+
tmp_52.u9y_1 = tmp_54.u64(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_55, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
|
|
4507
4514
|
}
|
|
4508
|
-
protoOf(ServerGameStoreContract).
|
|
4509
|
-
return plus(plus(plus(plus(plus(this.
|
|
4515
|
+
protoOf(ServerGameStoreContract).e8y = function () {
|
|
4516
|
+
return plus(plus(plus(plus(plus(this.c9y_1.e8y(), this.f9y_1.e8y()), this.d9y_1.e8y()), this.e9y_1.e8y()), this.g9y_1.e8y()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl_0(this))]));
|
|
4510
4517
|
};
|
|
4511
|
-
protoOf(ServerGameStoreContract).
|
|
4512
|
-
var tmp = plus(plus(plus(plus(plus(plus(plus(this.
|
|
4518
|
+
protoOf(ServerGameStoreContract).f8y = function () {
|
|
4519
|
+
var tmp = plus(plus(plus(plus(plus(plus(plus(this.c9y_1.f8y(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameWhenNotLiveStrategy.equals(FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance()) ? checkBotsMiddleware(_get_logger__rkp4sl_0(this)) : null)), this.f9y_1.f8y()), this.d9y_1.f8y()), this.e9y_1.f8y()), this.g9y_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()]));
|
|
4513
4520
|
var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this), _get_logger__rkp4sl_0(this));
|
|
4514
4521
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
4515
4522
|
var tmp1_logger = _get_logger__rkp4sl_0(this);
|
|
@@ -4549,7 +4556,7 @@
|
|
|
4549
4556
|
store.dispatch(Companion_instance.fromTableWithAnalytics(new GameFinishedReason(Reason_DEPLOY_getInstance()), true, state.l6m_1));
|
|
4550
4557
|
break $l$block_0;
|
|
4551
4558
|
}
|
|
4552
|
-
if (state.
|
|
4559
|
+
if (state.m6n().config.mode.equals(RoomMode_REVENGE_getInstance())) {
|
|
4553
4560
|
store.dispatch(Companion_instance.fromTableWithAnalytics(new GameFinishedReason(Reason_REVENGED_getInstance()), true, state.l6m_1));
|
|
4554
4561
|
break $l$block_0;
|
|
4555
4562
|
}
|
|
@@ -4560,7 +4567,7 @@
|
|
|
4560
4567
|
return this.m6h(store, next, action);
|
|
4561
4568
|
};
|
|
4562
4569
|
function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
|
|
4563
|
-
this.
|
|
4570
|
+
this.x9y_1 = this$0;
|
|
4564
4571
|
}
|
|
4565
4572
|
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).x6f = function (action) {
|
|
4566
4573
|
return action instanceof MechanicAction;
|
|
@@ -4571,11 +4578,11 @@
|
|
|
4571
4578
|
// Inline function 'kotlin.with' call
|
|
4572
4579
|
var tmp;
|
|
4573
4580
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
4574
|
-
var tmp0 = this.
|
|
4575
|
-
var tmp2 = action_0.
|
|
4576
|
-
var tmp4 = action_0.
|
|
4581
|
+
var tmp0 = this.x9y_1;
|
|
4582
|
+
var tmp2 = action_0.p8u_1;
|
|
4583
|
+
var tmp4 = action_0.r8u_1;
|
|
4577
4584
|
// Inline function 'kotlin.collections.map' call
|
|
4578
|
-
var this_0 = action_0.
|
|
4585
|
+
var this_0 = action_0.s8u_1;
|
|
4579
4586
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4580
4587
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
4581
4588
|
var _iterator__ex2g4s = this_0.l();
|
|
@@ -4611,7 +4618,7 @@
|
|
|
4611
4618
|
var _iterator__ex2g4s_2 = destination_1.l();
|
|
4612
4619
|
while (_iterator__ex2g4s_2.m()) {
|
|
4613
4620
|
var element_0 = _iterator__ex2g4s_2.n();
|
|
4614
|
-
var tmp0_aid = tmp0.
|
|
4621
|
+
var tmp0_aid = tmp0.w9y_1.z6d();
|
|
4615
4622
|
// Inline function 'kotlin.collections.map' call
|
|
4616
4623
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4617
4624
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -4633,16 +4640,16 @@
|
|
|
4633
4640
|
tmp = destination_2;
|
|
4634
4641
|
} else {
|
|
4635
4642
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
4636
|
-
var tmp0_0 = this.
|
|
4643
|
+
var tmp0_0 = this.x9y_1;
|
|
4637
4644
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4638
|
-
var table = state.
|
|
4639
|
-
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.
|
|
4645
|
+
var table = state.m6n();
|
|
4646
|
+
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.w9y_1.z6d(), table.id, null);
|
|
4640
4647
|
var tmp$ret$21 = mapToClient_16(action_0, sendToPlayer_0);
|
|
4641
4648
|
tmp = listOfNotNull(tmp$ret$21);
|
|
4642
4649
|
} else {
|
|
4643
4650
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
4644
|
-
var tmp0_1 = this.
|
|
4645
|
-
var tmp2_0 = action_0.
|
|
4651
|
+
var tmp0_1 = this.x9y_1;
|
|
4652
|
+
var tmp2_0 = action_0.v8u_1.id;
|
|
4646
4653
|
var tmp4_0 = action_0.gameCreatorPlayerId;
|
|
4647
4654
|
// Inline function 'kotlin.collections.map' call
|
|
4648
4655
|
var this_1 = action_0.users;
|
|
@@ -4681,7 +4688,7 @@
|
|
|
4681
4688
|
var _iterator__ex2g4s_7 = destination_6.l();
|
|
4682
4689
|
while (_iterator__ex2g4s_7.m()) {
|
|
4683
4690
|
var element_2 = _iterator__ex2g4s_7.n();
|
|
4684
|
-
var tmp0_aid_0 = tmp0_1.
|
|
4691
|
+
var tmp0_aid_0 = tmp0_1.w9y_1.z6d();
|
|
4685
4692
|
// Inline function 'kotlin.collections.map' call
|
|
4686
4693
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4687
4694
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -4703,41 +4710,41 @@
|
|
|
4703
4710
|
tmp = destination_7;
|
|
4704
4711
|
} else {
|
|
4705
4712
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
4706
|
-
var tmp0_2 = this.
|
|
4713
|
+
var tmp0_2 = this.x9y_1;
|
|
4707
4714
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4708
|
-
var table_0 = state.
|
|
4709
|
-
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.
|
|
4715
|
+
var table_0 = state.m6n();
|
|
4716
|
+
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.w9y_1.z6d(), table_0.id, null);
|
|
4710
4717
|
var tmp$ret$44 = mapToClient_14(action_0, sendToPlayer_2);
|
|
4711
4718
|
tmp = listOfNotNull(tmp$ret$44);
|
|
4712
4719
|
} else {
|
|
4713
4720
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
4714
|
-
var tmp0_3 = this.
|
|
4721
|
+
var tmp0_3 = this.x9y_1;
|
|
4715
4722
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4716
|
-
var table_1 = state.
|
|
4717
|
-
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.
|
|
4723
|
+
var table_1 = state.m6n();
|
|
4724
|
+
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.w9y_1.z6d(), table_1.id, null);
|
|
4718
4725
|
var tmp$ret$46 = mapToClient_13(action_0, sendToPlayer_3);
|
|
4719
4726
|
tmp = listOfNotNull(tmp$ret$46);
|
|
4720
4727
|
} else {
|
|
4721
4728
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
4722
|
-
var tmp0_4 = this.
|
|
4729
|
+
var tmp0_4 = this.x9y_1;
|
|
4723
4730
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4724
|
-
var table_2 = state.
|
|
4725
|
-
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.
|
|
4731
|
+
var table_2 = state.m6n();
|
|
4732
|
+
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.w9y_1.z6d(), table_2.id, null);
|
|
4726
4733
|
var tmp$ret$48 = mapToClient_12(action_0, sendToPlayer_4);
|
|
4727
4734
|
tmp = listOfNotNull(tmp$ret$48);
|
|
4728
4735
|
} else {
|
|
4729
4736
|
if (action_0 instanceof ErrorAction) {
|
|
4730
|
-
var tmp0_5 = this.
|
|
4737
|
+
var tmp0_5 = this.x9y_1;
|
|
4731
4738
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4732
|
-
var table_3 = state.
|
|
4733
|
-
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.
|
|
4739
|
+
var table_3 = state.m6n();
|
|
4740
|
+
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.w9y_1.z6d(), table_3.id, null);
|
|
4734
4741
|
var tmp$ret$50 = mapToClient_11(action_0, sendToPlayer_5);
|
|
4735
4742
|
tmp = listOfNotNull(tmp$ret$50);
|
|
4736
4743
|
} else {
|
|
4737
4744
|
if (action_0 instanceof SceneMechanicAction) {
|
|
4738
|
-
var tmp0_6 = this.
|
|
4745
|
+
var tmp0_6 = this.x9y_1;
|
|
4739
4746
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4740
|
-
var table_4 = state.
|
|
4747
|
+
var table_4 = state.m6n();
|
|
4741
4748
|
var tmp2_1 = table_4.id;
|
|
4742
4749
|
var tmp4_1 = getGameCreator(table_4.players).playerId;
|
|
4743
4750
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -4768,7 +4775,7 @@
|
|
|
4768
4775
|
var _iterator__ex2g4s_11 = destination_10.l();
|
|
4769
4776
|
while (_iterator__ex2g4s_11.m()) {
|
|
4770
4777
|
var element_4 = _iterator__ex2g4s_11.n();
|
|
4771
|
-
var tmp0_aid_1 = tmp0_6.
|
|
4778
|
+
var tmp0_aid_1 = tmp0_6.w9y_1.z6d();
|
|
4772
4779
|
// Inline function 'kotlin.collections.map' call
|
|
4773
4780
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4774
4781
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -4790,9 +4797,9 @@
|
|
|
4790
4797
|
tmp = destination_11;
|
|
4791
4798
|
} else {
|
|
4792
4799
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
4793
|
-
var tmp0_7 = this.
|
|
4800
|
+
var tmp0_7 = this.x9y_1;
|
|
4794
4801
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4795
|
-
var table_5 = state.
|
|
4802
|
+
var table_5 = state.m6n();
|
|
4796
4803
|
var tmp2_2 = table_5.id;
|
|
4797
4804
|
var tmp4_2 = getGameCreator(table_5.players).playerId;
|
|
4798
4805
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -4823,7 +4830,7 @@
|
|
|
4823
4830
|
var _iterator__ex2g4s_15 = destination_14.l();
|
|
4824
4831
|
while (_iterator__ex2g4s_15.m()) {
|
|
4825
4832
|
var element_6 = _iterator__ex2g4s_15.n();
|
|
4826
|
-
var tmp0_aid_2 = tmp0_7.
|
|
4833
|
+
var tmp0_aid_2 = tmp0_7.w9y_1.z6d();
|
|
4827
4834
|
// Inline function 'kotlin.collections.map' call
|
|
4828
4835
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4829
4836
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -4845,9 +4852,9 @@
|
|
|
4845
4852
|
tmp = destination_15;
|
|
4846
4853
|
} else {
|
|
4847
4854
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
4848
|
-
var tmp0_8 = this.
|
|
4855
|
+
var tmp0_8 = this.x9y_1;
|
|
4849
4856
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4850
|
-
var table_6 = state.
|
|
4857
|
+
var table_6 = state.m6n();
|
|
4851
4858
|
var tmp2_3 = table_6.id;
|
|
4852
4859
|
var tmp4_3 = getGameCreator(table_6.players).playerId;
|
|
4853
4860
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -4878,7 +4885,7 @@
|
|
|
4878
4885
|
var _iterator__ex2g4s_19 = destination_18.l();
|
|
4879
4886
|
while (_iterator__ex2g4s_19.m()) {
|
|
4880
4887
|
var element_8 = _iterator__ex2g4s_19.n();
|
|
4881
|
-
var tmp0_aid_3 = tmp0_8.
|
|
4888
|
+
var tmp0_aid_3 = tmp0_8.w9y_1.z6d();
|
|
4882
4889
|
// Inline function 'kotlin.collections.map' call
|
|
4883
4890
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4884
4891
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -4890,7 +4897,7 @@
|
|
|
4890
4897
|
}
|
|
4891
4898
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_3, tmp4_3, element_8, destination_20);
|
|
4892
4899
|
var tmp_0;
|
|
4893
|
-
if (this.
|
|
4900
|
+
if (this.x9y_1.v9y_1.supportBackwardActions && getPlayer(state.m6n().players, sendToPlayer_8.a7b_1).p6q_1.e6u_1) {
|
|
4894
4901
|
tmp_0 = null;
|
|
4895
4902
|
} else {
|
|
4896
4903
|
tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
|
|
@@ -4906,72 +4913,72 @@
|
|
|
4906
4913
|
tmp = destination_19;
|
|
4907
4914
|
} else {
|
|
4908
4915
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
4909
|
-
var tmp0_9 = this.
|
|
4910
|
-
var tmp2_4 = state.
|
|
4916
|
+
var tmp0_9 = this.x9y_1;
|
|
4917
|
+
var tmp2_4 = state.m6n();
|
|
4911
4918
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4912
|
-
var exceptPlayerId = this.
|
|
4913
|
-
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.
|
|
4919
|
+
var exceptPlayerId = this.x9y_1.v9y_1.supportBackwardActions ? action_0.q8v_1 : null;
|
|
4920
|
+
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.w9y_1.z6d(), tmp2_4.id, exceptPlayerId);
|
|
4914
4921
|
var tmp$ret$109 = mapToClient_7(action_0, sendToPlayer_9);
|
|
4915
4922
|
tmp = listOfNotNull(tmp$ret$109);
|
|
4916
4923
|
} else {
|
|
4917
4924
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
4918
|
-
var tmp0_10 = this.
|
|
4919
|
-
var tmp2_5 = state.
|
|
4925
|
+
var tmp0_10 = this.x9y_1;
|
|
4926
|
+
var tmp2_5 = state.m6n();
|
|
4920
4927
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4921
|
-
var exceptPlayerId_0 = this.
|
|
4922
|
-
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.
|
|
4928
|
+
var exceptPlayerId_0 = this.x9y_1.v9y_1.supportBackwardActions ? action_0.s8q_1 : null;
|
|
4929
|
+
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.w9y_1.z6d(), tmp2_5.id, exceptPlayerId_0);
|
|
4923
4930
|
var tmp$ret$111 = mapToClient_6(action_0, sendToPlayer_10);
|
|
4924
4931
|
tmp = listOfNotNull(tmp$ret$111);
|
|
4925
4932
|
} else {
|
|
4926
4933
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
4927
|
-
var tmp0_11 = this.
|
|
4934
|
+
var tmp0_11 = this.x9y_1;
|
|
4928
4935
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4929
|
-
var table_7 = state.
|
|
4930
|
-
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.
|
|
4936
|
+
var table_7 = state.m6n();
|
|
4937
|
+
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.w9y_1.z6d(), table_7.id, null);
|
|
4931
4938
|
var tmp$ret$113 = mapToClient_5(action_0, sendToPlayer_11);
|
|
4932
4939
|
tmp = listOfNotNull(tmp$ret$113);
|
|
4933
4940
|
} else {
|
|
4934
4941
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
4935
|
-
var tmp0_12 = this.
|
|
4936
|
-
var tmp2_6 = state.
|
|
4942
|
+
var tmp0_12 = this.x9y_1;
|
|
4943
|
+
var tmp2_6 = state.m6n();
|
|
4937
4944
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4938
|
-
var exceptPlayerId_1 = this.
|
|
4939
|
-
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.
|
|
4945
|
+
var exceptPlayerId_1 = this.x9y_1.v9y_1.supportBackwardActions ? action_0.w8v_1 : null;
|
|
4946
|
+
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.w9y_1.z6d(), tmp2_6.id, exceptPlayerId_1);
|
|
4940
4947
|
var tmp$ret$115 = mapToClient_4(action_0, sendToPlayer_12);
|
|
4941
4948
|
tmp = listOfNotNull(tmp$ret$115);
|
|
4942
4949
|
} else {
|
|
4943
4950
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
4944
|
-
var tmp0_13 = this.
|
|
4945
|
-
var tmp2_7 = state.
|
|
4951
|
+
var tmp0_13 = this.x9y_1;
|
|
4952
|
+
var tmp2_7 = state.m6n();
|
|
4946
4953
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4947
|
-
var exceptPlayerId_2 = this.
|
|
4948
|
-
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.
|
|
4954
|
+
var exceptPlayerId_2 = this.x9y_1.v9y_1.supportBackwardActions ? action_0.x8q_1 : null;
|
|
4955
|
+
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.w9y_1.z6d(), tmp2_7.id, exceptPlayerId_2);
|
|
4949
4956
|
var tmp$ret$117 = mapToClient_3(action_0, sendToPlayer_13);
|
|
4950
4957
|
tmp = listOfNotNull(tmp$ret$117);
|
|
4951
4958
|
} else {
|
|
4952
4959
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
4953
|
-
var tmp0_14 = this.
|
|
4960
|
+
var tmp0_14 = this.x9y_1;
|
|
4954
4961
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4955
|
-
var table_8 = state.
|
|
4956
|
-
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.
|
|
4962
|
+
var table_8 = state.m6n();
|
|
4963
|
+
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.w9y_1.z6d(), table_8.id, null);
|
|
4957
4964
|
var tmp$ret$119 = mapToClient_2(action_0, sendToPlayer_14);
|
|
4958
4965
|
tmp = listOfNotNull(tmp$ret$119);
|
|
4959
4966
|
} else {
|
|
4960
4967
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
4961
|
-
var tmp0_15 = this.
|
|
4968
|
+
var tmp0_15 = this.x9y_1;
|
|
4962
4969
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4963
|
-
var table_9 = state.
|
|
4964
|
-
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.
|
|
4970
|
+
var table_9 = state.m6n();
|
|
4971
|
+
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.w9y_1.z6d(), table_9.id, null);
|
|
4965
4972
|
var tmp$ret$121 = mapToClient_1(action_0, sendToPlayer_15);
|
|
4966
4973
|
tmp = listOfNotNull(tmp$ret$121);
|
|
4967
4974
|
} else {
|
|
4968
4975
|
if (action_0 instanceof MessageMechanicAction) {
|
|
4969
|
-
var message = action_0.
|
|
4970
|
-
var tmp0_16 = this.
|
|
4971
|
-
var tmp2_8 = state.
|
|
4976
|
+
var message = action_0.a8w_1;
|
|
4977
|
+
var tmp0_16 = this.x9y_1;
|
|
4978
|
+
var tmp2_8 = state.m6n();
|
|
4972
4979
|
var tmp_1;
|
|
4973
4980
|
var tmp_2;
|
|
4974
|
-
if (this.
|
|
4981
|
+
if (this.x9y_1.v9y_1.supportBackwardActions) {
|
|
4975
4982
|
tmp_2 = isInterface(message, UserMessage);
|
|
4976
4983
|
} else {
|
|
4977
4984
|
tmp_2 = false;
|
|
@@ -4983,16 +4990,16 @@
|
|
|
4983
4990
|
}
|
|
4984
4991
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4985
4992
|
var exceptPlayerId_3 = tmp_1;
|
|
4986
|
-
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.
|
|
4993
|
+
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.w9y_1.z6d(), tmp2_8.id, exceptPlayerId_3);
|
|
4987
4994
|
var tmp$ret$123 = mapToClient_0(action_0, sendToPlayer_16);
|
|
4988
4995
|
tmp = listOfNotNull(tmp$ret$123);
|
|
4989
4996
|
} else {
|
|
4990
4997
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
4991
|
-
var tmp0_17 = this.
|
|
4992
|
-
var tmp2_9 = state.
|
|
4998
|
+
var tmp0_17 = this.x9y_1;
|
|
4999
|
+
var tmp2_9 = state.m6n();
|
|
4993
5000
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4994
5001
|
var exceptPlayerId_4 = action_0.playerId;
|
|
4995
|
-
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.
|
|
5002
|
+
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.w9y_1.z6d(), tmp2_9.id, exceptPlayerId_4);
|
|
4996
5003
|
var tmp$ret$125 = mapToClient(action_0, sendToPlayer_17);
|
|
4997
5004
|
tmp = listOfNotNull(tmp$ret$125);
|
|
4998
5005
|
} else {
|
|
@@ -5029,10 +5036,10 @@
|
|
|
5029
5036
|
return this.m6h(store, next, action);
|
|
5030
5037
|
};
|
|
5031
5038
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
5032
|
-
this.
|
|
5033
|
-
this.
|
|
5039
|
+
this.v9y_1 = logicConfig;
|
|
5040
|
+
this.w9y_1 = idsProvider;
|
|
5034
5041
|
}
|
|
5035
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
5042
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).l90 = function () {
|
|
5036
5043
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
5037
5044
|
return new ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this);
|
|
5038
5045
|
};
|
|
@@ -5041,8 +5048,8 @@
|
|
|
5041
5048
|
return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
|
|
5042
5049
|
}
|
|
5043
5050
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
5044
|
-
this.
|
|
5045
|
-
this.
|
|
5051
|
+
this.g9z_1 = $provider;
|
|
5052
|
+
this.h9z_1 = $action;
|
|
5046
5053
|
CoroutineImpl.call(this, resultContinuation);
|
|
5047
5054
|
}
|
|
5048
5055
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -5063,7 +5070,7 @@
|
|
|
5063
5070
|
case 0:
|
|
5064
5071
|
this.s8_1 = 2;
|
|
5065
5072
|
this.r8_1 = 1;
|
|
5066
|
-
suspendResult = this.
|
|
5073
|
+
suspendResult = this.g9z_1.t9v(this.h9z_1, this);
|
|
5067
5074
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5068
5075
|
return suspendResult;
|
|
5069
5076
|
}
|
|
@@ -5086,8 +5093,8 @@
|
|
|
5086
5093
|
while (true);
|
|
5087
5094
|
};
|
|
5088
5095
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).a2d = function ($this$launchDefault, completion) {
|
|
5089
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
5090
|
-
i.
|
|
5096
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.g9z_1, this.h9z_1, completion);
|
|
5097
|
+
i.i9z_1 = $this$launchDefault;
|
|
5091
5098
|
return i;
|
|
5092
5099
|
};
|
|
5093
5100
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -5099,15 +5106,15 @@
|
|
|
5099
5106
|
return l;
|
|
5100
5107
|
}
|
|
5101
5108
|
function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
|
|
5102
|
-
this.
|
|
5103
|
-
this.
|
|
5109
|
+
this.j9z_1 = $asyncProvider;
|
|
5110
|
+
this.k9z_1 = $provider;
|
|
5104
5111
|
}
|
|
5105
5112
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).x6f = function (action) {
|
|
5106
5113
|
return action instanceof ToClientAction;
|
|
5107
5114
|
};
|
|
5108
5115
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).m6h = function (store, next, action) {
|
|
5109
5116
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
5110
|
-
this.
|
|
5117
|
+
this.j9z_1.f6c(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.k9z_1, action_0, null));
|
|
5111
5118
|
next(action_0);
|
|
5112
5119
|
};
|
|
5113
5120
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).w6f = function (store, next, action) {
|
|
@@ -5122,12 +5129,12 @@
|
|
|
5122
5129
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).x6f = function (action) {
|
|
5123
5130
|
return action instanceof UpdateServerConfigAction;
|
|
5124
5131
|
};
|
|
5125
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
5132
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).h98 = function (state, action) {
|
|
5126
5133
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
5127
|
-
return state.
|
|
5134
|
+
return state.q8t(VOID, get_serverStatePayload_0(state).copy(action_0.z9x_1));
|
|
5128
5135
|
};
|
|
5129
5136
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).n6h = function (state, action) {
|
|
5130
|
-
return this.
|
|
5137
|
+
return this.h98((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5131
5138
|
};
|
|
5132
5139
|
function ServerMechanicLifecycleReducer$onStart$lambda($action) {
|
|
5133
5140
|
return function (it) {
|
|
@@ -5140,7 +5147,7 @@
|
|
|
5140
5147
|
var tmp_2 = PlayerConnectionState_LIVE_getInstance();
|
|
5141
5148
|
Companion_getInstance();
|
|
5142
5149
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
5143
|
-
var this_0 = $action.
|
|
5150
|
+
var this_0 = $action.o8u_1.timeoutTimeMillis;
|
|
5144
5151
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
5145
5152
|
tmp_0 = tmp_1.j67(tmp_2, tmp$ret$0);
|
|
5146
5153
|
}
|
|
@@ -5149,63 +5156,63 @@
|
|
|
5149
5156
|
}
|
|
5150
5157
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
5151
5158
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
5152
|
-
this.
|
|
5159
|
+
this.n9z_1 = logger;
|
|
5153
5160
|
}
|
|
5154
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5155
|
-
var serverState = get_serverStatePayloadOrNull(state.
|
|
5161
|
+
protoOf(ServerMechanicLifecycleReducer).t99 = function (state, action) {
|
|
5162
|
+
var serverState = get_serverStatePayloadOrNull(state.payload);
|
|
5156
5163
|
var tmp8_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5157
|
-
var tmp0_$this = this.
|
|
5158
|
-
var tmp1_tableId = action.
|
|
5159
|
-
var tmp2_gameId = action.
|
|
5160
|
-
var tmp3_version = action.
|
|
5161
|
-
var tmp4_config = action.
|
|
5162
|
-
var tmp5_users = action.
|
|
5164
|
+
var tmp0_$this = this.u99_1;
|
|
5165
|
+
var tmp1_tableId = action.p8u_1;
|
|
5166
|
+
var tmp2_gameId = action.p8u_1;
|
|
5167
|
+
var tmp3_version = action.q8u_1;
|
|
5168
|
+
var tmp4_config = action.o8u_1;
|
|
5169
|
+
var tmp5_users = action.s8u_1;
|
|
5163
5170
|
var tmp6_spectators = action.spectators;
|
|
5164
|
-
var tmp7_gameCreatorPlayerId = action.
|
|
5165
|
-
var tmp9_tableOrNull = tmp0_$this.
|
|
5171
|
+
var tmp7_gameCreatorPlayerId = action.r8u_1;
|
|
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));
|
|
5166
5173
|
var tmp;
|
|
5167
5174
|
if (serverState == null) {
|
|
5168
|
-
this.
|
|
5175
|
+
this.n9z_1.w(VOID, 'ServerPayload is not onStart');
|
|
5169
5176
|
tmp = Companion_instance_13.initial();
|
|
5170
5177
|
} else {
|
|
5171
5178
|
tmp = serverState;
|
|
5172
5179
|
}
|
|
5173
5180
|
var tmp10_payload = tmp;
|
|
5174
|
-
return state.
|
|
5181
|
+
return state.q8t(tmp9_tableOrNull, tmp10_payload, tmp8_gameLifecycleState);
|
|
5175
5182
|
};
|
|
5176
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5183
|
+
protoOf(ServerMechanicLifecycleReducer).r99 = function (state, action) {
|
|
5177
5184
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5178
|
-
var tmp2_tableOrNull = action.
|
|
5185
|
+
var tmp2_tableOrNull = action.v8u_1;
|
|
5179
5186
|
var tmp = Companion_instance_13;
|
|
5180
5187
|
var tmp_0 = get_serverStatePayload_0(state).config;
|
|
5181
|
-
var tmp_1 = action.
|
|
5188
|
+
var tmp_1 = action.w8u_1;
|
|
5182
5189
|
var tmp0_safe_receiver = tmp_1 instanceof RestartRoundReason ? tmp_1 : null;
|
|
5183
5190
|
var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.d65_1));
|
|
5184
|
-
return state.
|
|
5191
|
+
return state.q8t(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
|
|
5185
5192
|
};
|
|
5186
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5187
|
-
this.
|
|
5193
|
+
protoOf(ServerMechanicLifecycleReducer).s99 = function (state, action) {
|
|
5194
|
+
this.v99_1.l58(action.previousGameId);
|
|
5188
5195
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5189
|
-
var tmp1_tableOrNull = this.
|
|
5190
|
-
return state.
|
|
5196
|
+
var tmp1_tableOrNull = this.u99_1.b9b(state.m6n(), action.gameId);
|
|
5197
|
+
return state.q8t(tmp1_tableOrNull, VOID, tmp0_gameLifecycleState);
|
|
5191
5198
|
};
|
|
5192
5199
|
function spectatorsReducer(logger) {
|
|
5193
5200
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
5194
5201
|
return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
|
|
5195
5202
|
}
|
|
5196
5203
|
function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
|
|
5197
|
-
this.
|
|
5204
|
+
this.o9z_1 = $logger;
|
|
5198
5205
|
}
|
|
5199
5206
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).x6f = function (action) {
|
|
5200
5207
|
return isInterface(action, SpectatorsAction);
|
|
5201
5208
|
};
|
|
5202
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
5209
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).h98 = function (state, action) {
|
|
5203
5210
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
5204
|
-
var table = state.
|
|
5211
|
+
var table = state.m6n();
|
|
5205
5212
|
var tmp;
|
|
5206
5213
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
5207
5214
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5208
|
-
var tmp0 = action_0.
|
|
5215
|
+
var tmp0 = action_0.a9y_1;
|
|
5209
5216
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5210
5217
|
var destination = ArrayList_init_$Create$_0();
|
|
5211
5218
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5224,9 +5231,9 @@
|
|
|
5224
5231
|
var tmp_0;
|
|
5225
5232
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5226
5233
|
if (!sameSpectators.r()) {
|
|
5227
|
-
this.
|
|
5234
|
+
this.o9z_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
5228
5235
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5229
|
-
var tmp0_0 = action_0.
|
|
5236
|
+
var tmp0_0 = action_0.a9y_1;
|
|
5230
5237
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5231
5238
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
5232
5239
|
var _iterator__ex2g4s_0 = tmp0_0.l();
|
|
@@ -5261,7 +5268,7 @@
|
|
|
5261
5268
|
}
|
|
5262
5269
|
tmp_0 = destination_0;
|
|
5263
5270
|
} else {
|
|
5264
|
-
tmp_0 = action_0.
|
|
5271
|
+
tmp_0 = action_0.a9y_1;
|
|
5265
5272
|
}
|
|
5266
5273
|
// Inline function 'kotlin.collections.map' call
|
|
5267
5274
|
var this_0 = tmp_0;
|
|
@@ -5274,11 +5281,11 @@
|
|
|
5274
5281
|
destination_1.j(tmp$ret$13);
|
|
5275
5282
|
}
|
|
5276
5283
|
var spectatorsToAdd = toSet(destination_1);
|
|
5277
|
-
tmp = state.
|
|
5284
|
+
tmp = state.q8t(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
|
|
5278
5285
|
} else {
|
|
5279
5286
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
5280
5287
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5281
|
-
var tmp0_1 = action_0.
|
|
5288
|
+
var tmp0_1 = action_0.b9y_1;
|
|
5282
5289
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5283
5290
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
5284
5291
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5297,9 +5304,9 @@
|
|
|
5297
5304
|
var tmp_2;
|
|
5298
5305
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5299
5306
|
if (!sameSpectators_0.r()) {
|
|
5300
|
-
this.
|
|
5307
|
+
this.o9z_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
5301
5308
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5302
|
-
var tmp0_2 = action_0.
|
|
5309
|
+
var tmp0_2 = action_0.b9y_1;
|
|
5303
5310
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5304
5311
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
5305
5312
|
var _iterator__ex2g4s_4 = tmp0_2.l();
|
|
@@ -5334,7 +5341,7 @@
|
|
|
5334
5341
|
}
|
|
5335
5342
|
tmp_2 = destination_3;
|
|
5336
5343
|
} else {
|
|
5337
|
-
tmp_2 = action_0.
|
|
5344
|
+
tmp_2 = action_0.b9y_1;
|
|
5338
5345
|
}
|
|
5339
5346
|
var spectatorsToRemove = toSet(tmp_2);
|
|
5340
5347
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -5371,7 +5378,7 @@
|
|
|
5371
5378
|
destination_4.j(element_5);
|
|
5372
5379
|
}
|
|
5373
5380
|
}
|
|
5374
|
-
tmp = state.
|
|
5381
|
+
tmp = state.q8t(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
|
|
5375
5382
|
} else {
|
|
5376
5383
|
noWhenBranchMatchedException();
|
|
5377
5384
|
}
|
|
@@ -5379,16 +5386,16 @@
|
|
|
5379
5386
|
return tmp;
|
|
5380
5387
|
};
|
|
5381
5388
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).n6h = function (state, action) {
|
|
5382
|
-
return this.
|
|
5389
|
+
return this.h98((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5383
5390
|
};
|
|
5384
5391
|
function Companion_5() {
|
|
5385
5392
|
}
|
|
5386
|
-
protoOf(Companion_5).
|
|
5393
|
+
protoOf(Companion_5).p9z = function (config) {
|
|
5387
5394
|
return new ServerStatePayload(config);
|
|
5388
5395
|
};
|
|
5389
5396
|
protoOf(Companion_5).initial = function (config, $super) {
|
|
5390
5397
|
config = config === VOID ? Companion_instance_8.initial(null) : config;
|
|
5391
|
-
return $super === VOID ? this.
|
|
5398
|
+
return $super === VOID ? this.p9z(config) : $super.p9z.call(this, config);
|
|
5392
5399
|
};
|
|
5393
5400
|
var Companion_instance_13;
|
|
5394
5401
|
function Companion_getInstance_6() {
|
|
@@ -5403,12 +5410,12 @@
|
|
|
5403
5410
|
protoOf(ServerStatePayload).ne = function () {
|
|
5404
5411
|
return this.config;
|
|
5405
5412
|
};
|
|
5406
|
-
protoOf(ServerStatePayload).
|
|
5413
|
+
protoOf(ServerStatePayload).q9z = function (config) {
|
|
5407
5414
|
return new ServerStatePayload(config);
|
|
5408
5415
|
};
|
|
5409
5416
|
protoOf(ServerStatePayload).copy = function (config, $super) {
|
|
5410
5417
|
config = config === VOID ? this.config : config;
|
|
5411
|
-
return $super === VOID ? this.
|
|
5418
|
+
return $super === VOID ? this.q9z(config) : $super.q9z.call(this, config);
|
|
5412
5419
|
};
|
|
5413
5420
|
protoOf(ServerStatePayload).toString = function () {
|
|
5414
5421
|
return 'ServerStatePayload(config=' + this.config.toString() + ')';
|
|
@@ -5433,7 +5440,7 @@
|
|
|
5433
5440
|
}
|
|
5434
5441
|
function get_serverStatePayload_0(_this__u8e3s4) {
|
|
5435
5442
|
// Inline function 'kotlin.requireNotNull' call
|
|
5436
|
-
var tmp0 = _this__u8e3s4.
|
|
5443
|
+
var tmp0 = _this__u8e3s4.payload;
|
|
5437
5444
|
var tmp$ret$1;
|
|
5438
5445
|
$l$block: {
|
|
5439
5446
|
// Inline function 'kotlin.requireNotNull' call
|
|
@@ -5452,7 +5459,7 @@
|
|
|
5452
5459
|
return new ServerLoggerKey(_this__u8e3s4.gameId);
|
|
5453
5460
|
}
|
|
5454
5461
|
function serverLoggerKeyFromPayload(_this__u8e3s4, payload) {
|
|
5455
|
-
var gameId = Companion_instance_3.
|
|
5462
|
+
var gameId = Companion_instance_3.b9d(payload);
|
|
5456
5463
|
var tmp;
|
|
5457
5464
|
if (!(gameId == null)) {
|
|
5458
5465
|
tmp = new ServerLoggerKey(gameId);
|
|
@@ -5469,14 +5476,14 @@
|
|
|
5469
5476
|
return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
|
|
5470
5477
|
}
|
|
5471
5478
|
function _get_logger__rkp4sl_1($this) {
|
|
5472
|
-
var tmp0 = $this.
|
|
5479
|
+
var tmp0 = $this.aa0_1;
|
|
5473
5480
|
var tmp = KProperty1;
|
|
5474
5481
|
// Inline function 'kotlin.getValue' call
|
|
5475
5482
|
getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
|
|
5476
5483
|
return tmp0.w();
|
|
5477
5484
|
}
|
|
5478
5485
|
function _get_di__ndbzja($this) {
|
|
5479
|
-
var tmp0 = $this.
|
|
5486
|
+
var tmp0 = $this.ba0_1;
|
|
5480
5487
|
var tmp = KProperty1;
|
|
5481
5488
|
// Inline function 'kotlin.getValue' call
|
|
5482
5489
|
getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
|
|
@@ -5493,8 +5500,8 @@
|
|
|
5493
5500
|
}
|
|
5494
5501
|
function createCallbackOutput($this, gameServer) {
|
|
5495
5502
|
var tmp;
|
|
5496
|
-
if (!($this.
|
|
5497
|
-
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.
|
|
5503
|
+
if (!($this.y9z_1 == null)) {
|
|
5504
|
+
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.y9z_1);
|
|
5498
5505
|
tmp = new CallbackWrapperLoggerOutput(tmp_0, GameServerEngineControllerImpl$createCallbackOutput$lambda(gameServer));
|
|
5499
5506
|
} else {
|
|
5500
5507
|
tmp = null;
|
|
@@ -5508,11 +5515,11 @@
|
|
|
5508
5515
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
5509
5516
|
return function () {
|
|
5510
5517
|
var tmp;
|
|
5511
|
-
if (this$0.
|
|
5518
|
+
if (this$0.y9z_1 == null) {
|
|
5512
5519
|
tmp = null;
|
|
5513
5520
|
} else {
|
|
5514
5521
|
// Inline function 'kotlin.let' call
|
|
5515
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
5522
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.y9z_1)]));
|
|
5516
5523
|
}
|
|
5517
5524
|
var tmp1_elvis_lhs = tmp;
|
|
5518
5525
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -5545,7 +5552,7 @@
|
|
|
5545
5552
|
tmp_0.x62(tmp$ret$3);
|
|
5546
5553
|
$this$DI.b5z(jsonModule());
|
|
5547
5554
|
$this$DI.b5z(serverHelpersModule());
|
|
5548
|
-
$this$DI.b5z(randomOrgModule(this$0.
|
|
5555
|
+
$this$DI.b5z(randomOrgModule(this$0.z9z_1));
|
|
5549
5556
|
return Unit_instance;
|
|
5550
5557
|
};
|
|
5551
5558
|
}
|
|
@@ -5621,16 +5628,16 @@
|
|
|
5621
5628
|
};
|
|
5622
5629
|
}
|
|
5623
5630
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
5624
|
-
this.
|
|
5631
|
+
this.ia0_1 = $reducer;
|
|
5625
5632
|
}
|
|
5626
5633
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).x6f = function (action) {
|
|
5627
5634
|
return isInterface(action, Action);
|
|
5628
5635
|
};
|
|
5629
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
5630
|
-
return this.
|
|
5636
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).h98 = function (state, action) {
|
|
5637
|
+
return this.ia0_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
5631
5638
|
};
|
|
5632
5639
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).n6h = function (state, action) {
|
|
5633
|
-
return this.
|
|
5640
|
+
return this.h98((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5634
5641
|
};
|
|
5635
5642
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($gameServer) {
|
|
5636
5643
|
return function () {
|
|
@@ -5710,7 +5717,7 @@
|
|
|
5710
5717
|
}
|
|
5711
5718
|
function GameServerEngineControllerImpl$createCallbackOutput$lambda($gameServer) {
|
|
5712
5719
|
return function (it) {
|
|
5713
|
-
var payload = Companion_instance_5.
|
|
5720
|
+
var payload = Companion_instance_5.o9b(it);
|
|
5714
5721
|
var tmp;
|
|
5715
5722
|
if (!(payload == null)) {
|
|
5716
5723
|
return payload;
|
|
@@ -5731,7 +5738,7 @@
|
|
|
5731
5738
|
// Inline function 'kotlin.let' call
|
|
5732
5739
|
$this$DI.b5z(tmp0_safe_receiver);
|
|
5733
5740
|
}
|
|
5734
|
-
$this$DI.b5z(dealerModule(this$0.randomPoolProvider, this$0.
|
|
5741
|
+
$this$DI.b5z(dealerModule(this$0.randomPoolProvider, this$0.z9z_1));
|
|
5735
5742
|
$this$DI.b5z(coreModule($coreConfig));
|
|
5736
5743
|
$this$DI.b5z(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $ratingConfig, $externalReducers, $externalMiddlewares));
|
|
5737
5744
|
return Unit_instance;
|
|
@@ -5740,13 +5747,13 @@
|
|
|
5740
5747
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
5741
5748
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
5742
5749
|
production = production === VOID ? true : production;
|
|
5743
|
-
this.
|
|
5744
|
-
this.
|
|
5750
|
+
this.y9z_1 = loggerCallback;
|
|
5751
|
+
this.z9z_1 = randomOrgConfig;
|
|
5745
5752
|
AppEnvironment_getInstance().u6l(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
|
|
5746
5753
|
var tmp = this;
|
|
5747
|
-
tmp.
|
|
5754
|
+
tmp.aa0_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
5748
5755
|
var tmp_0 = this;
|
|
5749
|
-
tmp_0.
|
|
5756
|
+
tmp_0.ba0_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
5750
5757
|
var tmp_1 = this;
|
|
5751
5758
|
// Inline function 'org.kodein.di.instance' call
|
|
5752
5759
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -5755,7 +5762,7 @@
|
|
|
5755
5762
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5756
5763
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
5757
5764
|
var tmp_4 = KProperty1;
|
|
5758
|
-
tmp_1.
|
|
5765
|
+
tmp_1.ca0_1 = tmp_3.u64(this, getPropertyCallableRef('parser', 1, tmp_4, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
|
|
5759
5766
|
var tmp_5 = this;
|
|
5760
5767
|
// Inline function 'org.kodein.di.instance' call
|
|
5761
5768
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -5764,7 +5771,7 @@
|
|
|
5764
5771
|
var tmp$ret$2 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
5765
5772
|
var tmp_7 = Instance(this_1, tmp$ret$2, null);
|
|
5766
5773
|
var tmp_8 = KProperty1;
|
|
5767
|
-
tmp_5.
|
|
5774
|
+
tmp_5.da0_1 = tmp_7.u64(this, getPropertyCallableRef('helper', 1, tmp_8, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
|
|
5768
5775
|
var tmp_9 = this;
|
|
5769
5776
|
// Inline function 'org.kodein.di.instance' call
|
|
5770
5777
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -5773,7 +5780,7 @@
|
|
|
5773
5780
|
var tmp$ret$4 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
5774
5781
|
var tmp_11 = Instance(this_2, tmp$ret$4, null);
|
|
5775
5782
|
var tmp_12 = KProperty1;
|
|
5776
|
-
tmp_9.
|
|
5783
|
+
tmp_9.ea0_1 = tmp_11.u64(this, getPropertyCallableRef('serverHelper', 1, tmp_12, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
|
|
5777
5784
|
var tmp_13 = this;
|
|
5778
5785
|
// Inline function 'org.kodein.di.instance' call
|
|
5779
5786
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -5782,7 +5789,7 @@
|
|
|
5782
5789
|
var tmp$ret$6 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
5783
5790
|
var tmp_15 = Instance(this_3, tmp$ret$6, null);
|
|
5784
5791
|
var tmp_16 = KProperty1;
|
|
5785
|
-
tmp_13.
|
|
5792
|
+
tmp_13.fa0_1 = tmp_15.u64(this, getPropertyCallableRef('resources', 1, tmp_16, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
|
|
5786
5793
|
var tmp_17 = this;
|
|
5787
5794
|
// Inline function 'org.kodein.di.instance' call
|
|
5788
5795
|
var this_4 = _get_di__ndbzja(this);
|
|
@@ -5791,7 +5798,7 @@
|
|
|
5791
5798
|
var tmp$ret$8 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
5792
5799
|
var tmp_19 = Instance(this_4, tmp$ret$8, null);
|
|
5793
5800
|
var tmp_20 = KProperty1;
|
|
5794
|
-
tmp_17.
|
|
5801
|
+
tmp_17.ga0_1 = tmp_19.u64(this, getPropertyCallableRef('test', 1, tmp_20, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
|
|
5795
5802
|
var tmp_21 = this;
|
|
5796
5803
|
// Inline function 'org.kodein.di.instance' call
|
|
5797
5804
|
var this_5 = _get_di__ndbzja(this);
|
|
@@ -5800,45 +5807,45 @@
|
|
|
5800
5807
|
var tmp$ret$10 = isInterface(tmp_22, TypeToken) ? tmp_22 : THROW_CCE();
|
|
5801
5808
|
var tmp_23 = Instance(this_5, tmp$ret$10, null);
|
|
5802
5809
|
var tmp_24 = KProperty1;
|
|
5803
|
-
tmp_21.
|
|
5810
|
+
tmp_21.ha0_1 = tmp_23.u64(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_24, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
|
|
5804
5811
|
}
|
|
5805
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5806
|
-
var tmp0 = this.
|
|
5812
|
+
protoOf(GameServerEngineControllerImpl).r9z = function () {
|
|
5813
|
+
var tmp0 = this.ca0_1;
|
|
5807
5814
|
var tmp = KProperty1;
|
|
5808
5815
|
// Inline function 'kotlin.getValue' call
|
|
5809
5816
|
getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
|
|
5810
5817
|
return tmp0.w();
|
|
5811
5818
|
};
|
|
5812
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5813
|
-
var tmp0 = this.
|
|
5819
|
+
protoOf(GameServerEngineControllerImpl).t9z = function () {
|
|
5820
|
+
var tmp0 = this.da0_1;
|
|
5814
5821
|
var tmp = KProperty1;
|
|
5815
5822
|
// Inline function 'kotlin.getValue' call
|
|
5816
5823
|
getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
|
|
5817
5824
|
return tmp0.w();
|
|
5818
5825
|
};
|
|
5819
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5820
|
-
var tmp0 = this.
|
|
5826
|
+
protoOf(GameServerEngineControllerImpl).u9z = function () {
|
|
5827
|
+
var tmp0 = this.ea0_1;
|
|
5821
5828
|
var tmp = KProperty1;
|
|
5822
5829
|
// Inline function 'kotlin.getValue' call
|
|
5823
5830
|
getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
|
|
5824
5831
|
return tmp0.w();
|
|
5825
5832
|
};
|
|
5826
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5827
|
-
var tmp0 = this.
|
|
5833
|
+
protoOf(GameServerEngineControllerImpl).v9z = function () {
|
|
5834
|
+
var tmp0 = this.fa0_1;
|
|
5828
5835
|
var tmp = KProperty1;
|
|
5829
5836
|
// Inline function 'kotlin.getValue' call
|
|
5830
5837
|
getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
|
|
5831
5838
|
return tmp0.w();
|
|
5832
5839
|
};
|
|
5833
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5834
|
-
var tmp0 = this.
|
|
5840
|
+
protoOf(GameServerEngineControllerImpl).s9z = function () {
|
|
5841
|
+
var tmp0 = this.ga0_1;
|
|
5835
5842
|
var tmp = KProperty1;
|
|
5836
5843
|
// Inline function 'kotlin.getValue' call
|
|
5837
5844
|
getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
|
|
5838
5845
|
return tmp0.w();
|
|
5839
5846
|
};
|
|
5840
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5841
|
-
var tmp0 = this.
|
|
5847
|
+
protoOf(GameServerEngineControllerImpl).w9z = function () {
|
|
5848
|
+
var tmp0 = this.ha0_1;
|
|
5842
5849
|
var tmp = KProperty1;
|
|
5843
5850
|
// Inline function 'kotlin.getValue' call
|
|
5844
5851
|
getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
|
|
@@ -5850,7 +5857,7 @@
|
|
|
5850
5857
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
5851
5858
|
return this.createGameEngineWithLogic();
|
|
5852
5859
|
};
|
|
5853
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5860
|
+
protoOf(GameServerEngineControllerImpl).x9z = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig) {
|
|
5854
5861
|
var combinedLogger = Companion_instance_6.mx();
|
|
5855
5862
|
var gameServer = {_v: null};
|
|
5856
5863
|
var tmp0_botConfig = new EngineBotConfig(VOID, VOID, VOID, false);
|
|
@@ -5899,7 +5906,7 @@
|
|
|
5899
5906
|
function TestHelper() {
|
|
5900
5907
|
}
|
|
5901
5908
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
5902
|
-
var tmp0 = $this.
|
|
5909
|
+
var tmp0 = $this.la0_1;
|
|
5903
5910
|
var tmp = KProperty1;
|
|
5904
5911
|
// Inline function 'kotlin.getValue' call
|
|
5905
5912
|
getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
|
|
@@ -5907,7 +5914,7 @@
|
|
|
5907
5914
|
}
|
|
5908
5915
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
5909
5916
|
return function ($this$singleton) {
|
|
5910
|
-
return this$0.
|
|
5917
|
+
return this$0.ja0_1;
|
|
5911
5918
|
};
|
|
5912
5919
|
}
|
|
5913
5920
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -5946,27 +5953,27 @@
|
|
|
5946
5953
|
return emptyMap();
|
|
5947
5954
|
}
|
|
5948
5955
|
function TestHelperImpl(logger) {
|
|
5949
|
-
this.
|
|
5956
|
+
this.ja0_1 = logger;
|
|
5950
5957
|
var tmp = this;
|
|
5951
5958
|
var tmp_0 = Companion_instance_4;
|
|
5952
|
-
tmp.
|
|
5959
|
+
tmp.ka0_1 = tmp_0.i5z(VOID, TestHelperImpl$di$lambda(this));
|
|
5953
5960
|
var tmp_1 = this;
|
|
5954
5961
|
// Inline function 'org.kodein.di.instance' call
|
|
5955
|
-
var this_0 = this.
|
|
5962
|
+
var this_0 = this.ka0_1;
|
|
5956
5963
|
// Inline function 'org.kodein.type.generic' call
|
|
5957
5964
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
5958
5965
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5959
5966
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
5960
5967
|
var tmp_4 = KProperty1;
|
|
5961
|
-
tmp_1.
|
|
5968
|
+
tmp_1.la0_1 = tmp_3.u64(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
5962
5969
|
}
|
|
5963
5970
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
5964
|
-
return _get_playerAnswerInteractor__msggz1(this).
|
|
5971
|
+
return _get_playerAnswerInteractor__msggz1(this).a8k(playerId, table, botConfig);
|
|
5965
5972
|
};
|
|
5966
5973
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
5967
5974
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
5968
5975
|
if (isInterface(mechanicAction, NextPlayerTurnAction)) {
|
|
5969
|
-
var tmp0 = mechanicAction.
|
|
5976
|
+
var tmp0 = mechanicAction.k8x();
|
|
5970
5977
|
var tmp$ret$0;
|
|
5971
5978
|
$l$block_0: {
|
|
5972
5979
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -5998,7 +6005,7 @@
|
|
|
5998
6005
|
};
|
|
5999
6006
|
protoOf(TestHelperImpl).getPlayerAnswerFromMechanicAction = function (table, currentPlayerId, action, botConfig) {
|
|
6000
6007
|
if (isInterface(action, NextPlayerTurnAction)) {
|
|
6001
|
-
var tmp0 = action.
|
|
6008
|
+
var tmp0 = action.k8x();
|
|
6002
6009
|
var tmp$ret$0;
|
|
6003
6010
|
$l$block_0: {
|
|
6004
6011
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -6085,31 +6092,36 @@
|
|
|
6085
6092
|
protoOf(GameServer).roomOnCreate = roomOnCreate;
|
|
6086
6093
|
protoOf(GameServer).roomOnDelete = roomOnDelete;
|
|
6087
6094
|
protoOf(GameServer).shutdown = shutdown;
|
|
6095
|
+
defineProp(protoOf(GameServer), 'metadata', function () {
|
|
6096
|
+
return this.k8e();
|
|
6097
|
+
}, function (value) {
|
|
6098
|
+
this.c9v(value);
|
|
6099
|
+
});
|
|
6088
6100
|
defineProp(protoOf(GameServer), 'id', function () {
|
|
6089
6101
|
return this.w53();
|
|
6090
6102
|
});
|
|
6091
6103
|
defineProp(protoOf(GameServer), 'table', function () {
|
|
6092
|
-
return this.
|
|
6104
|
+
return this.m6n();
|
|
6093
6105
|
});
|
|
6094
6106
|
defineProp(protoOf(GameServer), 'isTableExists', function () {
|
|
6095
|
-
return this.
|
|
6107
|
+
return this.n6n();
|
|
6096
6108
|
});
|
|
6097
6109
|
defineProp(protoOf(GameServer), 'gameLifecycleState', function () {
|
|
6098
|
-
return this.
|
|
6110
|
+
return this.o6n();
|
|
6099
6111
|
});
|
|
6100
6112
|
protoOf($serializer).wz = typeParametersSerializers;
|
|
6101
6113
|
defineProp(protoOf(TableStateUpdateDto), 'roomId', function () {
|
|
6102
|
-
return this.
|
|
6114
|
+
return this.u8w();
|
|
6103
6115
|
});
|
|
6104
6116
|
protoOf($serializer_0).wz = typeParametersSerializers;
|
|
6105
6117
|
defineProp(protoOf(ActionsStateUpdateDto), 'roomId', function () {
|
|
6106
|
-
return this.
|
|
6118
|
+
return this.u8w();
|
|
6107
6119
|
});
|
|
6108
6120
|
defineProp(protoOf(TableStateUpdate), 'roomId', function () {
|
|
6109
|
-
return this.
|
|
6121
|
+
return this.u8w();
|
|
6110
6122
|
});
|
|
6111
6123
|
defineProp(protoOf(ActionsStateUpdate), 'roomId', function () {
|
|
6112
|
-
return this.
|
|
6124
|
+
return this.u8w();
|
|
6113
6125
|
});
|
|
6114
6126
|
protoOf(UpdateServerConfigAction).n6f = get_actionTag;
|
|
6115
6127
|
defineProp(protoOf(UpdateServerConfigAction), 'actionTag', function () {
|
|
@@ -6125,22 +6137,22 @@
|
|
|
6125
6137
|
});
|
|
6126
6138
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
6127
6139
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
6128
|
-
return this.
|
|
6140
|
+
return this.r9z();
|
|
6129
6141
|
});
|
|
6130
6142
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
6131
|
-
return this.
|
|
6143
|
+
return this.t9z();
|
|
6132
6144
|
});
|
|
6133
6145
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
6134
|
-
return this.
|
|
6146
|
+
return this.u9z();
|
|
6135
6147
|
});
|
|
6136
6148
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
6137
|
-
return this.
|
|
6149
|
+
return this.v9z();
|
|
6138
6150
|
});
|
|
6139
6151
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
6140
|
-
return this.
|
|
6152
|
+
return this.s9z();
|
|
6141
6153
|
});
|
|
6142
6154
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
6143
|
-
return this.
|
|
6155
|
+
return this.w9z();
|
|
6144
6156
|
});
|
|
6145
6157
|
//endregion
|
|
6146
6158
|
//region block: init
|