raspberry_games_server_game_logic 1.8.388 → 1.8.390
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 +10 -11
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +9970 -9945
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.d.ts +21 -20
- package/Logic_Debertz-game_server.js +771 -771
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +4 -4
- package/kotlinx-coroutines-core.js +7 -7
- 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.m9w(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
364
364
|
tmp_0 = Unit_instance;
|
|
365
365
|
} else {
|
|
366
|
-
tmp_0 = $super.
|
|
366
|
+
tmp_0 = $super.m9w.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.n9w(newRid);
|
|
375
375
|
tmp = Unit_instance;
|
|
376
376
|
} else {
|
|
377
|
-
tmp = $super.
|
|
377
|
+
tmp = $super.n9w.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.o9w(reason, roomId);
|
|
386
386
|
tmp = Unit_instance;
|
|
387
387
|
} else {
|
|
388
|
-
tmp = $super.
|
|
388
|
+
tmp = $super.o9w.call(this, reason, roomId);
|
|
389
389
|
}
|
|
390
390
|
return tmp;
|
|
391
391
|
}
|
|
@@ -451,7 +451,7 @@
|
|
|
451
451
|
dealerConfig = dealerConfig === VOID ? new DealerConfig() : dealerConfig;
|
|
452
452
|
ratingConfig = ratingConfig === VOID ? new RatingConfig() : ratingConfig;
|
|
453
453
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
454
|
-
return $super === VOID ? this.
|
|
454
|
+
return $super === VOID ? this.ha1(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig) : $super.ha1.call(this, reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig);
|
|
455
455
|
}
|
|
456
456
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
457
457
|
initMetadataForClass(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1, VOID, VOID, VOID, [Reducer]);
|
|
@@ -462,17 +462,17 @@
|
|
|
462
462
|
initMetadataForClass(TestHelperImpl, 'TestHelperImpl', VOID, VOID, [TestHelper]);
|
|
463
463
|
//endregion
|
|
464
464
|
function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
|
|
465
|
-
this.
|
|
465
|
+
this.z9f_1 = $subscriber;
|
|
466
466
|
CoroutineImpl.call(this, resultContinuation);
|
|
467
467
|
}
|
|
468
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
469
|
-
var tmp = this.
|
|
468
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).b9g = function (it, $completion) {
|
|
469
|
+
var tmp = this.c9g(it, $completion);
|
|
470
470
|
tmp.t8_1 = Unit_instance;
|
|
471
471
|
tmp.u8_1 = null;
|
|
472
472
|
return tmp.z8();
|
|
473
473
|
};
|
|
474
474
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).h9 = function (p1, $completion) {
|
|
475
|
-
return this.
|
|
475
|
+
return this.b9g(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
476
476
|
};
|
|
477
477
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).z8 = function () {
|
|
478
478
|
var suspendResult = this.t8_1;
|
|
@@ -481,7 +481,7 @@
|
|
|
481
481
|
var tmp = this.r8_1;
|
|
482
482
|
if (tmp === 0) {
|
|
483
483
|
this.s8_1 = 1;
|
|
484
|
-
this.
|
|
484
|
+
this.z9f_1(this.a9g_1);
|
|
485
485
|
return Unit_instance;
|
|
486
486
|
} else if (tmp === 1) {
|
|
487
487
|
throw this.u8_1;
|
|
@@ -492,31 +492,31 @@
|
|
|
492
492
|
}
|
|
493
493
|
while (true);
|
|
494
494
|
};
|
|
495
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
496
|
-
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.
|
|
497
|
-
i.
|
|
495
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).c9g = function (it, completion) {
|
|
496
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.z9f_1, completion);
|
|
497
|
+
i.a9g_1 = it;
|
|
498
498
|
return i;
|
|
499
499
|
};
|
|
500
500
|
function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
|
|
501
501
|
var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
|
|
502
502
|
var l = function (it, $completion) {
|
|
503
|
-
return i.
|
|
503
|
+
return i.b9g(it, $completion);
|
|
504
504
|
};
|
|
505
505
|
l.$arity = 1;
|
|
506
506
|
return l;
|
|
507
507
|
}
|
|
508
508
|
function GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation) {
|
|
509
|
-
this.
|
|
509
|
+
this.l9g_1 = $subscriber;
|
|
510
510
|
CoroutineImpl.call(this, resultContinuation);
|
|
511
511
|
}
|
|
512
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
513
|
-
var tmp = this.
|
|
512
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).n9g = function (it, $completion) {
|
|
513
|
+
var tmp = this.o9g(it, $completion);
|
|
514
514
|
tmp.t8_1 = Unit_instance;
|
|
515
515
|
tmp.u8_1 = null;
|
|
516
516
|
return tmp.z8();
|
|
517
517
|
};
|
|
518
518
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).h9 = function (p1, $completion) {
|
|
519
|
-
return this.
|
|
519
|
+
return this.n9g((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
|
|
520
520
|
};
|
|
521
521
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).z8 = function () {
|
|
522
522
|
var suspendResult = this.t8_1;
|
|
@@ -525,7 +525,7 @@
|
|
|
525
525
|
var tmp = this.r8_1;
|
|
526
526
|
if (tmp === 0) {
|
|
527
527
|
this.s8_1 = 1;
|
|
528
|
-
this.
|
|
528
|
+
this.l9g_1(this.m9g_1);
|
|
529
529
|
return Unit_instance;
|
|
530
530
|
} else if (tmp === 1) {
|
|
531
531
|
throw this.u8_1;
|
|
@@ -536,22 +536,22 @@
|
|
|
536
536
|
}
|
|
537
537
|
while (true);
|
|
538
538
|
};
|
|
539
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
540
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.
|
|
541
|
-
i.
|
|
539
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).o9g = function (it, completion) {
|
|
540
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.l9g_1, completion);
|
|
541
|
+
i.m9g_1 = it;
|
|
542
542
|
return i;
|
|
543
543
|
};
|
|
544
544
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_0($subscriber, resultContinuation) {
|
|
545
545
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation);
|
|
546
546
|
var l = function (it, $completion) {
|
|
547
|
-
return i.
|
|
547
|
+
return i.n9g(it, $completion);
|
|
548
548
|
};
|
|
549
549
|
l.$arity = 1;
|
|
550
550
|
return l;
|
|
551
551
|
}
|
|
552
552
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
553
|
-
this.
|
|
554
|
-
this.
|
|
553
|
+
this.x9g_1 = $$this$unsafeFlow;
|
|
554
|
+
this.y9g_1 = this$0;
|
|
555
555
|
CoroutineImpl.call(this, resultContinuation);
|
|
556
556
|
}
|
|
557
557
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).w2h = function (value, $completion) {
|
|
@@ -571,10 +571,10 @@
|
|
|
571
571
|
switch (tmp) {
|
|
572
572
|
case 0:
|
|
573
573
|
this.s8_1 = 2;
|
|
574
|
-
var tmp0 = this.
|
|
575
|
-
var value = this.
|
|
574
|
+
var tmp0 = this.x9g_1;
|
|
575
|
+
var value = this.z9g_1;
|
|
576
576
|
this.r8_1 = 1;
|
|
577
|
-
suspendResult = tmp0.n28(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.
|
|
577
|
+
suspendResult = tmp0.n28(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.y9g_1)), this);
|
|
578
578
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
579
579
|
return suspendResult;
|
|
580
580
|
}
|
|
@@ -597,8 +597,8 @@
|
|
|
597
597
|
while (true);
|
|
598
598
|
};
|
|
599
599
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).x2h = function (value, completion) {
|
|
600
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.
|
|
601
|
-
i.
|
|
600
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.x9g_1, this.y9g_1, completion);
|
|
601
|
+
i.z9g_1 = value;
|
|
602
602
|
return i;
|
|
603
603
|
};
|
|
604
604
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
@@ -611,8 +611,8 @@
|
|
|
611
611
|
}
|
|
612
612
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
613
613
|
CoroutineImpl.call(this, resultContinuation);
|
|
614
|
-
this.
|
|
615
|
-
this.
|
|
614
|
+
this.i9h_1 = _this__u8e3s4;
|
|
615
|
+
this.j9h_1 = collector;
|
|
616
616
|
}
|
|
617
617
|
protoOf($collectCOROUTINE$).z8 = function () {
|
|
618
618
|
var suspendResult = this.t8_1;
|
|
@@ -622,10 +622,10 @@
|
|
|
622
622
|
switch (tmp) {
|
|
623
623
|
case 0:
|
|
624
624
|
this.s8_1 = 2;
|
|
625
|
-
var $this$unsafeFlow = this.
|
|
625
|
+
var $this$unsafeFlow = this.j9h_1;
|
|
626
626
|
this.r8_1 = 1;
|
|
627
|
-
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
628
|
-
suspendResult = this.
|
|
627
|
+
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.i9h_1.l9h_1, null);
|
|
628
|
+
suspendResult = this.i9h_1.k9h_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_0), this);
|
|
629
629
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
630
630
|
return suspendResult;
|
|
631
631
|
}
|
|
@@ -648,8 +648,8 @@
|
|
|
648
648
|
while (true);
|
|
649
649
|
};
|
|
650
650
|
function GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1($this, this$0) {
|
|
651
|
-
this.
|
|
652
|
-
this.
|
|
651
|
+
this.k9h_1 = $this;
|
|
652
|
+
this.l9h_1 = this$0;
|
|
653
653
|
}
|
|
654
654
|
protoOf(GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1).o28 = function (collector, $completion) {
|
|
655
655
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
@@ -661,17 +661,17 @@
|
|
|
661
661
|
return this.o28(collector, $completion);
|
|
662
662
|
};
|
|
663
663
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation) {
|
|
664
|
-
this.
|
|
664
|
+
this.u9h_1 = $subscriber;
|
|
665
665
|
CoroutineImpl.call(this, resultContinuation);
|
|
666
666
|
}
|
|
667
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
668
|
-
var tmp = this.
|
|
667
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).w9h = function (it, $completion) {
|
|
668
|
+
var tmp = this.x9h(it, $completion);
|
|
669
669
|
tmp.t8_1 = Unit_instance;
|
|
670
670
|
tmp.u8_1 = null;
|
|
671
671
|
return tmp.z8();
|
|
672
672
|
};
|
|
673
673
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).h9 = function (p1, $completion) {
|
|
674
|
-
return this.
|
|
674
|
+
return this.w9h((!(p1 == null) ? isInterface(p1, ServerStateUpdateDto) : false) ? p1 : THROW_CCE(), $completion);
|
|
675
675
|
};
|
|
676
676
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).z8 = function () {
|
|
677
677
|
var suspendResult = this.t8_1;
|
|
@@ -680,7 +680,7 @@
|
|
|
680
680
|
var tmp = this.r8_1;
|
|
681
681
|
if (tmp === 0) {
|
|
682
682
|
this.s8_1 = 1;
|
|
683
|
-
this.
|
|
683
|
+
this.u9h_1(this.v9h_1);
|
|
684
684
|
return Unit_instance;
|
|
685
685
|
} else if (tmp === 1) {
|
|
686
686
|
throw this.u8_1;
|
|
@@ -691,22 +691,22 @@
|
|
|
691
691
|
}
|
|
692
692
|
while (true);
|
|
693
693
|
};
|
|
694
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
695
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.
|
|
696
|
-
i.
|
|
694
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).x9h = function (it, completion) {
|
|
695
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.u9h_1, completion);
|
|
696
|
+
i.v9h_1 = it;
|
|
697
697
|
return i;
|
|
698
698
|
};
|
|
699
699
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda_0($subscriber, resultContinuation) {
|
|
700
700
|
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation);
|
|
701
701
|
var l = function (it, $completion) {
|
|
702
|
-
return i.
|
|
702
|
+
return i.w9h(it, $completion);
|
|
703
703
|
};
|
|
704
704
|
l.$arity = 1;
|
|
705
705
|
return l;
|
|
706
706
|
}
|
|
707
707
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, $table, resultContinuation) {
|
|
708
|
-
this.
|
|
709
|
-
this.
|
|
708
|
+
this.g9i_1 = $$this$unsafeFlow;
|
|
709
|
+
this.h9i_1 = $table;
|
|
710
710
|
CoroutineImpl.call(this, resultContinuation);
|
|
711
711
|
}
|
|
712
712
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).w2h = function (value, $completion) {
|
|
@@ -726,10 +726,10 @@
|
|
|
726
726
|
switch (tmp) {
|
|
727
727
|
case 0:
|
|
728
728
|
this.s8_1 = 2;
|
|
729
|
-
var tmp0 = this.
|
|
730
|
-
var value = this.
|
|
729
|
+
var tmp0 = this.g9i_1;
|
|
730
|
+
var value = this.i9i_1;
|
|
731
731
|
this.r8_1 = 1;
|
|
732
|
-
suspendResult = tmp0.n28(new ActionsStateUpdate(this.
|
|
732
|
+
suspendResult = tmp0.n28(new ActionsStateUpdate(this.h9i_1.id, value), this);
|
|
733
733
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
734
734
|
return suspendResult;
|
|
735
735
|
}
|
|
@@ -752,8 +752,8 @@
|
|
|
752
752
|
while (true);
|
|
753
753
|
};
|
|
754
754
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).x2h = function (value, completion) {
|
|
755
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.
|
|
756
|
-
i.
|
|
755
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.g9i_1, this.h9i_1, completion);
|
|
756
|
+
i.i9i_1 = value;
|
|
757
757
|
return i;
|
|
758
758
|
};
|
|
759
759
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, $table, resultContinuation) {
|
|
@@ -766,8 +766,8 @@
|
|
|
766
766
|
}
|
|
767
767
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
768
768
|
CoroutineImpl.call(this, resultContinuation);
|
|
769
|
-
this.
|
|
770
|
-
this.
|
|
769
|
+
this.r9i_1 = _this__u8e3s4;
|
|
770
|
+
this.s9i_1 = collector;
|
|
771
771
|
}
|
|
772
772
|
protoOf($collectCOROUTINE$_0).z8 = function () {
|
|
773
773
|
var suspendResult = this.t8_1;
|
|
@@ -777,10 +777,10 @@
|
|
|
777
777
|
switch (tmp) {
|
|
778
778
|
case 0:
|
|
779
779
|
this.s8_1 = 2;
|
|
780
|
-
var $this$unsafeFlow = this.
|
|
780
|
+
var $this$unsafeFlow = this.s9i_1;
|
|
781
781
|
this.r8_1 = 1;
|
|
782
|
-
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
783
|
-
suspendResult = this.
|
|
782
|
+
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.r9i_1.u9i_1, null);
|
|
783
|
+
suspendResult = this.r9i_1.t9i_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
784
784
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
785
785
|
return suspendResult;
|
|
786
786
|
}
|
|
@@ -803,8 +803,8 @@
|
|
|
803
803
|
while (true);
|
|
804
804
|
};
|
|
805
805
|
function _no_name_provided__qut3iv($this, $table) {
|
|
806
|
-
this.
|
|
807
|
-
this.
|
|
806
|
+
this.t9i_1 = $this;
|
|
807
|
+
this.u9i_1 = $table;
|
|
808
808
|
}
|
|
809
809
|
protoOf(_no_name_provided__qut3iv).o28 = function (collector, $completion) {
|
|
810
810
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
@@ -816,18 +816,18 @@
|
|
|
816
816
|
return this.o28(collector, $completion);
|
|
817
817
|
};
|
|
818
818
|
function GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation) {
|
|
819
|
-
this.
|
|
820
|
-
this.
|
|
819
|
+
this.d9j_1 = $table;
|
|
820
|
+
this.e9j_1 = this$0;
|
|
821
821
|
CoroutineImpl.call(this, resultContinuation);
|
|
822
822
|
}
|
|
823
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
824
|
-
var tmp = this.
|
|
823
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).g9j = function ($this$flow, $completion) {
|
|
824
|
+
var tmp = this.h9j($this$flow, $completion);
|
|
825
825
|
tmp.t8_1 = Unit_instance;
|
|
826
826
|
tmp.u8_1 = null;
|
|
827
827
|
return tmp.z8();
|
|
828
828
|
};
|
|
829
829
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).h9 = function (p1, $completion) {
|
|
830
|
-
return this.
|
|
830
|
+
return this.g9j((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
831
831
|
};
|
|
832
832
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).z8 = function () {
|
|
833
833
|
var suspendResult = this.t8_1;
|
|
@@ -838,7 +838,7 @@
|
|
|
838
838
|
case 0:
|
|
839
839
|
this.s8_1 = 3;
|
|
840
840
|
this.r8_1 = 1;
|
|
841
|
-
suspendResult = this.
|
|
841
|
+
suspendResult = this.f9j_1.n28(new TableStateUpdate(this.d9j_1.id, this.d9j_1), this);
|
|
842
842
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
843
843
|
return suspendResult;
|
|
844
844
|
}
|
|
@@ -846,8 +846,8 @@
|
|
|
846
846
|
continue $sm;
|
|
847
847
|
case 1:
|
|
848
848
|
this.r8_1 = 2;
|
|
849
|
-
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.
|
|
850
|
-
suspendResult = emitAll(this.
|
|
849
|
+
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.e9j_1).v8j(), fromInt(_get_serverReduxConfig__rprcrm(this.e9j_1).serverStateUpdateIntervalMillis));
|
|
850
|
+
suspendResult = emitAll(this.f9j_1, new _no_name_provided__qut3iv(this_0, this.d9j_1), this);
|
|
851
851
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
852
852
|
return suspendResult;
|
|
853
853
|
}
|
|
@@ -869,21 +869,21 @@
|
|
|
869
869
|
}
|
|
870
870
|
while (true);
|
|
871
871
|
};
|
|
872
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
873
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.
|
|
874
|
-
i.
|
|
872
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).h9j = function ($this$flow, completion) {
|
|
873
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.d9j_1, this.e9j_1, completion);
|
|
874
|
+
i.f9j_1 = $this$flow;
|
|
875
875
|
return i;
|
|
876
876
|
};
|
|
877
877
|
function GameServer$observeTableStateUpdates$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
878
878
|
var i = new GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation);
|
|
879
879
|
var l = function ($this$flow, $completion) {
|
|
880
|
-
return i.
|
|
880
|
+
return i.g9j($this$flow, $completion);
|
|
881
881
|
};
|
|
882
882
|
l.$arity = 1;
|
|
883
883
|
return l;
|
|
884
884
|
}
|
|
885
885
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
886
|
-
this.
|
|
886
|
+
this.q9j_1 = $$this$unsafeFlow;
|
|
887
887
|
CoroutineImpl.call(this, resultContinuation);
|
|
888
888
|
}
|
|
889
889
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).w2h = function (value, $completion) {
|
|
@@ -904,28 +904,28 @@
|
|
|
904
904
|
case 0:
|
|
905
905
|
this.s8_1 = 5;
|
|
906
906
|
var tmp_0 = this;
|
|
907
|
-
tmp_0.
|
|
907
|
+
tmp_0.v9j_1 = this.q9j_1;
|
|
908
908
|
var tmp_1 = this;
|
|
909
|
-
tmp_1.
|
|
909
|
+
tmp_1.u9j_1 = this.r9j_1;
|
|
910
910
|
this.r8_1 = 1;
|
|
911
911
|
continue $sm;
|
|
912
912
|
case 1:
|
|
913
|
-
this.
|
|
914
|
-
var tmp0_elvis_lhs = this.
|
|
913
|
+
this.s9j_1 = this.v9j_1;
|
|
914
|
+
var tmp0_elvis_lhs = this.u9j_1.s6m_1;
|
|
915
915
|
if (tmp0_elvis_lhs == null) {
|
|
916
916
|
this.r8_1 = 4;
|
|
917
917
|
var tmp_2 = this;
|
|
918
918
|
continue $sm;
|
|
919
919
|
} else {
|
|
920
|
-
this.
|
|
920
|
+
this.t9j_1 = tmp0_elvis_lhs;
|
|
921
921
|
this.r8_1 = 2;
|
|
922
922
|
continue $sm;
|
|
923
923
|
}
|
|
924
924
|
|
|
925
925
|
case 2:
|
|
926
|
-
var transformed = this.
|
|
926
|
+
var transformed = this.t9j_1;
|
|
927
927
|
this.r8_1 = 3;
|
|
928
|
-
suspendResult = this.
|
|
928
|
+
suspendResult = this.s9j_1.n28(transformed, this);
|
|
929
929
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
930
930
|
return suspendResult;
|
|
931
931
|
}
|
|
@@ -956,8 +956,8 @@
|
|
|
956
956
|
while (true);
|
|
957
957
|
};
|
|
958
958
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).x2h = function (value, completion) {
|
|
959
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
960
|
-
i.
|
|
959
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.q9j_1, completion);
|
|
960
|
+
i.r9j_1 = value;
|
|
961
961
|
return i;
|
|
962
962
|
};
|
|
963
963
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -970,8 +970,8 @@
|
|
|
970
970
|
}
|
|
971
971
|
function $collectCOROUTINE$_1(_this__u8e3s4, collector, resultContinuation) {
|
|
972
972
|
CoroutineImpl.call(this, resultContinuation);
|
|
973
|
-
this.
|
|
974
|
-
this.
|
|
973
|
+
this.e9k_1 = _this__u8e3s4;
|
|
974
|
+
this.f9k_1 = collector;
|
|
975
975
|
}
|
|
976
976
|
protoOf($collectCOROUTINE$_1).z8 = function () {
|
|
977
977
|
var suspendResult = this.t8_1;
|
|
@@ -981,10 +981,10 @@
|
|
|
981
981
|
switch (tmp) {
|
|
982
982
|
case 0:
|
|
983
983
|
this.s8_1 = 2;
|
|
984
|
-
var $this$unsafeFlow = this.
|
|
984
|
+
var $this$unsafeFlow = this.f9k_1;
|
|
985
985
|
this.r8_1 = 1;
|
|
986
986
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($this$unsafeFlow, null);
|
|
987
|
-
suspendResult = this.
|
|
987
|
+
suspendResult = this.e9k_1.g9k_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
988
988
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
989
989
|
return suspendResult;
|
|
990
990
|
}
|
|
@@ -1007,7 +1007,7 @@
|
|
|
1007
1007
|
while (true);
|
|
1008
1008
|
};
|
|
1009
1009
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_1($$this$unsafeFlow, resultContinuation) {
|
|
1010
|
-
this.
|
|
1010
|
+
this.p9k_1 = $$this$unsafeFlow;
|
|
1011
1011
|
CoroutineImpl.call(this, resultContinuation);
|
|
1012
1012
|
}
|
|
1013
1013
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).w2h = function (value, $completion) {
|
|
@@ -1027,8 +1027,8 @@
|
|
|
1027
1027
|
switch (tmp) {
|
|
1028
1028
|
case 0:
|
|
1029
1029
|
this.s8_1 = 2;
|
|
1030
|
-
var tmp0 = this.
|
|
1031
|
-
var value = this.
|
|
1030
|
+
var tmp0 = this.p9k_1;
|
|
1031
|
+
var value = this.q9k_1;
|
|
1032
1032
|
this.r8_1 = 1;
|
|
1033
1033
|
suspendResult = tmp0.n28(to(value.gameInfo.roundNumberTotal, value), this);
|
|
1034
1034
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1053,8 +1053,8 @@
|
|
|
1053
1053
|
while (true);
|
|
1054
1054
|
};
|
|
1055
1055
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).x2h = function (value, completion) {
|
|
1056
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.
|
|
1057
|
-
i.
|
|
1056
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.p9k_1, completion);
|
|
1057
|
+
i.q9k_1 = value;
|
|
1058
1058
|
return i;
|
|
1059
1059
|
};
|
|
1060
1060
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1067,8 +1067,8 @@
|
|
|
1067
1067
|
}
|
|
1068
1068
|
function $collectCOROUTINE$_2(_this__u8e3s4, collector, resultContinuation) {
|
|
1069
1069
|
CoroutineImpl.call(this, resultContinuation);
|
|
1070
|
-
this.
|
|
1071
|
-
this.
|
|
1070
|
+
this.z9k_1 = _this__u8e3s4;
|
|
1071
|
+
this.a9l_1 = collector;
|
|
1072
1072
|
}
|
|
1073
1073
|
protoOf($collectCOROUTINE$_2).z8 = function () {
|
|
1074
1074
|
var suspendResult = this.t8_1;
|
|
@@ -1078,10 +1078,10 @@
|
|
|
1078
1078
|
switch (tmp) {
|
|
1079
1079
|
case 0:
|
|
1080
1080
|
this.s8_1 = 2;
|
|
1081
|
-
var $this$unsafeFlow = this.
|
|
1081
|
+
var $this$unsafeFlow = this.a9l_1;
|
|
1082
1082
|
this.r8_1 = 1;
|
|
1083
1083
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($this$unsafeFlow, null);
|
|
1084
|
-
suspendResult = this.
|
|
1084
|
+
suspendResult = this.z9k_1.b9l_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1085
1085
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1086
1086
|
return suspendResult;
|
|
1087
1087
|
}
|
|
@@ -1104,7 +1104,7 @@
|
|
|
1104
1104
|
while (true);
|
|
1105
1105
|
};
|
|
1106
1106
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_3($$this$unsafeFlow, resultContinuation) {
|
|
1107
|
-
this.
|
|
1107
|
+
this.k9l_1 = $$this$unsafeFlow;
|
|
1108
1108
|
CoroutineImpl.call(this, resultContinuation);
|
|
1109
1109
|
}
|
|
1110
1110
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).w2h = function (value, $completion) {
|
|
@@ -1124,8 +1124,8 @@
|
|
|
1124
1124
|
switch (tmp) {
|
|
1125
1125
|
case 0:
|
|
1126
1126
|
this.s8_1 = 2;
|
|
1127
|
-
var tmp0 = this.
|
|
1128
|
-
var value = this.
|
|
1127
|
+
var tmp0 = this.k9l_1;
|
|
1128
|
+
var value = this.l9l_1;
|
|
1129
1129
|
this.r8_1 = 1;
|
|
1130
1130
|
suspendResult = tmp0.n28(value.me_1, this);
|
|
1131
1131
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1150,8 +1150,8 @@
|
|
|
1150
1150
|
while (true);
|
|
1151
1151
|
};
|
|
1152
1152
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).x2h = function (value, completion) {
|
|
1153
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.
|
|
1154
|
-
i.
|
|
1153
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.k9l_1, completion);
|
|
1154
|
+
i.l9l_1 = value;
|
|
1155
1155
|
return i;
|
|
1156
1156
|
};
|
|
1157
1157
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1164,8 +1164,8 @@
|
|
|
1164
1164
|
}
|
|
1165
1165
|
function $collectCOROUTINE$_3(_this__u8e3s4, collector, resultContinuation) {
|
|
1166
1166
|
CoroutineImpl.call(this, resultContinuation);
|
|
1167
|
-
this.
|
|
1168
|
-
this.
|
|
1167
|
+
this.u9l_1 = _this__u8e3s4;
|
|
1168
|
+
this.v9l_1 = collector;
|
|
1169
1169
|
}
|
|
1170
1170
|
protoOf($collectCOROUTINE$_3).z8 = function () {
|
|
1171
1171
|
var suspendResult = this.t8_1;
|
|
@@ -1175,10 +1175,10 @@
|
|
|
1175
1175
|
switch (tmp) {
|
|
1176
1176
|
case 0:
|
|
1177
1177
|
this.s8_1 = 2;
|
|
1178
|
-
var $this$unsafeFlow = this.
|
|
1178
|
+
var $this$unsafeFlow = this.v9l_1;
|
|
1179
1179
|
this.r8_1 = 1;
|
|
1180
1180
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($this$unsafeFlow, null);
|
|
1181
|
-
suspendResult = this.
|
|
1181
|
+
suspendResult = this.u9l_1.w9l_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1182
1182
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1183
1183
|
return suspendResult;
|
|
1184
1184
|
}
|
|
@@ -1201,17 +1201,17 @@
|
|
|
1201
1201
|
while (true);
|
|
1202
1202
|
};
|
|
1203
1203
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
1204
|
-
this.
|
|
1204
|
+
this.f9m_1 = $subscriber;
|
|
1205
1205
|
CoroutineImpl.call(this, resultContinuation);
|
|
1206
1206
|
}
|
|
1207
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1208
|
-
var tmp = this.
|
|
1207
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).h9m = function (it, $completion) {
|
|
1208
|
+
var tmp = this.i9m(it, $completion);
|
|
1209
1209
|
tmp.t8_1 = Unit_instance;
|
|
1210
1210
|
tmp.u8_1 = null;
|
|
1211
1211
|
return tmp.z8();
|
|
1212
1212
|
};
|
|
1213
1213
|
protoOf(GameServer$subscribeWith$slambda$slambda).h9 = function (p1, $completion) {
|
|
1214
|
-
return this.
|
|
1214
|
+
return this.h9m(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
1215
1215
|
};
|
|
1216
1216
|
protoOf(GameServer$subscribeWith$slambda$slambda).z8 = function () {
|
|
1217
1217
|
var suspendResult = this.t8_1;
|
|
@@ -1220,7 +1220,7 @@
|
|
|
1220
1220
|
var tmp = this.r8_1;
|
|
1221
1221
|
if (tmp === 0) {
|
|
1222
1222
|
this.s8_1 = 1;
|
|
1223
|
-
this.
|
|
1223
|
+
this.f9m_1(this.g9m_1);
|
|
1224
1224
|
return Unit_instance;
|
|
1225
1225
|
} else if (tmp === 1) {
|
|
1226
1226
|
throw this.u8_1;
|
|
@@ -1231,76 +1231,76 @@
|
|
|
1231
1231
|
}
|
|
1232
1232
|
while (true);
|
|
1233
1233
|
};
|
|
1234
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1235
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
1236
|
-
i.
|
|
1234
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).i9m = function (it, completion) {
|
|
1235
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.f9m_1, completion);
|
|
1236
|
+
i.g9m_1 = it;
|
|
1237
1237
|
return i;
|
|
1238
1238
|
};
|
|
1239
1239
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
1240
1240
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
1241
1241
|
var l = function (it, $completion) {
|
|
1242
|
-
return i.
|
|
1242
|
+
return i.h9m(it, $completion);
|
|
1243
1243
|
};
|
|
1244
1244
|
l.$arity = 1;
|
|
1245
1245
|
return l;
|
|
1246
1246
|
}
|
|
1247
1247
|
function GameServer$roomOnCreate$2$updatedUsers$previousTeams$1($playerId) {
|
|
1248
|
-
this.
|
|
1248
|
+
this.j9m_1 = $playerId;
|
|
1249
1249
|
}
|
|
1250
1250
|
protoOf(GameServer$roomOnCreate$2$updatedUsers$previousTeams$1).v65 = function () {
|
|
1251
|
-
return this.
|
|
1251
|
+
return this.j9m_1;
|
|
1252
1252
|
};
|
|
1253
1253
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
1254
|
-
var tmp0 = $this.
|
|
1254
|
+
var tmp0 = $this.o9m_1;
|
|
1255
1255
|
var tmp = KProperty1;
|
|
1256
1256
|
// Inline function 'kotlin.getValue' call
|
|
1257
1257
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, GameServer$_get_toClientEventsObserver_$ref_utir8s_0(), null);
|
|
1258
1258
|
return tmp0.w();
|
|
1259
1259
|
}
|
|
1260
1260
|
function _get_fromClientEventsObserver__a7vzd3($this) {
|
|
1261
|
-
var tmp0 = $this.
|
|
1261
|
+
var tmp0 = $this.p9m_1;
|
|
1262
1262
|
var tmp = KProperty1;
|
|
1263
1263
|
// Inline function 'kotlin.getValue' call
|
|
1264
1264
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, GameServer$_get_fromClientEventsObserver_$ref_nf1g79_0(), null);
|
|
1265
1265
|
return tmp0.w();
|
|
1266
1266
|
}
|
|
1267
1267
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
1268
|
-
var tmp0 = $this.
|
|
1268
|
+
var tmp0 = $this.q9m_1;
|
|
1269
1269
|
var tmp = KProperty1;
|
|
1270
1270
|
// Inline function 'kotlin.getValue' call
|
|
1271
1271
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, GameServer$_get_playerConnectionInteractor_$ref_of8tan_0(), null);
|
|
1272
1272
|
return tmp0.w();
|
|
1273
1273
|
}
|
|
1274
1274
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
1275
|
-
var tmp0 = $this.
|
|
1275
|
+
var tmp0 = $this.r9m_1;
|
|
1276
1276
|
var tmp = KProperty1;
|
|
1277
1277
|
// Inline function 'kotlin.getValue' call
|
|
1278
1278
|
getPropertyCallableRef('teamsLogicProvider', 1, tmp, GameServer$_get_teamsLogicProvider_$ref_b7y54g_0(), null);
|
|
1279
1279
|
return tmp0.w();
|
|
1280
1280
|
}
|
|
1281
1281
|
function _get_random__h29cgo($this) {
|
|
1282
|
-
var tmp0 = $this.
|
|
1282
|
+
var tmp0 = $this.s9m_1;
|
|
1283
1283
|
var tmp = KProperty1;
|
|
1284
1284
|
// Inline function 'kotlin.getValue' call
|
|
1285
1285
|
getPropertyCallableRef('random', 1, tmp, GameServer$_get_random_$ref_fottnq(), null);
|
|
1286
1286
|
return tmp0.w();
|
|
1287
1287
|
}
|
|
1288
1288
|
function _get_idsProvider__fnfajc($this) {
|
|
1289
|
-
var tmp0 = $this.
|
|
1289
|
+
var tmp0 = $this.t9m_1;
|
|
1290
1290
|
var tmp = KProperty1;
|
|
1291
1291
|
// Inline function 'kotlin.getValue' call
|
|
1292
1292
|
getPropertyCallableRef('idsProvider', 1, tmp, GameServer$_get_idsProvider_$ref_89s908_0(), null);
|
|
1293
1293
|
return tmp0.w();
|
|
1294
1294
|
}
|
|
1295
1295
|
function _get_serverReduxConfig__rprcrm($this) {
|
|
1296
|
-
var tmp0 = $this.
|
|
1296
|
+
var tmp0 = $this.u9m_1;
|
|
1297
1297
|
var tmp = KProperty1;
|
|
1298
1298
|
// Inline function 'kotlin.getValue' call
|
|
1299
1299
|
getPropertyCallableRef('serverReduxConfig', 1, tmp, GameServer$_get_serverReduxConfig_$ref_7h6jq6_0(), null);
|
|
1300
1300
|
return tmp0.w();
|
|
1301
1301
|
}
|
|
1302
1302
|
function _get_encoderDecoderProvider__qqgrji($this) {
|
|
1303
|
-
var tmp0 = $this.
|
|
1303
|
+
var tmp0 = $this.v9m_1;
|
|
1304
1304
|
var tmp = KProperty1;
|
|
1305
1305
|
// Inline function 'kotlin.getValue' call
|
|
1306
1306
|
getPropertyCallableRef('encoderDecoderProvider', 1, tmp, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8_0(), null);
|
|
@@ -1328,20 +1328,20 @@
|
|
|
1328
1328
|
return new GameServer$observeTableWhenRoundChanges$$inlined$map$2(this_1);
|
|
1329
1329
|
}
|
|
1330
1330
|
function Companion() {
|
|
1331
|
-
this.
|
|
1331
|
+
this.y9m_1 = 'GameEngine_API';
|
|
1332
1332
|
}
|
|
1333
1333
|
var Companion_instance_7;
|
|
1334
1334
|
function Companion_getInstance_0() {
|
|
1335
1335
|
return Companion_instance_7;
|
|
1336
1336
|
}
|
|
1337
1337
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
1338
|
-
this.
|
|
1338
|
+
this.z9m_1 = function_0;
|
|
1339
1339
|
}
|
|
1340
1340
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).n28 = function (value, $completion) {
|
|
1341
|
-
return this.
|
|
1341
|
+
return this.z9m_1(value, $completion);
|
|
1342
1342
|
};
|
|
1343
1343
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).a3 = function () {
|
|
1344
|
-
return this.
|
|
1344
|
+
return this.z9m_1;
|
|
1345
1345
|
};
|
|
1346
1346
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
1347
1347
|
var tmp;
|
|
@@ -1362,13 +1362,13 @@
|
|
|
1362
1362
|
return hashCode(this.a3());
|
|
1363
1363
|
};
|
|
1364
1364
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
1365
|
-
this.
|
|
1365
|
+
this.a9n_1 = function_0;
|
|
1366
1366
|
}
|
|
1367
1367
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).n28 = function (value, $completion) {
|
|
1368
|
-
return this.
|
|
1368
|
+
return this.a9n_1(value, $completion);
|
|
1369
1369
|
};
|
|
1370
1370
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).a3 = function () {
|
|
1371
|
-
return this.
|
|
1371
|
+
return this.a9n_1;
|
|
1372
1372
|
};
|
|
1373
1373
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
1374
1374
|
var tmp;
|
|
@@ -1389,13 +1389,13 @@
|
|
|
1389
1389
|
return hashCode(this.a3());
|
|
1390
1390
|
};
|
|
1391
1391
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
1392
|
-
this.
|
|
1392
|
+
this.b9n_1 = function_0;
|
|
1393
1393
|
}
|
|
1394
1394
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).n28 = function (value, $completion) {
|
|
1395
|
-
return this.
|
|
1395
|
+
return this.b9n_1(value, $completion);
|
|
1396
1396
|
};
|
|
1397
1397
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).a3 = function () {
|
|
1398
|
-
return this.
|
|
1398
|
+
return this.b9n_1;
|
|
1399
1399
|
};
|
|
1400
1400
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
1401
1401
|
var tmp;
|
|
@@ -1416,13 +1416,13 @@
|
|
|
1416
1416
|
return hashCode(this.a3());
|
|
1417
1417
|
};
|
|
1418
1418
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
1419
|
-
this.
|
|
1419
|
+
this.c9n_1 = function_0;
|
|
1420
1420
|
}
|
|
1421
1421
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).n28 = function (value, $completion) {
|
|
1422
|
-
return this.
|
|
1422
|
+
return this.c9n_1(value, $completion);
|
|
1423
1423
|
};
|
|
1424
1424
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).a3 = function () {
|
|
1425
|
-
return this.
|
|
1425
|
+
return this.c9n_1;
|
|
1426
1426
|
};
|
|
1427
1427
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
1428
1428
|
var tmp;
|
|
@@ -1443,13 +1443,13 @@
|
|
|
1443
1443
|
return hashCode(this.a3());
|
|
1444
1444
|
};
|
|
1445
1445
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
|
|
1446
|
-
this.
|
|
1446
|
+
this.d9n_1 = function_0;
|
|
1447
1447
|
}
|
|
1448
1448
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).n28 = function (value, $completion) {
|
|
1449
|
-
return this.
|
|
1449
|
+
return this.d9n_1(value, $completion);
|
|
1450
1450
|
};
|
|
1451
1451
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).a3 = function () {
|
|
1452
|
-
return this.
|
|
1452
|
+
return this.d9n_1;
|
|
1453
1453
|
};
|
|
1454
1454
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
|
|
1455
1455
|
var tmp;
|
|
@@ -1470,13 +1470,13 @@
|
|
|
1470
1470
|
return hashCode(this.a3());
|
|
1471
1471
|
};
|
|
1472
1472
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_4(function_0) {
|
|
1473
|
-
this.
|
|
1473
|
+
this.e9n_1 = function_0;
|
|
1474
1474
|
}
|
|
1475
1475
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).n28 = function (value, $completion) {
|
|
1476
|
-
return this.
|
|
1476
|
+
return this.e9n_1(value, $completion);
|
|
1477
1477
|
};
|
|
1478
1478
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).a3 = function () {
|
|
1479
|
-
return this.
|
|
1479
|
+
return this.e9n_1;
|
|
1480
1480
|
};
|
|
1481
1481
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).equals = function (other) {
|
|
1482
1482
|
var tmp;
|
|
@@ -1577,8 +1577,8 @@
|
|
|
1577
1577
|
};
|
|
1578
1578
|
}
|
|
1579
1579
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
1580
|
-
this.
|
|
1581
|
-
this.
|
|
1580
|
+
this.n9n_1 = this$0;
|
|
1581
|
+
this.o9n_1 = $subscriber;
|
|
1582
1582
|
CoroutineImpl.call(this, resultContinuation);
|
|
1583
1583
|
}
|
|
1584
1584
|
protoOf(GameServer$subscribeToClientAction$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -1599,8 +1599,8 @@
|
|
|
1599
1599
|
case 0:
|
|
1600
1600
|
this.s8_1 = 2;
|
|
1601
1601
|
this.r8_1 = 1;
|
|
1602
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
1603
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
1602
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.n9n_1).q9n();
|
|
1603
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.o9n_1, null);
|
|
1604
1604
|
suspendResult = tmp_0.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1605
1605
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1606
1606
|
return suspendResult;
|
|
@@ -1624,8 +1624,8 @@
|
|
|
1624
1624
|
while (true);
|
|
1625
1625
|
};
|
|
1626
1626
|
protoOf(GameServer$subscribeToClientAction$slambda).c2d = function ($this$launchDefault, completion) {
|
|
1627
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
1628
|
-
i.
|
|
1627
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.n9n_1, this.o9n_1, completion);
|
|
1628
|
+
i.p9n_1 = $this$launchDefault;
|
|
1629
1629
|
return i;
|
|
1630
1630
|
};
|
|
1631
1631
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1637,8 +1637,8 @@
|
|
|
1637
1637
|
return l;
|
|
1638
1638
|
}
|
|
1639
1639
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
1640
|
-
this.
|
|
1641
|
-
this.
|
|
1640
|
+
this.z9n_1 = this$0;
|
|
1641
|
+
this.a9o_1 = $subscriber;
|
|
1642
1642
|
CoroutineImpl.call(this, resultContinuation);
|
|
1643
1643
|
}
|
|
1644
1644
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -1659,8 +1659,8 @@
|
|
|
1659
1659
|
case 0:
|
|
1660
1660
|
this.s8_1 = 2;
|
|
1661
1661
|
this.r8_1 = 1;
|
|
1662
|
-
var tmp_0 = observeTableStateUpdates(this.
|
|
1663
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
1662
|
+
var tmp_0 = observeTableStateUpdates(this.z9n_1);
|
|
1663
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.a9o_1, null);
|
|
1664
1664
|
suspendResult = tmp_0.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
1665
1665
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1666
1666
|
return suspendResult;
|
|
@@ -1684,8 +1684,8 @@
|
|
|
1684
1684
|
while (true);
|
|
1685
1685
|
};
|
|
1686
1686
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).c2d = function ($this$launchDefault, completion) {
|
|
1687
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
1688
|
-
i.
|
|
1687
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.z9n_1, this.a9o_1, completion);
|
|
1688
|
+
i.b9o_1 = $this$launchDefault;
|
|
1689
1689
|
return i;
|
|
1690
1690
|
};
|
|
1691
1691
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1697,8 +1697,8 @@
|
|
|
1697
1697
|
return l;
|
|
1698
1698
|
}
|
|
1699
1699
|
function GameServer$subscribeServerStateUpdateJson$slambda(this$0, $subscriber, resultContinuation) {
|
|
1700
|
-
this.
|
|
1701
|
-
this.
|
|
1700
|
+
this.k9o_1 = this$0;
|
|
1701
|
+
this.l9o_1 = $subscriber;
|
|
1702
1702
|
CoroutineImpl.call(this, resultContinuation);
|
|
1703
1703
|
}
|
|
1704
1704
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -1719,9 +1719,9 @@
|
|
|
1719
1719
|
case 0:
|
|
1720
1720
|
this.s8_1 = 2;
|
|
1721
1721
|
this.r8_1 = 1;
|
|
1722
|
-
var this_0 = observeTableStateUpdates(this.
|
|
1723
|
-
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.
|
|
1724
|
-
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.
|
|
1722
|
+
var this_0 = observeTableStateUpdates(this.k9o_1);
|
|
1723
|
+
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.k9o_1);
|
|
1724
|
+
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.l9o_1, null);
|
|
1725
1725
|
suspendResult = tmp_0.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
1726
1726
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1727
1727
|
return suspendResult;
|
|
@@ -1745,8 +1745,8 @@
|
|
|
1745
1745
|
while (true);
|
|
1746
1746
|
};
|
|
1747
1747
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).c2d = function ($this$launchDefault, completion) {
|
|
1748
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.
|
|
1749
|
-
i.
|
|
1748
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.k9o_1, this.l9o_1, completion);
|
|
1749
|
+
i.m9o_1 = $this$launchDefault;
|
|
1750
1750
|
return i;
|
|
1751
1751
|
};
|
|
1752
1752
|
function GameServer$subscribeServerStateUpdateJson$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1758,18 +1758,18 @@
|
|
|
1758
1758
|
return l;
|
|
1759
1759
|
}
|
|
1760
1760
|
function GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation) {
|
|
1761
|
-
this.
|
|
1761
|
+
this.v9o_1 = this$0;
|
|
1762
1762
|
CoroutineImpl.call(this, resultContinuation);
|
|
1763
1763
|
}
|
|
1764
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1765
|
-
var tmp = this.
|
|
1764
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).y9o = function ($this$transformLatest, it, $completion) {
|
|
1765
|
+
var tmp = this.z9o($this$transformLatest, it, $completion);
|
|
1766
1766
|
tmp.t8_1 = Unit_instance;
|
|
1767
1767
|
tmp.u8_1 = null;
|
|
1768
1768
|
return tmp.z8();
|
|
1769
1769
|
};
|
|
1770
1770
|
protoOf(GameServer$observeTableStateUpdates$slambda).i9 = function (p1, p2, $completion) {
|
|
1771
1771
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
1772
|
-
return this.
|
|
1772
|
+
return this.y9o(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
1773
1773
|
};
|
|
1774
1774
|
protoOf(GameServer$observeTableStateUpdates$slambda).z8 = function () {
|
|
1775
1775
|
var suspendResult = this.t8_1;
|
|
@@ -1780,8 +1780,8 @@
|
|
|
1780
1780
|
case 0:
|
|
1781
1781
|
this.s8_1 = 2;
|
|
1782
1782
|
this.r8_1 = 1;
|
|
1783
|
-
var table = this.
|
|
1784
|
-
suspendResult = emitAll(this.
|
|
1783
|
+
var table = this.x9o_1;
|
|
1784
|
+
suspendResult = emitAll(this.w9o_1, flow(GameServer$observeTableStateUpdates$slambda$slambda_0(table, this.v9o_1, null)), this);
|
|
1785
1785
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1786
1786
|
return suspendResult;
|
|
1787
1787
|
}
|
|
@@ -1803,22 +1803,22 @@
|
|
|
1803
1803
|
}
|
|
1804
1804
|
while (true);
|
|
1805
1805
|
};
|
|
1806
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1807
|
-
var i = new GameServer$observeTableStateUpdates$slambda(this.
|
|
1808
|
-
i.
|
|
1809
|
-
i.
|
|
1806
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).z9o = function ($this$transformLatest, it, completion) {
|
|
1807
|
+
var i = new GameServer$observeTableStateUpdates$slambda(this.v9o_1, completion);
|
|
1808
|
+
i.w9o_1 = $this$transformLatest;
|
|
1809
|
+
i.x9o_1 = it;
|
|
1810
1810
|
return i;
|
|
1811
1811
|
};
|
|
1812
1812
|
function GameServer$observeTableStateUpdates$slambda_0(this$0, resultContinuation) {
|
|
1813
1813
|
var i = new GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation);
|
|
1814
1814
|
var l = function ($this$transformLatest, it, $completion) {
|
|
1815
|
-
return i.
|
|
1815
|
+
return i.y9o($this$transformLatest, it, $completion);
|
|
1816
1816
|
};
|
|
1817
1817
|
l.$arity = 2;
|
|
1818
1818
|
return l;
|
|
1819
1819
|
}
|
|
1820
1820
|
function GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1($this) {
|
|
1821
|
-
this.
|
|
1821
|
+
this.g9k_1 = $this;
|
|
1822
1822
|
}
|
|
1823
1823
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).o28 = function (collector, $completion) {
|
|
1824
1824
|
var tmp = new $collectCOROUTINE$_1(this, collector, $completion);
|
|
@@ -1830,7 +1830,7 @@
|
|
|
1830
1830
|
return this.o28(collector, $completion);
|
|
1831
1831
|
};
|
|
1832
1832
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$1($this) {
|
|
1833
|
-
this.
|
|
1833
|
+
this.b9l_1 = $this;
|
|
1834
1834
|
}
|
|
1835
1835
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).o28 = function (collector, $completion) {
|
|
1836
1836
|
var tmp = new $collectCOROUTINE$_2(this, collector, $completion);
|
|
@@ -1845,7 +1845,7 @@
|
|
|
1845
1845
|
return old.le_1 === new_0.le_1;
|
|
1846
1846
|
}
|
|
1847
1847
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$2($this) {
|
|
1848
|
-
this.
|
|
1848
|
+
this.w9l_1 = $this;
|
|
1849
1849
|
}
|
|
1850
1850
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).o28 = function (collector, $completion) {
|
|
1851
1851
|
var tmp = new $collectCOROUTINE$_3(this, collector, $completion);
|
|
@@ -1857,8 +1857,8 @@
|
|
|
1857
1857
|
return this.o28(collector, $completion);
|
|
1858
1858
|
};
|
|
1859
1859
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
1860
|
-
this.
|
|
1861
|
-
this.
|
|
1860
|
+
this.i9p_1 = this$0;
|
|
1861
|
+
this.j9p_1 = $subscriber;
|
|
1862
1862
|
CoroutineImpl.call(this, resultContinuation);
|
|
1863
1863
|
}
|
|
1864
1864
|
protoOf(GameServer$subscribeWith$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -1879,8 +1879,8 @@
|
|
|
1879
1879
|
case 0:
|
|
1880
1880
|
this.s8_1 = 2;
|
|
1881
1881
|
this.r8_1 = 1;
|
|
1882
|
-
var tmp_0 = distinctUntilChanged(this.
|
|
1883
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
1882
|
+
var tmp_0 = distinctUntilChanged(this.i9p_1.r6m());
|
|
1883
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.j9p_1, null);
|
|
1884
1884
|
suspendResult = tmp_0.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_4(tmp_1), this);
|
|
1885
1885
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1886
1886
|
return suspendResult;
|
|
@@ -1904,8 +1904,8 @@
|
|
|
1904
1904
|
while (true);
|
|
1905
1905
|
};
|
|
1906
1906
|
protoOf(GameServer$subscribeWith$slambda).c2d = function ($this$launchDefault, completion) {
|
|
1907
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
1908
|
-
i.
|
|
1907
|
+
var i = new GameServer$subscribeWith$slambda(this.i9p_1, this.j9p_1, completion);
|
|
1908
|
+
i.k9p_1 = $this$launchDefault;
|
|
1909
1909
|
return i;
|
|
1910
1910
|
};
|
|
1911
1911
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1917,18 +1917,18 @@
|
|
|
1917
1917
|
return l;
|
|
1918
1918
|
}
|
|
1919
1919
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
1920
|
-
this.
|
|
1920
|
+
this.t9p_1 = $action;
|
|
1921
1921
|
CoroutineImpl.call(this, resultContinuation);
|
|
1922
1922
|
}
|
|
1923
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1924
|
-
var tmp = this.
|
|
1923
|
+
protoOf(GameServer$fromClientEvent$slambda).w9p = function ($this$dispatchAsync, store, $completion) {
|
|
1924
|
+
var tmp = this.x9p($this$dispatchAsync, store, $completion);
|
|
1925
1925
|
tmp.t8_1 = Unit_instance;
|
|
1926
1926
|
tmp.u8_1 = null;
|
|
1927
1927
|
return tmp.z8();
|
|
1928
1928
|
};
|
|
1929
1929
|
protoOf(GameServer$fromClientEvent$slambda).i9 = function (p1, p2, $completion) {
|
|
1930
1930
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1931
|
-
return this.
|
|
1931
|
+
return this.w9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1932
1932
|
};
|
|
1933
1933
|
protoOf(GameServer$fromClientEvent$slambda).z8 = function () {
|
|
1934
1934
|
var suspendResult = this.t8_1;
|
|
@@ -1937,11 +1937,11 @@
|
|
|
1937
1937
|
var tmp = this.r8_1;
|
|
1938
1938
|
if (tmp === 0) {
|
|
1939
1939
|
this.s8_1 = 1;
|
|
1940
|
-
if (this.
|
|
1941
|
-
if (!get_isCreated(this.
|
|
1940
|
+
if (this.t9p_1 instanceof PlayerReadyFromClientAction)
|
|
1941
|
+
if (!get_isCreated(this.v9p_1.state)) {
|
|
1942
1942
|
return Unit_instance;
|
|
1943
1943
|
}
|
|
1944
|
-
this.
|
|
1944
|
+
this.v9p_1.dispatch(this.t9p_1);
|
|
1945
1945
|
return Unit_instance;
|
|
1946
1946
|
} else if (tmp === 1) {
|
|
1947
1947
|
throw this.u8_1;
|
|
@@ -1952,33 +1952,33 @@
|
|
|
1952
1952
|
}
|
|
1953
1953
|
while (true);
|
|
1954
1954
|
};
|
|
1955
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1956
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
1957
|
-
i.
|
|
1958
|
-
i.
|
|
1955
|
+
protoOf(GameServer$fromClientEvent$slambda).x9p = function ($this$dispatchAsync, store, completion) {
|
|
1956
|
+
var i = new GameServer$fromClientEvent$slambda(this.t9p_1, completion);
|
|
1957
|
+
i.u9p_1 = $this$dispatchAsync;
|
|
1958
|
+
i.v9p_1 = store;
|
|
1959
1959
|
return i;
|
|
1960
1960
|
};
|
|
1961
1961
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
1962
1962
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
1963
1963
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1964
|
-
return i.
|
|
1964
|
+
return i.w9p($this$dispatchAsync, store, $completion);
|
|
1965
1965
|
};
|
|
1966
1966
|
l.$arity = 2;
|
|
1967
1967
|
return l;
|
|
1968
1968
|
}
|
|
1969
1969
|
function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
|
|
1970
|
-
this.
|
|
1970
|
+
this.g9q_1 = $playerId;
|
|
1971
1971
|
CoroutineImpl.call(this, resultContinuation);
|
|
1972
1972
|
}
|
|
1973
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
1974
|
-
var tmp = this.
|
|
1973
|
+
protoOf(GameServer$playerLostConnection$slambda).w9p = function ($this$dispatchAsync, store, $completion) {
|
|
1974
|
+
var tmp = this.x9p($this$dispatchAsync, store, $completion);
|
|
1975
1975
|
tmp.t8_1 = Unit_instance;
|
|
1976
1976
|
tmp.u8_1 = null;
|
|
1977
1977
|
return tmp.z8();
|
|
1978
1978
|
};
|
|
1979
1979
|
protoOf(GameServer$playerLostConnection$slambda).i9 = function (p1, p2, $completion) {
|
|
1980
1980
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1981
|
-
return this.
|
|
1981
|
+
return this.w9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1982
1982
|
};
|
|
1983
1983
|
protoOf(GameServer$playerLostConnection$slambda).z8 = function () {
|
|
1984
1984
|
var suspendResult = this.t8_1;
|
|
@@ -1987,12 +1987,12 @@
|
|
|
1987
1987
|
var tmp = this.r8_1;
|
|
1988
1988
|
if (tmp === 0) {
|
|
1989
1989
|
this.s8_1 = 1;
|
|
1990
|
-
if (!get_isCreated(this.
|
|
1990
|
+
if (!get_isCreated(this.i9q_1.state)) {
|
|
1991
1991
|
return Unit_instance;
|
|
1992
1992
|
}
|
|
1993
|
-
var tmp_0 = this.
|
|
1993
|
+
var tmp_0 = this.i9q_1.dispatch;
|
|
1994
1994
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
1995
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
1995
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.g9q_1));
|
|
1996
1996
|
return Unit_instance;
|
|
1997
1997
|
} else if (tmp === 1) {
|
|
1998
1998
|
throw this.u8_1;
|
|
@@ -2003,34 +2003,34 @@
|
|
|
2003
2003
|
}
|
|
2004
2004
|
while (true);
|
|
2005
2005
|
};
|
|
2006
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2007
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
2008
|
-
i.
|
|
2009
|
-
i.
|
|
2006
|
+
protoOf(GameServer$playerLostConnection$slambda).x9p = function ($this$dispatchAsync, store, completion) {
|
|
2007
|
+
var i = new GameServer$playerLostConnection$slambda(this.g9q_1, completion);
|
|
2008
|
+
i.h9q_1 = $this$dispatchAsync;
|
|
2009
|
+
i.i9q_1 = store;
|
|
2010
2010
|
return i;
|
|
2011
2011
|
};
|
|
2012
2012
|
function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
|
|
2013
2013
|
var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
|
|
2014
2014
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2015
|
-
return i.
|
|
2015
|
+
return i.w9p($this$dispatchAsync, store, $completion);
|
|
2016
2016
|
};
|
|
2017
2017
|
l.$arity = 2;
|
|
2018
2018
|
return l;
|
|
2019
2019
|
}
|
|
2020
2020
|
function GameServer$playerLive$slambda(this$0, $playerId, resultContinuation) {
|
|
2021
|
-
this.
|
|
2022
|
-
this.
|
|
2021
|
+
this.r9q_1 = this$0;
|
|
2022
|
+
this.s9q_1 = $playerId;
|
|
2023
2023
|
CoroutineImpl.call(this, resultContinuation);
|
|
2024
2024
|
}
|
|
2025
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2026
|
-
var tmp = this.
|
|
2025
|
+
protoOf(GameServer$playerLive$slambda).w9p = function ($this$dispatchAsync, store, $completion) {
|
|
2026
|
+
var tmp = this.x9p($this$dispatchAsync, store, $completion);
|
|
2027
2027
|
tmp.t8_1 = Unit_instance;
|
|
2028
2028
|
tmp.u8_1 = null;
|
|
2029
2029
|
return tmp.z8();
|
|
2030
2030
|
};
|
|
2031
2031
|
protoOf(GameServer$playerLive$slambda).i9 = function (p1, p2, $completion) {
|
|
2032
2032
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2033
|
-
return this.
|
|
2033
|
+
return this.w9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2034
2034
|
};
|
|
2035
2035
|
protoOf(GameServer$playerLive$slambda).z8 = function () {
|
|
2036
2036
|
var suspendResult = this.t8_1;
|
|
@@ -2039,16 +2039,16 @@
|
|
|
2039
2039
|
var tmp = this.r8_1;
|
|
2040
2040
|
if (tmp === 0) {
|
|
2041
2041
|
this.s8_1 = 1;
|
|
2042
|
-
if (get_isFinished(this.
|
|
2042
|
+
if (get_isFinished(this.u9q_1.state) || get_isFinishing(this.u9q_1.state)) {
|
|
2043
2043
|
return Unit_instance;
|
|
2044
2044
|
}
|
|
2045
|
-
if (!get_isCreated(this.
|
|
2046
|
-
this.
|
|
2045
|
+
if (!get_isCreated(this.u9q_1.state) || !this.r9q_1.u66().u6n()) {
|
|
2046
|
+
this.r9q_1.h4q().w('GameEngine_API', 'playerLive: ' + this.s9q_1 + ' before game is created');
|
|
2047
2047
|
return Unit_instance;
|
|
2048
2048
|
}
|
|
2049
|
-
var tmp_0 = this.
|
|
2049
|
+
var tmp_0 = this.u9q_1.dispatch;
|
|
2050
2050
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2051
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2051
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.s9q_1));
|
|
2052
2052
|
return Unit_instance;
|
|
2053
2053
|
} else if (tmp === 1) {
|
|
2054
2054
|
throw this.u8_1;
|
|
@@ -2059,34 +2059,34 @@
|
|
|
2059
2059
|
}
|
|
2060
2060
|
while (true);
|
|
2061
2061
|
};
|
|
2062
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2063
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
2064
|
-
i.
|
|
2065
|
-
i.
|
|
2062
|
+
protoOf(GameServer$playerLive$slambda).x9p = function ($this$dispatchAsync, store, completion) {
|
|
2063
|
+
var i = new GameServer$playerLive$slambda(this.r9q_1, this.s9q_1, completion);
|
|
2064
|
+
i.t9q_1 = $this$dispatchAsync;
|
|
2065
|
+
i.u9q_1 = store;
|
|
2066
2066
|
return i;
|
|
2067
2067
|
};
|
|
2068
2068
|
function GameServer$playerLive$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2069
2069
|
var i = new GameServer$playerLive$slambda(this$0, $playerId, resultContinuation);
|
|
2070
2070
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2071
|
-
return i.
|
|
2071
|
+
return i.w9p($this$dispatchAsync, store, $completion);
|
|
2072
2072
|
};
|
|
2073
2073
|
l.$arity = 2;
|
|
2074
2074
|
return l;
|
|
2075
2075
|
}
|
|
2076
2076
|
function GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation) {
|
|
2077
|
-
this.
|
|
2078
|
-
this.
|
|
2077
|
+
this.d9r_1 = this$0;
|
|
2078
|
+
this.e9r_1 = $playerId;
|
|
2079
2079
|
CoroutineImpl.call(this, resultContinuation);
|
|
2080
2080
|
}
|
|
2081
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2082
|
-
var tmp = this.
|
|
2081
|
+
protoOf(GameServer$playerLeft$slambda).w9p = function ($this$dispatchAsync, store, $completion) {
|
|
2082
|
+
var tmp = this.x9p($this$dispatchAsync, store, $completion);
|
|
2083
2083
|
tmp.t8_1 = Unit_instance;
|
|
2084
2084
|
tmp.u8_1 = null;
|
|
2085
2085
|
return tmp.z8();
|
|
2086
2086
|
};
|
|
2087
2087
|
protoOf(GameServer$playerLeft$slambda).i9 = function (p1, p2, $completion) {
|
|
2088
2088
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2089
|
-
return this.
|
|
2089
|
+
return this.w9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2090
2090
|
};
|
|
2091
2091
|
protoOf(GameServer$playerLeft$slambda).z8 = function () {
|
|
2092
2092
|
var suspendResult = this.t8_1;
|
|
@@ -2095,16 +2095,16 @@
|
|
|
2095
2095
|
var tmp = this.r8_1;
|
|
2096
2096
|
if (tmp === 0) {
|
|
2097
2097
|
this.s8_1 = 1;
|
|
2098
|
-
if (get_isFinished(this.
|
|
2098
|
+
if (get_isFinished(this.g9r_1.state) || get_isFinishing(this.g9r_1.state)) {
|
|
2099
2099
|
return Unit_instance;
|
|
2100
2100
|
}
|
|
2101
|
-
if (!get_isCreated(this.
|
|
2102
|
-
this.
|
|
2101
|
+
if (!get_isCreated(this.g9r_1.state) || !this.d9r_1.u66().u6n()) {
|
|
2102
|
+
this.d9r_1.h4q().w('GameEngine_API', 'playerLeft: ' + this.e9r_1 + ' before game is created');
|
|
2103
2103
|
return Unit_instance;
|
|
2104
2104
|
}
|
|
2105
|
-
var tmp_0 = this.
|
|
2105
|
+
var tmp_0 = this.g9r_1.dispatch;
|
|
2106
2106
|
var tmp0_connectionState = PlayerConnectionState_LEFT_getInstance();
|
|
2107
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2107
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.e9r_1));
|
|
2108
2108
|
return Unit_instance;
|
|
2109
2109
|
} else if (tmp === 1) {
|
|
2110
2110
|
throw this.u8_1;
|
|
@@ -2115,39 +2115,39 @@
|
|
|
2115
2115
|
}
|
|
2116
2116
|
while (true);
|
|
2117
2117
|
};
|
|
2118
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2119
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
2120
|
-
i.
|
|
2121
|
-
i.
|
|
2118
|
+
protoOf(GameServer$playerLeft$slambda).x9p = function ($this$dispatchAsync, store, completion) {
|
|
2119
|
+
var i = new GameServer$playerLeft$slambda(this.d9r_1, this.e9r_1, completion);
|
|
2120
|
+
i.f9r_1 = $this$dispatchAsync;
|
|
2121
|
+
i.g9r_1 = store;
|
|
2122
2122
|
return i;
|
|
2123
2123
|
};
|
|
2124
2124
|
function GameServer$playerLeft$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2125
2125
|
var i = new GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation);
|
|
2126
2126
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2127
|
-
return i.
|
|
2127
|
+
return i.w9p($this$dispatchAsync, store, $completion);
|
|
2128
2128
|
};
|
|
2129
2129
|
l.$arity = 2;
|
|
2130
2130
|
return l;
|
|
2131
2131
|
}
|
|
2132
2132
|
function GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2133
|
-
this.
|
|
2134
|
-
this.
|
|
2135
|
-
this.
|
|
2136
|
-
this.
|
|
2137
|
-
this.
|
|
2138
|
-
this.
|
|
2139
|
-
this.
|
|
2133
|
+
this.p9r_1 = $usersArray;
|
|
2134
|
+
this.q9r_1 = $config;
|
|
2135
|
+
this.r9r_1 = this$0;
|
|
2136
|
+
this.s9r_1 = $roomId;
|
|
2137
|
+
this.t9r_1 = $transition;
|
|
2138
|
+
this.u9r_1 = $gameCreatorId;
|
|
2139
|
+
this.v9r_1 = $spectators;
|
|
2140
2140
|
CoroutineImpl.call(this, resultContinuation);
|
|
2141
2141
|
}
|
|
2142
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2143
|
-
var tmp = this.
|
|
2142
|
+
protoOf(GameServer$roomOnCreate$slambda).w9p = function ($this$dispatchAsync, store, $completion) {
|
|
2143
|
+
var tmp = this.x9p($this$dispatchAsync, store, $completion);
|
|
2144
2144
|
tmp.t8_1 = Unit_instance;
|
|
2145
2145
|
tmp.u8_1 = null;
|
|
2146
2146
|
return tmp.z8();
|
|
2147
2147
|
};
|
|
2148
2148
|
protoOf(GameServer$roomOnCreate$slambda).i9 = function (p1, p2, $completion) {
|
|
2149
2149
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2150
|
-
return this.
|
|
2150
|
+
return this.w9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2151
2151
|
};
|
|
2152
2152
|
protoOf(GameServer$roomOnCreate$slambda).z8 = function () {
|
|
2153
2153
|
var suspendResult = this.t8_1;
|
|
@@ -2156,28 +2156,28 @@
|
|
|
2156
2156
|
var tmp = this.r8_1;
|
|
2157
2157
|
if (tmp === 0) {
|
|
2158
2158
|
this.s8_1 = 1;
|
|
2159
|
-
var users = toList(this.
|
|
2160
|
-
if (!(this.
|
|
2161
|
-
this.
|
|
2162
|
-
this.
|
|
2159
|
+
var users = toList(this.p9r_1);
|
|
2160
|
+
if (!(this.q9r_1.playersMode.count === users.o())) {
|
|
2161
|
+
this.r9r_1.h4q().w('GameEngine_API', 'roomOnCreate: wrong player count for game ' + this.s9r_1 + ', config = ' + this.q9r_1.toString() + ', users = ' + toString(users));
|
|
2162
|
+
this.x9r_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.r9r_1.table.isGameFinished, this.r9r_1.table));
|
|
2163
2163
|
return Unit_instance;
|
|
2164
2164
|
}
|
|
2165
2165
|
var tmp_0;
|
|
2166
|
-
if (this.
|
|
2167
|
-
tmp_0 = _get_random__h29cgo(this.
|
|
2166
|
+
if (this.q9r_1.mode.shufflePlayers && this.t9r_1 == null) {
|
|
2167
|
+
tmp_0 = _get_random__h29cgo(this.r9r_1).q5d(toMutableList(users));
|
|
2168
2168
|
} else {
|
|
2169
|
-
var tmp0_safe_receiver = this.
|
|
2169
|
+
var tmp0_safe_receiver = this.t9r_1;
|
|
2170
2170
|
var previousPlayers = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.previousPlayers;
|
|
2171
2171
|
var tmp_1;
|
|
2172
|
-
if (!(previousPlayers == null) && this.
|
|
2173
|
-
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.
|
|
2172
|
+
if (!(previousPlayers == null) && this.q9r_1.playersMode.isTeamGame) {
|
|
2173
|
+
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.r9r_1);
|
|
2174
2174
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(previousPlayers, 10));
|
|
2175
2175
|
var _iterator__ex2g4s = previousPlayers.l();
|
|
2176
2176
|
while (_iterator__ex2g4s.m()) {
|
|
2177
2177
|
var item = _iterator__ex2g4s.n();
|
|
2178
2178
|
destination.j(new GameServer$roomOnCreate$2$updatedUsers$previousTeams$1(item));
|
|
2179
2179
|
}
|
|
2180
|
-
var previousTeams = tmp_2.
|
|
2180
|
+
var previousTeams = tmp_2.m8j(destination);
|
|
2181
2181
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
2182
2182
|
var _iterator__ex2g4s_0 = users.l();
|
|
2183
2183
|
while (_iterator__ex2g4s_0.m()) {
|
|
@@ -2201,19 +2201,19 @@
|
|
|
2201
2201
|
destination_1.j(destination_2);
|
|
2202
2202
|
}
|
|
2203
2203
|
var updatedTeams = destination_1;
|
|
2204
|
-
tmp_1 = _get_teamsLogicProvider__u10pm6(this.
|
|
2204
|
+
tmp_1 = _get_teamsLogicProvider__u10pm6(this.r9r_1).q8j(updatedTeams);
|
|
2205
2205
|
} else {
|
|
2206
2206
|
tmp_1 = users;
|
|
2207
2207
|
}
|
|
2208
2208
|
tmp_0 = tmp_1;
|
|
2209
2209
|
}
|
|
2210
2210
|
var updatedUsers = tmp_0;
|
|
2211
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
2212
|
-
var tmp_3 = this.
|
|
2211
|
+
var gameCreatorUser = getPlayer(users, this.u9r_1);
|
|
2212
|
+
var tmp_3 = this.x9r_1.dispatch;
|
|
2213
2213
|
var tmp1_version = get_versionOrDefault(GameEngineConfig_instance);
|
|
2214
2214
|
var tmp2_users = sortWithItem(updatedUsers, gameCreatorUser);
|
|
2215
|
-
var tmp3_spectators = toList(this.
|
|
2216
|
-
tmp_3(new StartGameMechanicAction(this.
|
|
2215
|
+
var tmp3_spectators = toList(this.v9r_1);
|
|
2216
|
+
tmp_3(new StartGameMechanicAction(this.q9r_1, this.s9r_1, tmp1_version, this.u9r_1, tmp2_users, VOID, tmp3_spectators));
|
|
2217
2217
|
return Unit_instance;
|
|
2218
2218
|
} else if (tmp === 1) {
|
|
2219
2219
|
throw this.u8_1;
|
|
@@ -2224,33 +2224,33 @@
|
|
|
2224
2224
|
}
|
|
2225
2225
|
while (true);
|
|
2226
2226
|
};
|
|
2227
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2228
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
2229
|
-
i.
|
|
2230
|
-
i.
|
|
2227
|
+
protoOf(GameServer$roomOnCreate$slambda).x9p = function ($this$dispatchAsync, store, completion) {
|
|
2228
|
+
var i = new GameServer$roomOnCreate$slambda(this.p9r_1, this.q9r_1, this.r9r_1, this.s9r_1, this.t9r_1, this.u9r_1, this.v9r_1, completion);
|
|
2229
|
+
i.w9r_1 = $this$dispatchAsync;
|
|
2230
|
+
i.x9r_1 = store;
|
|
2231
2231
|
return i;
|
|
2232
2232
|
};
|
|
2233
2233
|
function GameServer$roomOnCreate$slambda_0($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2234
2234
|
var i = new GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation);
|
|
2235
2235
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2236
|
-
return i.
|
|
2236
|
+
return i.w9p($this$dispatchAsync, store, $completion);
|
|
2237
2237
|
};
|
|
2238
2238
|
l.$arity = 2;
|
|
2239
2239
|
return l;
|
|
2240
2240
|
}
|
|
2241
2241
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
2242
|
-
this.
|
|
2242
|
+
this.g9s_1 = $state;
|
|
2243
2243
|
CoroutineImpl.call(this, resultContinuation);
|
|
2244
2244
|
}
|
|
2245
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2246
|
-
var tmp = this.
|
|
2245
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).j9s = function ($this$dispatchAwait, store, $completion) {
|
|
2246
|
+
var tmp = this.x9p($this$dispatchAwait, store, $completion);
|
|
2247
2247
|
tmp.t8_1 = Unit_instance;
|
|
2248
2248
|
tmp.u8_1 = null;
|
|
2249
2249
|
return tmp.z8();
|
|
2250
2250
|
};
|
|
2251
2251
|
protoOf(GameServer$roomOnContinueFromState$slambda).i9 = function (p1, p2, $completion) {
|
|
2252
2252
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2253
|
-
return this.
|
|
2253
|
+
return this.j9s(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2254
2254
|
};
|
|
2255
2255
|
protoOf(GameServer$roomOnContinueFromState$slambda).z8 = function () {
|
|
2256
2256
|
var suspendResult = this.t8_1;
|
|
@@ -2259,10 +2259,10 @@
|
|
|
2259
2259
|
var tmp = this.r8_1;
|
|
2260
2260
|
if (tmp === 0) {
|
|
2261
2261
|
this.s8_1 = 1;
|
|
2262
|
-
if (get_isCreating(this.
|
|
2263
|
-
var tmp_0 = this.
|
|
2262
|
+
if (get_isCreating(this.i9s_1.state)) {
|
|
2263
|
+
var tmp_0 = this.i9s_1.dispatch;
|
|
2264
2264
|
var tmp0_reason = new RestartRoundReason(null);
|
|
2265
|
-
var tmp1_table = this.
|
|
2265
|
+
var tmp1_table = this.g9s_1.table;
|
|
2266
2266
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2267
2267
|
return true;
|
|
2268
2268
|
}
|
|
@@ -2276,34 +2276,34 @@
|
|
|
2276
2276
|
}
|
|
2277
2277
|
while (true);
|
|
2278
2278
|
};
|
|
2279
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2280
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
2281
|
-
i.
|
|
2282
|
-
i.
|
|
2279
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).x9p = function ($this$dispatchAwait, store, completion) {
|
|
2280
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.g9s_1, completion);
|
|
2281
|
+
i.h9s_1 = $this$dispatchAwait;
|
|
2282
|
+
i.i9s_1 = store;
|
|
2283
2283
|
return i;
|
|
2284
2284
|
};
|
|
2285
2285
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
2286
2286
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
2287
2287
|
var l = function ($this$dispatchAwait, store, $completion) {
|
|
2288
|
-
return i.
|
|
2288
|
+
return i.j9s($this$dispatchAwait, store, $completion);
|
|
2289
2289
|
};
|
|
2290
2290
|
l.$arity = 2;
|
|
2291
2291
|
return l;
|
|
2292
2292
|
}
|
|
2293
2293
|
function GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation) {
|
|
2294
|
-
this.
|
|
2295
|
-
this.
|
|
2294
|
+
this.s9s_1 = $isCreated;
|
|
2295
|
+
this.t9s_1 = $state;
|
|
2296
2296
|
CoroutineImpl.call(this, resultContinuation);
|
|
2297
2297
|
}
|
|
2298
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2299
|
-
var tmp = this.
|
|
2298
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).w9p = function ($this$dispatchAsync, store, $completion) {
|
|
2299
|
+
var tmp = this.x9p($this$dispatchAsync, store, $completion);
|
|
2300
2300
|
tmp.t8_1 = Unit_instance;
|
|
2301
2301
|
tmp.u8_1 = null;
|
|
2302
2302
|
return tmp.z8();
|
|
2303
2303
|
};
|
|
2304
2304
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).i9 = function (p1, p2, $completion) {
|
|
2305
2305
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2306
|
-
return this.
|
|
2306
|
+
return this.w9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2307
2307
|
};
|
|
2308
2308
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).z8 = function () {
|
|
2309
2309
|
var suspendResult = this.t8_1;
|
|
@@ -2314,7 +2314,7 @@
|
|
|
2314
2314
|
case 0:
|
|
2315
2315
|
this.s8_1 = 3;
|
|
2316
2316
|
this.r8_1 = 1;
|
|
2317
|
-
suspendResult = this.
|
|
2317
|
+
suspendResult = this.s9s_1.z1t(this);
|
|
2318
2318
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2319
2319
|
return suspendResult;
|
|
2320
2320
|
}
|
|
@@ -2322,10 +2322,10 @@
|
|
|
2322
2322
|
continue $sm;
|
|
2323
2323
|
case 1:
|
|
2324
2324
|
if (suspendResult) {
|
|
2325
|
-
var _iterator__ex2g4s = this.
|
|
2325
|
+
var _iterator__ex2g4s = this.t9s_1.actions.l();
|
|
2326
2326
|
while (_iterator__ex2g4s.m()) {
|
|
2327
2327
|
var element = _iterator__ex2g4s.n();
|
|
2328
|
-
this.
|
|
2328
|
+
this.v9s_1.dispatch(element);
|
|
2329
2329
|
}
|
|
2330
2330
|
this.r8_1 = 2;
|
|
2331
2331
|
continue $sm;
|
|
@@ -2350,35 +2350,35 @@
|
|
|
2350
2350
|
}
|
|
2351
2351
|
while (true);
|
|
2352
2352
|
};
|
|
2353
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2354
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
2355
|
-
i.
|
|
2356
|
-
i.
|
|
2353
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).x9p = function ($this$dispatchAsync, store, completion) {
|
|
2354
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.s9s_1, this.t9s_1, completion);
|
|
2355
|
+
i.u9s_1 = $this$dispatchAsync;
|
|
2356
|
+
i.v9s_1 = store;
|
|
2357
2357
|
return i;
|
|
2358
2358
|
};
|
|
2359
2359
|
function GameServer$roomOnContinueFromState$slambda_2($isCreated, $state, resultContinuation) {
|
|
2360
2360
|
var i = new GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation);
|
|
2361
2361
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2362
|
-
return i.
|
|
2362
|
+
return i.w9p($this$dispatchAsync, store, $completion);
|
|
2363
2363
|
};
|
|
2364
2364
|
l.$arity = 2;
|
|
2365
2365
|
return l;
|
|
2366
2366
|
}
|
|
2367
2367
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
2368
|
-
this.
|
|
2369
|
-
this.
|
|
2370
|
-
this.
|
|
2368
|
+
this.e9t_1 = $tableLite;
|
|
2369
|
+
this.f9t_1 = $roomId;
|
|
2370
|
+
this.g9t_1 = this$0;
|
|
2371
2371
|
CoroutineImpl.call(this, resultContinuation);
|
|
2372
2372
|
}
|
|
2373
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2374
|
-
var tmp = this.
|
|
2373
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).w9p = function ($this$dispatchAsync, store, $completion) {
|
|
2374
|
+
var tmp = this.x9p($this$dispatchAsync, store, $completion);
|
|
2375
2375
|
tmp.t8_1 = Unit_instance;
|
|
2376
2376
|
tmp.u8_1 = null;
|
|
2377
2377
|
return tmp.z8();
|
|
2378
2378
|
};
|
|
2379
2379
|
protoOf(GameServer$roomOnContinueFromRound$slambda).i9 = function (p1, p2, $completion) {
|
|
2380
2380
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2381
|
-
return this.
|
|
2381
|
+
return this.w9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2382
2382
|
};
|
|
2383
2383
|
protoOf(GameServer$roomOnContinueFromRound$slambda).z8 = function () {
|
|
2384
2384
|
var suspendResult = this.t8_1;
|
|
@@ -2387,9 +2387,9 @@
|
|
|
2387
2387
|
var tmp = this.r8_1;
|
|
2388
2388
|
if (tmp === 0) {
|
|
2389
2389
|
this.s8_1 = 1;
|
|
2390
|
-
var tmp_0 = this.
|
|
2391
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
2392
|
-
var tmp1_table = Companion_instance_0.restartRound(this.
|
|
2390
|
+
var tmp_0 = this.i9t_1.dispatch;
|
|
2391
|
+
var tmp0_reason = new RestartRoundReason(this.e9t_1.gameInfo.round.roundNumber);
|
|
2392
|
+
var tmp1_table = Companion_instance_0.restartRound(this.f9t_1, _get_idsProvider__fnfajc(this.g9t_1).c6e(), get_versionOrDefault(GameEngineConfig_instance), this.e9t_1);
|
|
2393
2393
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2394
2394
|
return Unit_instance;
|
|
2395
2395
|
} else if (tmp === 1) {
|
|
@@ -2401,16 +2401,16 @@
|
|
|
2401
2401
|
}
|
|
2402
2402
|
while (true);
|
|
2403
2403
|
};
|
|
2404
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2405
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
2406
|
-
i.
|
|
2407
|
-
i.
|
|
2404
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).x9p = function ($this$dispatchAsync, store, completion) {
|
|
2405
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.e9t_1, this.f9t_1, this.g9t_1, completion);
|
|
2406
|
+
i.h9t_1 = $this$dispatchAsync;
|
|
2407
|
+
i.i9t_1 = store;
|
|
2408
2408
|
return i;
|
|
2409
2409
|
};
|
|
2410
2410
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
2411
2411
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
2412
2412
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2413
|
-
return i.
|
|
2413
|
+
return i.w9p($this$dispatchAsync, store, $completion);
|
|
2414
2414
|
};
|
|
2415
2415
|
l.$arity = 2;
|
|
2416
2416
|
return l;
|
|
@@ -2418,15 +2418,15 @@
|
|
|
2418
2418
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
2419
2419
|
CoroutineImpl.call(this, resultContinuation);
|
|
2420
2420
|
}
|
|
2421
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2422
|
-
var tmp = this.
|
|
2421
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).w9p = function ($this$dispatchAsync, store, $completion) {
|
|
2422
|
+
var tmp = this.x9p($this$dispatchAsync, store, $completion);
|
|
2423
2423
|
tmp.t8_1 = Unit_instance;
|
|
2424
2424
|
tmp.u8_1 = null;
|
|
2425
2425
|
return tmp.z8();
|
|
2426
2426
|
};
|
|
2427
2427
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).i9 = function (p1, p2, $completion) {
|
|
2428
2428
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2429
|
-
return this.
|
|
2429
|
+
return this.w9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2430
2430
|
};
|
|
2431
2431
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).z8 = function () {
|
|
2432
2432
|
var suspendResult = this.t8_1;
|
|
@@ -2435,7 +2435,7 @@
|
|
|
2435
2435
|
var tmp = this.r8_1;
|
|
2436
2436
|
if (tmp === 0) {
|
|
2437
2437
|
this.s8_1 = 1;
|
|
2438
|
-
this.
|
|
2438
|
+
this.s9t_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
2439
2439
|
return Unit_instance;
|
|
2440
2440
|
} else if (tmp === 1) {
|
|
2441
2441
|
throw this.u8_1;
|
|
@@ -2446,33 +2446,33 @@
|
|
|
2446
2446
|
}
|
|
2447
2447
|
while (true);
|
|
2448
2448
|
};
|
|
2449
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2449
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).x9p = function ($this$dispatchAsync, store, completion) {
|
|
2450
2450
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
2451
|
-
i.
|
|
2452
|
-
i.
|
|
2451
|
+
i.r9t_1 = $this$dispatchAsync;
|
|
2452
|
+
i.s9t_1 = store;
|
|
2453
2453
|
return i;
|
|
2454
2454
|
};
|
|
2455
2455
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
2456
2456
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
2457
2457
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2458
|
-
return i.
|
|
2458
|
+
return i.w9p($this$dispatchAsync, store, $completion);
|
|
2459
2459
|
};
|
|
2460
2460
|
l.$arity = 2;
|
|
2461
2461
|
return l;
|
|
2462
2462
|
}
|
|
2463
2463
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
2464
|
-
this.
|
|
2464
|
+
this.b9u_1 = $spectators;
|
|
2465
2465
|
CoroutineImpl.call(this, resultContinuation);
|
|
2466
2466
|
}
|
|
2467
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2468
|
-
var tmp = this.
|
|
2467
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).w9p = function ($this$dispatchAsync, store, $completion) {
|
|
2468
|
+
var tmp = this.x9p($this$dispatchAsync, store, $completion);
|
|
2469
2469
|
tmp.t8_1 = Unit_instance;
|
|
2470
2470
|
tmp.u8_1 = null;
|
|
2471
2471
|
return tmp.z8();
|
|
2472
2472
|
};
|
|
2473
2473
|
protoOf(GameServer$addSpectatorsToRoom$slambda).i9 = function (p1, p2, $completion) {
|
|
2474
2474
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2475
|
-
return this.
|
|
2475
|
+
return this.w9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2476
2476
|
};
|
|
2477
2477
|
protoOf(GameServer$addSpectatorsToRoom$slambda).z8 = function () {
|
|
2478
2478
|
var suspendResult = this.t8_1;
|
|
@@ -2481,7 +2481,7 @@
|
|
|
2481
2481
|
var tmp = this.r8_1;
|
|
2482
2482
|
if (tmp === 0) {
|
|
2483
2483
|
this.s8_1 = 1;
|
|
2484
|
-
this.
|
|
2484
|
+
this.d9u_1.dispatch(new AddSpectatorsAction(toList(this.b9u_1)));
|
|
2485
2485
|
return Unit_instance;
|
|
2486
2486
|
} else if (tmp === 1) {
|
|
2487
2487
|
throw this.u8_1;
|
|
@@ -2492,33 +2492,33 @@
|
|
|
2492
2492
|
}
|
|
2493
2493
|
while (true);
|
|
2494
2494
|
};
|
|
2495
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2496
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
2497
|
-
i.
|
|
2498
|
-
i.
|
|
2495
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).x9p = function ($this$dispatchAsync, store, completion) {
|
|
2496
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.b9u_1, completion);
|
|
2497
|
+
i.c9u_1 = $this$dispatchAsync;
|
|
2498
|
+
i.d9u_1 = store;
|
|
2499
2499
|
return i;
|
|
2500
2500
|
};
|
|
2501
2501
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
2502
2502
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
2503
2503
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2504
|
-
return i.
|
|
2504
|
+
return i.w9p($this$dispatchAsync, store, $completion);
|
|
2505
2505
|
};
|
|
2506
2506
|
l.$arity = 2;
|
|
2507
2507
|
return l;
|
|
2508
2508
|
}
|
|
2509
2509
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
2510
|
-
this.
|
|
2510
|
+
this.m9u_1 = $spectators;
|
|
2511
2511
|
CoroutineImpl.call(this, resultContinuation);
|
|
2512
2512
|
}
|
|
2513
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2514
|
-
var tmp = this.
|
|
2513
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).w9p = function ($this$dispatchAsync, store, $completion) {
|
|
2514
|
+
var tmp = this.x9p($this$dispatchAsync, store, $completion);
|
|
2515
2515
|
tmp.t8_1 = Unit_instance;
|
|
2516
2516
|
tmp.u8_1 = null;
|
|
2517
2517
|
return tmp.z8();
|
|
2518
2518
|
};
|
|
2519
2519
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).i9 = function (p1, p2, $completion) {
|
|
2520
2520
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2521
|
-
return this.
|
|
2521
|
+
return this.w9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2522
2522
|
};
|
|
2523
2523
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).z8 = function () {
|
|
2524
2524
|
var suspendResult = this.t8_1;
|
|
@@ -2527,7 +2527,7 @@
|
|
|
2527
2527
|
var tmp = this.r8_1;
|
|
2528
2528
|
if (tmp === 0) {
|
|
2529
2529
|
this.s8_1 = 1;
|
|
2530
|
-
this.
|
|
2530
|
+
this.o9u_1.dispatch(new RemoveSpectatorsAction(toList(this.m9u_1)));
|
|
2531
2531
|
return Unit_instance;
|
|
2532
2532
|
} else if (tmp === 1) {
|
|
2533
2533
|
throw this.u8_1;
|
|
@@ -2538,34 +2538,34 @@
|
|
|
2538
2538
|
}
|
|
2539
2539
|
while (true);
|
|
2540
2540
|
};
|
|
2541
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2542
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
2543
|
-
i.
|
|
2544
|
-
i.
|
|
2541
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).x9p = function ($this$dispatchAsync, store, completion) {
|
|
2542
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.m9u_1, completion);
|
|
2543
|
+
i.n9u_1 = $this$dispatchAsync;
|
|
2544
|
+
i.o9u_1 = store;
|
|
2545
2545
|
return i;
|
|
2546
2546
|
};
|
|
2547
2547
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
2548
2548
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
2549
2549
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2550
|
-
return i.
|
|
2550
|
+
return i.w9p($this$dispatchAsync, store, $completion);
|
|
2551
2551
|
};
|
|
2552
2552
|
l.$arity = 2;
|
|
2553
2553
|
return l;
|
|
2554
2554
|
}
|
|
2555
2555
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
2556
|
-
this.
|
|
2557
|
-
this.
|
|
2556
|
+
this.x9u_1 = $playerId;
|
|
2557
|
+
this.y9u_1 = this$0;
|
|
2558
2558
|
CoroutineImpl.call(this, resultContinuation);
|
|
2559
2559
|
}
|
|
2560
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2561
|
-
var tmp = this.
|
|
2560
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).w9p = function ($this$dispatchAsync, store, $completion) {
|
|
2561
|
+
var tmp = this.x9p($this$dispatchAsync, store, $completion);
|
|
2562
2562
|
tmp.t8_1 = Unit_instance;
|
|
2563
2563
|
tmp.u8_1 = null;
|
|
2564
2564
|
return tmp.z8();
|
|
2565
2565
|
};
|
|
2566
2566
|
protoOf(GameServer$roomRefreshPlayerState$slambda).i9 = function (p1, p2, $completion) {
|
|
2567
2567
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2568
|
-
return this.
|
|
2568
|
+
return this.w9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2569
2569
|
};
|
|
2570
2570
|
protoOf(GameServer$roomRefreshPlayerState$slambda).z8 = function () {
|
|
2571
2571
|
var suspendResult = this.t8_1;
|
|
@@ -2574,14 +2574,14 @@
|
|
|
2574
2574
|
var tmp = this.r8_1;
|
|
2575
2575
|
if (tmp === 0) {
|
|
2576
2576
|
this.s8_1 = 1;
|
|
2577
|
-
var table = this.
|
|
2578
|
-
var player = getPlayer(table.players, this.
|
|
2579
|
-
if (player.
|
|
2580
|
-
this.
|
|
2577
|
+
var table = this.a9v_1.state.t6n();
|
|
2578
|
+
var player = getPlayer(table.players, this.x9u_1);
|
|
2579
|
+
if (player.y6q_1.x68().o67_1.isLive) {
|
|
2580
|
+
this.a9v_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.y9u_1).g8q(player, table));
|
|
2581
2581
|
} else {
|
|
2582
|
-
var tmp_0 = this.
|
|
2582
|
+
var tmp_0 = this.a9v_1.dispatch;
|
|
2583
2583
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2584
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2584
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.x9u_1));
|
|
2585
2585
|
}
|
|
2586
2586
|
return Unit_instance;
|
|
2587
2587
|
} else if (tmp === 1) {
|
|
@@ -2593,34 +2593,34 @@
|
|
|
2593
2593
|
}
|
|
2594
2594
|
while (true);
|
|
2595
2595
|
};
|
|
2596
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2597
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
2598
|
-
i.
|
|
2599
|
-
i.
|
|
2596
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).x9p = function ($this$dispatchAsync, store, completion) {
|
|
2597
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.x9u_1, this.y9u_1, completion);
|
|
2598
|
+
i.z9u_1 = $this$dispatchAsync;
|
|
2599
|
+
i.a9v_1 = store;
|
|
2600
2600
|
return i;
|
|
2601
2601
|
};
|
|
2602
2602
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
2603
2603
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
2604
2604
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2605
|
-
return i.
|
|
2605
|
+
return i.w9p($this$dispatchAsync, store, $completion);
|
|
2606
2606
|
};
|
|
2607
2607
|
l.$arity = 2;
|
|
2608
2608
|
return l;
|
|
2609
2609
|
}
|
|
2610
2610
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
2611
|
-
this.
|
|
2612
|
-
this.
|
|
2611
|
+
this.j9v_1 = this$0;
|
|
2612
|
+
this.k9v_1 = $newRid;
|
|
2613
2613
|
CoroutineImpl.call(this, resultContinuation);
|
|
2614
2614
|
}
|
|
2615
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2616
|
-
var tmp = this.
|
|
2615
|
+
protoOf(GameServer$roomOnDelete$slambda).w9p = function ($this$dispatchAsync, store, $completion) {
|
|
2616
|
+
var tmp = this.x9p($this$dispatchAsync, store, $completion);
|
|
2617
2617
|
tmp.t8_1 = Unit_instance;
|
|
2618
2618
|
tmp.u8_1 = null;
|
|
2619
2619
|
return tmp.z8();
|
|
2620
2620
|
};
|
|
2621
2621
|
protoOf(GameServer$roomOnDelete$slambda).i9 = function (p1, p2, $completion) {
|
|
2622
2622
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2623
|
-
return this.
|
|
2623
|
+
return this.w9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2624
2624
|
};
|
|
2625
2625
|
protoOf(GameServer$roomOnDelete$slambda).z8 = function () {
|
|
2626
2626
|
var suspendResult = this.t8_1;
|
|
@@ -2629,27 +2629,27 @@
|
|
|
2629
2629
|
var tmp = this.r8_1;
|
|
2630
2630
|
if (tmp === 0) {
|
|
2631
2631
|
this.s8_1 = 1;
|
|
2632
|
-
var it = this.
|
|
2632
|
+
var it = this.j9v_1.u66().t6m_1;
|
|
2633
2633
|
var tmp_0;
|
|
2634
2634
|
if (it == null) {
|
|
2635
|
-
this.
|
|
2635
|
+
this.j9v_1.h4q().w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
2636
2636
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
2637
2637
|
} else {
|
|
2638
2638
|
tmp_0 = it;
|
|
2639
2639
|
}
|
|
2640
2640
|
var terminationState = tmp_0;
|
|
2641
|
-
var gameTransition = terminationState.
|
|
2641
|
+
var gameTransition = terminationState.d8u_1;
|
|
2642
2642
|
var tmp_1;
|
|
2643
2643
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
2644
|
-
var tmp0_elvis_lhs = this.
|
|
2644
|
+
var tmp0_elvis_lhs = this.k9v_1;
|
|
2645
2645
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
2646
2646
|
} else {
|
|
2647
2647
|
tmp_1 = gameTransition;
|
|
2648
2648
|
}
|
|
2649
2649
|
var transition = tmp_1;
|
|
2650
|
-
var tmp_2 = this.
|
|
2651
|
-
var tmp0_reason = terminationState.
|
|
2652
|
-
var tmp1_isGameFinished = this.
|
|
2650
|
+
var tmp_2 = this.m9v_1.dispatch;
|
|
2651
|
+
var tmp0_reason = terminationState.c8u_1;
|
|
2652
|
+
var tmp1_isGameFinished = this.j9v_1.u66().t6n().isGameFinished;
|
|
2653
2653
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
2654
2654
|
return Unit_instance;
|
|
2655
2655
|
} else if (tmp === 1) {
|
|
@@ -2661,33 +2661,33 @@
|
|
|
2661
2661
|
}
|
|
2662
2662
|
while (true);
|
|
2663
2663
|
};
|
|
2664
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2665
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
2666
|
-
i.
|
|
2667
|
-
i.
|
|
2664
|
+
protoOf(GameServer$roomOnDelete$slambda).x9p = function ($this$dispatchAsync, store, completion) {
|
|
2665
|
+
var i = new GameServer$roomOnDelete$slambda(this.j9v_1, this.k9v_1, completion);
|
|
2666
|
+
i.l9v_1 = $this$dispatchAsync;
|
|
2667
|
+
i.m9v_1 = store;
|
|
2668
2668
|
return i;
|
|
2669
2669
|
};
|
|
2670
2670
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
2671
2671
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
2672
2672
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2673
|
-
return i.
|
|
2673
|
+
return i.w9p($this$dispatchAsync, store, $completion);
|
|
2674
2674
|
};
|
|
2675
2675
|
l.$arity = 2;
|
|
2676
2676
|
return l;
|
|
2677
2677
|
}
|
|
2678
2678
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
2679
|
-
this.
|
|
2679
|
+
this.v9v_1 = $enabled;
|
|
2680
2680
|
CoroutineImpl.call(this, resultContinuation);
|
|
2681
2681
|
}
|
|
2682
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2683
|
-
var tmp = this.
|
|
2682
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).w9p = function ($this$dispatchAsync, store, $completion) {
|
|
2683
|
+
var tmp = this.x9p($this$dispatchAsync, store, $completion);
|
|
2684
2684
|
tmp.t8_1 = Unit_instance;
|
|
2685
2685
|
tmp.u8_1 = null;
|
|
2686
2686
|
return tmp.z8();
|
|
2687
2687
|
};
|
|
2688
2688
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).i9 = function (p1, p2, $completion) {
|
|
2689
2689
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2690
|
-
return this.
|
|
2690
|
+
return this.w9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2691
2691
|
};
|
|
2692
2692
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).z8 = function () {
|
|
2693
2693
|
var suspendResult = this.t8_1;
|
|
@@ -2696,7 +2696,7 @@
|
|
|
2696
2696
|
var tmp = this.r8_1;
|
|
2697
2697
|
if (tmp === 0) {
|
|
2698
2698
|
this.s8_1 = 1;
|
|
2699
|
-
this.
|
|
2699
|
+
this.x9v_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload_0(this.x9v_1.state).config.copy(VOID, this.v9v_1)));
|
|
2700
2700
|
return Unit_instance;
|
|
2701
2701
|
} else if (tmp === 1) {
|
|
2702
2702
|
throw this.u8_1;
|
|
@@ -2707,35 +2707,35 @@
|
|
|
2707
2707
|
}
|
|
2708
2708
|
while (true);
|
|
2709
2709
|
};
|
|
2710
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2711
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
2712
|
-
i.
|
|
2713
|
-
i.
|
|
2710
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).x9p = function ($this$dispatchAsync, store, completion) {
|
|
2711
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.v9v_1, completion);
|
|
2712
|
+
i.w9v_1 = $this$dispatchAsync;
|
|
2713
|
+
i.x9v_1 = store;
|
|
2714
2714
|
return i;
|
|
2715
2715
|
};
|
|
2716
2716
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
2717
2717
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
2718
2718
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2719
|
-
return i.
|
|
2719
|
+
return i.w9p($this$dispatchAsync, store, $completion);
|
|
2720
2720
|
};
|
|
2721
2721
|
l.$arity = 2;
|
|
2722
2722
|
return l;
|
|
2723
2723
|
}
|
|
2724
2724
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
2725
|
-
this.
|
|
2726
|
-
this.
|
|
2727
|
-
this.
|
|
2725
|
+
this.g9w_1 = $reason;
|
|
2726
|
+
this.h9w_1 = this$0;
|
|
2727
|
+
this.i9w_1 = $roomId;
|
|
2728
2728
|
CoroutineImpl.call(this, resultContinuation);
|
|
2729
2729
|
}
|
|
2730
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2731
|
-
var tmp = this.
|
|
2730
|
+
protoOf(GameServer$shutdown$slambda).w9p = function ($this$dispatchAsync, store, $completion) {
|
|
2731
|
+
var tmp = this.x9p($this$dispatchAsync, store, $completion);
|
|
2732
2732
|
tmp.t8_1 = Unit_instance;
|
|
2733
2733
|
tmp.u8_1 = null;
|
|
2734
2734
|
return tmp.z8();
|
|
2735
2735
|
};
|
|
2736
2736
|
protoOf(GameServer$shutdown$slambda).i9 = function (p1, p2, $completion) {
|
|
2737
2737
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2738
|
-
return this.
|
|
2738
|
+
return this.w9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2739
2739
|
};
|
|
2740
2740
|
protoOf(GameServer$shutdown$slambda).z8 = function () {
|
|
2741
2741
|
var suspendResult = this.t8_1;
|
|
@@ -2744,11 +2744,11 @@
|
|
|
2744
2744
|
var tmp = this.r8_1;
|
|
2745
2745
|
if (tmp === 0) {
|
|
2746
2746
|
this.s8_1 = 1;
|
|
2747
|
-
var state = this.
|
|
2747
|
+
var state = this.k9w_1.store.state;
|
|
2748
2748
|
if (state.u6n()) {
|
|
2749
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
2749
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.g9w_1, get_serverShutdownReasonMapping());
|
|
2750
2750
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
2751
|
-
var tmp_0 = this.
|
|
2751
|
+
var tmp_0 = this.k9w_1.dispatch;
|
|
2752
2752
|
var tmp_1 = Companion_instance;
|
|
2753
2753
|
var tmp_2;
|
|
2754
2754
|
switch (shutdownReason.p2_1) {
|
|
@@ -2762,12 +2762,12 @@
|
|
|
2762
2762
|
noWhenBranchMatchedException();
|
|
2763
2763
|
break;
|
|
2764
2764
|
}
|
|
2765
|
-
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.
|
|
2765
|
+
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.h9w_1.table.isGameFinished, this.h9w_1.table));
|
|
2766
2766
|
} else {
|
|
2767
|
-
this.
|
|
2768
|
-
var tmp_3 = this.
|
|
2767
|
+
this.h9w_1.h4q().w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.i9w_1);
|
|
2768
|
+
var tmp_3 = this.k9w_1.dispatch;
|
|
2769
2769
|
var tmp2_safe_receiver = state.t6m_1;
|
|
2770
|
-
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
2770
|
+
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.d8u_1));
|
|
2771
2771
|
}
|
|
2772
2772
|
return Unit_instance;
|
|
2773
2773
|
} else if (tmp === 1) {
|
|
@@ -2779,16 +2779,16 @@
|
|
|
2779
2779
|
}
|
|
2780
2780
|
while (true);
|
|
2781
2781
|
};
|
|
2782
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2783
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
2784
|
-
i.
|
|
2785
|
-
i.
|
|
2782
|
+
protoOf(GameServer$shutdown$slambda).x9p = function ($this$dispatchAsync, store, completion) {
|
|
2783
|
+
var i = new GameServer$shutdown$slambda(this.g9w_1, this.h9w_1, this.i9w_1, completion);
|
|
2784
|
+
i.j9w_1 = $this$dispatchAsync;
|
|
2785
|
+
i.k9w_1 = store;
|
|
2786
2786
|
return i;
|
|
2787
2787
|
};
|
|
2788
2788
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
2789
2789
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
2790
2790
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2791
|
-
return i.
|
|
2791
|
+
return i.w9p($this$dispatchAsync, store, $completion);
|
|
2792
2792
|
};
|
|
2793
2793
|
l.$arity = 2;
|
|
2794
2794
|
return l;
|
|
@@ -2819,7 +2819,7 @@
|
|
|
2819
2819
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
2820
2820
|
var tmp_3 = Instance(di, tmp$ret$2, null);
|
|
2821
2821
|
var tmp_4 = KProperty1;
|
|
2822
|
-
tmp_1.
|
|
2822
|
+
tmp_1.o9m_1 = tmp_3.w64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_4, GameServer$_get_toClientEventsObserver_$ref_utir8s(), null));
|
|
2823
2823
|
var tmp_5 = this;
|
|
2824
2824
|
// Inline function 'org.kodein.di.instance' call
|
|
2825
2825
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2827,7 +2827,7 @@
|
|
|
2827
2827
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2828
2828
|
var tmp_7 = Instance(di, tmp$ret$4, null);
|
|
2829
2829
|
var tmp_8 = KProperty1;
|
|
2830
|
-
tmp_5.
|
|
2830
|
+
tmp_5.p9m_1 = tmp_7.w64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_8, GameServer$_get_fromClientEventsObserver_$ref_nf1g79(), null));
|
|
2831
2831
|
var tmp_9 = this;
|
|
2832
2832
|
// Inline function 'org.kodein.di.instance' call
|
|
2833
2833
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2835,7 +2835,7 @@
|
|
|
2835
2835
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
2836
2836
|
var tmp_11 = Instance(di, tmp$ret$6, null);
|
|
2837
2837
|
var tmp_12 = KProperty1;
|
|
2838
|
-
tmp_9.
|
|
2838
|
+
tmp_9.q9m_1 = tmp_11.w64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_12, GameServer$_get_playerConnectionInteractor_$ref_of8tan(), null));
|
|
2839
2839
|
var tmp_13 = this;
|
|
2840
2840
|
// Inline function 'org.kodein.di.instance' call
|
|
2841
2841
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2843,9 +2843,9 @@
|
|
|
2843
2843
|
var tmp$ret$8 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
2844
2844
|
var tmp_15 = Instance(di, tmp$ret$8, null);
|
|
2845
2845
|
var tmp_16 = KProperty1;
|
|
2846
|
-
tmp_13.
|
|
2846
|
+
tmp_13.r9m_1 = tmp_15.w64(this, getPropertyCallableRef('teamsLogicProvider', 1, tmp_16, GameServer$_get_teamsLogicProvider_$ref_b7y54g(), null));
|
|
2847
2847
|
var tmp_17 = this;
|
|
2848
|
-
tmp_17.
|
|
2848
|
+
tmp_17.s9m_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
2849
2849
|
var tmp_18 = this;
|
|
2850
2850
|
// Inline function 'org.kodein.di.instance' call
|
|
2851
2851
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2853,7 +2853,7 @@
|
|
|
2853
2853
|
var tmp$ret$10 = isInterface(tmp_19, TypeToken) ? tmp_19 : THROW_CCE();
|
|
2854
2854
|
var tmp_20 = Instance(di, tmp$ret$10, null);
|
|
2855
2855
|
var tmp_21 = KProperty1;
|
|
2856
|
-
tmp_18.
|
|
2856
|
+
tmp_18.t9m_1 = tmp_20.w64(this, getPropertyCallableRef('idsProvider', 1, tmp_21, GameServer$_get_idsProvider_$ref_89s908(), null));
|
|
2857
2857
|
var tmp_22 = this;
|
|
2858
2858
|
// Inline function 'org.kodein.di.instance' call
|
|
2859
2859
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2861,7 +2861,7 @@
|
|
|
2861
2861
|
var tmp$ret$12 = isInterface(tmp_23, TypeToken) ? tmp_23 : THROW_CCE();
|
|
2862
2862
|
var tmp_24 = Instance(di, tmp$ret$12, null);
|
|
2863
2863
|
var tmp_25 = KProperty1;
|
|
2864
|
-
tmp_22.
|
|
2864
|
+
tmp_22.u9m_1 = tmp_24.w64(this, getPropertyCallableRef('serverReduxConfig', 1, tmp_25, GameServer$_get_serverReduxConfig_$ref_7h6jq6(), null));
|
|
2865
2865
|
var tmp_26 = this;
|
|
2866
2866
|
// Inline function 'org.kodein.di.instance' call
|
|
2867
2867
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2869,21 +2869,21 @@
|
|
|
2869
2869
|
var tmp$ret$14 = isInterface(tmp_27, TypeToken) ? tmp_27 : THROW_CCE();
|
|
2870
2870
|
var tmp_28 = Instance(di, tmp$ret$14, null);
|
|
2871
2871
|
var tmp_29 = KProperty1;
|
|
2872
|
-
tmp_26.
|
|
2872
|
+
tmp_26.v9m_1 = tmp_28.w64(this, getPropertyCallableRef('encoderDecoderProvider', 1, tmp_29, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8(), null));
|
|
2873
2873
|
var tmp_30 = this;
|
|
2874
|
-
var tmp0_externalMiddlewares = plus(storeContract.
|
|
2875
|
-
var tmp1_externalReducers = plus(storeContract.
|
|
2876
|
-
tmp_30.
|
|
2877
|
-
this.
|
|
2874
|
+
var tmp0_externalMiddlewares = plus(storeContract.p8y(), externalMiddlewares);
|
|
2875
|
+
var tmp1_externalReducers = plus(storeContract.o8y(), externalReducers);
|
|
2876
|
+
tmp_30.w9m_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
2877
|
+
this.x9m_1 = new Object();
|
|
2878
2878
|
}
|
|
2879
2879
|
protoOf(GameServer).i6m = function () {
|
|
2880
|
-
return this.
|
|
2880
|
+
return this.w9m_1;
|
|
2881
2881
|
};
|
|
2882
|
-
protoOf(GameServer).
|
|
2883
|
-
this.
|
|
2882
|
+
protoOf(GameServer).l9w = function (_set____db54di) {
|
|
2883
|
+
this.x9m_1 = _set____db54di;
|
|
2884
2884
|
};
|
|
2885
|
-
protoOf(GameServer).
|
|
2886
|
-
return this.
|
|
2885
|
+
protoOf(GameServer).v8e = function () {
|
|
2886
|
+
return this.x9m_1;
|
|
2887
2887
|
};
|
|
2888
2888
|
protoOf(GameServer).y53 = function () {
|
|
2889
2889
|
return this.u66().t6n().id;
|
|
@@ -2915,55 +2915,55 @@
|
|
|
2915
2915
|
};
|
|
2916
2916
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
2917
2917
|
this.h4q().d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
2918
|
-
this.
|
|
2918
|
+
this.w9m_1.r6n(GameServer$fromClientEvent$slambda_0(action, null));
|
|
2919
2919
|
};
|
|
2920
2920
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
2921
2921
|
this.h4q().d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
2922
|
-
this.
|
|
2922
|
+
this.w9m_1.r6n(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
2923
2923
|
};
|
|
2924
2924
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
2925
2925
|
this.h4q().d('GameEngine_API', 'playerLive: ' + playerId);
|
|
2926
|
-
this.
|
|
2926
|
+
this.w9m_1.r6n(GameServer$playerLive$slambda_0(this, playerId, null));
|
|
2927
2927
|
};
|
|
2928
2928
|
protoOf(GameServer).playerLeft = function (playerId) {
|
|
2929
2929
|
this.h4q().d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
2930
|
-
this.
|
|
2930
|
+
this.w9m_1.r6n(GameServer$playerLeft$slambda_0(this, playerId, null));
|
|
2931
2931
|
};
|
|
2932
|
-
protoOf(GameServer).
|
|
2932
|
+
protoOf(GameServer).m9w = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
2933
2933
|
this.h4q().d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
2934
|
-
this.
|
|
2934
|
+
this.w9m_1.r6n(GameServer$roomOnCreate$slambda_0(usersArray, config, this, roomId, transition, gameCreatorId, spectators, null));
|
|
2935
2935
|
};
|
|
2936
2936
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
2937
2937
|
this.h4q().d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
2938
|
-
var isCreated = this.
|
|
2939
|
-
this.
|
|
2938
|
+
var isCreated = this.w9m_1.s6n(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
2939
|
+
this.w9m_1.r6n(GameServer$roomOnContinueFromState$slambda_2(isCreated, state, null));
|
|
2940
2940
|
};
|
|
2941
2941
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
2942
2942
|
this.h4q().d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
2943
|
-
this.
|
|
2944
|
-
this.
|
|
2943
|
+
this.w9m_1.r6n(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
2944
|
+
this.w9m_1.r6n(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
2945
2945
|
};
|
|
2946
2946
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
2947
|
-
this.
|
|
2947
|
+
this.w9m_1.r6n(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
2948
2948
|
};
|
|
2949
2949
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
2950
|
-
this.
|
|
2950
|
+
this.w9m_1.r6n(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
2951
2951
|
};
|
|
2952
2952
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
2953
2953
|
this.h4q().d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
2954
|
-
this.
|
|
2954
|
+
this.w9m_1.r6n(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
2955
2955
|
};
|
|
2956
|
-
protoOf(GameServer).
|
|
2956
|
+
protoOf(GameServer).n9w = function (newRid) {
|
|
2957
2957
|
this.h4q().d('GameEngine_API', 'roomOnDelete: newRid = ' + newRid);
|
|
2958
|
-
this.
|
|
2958
|
+
this.w9m_1.r6n(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
2959
2959
|
};
|
|
2960
2960
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
2961
2961
|
this.h4q().d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
2962
|
-
this.
|
|
2962
|
+
this.w9m_1.r6n(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
2963
2963
|
};
|
|
2964
|
-
protoOf(GameServer).
|
|
2964
|
+
protoOf(GameServer).o9w = function (reason, roomId) {
|
|
2965
2965
|
this.h4q().d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
2966
|
-
this.
|
|
2966
|
+
this.w9m_1.r6n(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
2967
2967
|
};
|
|
2968
2968
|
protoOf(GameServer).clear = function () {
|
|
2969
2969
|
return this.h2();
|
|
@@ -3014,10 +3014,10 @@
|
|
|
3014
3014
|
this.fromRound = fromRound;
|
|
3015
3015
|
this.canStartNewGame = canStartNewGame;
|
|
3016
3016
|
}
|
|
3017
|
-
protoOf(ServerConfig).
|
|
3017
|
+
protoOf(ServerConfig).p9w = function () {
|
|
3018
3018
|
return this.fromRound;
|
|
3019
3019
|
};
|
|
3020
|
-
protoOf(ServerConfig).
|
|
3020
|
+
protoOf(ServerConfig).q9w = function () {
|
|
3021
3021
|
return this.canStartNewGame;
|
|
3022
3022
|
};
|
|
3023
3023
|
protoOf(ServerConfig).ne = function () {
|
|
@@ -3026,13 +3026,13 @@
|
|
|
3026
3026
|
protoOf(ServerConfig).oe = function () {
|
|
3027
3027
|
return this.canStartNewGame;
|
|
3028
3028
|
};
|
|
3029
|
-
protoOf(ServerConfig).
|
|
3029
|
+
protoOf(ServerConfig).r9w = function (fromRound, canStartNewGame) {
|
|
3030
3030
|
return new ServerConfig(fromRound, canStartNewGame);
|
|
3031
3031
|
};
|
|
3032
3032
|
protoOf(ServerConfig).copy = function (fromRound, canStartNewGame, $super) {
|
|
3033
3033
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
3034
3034
|
canStartNewGame = canStartNewGame === VOID ? this.canStartNewGame : canStartNewGame;
|
|
3035
|
-
return $super === VOID ? this.
|
|
3035
|
+
return $super === VOID ? this.r9w(fromRound, canStartNewGame) : $super.r9w.call(this, fromRound, canStartNewGame);
|
|
3036
3036
|
};
|
|
3037
3037
|
protoOf(ServerConfig).toString = function () {
|
|
3038
3038
|
return 'ServerConfig(fromRound=' + this.fromRound + ', canStartNewGame=' + this.canStartNewGame + ')';
|
|
@@ -3094,20 +3094,20 @@
|
|
|
3094
3094
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 2);
|
|
3095
3095
|
tmp0_serialDesc.gz('roomId', false);
|
|
3096
3096
|
tmp0_serialDesc.gz('table', false);
|
|
3097
|
-
this.
|
|
3097
|
+
this.s9w_1 = tmp0_serialDesc;
|
|
3098
3098
|
}
|
|
3099
|
-
protoOf($serializer).
|
|
3100
|
-
var tmp0_desc = this.
|
|
3099
|
+
protoOf($serializer).t9w = function (encoder, value) {
|
|
3100
|
+
var tmp0_desc = this.s9w_1;
|
|
3101
3101
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3102
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3102
|
+
tmp1_output.dt(tmp0_desc, 0, value.u9w_1);
|
|
3103
3103
|
tmp1_output.dt(tmp0_desc, 1, value.table);
|
|
3104
3104
|
tmp1_output.pr(tmp0_desc);
|
|
3105
3105
|
};
|
|
3106
3106
|
protoOf($serializer).co = function (encoder, value) {
|
|
3107
|
-
return this.
|
|
3107
|
+
return this.t9w(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3108
3108
|
};
|
|
3109
3109
|
protoOf($serializer).do = function (decoder) {
|
|
3110
|
-
var tmp0_desc = this.
|
|
3110
|
+
var tmp0_desc = this.s9w_1;
|
|
3111
3111
|
var tmp1_flag = true;
|
|
3112
3112
|
var tmp2_index = 0;
|
|
3113
3113
|
var tmp3_bitMask0 = 0;
|
|
@@ -3142,7 +3142,7 @@
|
|
|
3142
3142
|
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3143
3143
|
};
|
|
3144
3144
|
protoOf($serializer).bo = function () {
|
|
3145
|
-
return this.
|
|
3145
|
+
return this.s9w_1;
|
|
3146
3146
|
};
|
|
3147
3147
|
protoOf($serializer).vz = function () {
|
|
3148
3148
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3158,9 +3158,9 @@
|
|
|
3158
3158
|
}
|
|
3159
3159
|
function TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, $this) {
|
|
3160
3160
|
if (!(3 === (3 & seen0))) {
|
|
3161
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance().
|
|
3161
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance().s9w_1);
|
|
3162
3162
|
}
|
|
3163
|
-
$this.
|
|
3163
|
+
$this.u9w_1 = roomId;
|
|
3164
3164
|
$this.table = table;
|
|
3165
3165
|
return $this;
|
|
3166
3166
|
}
|
|
@@ -3168,17 +3168,17 @@
|
|
|
3168
3168
|
return TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, objectCreate(protoOf(TableStateUpdateDto)));
|
|
3169
3169
|
}
|
|
3170
3170
|
function TableStateUpdateDto(roomId, table) {
|
|
3171
|
-
this.
|
|
3171
|
+
this.u9w_1 = roomId;
|
|
3172
3172
|
this.table = table;
|
|
3173
3173
|
}
|
|
3174
|
-
protoOf(TableStateUpdateDto).
|
|
3175
|
-
return this.
|
|
3174
|
+
protoOf(TableStateUpdateDto).p8b = function () {
|
|
3175
|
+
return this.u9w_1;
|
|
3176
3176
|
};
|
|
3177
3177
|
protoOf(TableStateUpdateDto).t6n = function () {
|
|
3178
3178
|
return this.table;
|
|
3179
3179
|
};
|
|
3180
3180
|
protoOf(TableStateUpdateDto).ne = function () {
|
|
3181
|
-
return this.
|
|
3181
|
+
return this.u9w_1;
|
|
3182
3182
|
};
|
|
3183
3183
|
protoOf(TableStateUpdateDto).oe = function () {
|
|
3184
3184
|
return this.table;
|
|
@@ -3187,15 +3187,15 @@
|
|
|
3187
3187
|
return new TableStateUpdateDto(roomId, table);
|
|
3188
3188
|
};
|
|
3189
3189
|
protoOf(TableStateUpdateDto).copy = function (roomId, table, $super) {
|
|
3190
|
-
roomId = roomId === VOID ? this.
|
|
3190
|
+
roomId = roomId === VOID ? this.u9w_1 : roomId;
|
|
3191
3191
|
table = table === VOID ? this.table : table;
|
|
3192
3192
|
return $super === VOID ? this.e54(roomId, table) : $super.e54.call(this, roomId, table);
|
|
3193
3193
|
};
|
|
3194
3194
|
protoOf(TableStateUpdateDto).toString = function () {
|
|
3195
|
-
return 'TableStateUpdateDto(roomId=' + this.
|
|
3195
|
+
return 'TableStateUpdateDto(roomId=' + this.u9w_1 + ', table=' + this.table + ')';
|
|
3196
3196
|
};
|
|
3197
3197
|
protoOf(TableStateUpdateDto).hashCode = function () {
|
|
3198
|
-
var result = getStringHashCode(this.
|
|
3198
|
+
var result = getStringHashCode(this.u9w_1);
|
|
3199
3199
|
result = imul(result, 31) + getStringHashCode(this.table) | 0;
|
|
3200
3200
|
return result;
|
|
3201
3201
|
};
|
|
@@ -3204,7 +3204,7 @@
|
|
|
3204
3204
|
return true;
|
|
3205
3205
|
if (!(other instanceof TableStateUpdateDto))
|
|
3206
3206
|
return false;
|
|
3207
|
-
if (!(this.
|
|
3207
|
+
if (!(this.u9w_1 === other.u9w_1))
|
|
3208
3208
|
return false;
|
|
3209
3209
|
if (!(this.table === other.table))
|
|
3210
3210
|
return false;
|
|
@@ -3224,20 +3224,20 @@
|
|
|
3224
3224
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 2);
|
|
3225
3225
|
tmp0_serialDesc.gz('roomId', false);
|
|
3226
3226
|
tmp0_serialDesc.gz('actions', false);
|
|
3227
|
-
this.
|
|
3227
|
+
this.v9w_1 = tmp0_serialDesc;
|
|
3228
3228
|
}
|
|
3229
|
-
protoOf($serializer_0).
|
|
3230
|
-
var tmp0_desc = this.
|
|
3229
|
+
protoOf($serializer_0).w9w = function (encoder, value) {
|
|
3230
|
+
var tmp0_desc = this.v9w_1;
|
|
3231
3231
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3232
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3232
|
+
tmp1_output.dt(tmp0_desc, 0, value.x9w_1);
|
|
3233
3233
|
tmp1_output.dt(tmp0_desc, 1, value.actions);
|
|
3234
3234
|
tmp1_output.pr(tmp0_desc);
|
|
3235
3235
|
};
|
|
3236
3236
|
protoOf($serializer_0).co = function (encoder, value) {
|
|
3237
|
-
return this.
|
|
3237
|
+
return this.w9w(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
|
|
3238
3238
|
};
|
|
3239
3239
|
protoOf($serializer_0).do = function (decoder) {
|
|
3240
|
-
var tmp0_desc = this.
|
|
3240
|
+
var tmp0_desc = this.v9w_1;
|
|
3241
3241
|
var tmp1_flag = true;
|
|
3242
3242
|
var tmp2_index = 0;
|
|
3243
3243
|
var tmp3_bitMask0 = 0;
|
|
@@ -3272,7 +3272,7 @@
|
|
|
3272
3272
|
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3273
3273
|
};
|
|
3274
3274
|
protoOf($serializer_0).bo = function () {
|
|
3275
|
-
return this.
|
|
3275
|
+
return this.v9w_1;
|
|
3276
3276
|
};
|
|
3277
3277
|
protoOf($serializer_0).vz = function () {
|
|
3278
3278
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3288,9 +3288,9 @@
|
|
|
3288
3288
|
}
|
|
3289
3289
|
function ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, $this) {
|
|
3290
3290
|
if (!(3 === (3 & seen0))) {
|
|
3291
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().
|
|
3291
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().v9w_1);
|
|
3292
3292
|
}
|
|
3293
|
-
$this.
|
|
3293
|
+
$this.x9w_1 = roomId;
|
|
3294
3294
|
$this.actions = actions;
|
|
3295
3295
|
return $this;
|
|
3296
3296
|
}
|
|
@@ -3298,17 +3298,17 @@
|
|
|
3298
3298
|
return ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, objectCreate(protoOf(ActionsStateUpdateDto)));
|
|
3299
3299
|
}
|
|
3300
3300
|
function ActionsStateUpdateDto(roomId, actions) {
|
|
3301
|
-
this.
|
|
3301
|
+
this.x9w_1 = roomId;
|
|
3302
3302
|
this.actions = actions;
|
|
3303
3303
|
}
|
|
3304
|
-
protoOf(ActionsStateUpdateDto).
|
|
3305
|
-
return this.
|
|
3304
|
+
protoOf(ActionsStateUpdateDto).p8b = function () {
|
|
3305
|
+
return this.x9w_1;
|
|
3306
3306
|
};
|
|
3307
|
-
protoOf(ActionsStateUpdateDto).
|
|
3307
|
+
protoOf(ActionsStateUpdateDto).c8c = function () {
|
|
3308
3308
|
return this.actions;
|
|
3309
3309
|
};
|
|
3310
3310
|
protoOf(ActionsStateUpdateDto).ne = function () {
|
|
3311
|
-
return this.
|
|
3311
|
+
return this.x9w_1;
|
|
3312
3312
|
};
|
|
3313
3313
|
protoOf(ActionsStateUpdateDto).oe = function () {
|
|
3314
3314
|
return this.actions;
|
|
@@ -3317,15 +3317,15 @@
|
|
|
3317
3317
|
return new ActionsStateUpdateDto(roomId, actions);
|
|
3318
3318
|
};
|
|
3319
3319
|
protoOf(ActionsStateUpdateDto).copy = function (roomId, actions, $super) {
|
|
3320
|
-
roomId = roomId === VOID ? this.
|
|
3320
|
+
roomId = roomId === VOID ? this.x9w_1 : roomId;
|
|
3321
3321
|
actions = actions === VOID ? this.actions : actions;
|
|
3322
3322
|
return $super === VOID ? this.e54(roomId, actions) : $super.e54.call(this, roomId, actions);
|
|
3323
3323
|
};
|
|
3324
3324
|
protoOf(ActionsStateUpdateDto).toString = function () {
|
|
3325
|
-
return 'ActionsStateUpdateDto(roomId=' + this.
|
|
3325
|
+
return 'ActionsStateUpdateDto(roomId=' + this.x9w_1 + ', actions=' + this.actions + ')';
|
|
3326
3326
|
};
|
|
3327
3327
|
protoOf(ActionsStateUpdateDto).hashCode = function () {
|
|
3328
|
-
var result = getStringHashCode(this.
|
|
3328
|
+
var result = getStringHashCode(this.x9w_1);
|
|
3329
3329
|
result = imul(result, 31) + getStringHashCode(this.actions) | 0;
|
|
3330
3330
|
return result;
|
|
3331
3331
|
};
|
|
@@ -3334,7 +3334,7 @@
|
|
|
3334
3334
|
return true;
|
|
3335
3335
|
if (!(other instanceof ActionsStateUpdateDto))
|
|
3336
3336
|
return false;
|
|
3337
|
-
if (!(this.
|
|
3337
|
+
if (!(this.x9w_1 === other.x9w_1))
|
|
3338
3338
|
return false;
|
|
3339
3339
|
if (!(this.actions === other.actions))
|
|
3340
3340
|
return false;
|
|
@@ -3364,42 +3364,42 @@
|
|
|
3364
3364
|
var tmp$ret$0 = mapToDto(item);
|
|
3365
3365
|
destination.j(tmp$ret$0);
|
|
3366
3366
|
}
|
|
3367
|
-
return new ActionsStateUpdateDto(_this__u8e3s4.
|
|
3367
|
+
return new ActionsStateUpdateDto(_this__u8e3s4.y9w_1, encoderDecoderProvider.v8i(destination));
|
|
3368
3368
|
}
|
|
3369
3369
|
function mapToDto_3(_this__u8e3s4, encoderDecoderProvider) {
|
|
3370
|
-
return new TableStateUpdateDto(_this__u8e3s4.
|
|
3370
|
+
return new TableStateUpdateDto(_this__u8e3s4.z9w_1, encoderDecoderProvider.t8i(mapToDto_0(_this__u8e3s4.table)));
|
|
3371
3371
|
}
|
|
3372
3372
|
function ServerStateUpdate() {
|
|
3373
3373
|
}
|
|
3374
3374
|
function TableStateUpdate(roomId, table) {
|
|
3375
|
-
this.
|
|
3375
|
+
this.z9w_1 = roomId;
|
|
3376
3376
|
this.table = table;
|
|
3377
3377
|
}
|
|
3378
|
-
protoOf(TableStateUpdate).
|
|
3379
|
-
return this.
|
|
3378
|
+
protoOf(TableStateUpdate).p8b = function () {
|
|
3379
|
+
return this.z9w_1;
|
|
3380
3380
|
};
|
|
3381
3381
|
protoOf(TableStateUpdate).t6n = function () {
|
|
3382
3382
|
return this.table;
|
|
3383
3383
|
};
|
|
3384
3384
|
protoOf(TableStateUpdate).ne = function () {
|
|
3385
|
-
return this.
|
|
3385
|
+
return this.z9w_1;
|
|
3386
3386
|
};
|
|
3387
3387
|
protoOf(TableStateUpdate).oe = function () {
|
|
3388
3388
|
return this.table;
|
|
3389
3389
|
};
|
|
3390
|
-
protoOf(TableStateUpdate).
|
|
3390
|
+
protoOf(TableStateUpdate).a9x = function (roomId, table) {
|
|
3391
3391
|
return new TableStateUpdate(roomId, table);
|
|
3392
3392
|
};
|
|
3393
3393
|
protoOf(TableStateUpdate).copy = function (roomId, table, $super) {
|
|
3394
|
-
roomId = roomId === VOID ? this.
|
|
3394
|
+
roomId = roomId === VOID ? this.z9w_1 : roomId;
|
|
3395
3395
|
table = table === VOID ? this.table : table;
|
|
3396
|
-
return $super === VOID ? this.
|
|
3396
|
+
return $super === VOID ? this.a9x(roomId, table) : $super.a9x.call(this, roomId, table);
|
|
3397
3397
|
};
|
|
3398
3398
|
protoOf(TableStateUpdate).toString = function () {
|
|
3399
|
-
return 'TableStateUpdate(roomId=' + this.
|
|
3399
|
+
return 'TableStateUpdate(roomId=' + this.z9w_1 + ', table=' + this.table.toString() + ')';
|
|
3400
3400
|
};
|
|
3401
3401
|
protoOf(TableStateUpdate).hashCode = function () {
|
|
3402
|
-
var result = getStringHashCode(this.
|
|
3402
|
+
var result = getStringHashCode(this.z9w_1);
|
|
3403
3403
|
result = imul(result, 31) + this.table.hashCode() | 0;
|
|
3404
3404
|
return result;
|
|
3405
3405
|
};
|
|
@@ -3408,41 +3408,41 @@
|
|
|
3408
3408
|
return true;
|
|
3409
3409
|
if (!(other instanceof TableStateUpdate))
|
|
3410
3410
|
return false;
|
|
3411
|
-
if (!(this.
|
|
3411
|
+
if (!(this.z9w_1 === other.z9w_1))
|
|
3412
3412
|
return false;
|
|
3413
3413
|
if (!this.table.equals(other.table))
|
|
3414
3414
|
return false;
|
|
3415
3415
|
return true;
|
|
3416
3416
|
};
|
|
3417
3417
|
function ActionsStateUpdate(roomId, actions) {
|
|
3418
|
-
this.
|
|
3418
|
+
this.y9w_1 = roomId;
|
|
3419
3419
|
this.actions = actions;
|
|
3420
3420
|
}
|
|
3421
|
-
protoOf(ActionsStateUpdate).
|
|
3422
|
-
return this.
|
|
3421
|
+
protoOf(ActionsStateUpdate).p8b = function () {
|
|
3422
|
+
return this.y9w_1;
|
|
3423
3423
|
};
|
|
3424
|
-
protoOf(ActionsStateUpdate).
|
|
3424
|
+
protoOf(ActionsStateUpdate).c8c = function () {
|
|
3425
3425
|
return this.actions;
|
|
3426
3426
|
};
|
|
3427
3427
|
protoOf(ActionsStateUpdate).ne = function () {
|
|
3428
|
-
return this.
|
|
3428
|
+
return this.y9w_1;
|
|
3429
3429
|
};
|
|
3430
3430
|
protoOf(ActionsStateUpdate).oe = function () {
|
|
3431
3431
|
return this.actions;
|
|
3432
3432
|
};
|
|
3433
|
-
protoOf(ActionsStateUpdate).
|
|
3433
|
+
protoOf(ActionsStateUpdate).b9x = function (roomId, actions) {
|
|
3434
3434
|
return new ActionsStateUpdate(roomId, actions);
|
|
3435
3435
|
};
|
|
3436
3436
|
protoOf(ActionsStateUpdate).copy = function (roomId, actions, $super) {
|
|
3437
|
-
roomId = roomId === VOID ? this.
|
|
3437
|
+
roomId = roomId === VOID ? this.y9w_1 : roomId;
|
|
3438
3438
|
actions = actions === VOID ? this.actions : actions;
|
|
3439
|
-
return $super === VOID ? this.
|
|
3439
|
+
return $super === VOID ? this.b9x(roomId, actions) : $super.b9x.call(this, roomId, actions);
|
|
3440
3440
|
};
|
|
3441
3441
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
3442
|
-
return 'ActionsStateUpdate(roomId=' + this.
|
|
3442
|
+
return 'ActionsStateUpdate(roomId=' + this.y9w_1 + ', actions=' + toString(this.actions) + ')';
|
|
3443
3443
|
};
|
|
3444
3444
|
protoOf(ActionsStateUpdate).hashCode = function () {
|
|
3445
|
-
var result = getStringHashCode(this.
|
|
3445
|
+
var result = getStringHashCode(this.y9w_1);
|
|
3446
3446
|
result = imul(result, 31) + hashCode(this.actions) | 0;
|
|
3447
3447
|
return result;
|
|
3448
3448
|
};
|
|
@@ -3451,7 +3451,7 @@
|
|
|
3451
3451
|
return true;
|
|
3452
3452
|
if (!(other instanceof ActionsStateUpdate))
|
|
3453
3453
|
return false;
|
|
3454
|
-
if (!(this.
|
|
3454
|
+
if (!(this.y9w_1 === other.y9w_1))
|
|
3455
3455
|
return false;
|
|
3456
3456
|
if (!equals(this.actions, other.actions))
|
|
3457
3457
|
return false;
|
|
@@ -3685,18 +3685,18 @@
|
|
|
3685
3685
|
function ToClientEventsObserver() {
|
|
3686
3686
|
}
|
|
3687
3687
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
3688
|
-
this.
|
|
3689
|
-
this.
|
|
3688
|
+
this.l9x_1 = this$0;
|
|
3689
|
+
this.m9x_1 = $actions;
|
|
3690
3690
|
CoroutineImpl.call(this, resultContinuation);
|
|
3691
3691
|
}
|
|
3692
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3693
|
-
var tmp = this.
|
|
3692
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).p9x = function ($this$flow, $completion) {
|
|
3693
|
+
var tmp = this.q9x($this$flow, $completion);
|
|
3694
3694
|
tmp.t8_1 = Unit_instance;
|
|
3695
3695
|
tmp.u8_1 = null;
|
|
3696
3696
|
return tmp.z8();
|
|
3697
3697
|
};
|
|
3698
3698
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).h9 = function (p1, $completion) {
|
|
3699
|
-
return this.
|
|
3699
|
+
return this.p9x((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
3700
3700
|
};
|
|
3701
3701
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).z8 = function () {
|
|
3702
3702
|
var suspendResult = this.t8_1;
|
|
@@ -3706,19 +3706,19 @@
|
|
|
3706
3706
|
switch (tmp) {
|
|
3707
3707
|
case 0:
|
|
3708
3708
|
this.s8_1 = 4;
|
|
3709
|
-
this.
|
|
3710
|
-
this.
|
|
3709
|
+
this.l9x_1.v9x_1;
|
|
3710
|
+
this.o9x_1 = transformToEmits(this.l9x_1, this.m9x_1).l();
|
|
3711
3711
|
this.r8_1 = 1;
|
|
3712
3712
|
continue $sm;
|
|
3713
3713
|
case 1:
|
|
3714
|
-
if (!this.
|
|
3714
|
+
if (!this.o9x_1.m()) {
|
|
3715
3715
|
this.r8_1 = 3;
|
|
3716
3716
|
continue $sm;
|
|
3717
3717
|
}
|
|
3718
3718
|
|
|
3719
|
-
var element = this.
|
|
3719
|
+
var element = this.o9x_1.n();
|
|
3720
3720
|
this.r8_1 = 2;
|
|
3721
|
-
suspendResult = this.
|
|
3721
|
+
suspendResult = this.n9x_1.n28(element, this);
|
|
3722
3722
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3723
3723
|
return suspendResult;
|
|
3724
3724
|
}
|
|
@@ -3728,11 +3728,11 @@
|
|
|
3728
3728
|
this.r8_1 = 1;
|
|
3729
3729
|
continue $sm;
|
|
3730
3730
|
case 3:
|
|
3731
|
-
var tmp0 = this.
|
|
3731
|
+
var tmp0 = this.l9x_1.u9x_1;
|
|
3732
3732
|
l$ret$1: do {
|
|
3733
3733
|
while (true) {
|
|
3734
3734
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
3735
|
-
var upd = cur - this.
|
|
3735
|
+
var upd = cur - this.m9x_1.o() | 0;
|
|
3736
3736
|
if (tmp0.atomicfu$compareAndSet(cur, upd)) {
|
|
3737
3737
|
break l$ret$1;
|
|
3738
3738
|
}
|
|
@@ -3754,15 +3754,15 @@
|
|
|
3754
3754
|
}
|
|
3755
3755
|
while (true);
|
|
3756
3756
|
};
|
|
3757
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3758
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
3759
|
-
i.
|
|
3757
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).q9x = function ($this$flow, completion) {
|
|
3758
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.l9x_1, this.m9x_1, completion);
|
|
3759
|
+
i.n9x_1 = $this$flow;
|
|
3760
3760
|
return i;
|
|
3761
3761
|
};
|
|
3762
3762
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
3763
3763
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
3764
3764
|
var l = function ($this$flow, $completion) {
|
|
3765
|
-
return i.
|
|
3765
|
+
return i.p9x($this$flow, $completion);
|
|
3766
3766
|
};
|
|
3767
3767
|
l.$arity = 1;
|
|
3768
3768
|
return l;
|
|
@@ -3832,29 +3832,29 @@
|
|
|
3832
3832
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
3833
3833
|
}
|
|
3834
3834
|
function mapFromGroupKey($this, _this__u8e3s4) {
|
|
3835
|
-
var tmp = $this.
|
|
3835
|
+
var tmp = $this.t9x_1.c6e();
|
|
3836
3836
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3837
|
-
var this_0 = _this__u8e3s4.
|
|
3837
|
+
var this_0 = _this__u8e3s4.y9x_1;
|
|
3838
3838
|
var tmp_0 = copyToArray(this_0);
|
|
3839
3839
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3840
|
-
var this_1 = _this__u8e3s4.
|
|
3840
|
+
var this_1 = _this__u8e3s4.z9x_1;
|
|
3841
3841
|
var tmp$ret$1 = copyToArray(this_1);
|
|
3842
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
3842
|
+
return new ActionDeliveryPayload(_this__u8e3s4.x9x_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.a9y_1);
|
|
3843
3843
|
}
|
|
3844
3844
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
3845
|
-
this.
|
|
3846
|
-
this.
|
|
3847
|
-
this.
|
|
3848
|
-
this.
|
|
3845
|
+
this.x9x_1 = tableId;
|
|
3846
|
+
this.y9x_1 = includePlayers;
|
|
3847
|
+
this.z9x_1 = excludePlayers;
|
|
3848
|
+
this.a9y_1 = deliveryType;
|
|
3849
3849
|
}
|
|
3850
3850
|
protoOf(GroupKey).toString = function () {
|
|
3851
|
-
return 'GroupKey(tableId=' + this.
|
|
3851
|
+
return 'GroupKey(tableId=' + this.x9x_1 + ', includePlayers=' + toString(this.y9x_1) + ', excludePlayers=' + toString(this.z9x_1) + ', deliveryType=' + this.a9y_1.toString() + ')';
|
|
3852
3852
|
};
|
|
3853
3853
|
protoOf(GroupKey).hashCode = function () {
|
|
3854
|
-
var result = getStringHashCode(this.
|
|
3855
|
-
result = imul(result, 31) + hashCode(this.
|
|
3856
|
-
result = imul(result, 31) + hashCode(this.
|
|
3857
|
-
result = imul(result, 31) + this.
|
|
3854
|
+
var result = getStringHashCode(this.x9x_1);
|
|
3855
|
+
result = imul(result, 31) + hashCode(this.y9x_1) | 0;
|
|
3856
|
+
result = imul(result, 31) + hashCode(this.z9x_1) | 0;
|
|
3857
|
+
result = imul(result, 31) + this.a9y_1.hashCode() | 0;
|
|
3858
3858
|
return result;
|
|
3859
3859
|
};
|
|
3860
3860
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -3862,35 +3862,35 @@
|
|
|
3862
3862
|
return true;
|
|
3863
3863
|
if (!(other instanceof GroupKey))
|
|
3864
3864
|
return false;
|
|
3865
|
-
if (!(this.
|
|
3865
|
+
if (!(this.x9x_1 === other.x9x_1))
|
|
3866
3866
|
return false;
|
|
3867
|
-
if (!equals(this.
|
|
3867
|
+
if (!equals(this.y9x_1, other.y9x_1))
|
|
3868
3868
|
return false;
|
|
3869
|
-
if (!equals(this.
|
|
3869
|
+
if (!equals(this.z9x_1, other.z9x_1))
|
|
3870
3870
|
return false;
|
|
3871
|
-
if (!this.
|
|
3871
|
+
if (!this.a9y_1.equals(other.a9y_1))
|
|
3872
3872
|
return false;
|
|
3873
3873
|
return true;
|
|
3874
3874
|
};
|
|
3875
3875
|
function Companion_4() {
|
|
3876
|
-
this.
|
|
3876
|
+
this.b9y_1 = 6;
|
|
3877
3877
|
}
|
|
3878
3878
|
var Companion_instance_12;
|
|
3879
3879
|
function Companion_getInstance_5() {
|
|
3880
3880
|
return Companion_instance_12;
|
|
3881
3881
|
}
|
|
3882
3882
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
3883
|
-
this.
|
|
3883
|
+
this.k9y_1 = this$0;
|
|
3884
3884
|
CoroutineImpl.call(this, resultContinuation);
|
|
3885
3885
|
}
|
|
3886
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3887
|
-
var tmp = this.
|
|
3886
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).m9y = function (actions, $completion) {
|
|
3887
|
+
var tmp = this.n9y(actions, $completion);
|
|
3888
3888
|
tmp.t8_1 = Unit_instance;
|
|
3889
3889
|
tmp.u8_1 = null;
|
|
3890
3890
|
return tmp.z8();
|
|
3891
3891
|
};
|
|
3892
3892
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).h9 = function (p1, $completion) {
|
|
3893
|
-
return this.
|
|
3893
|
+
return this.m9y((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
3894
3894
|
};
|
|
3895
3895
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).z8 = function () {
|
|
3896
3896
|
var suspendResult = this.t8_1;
|
|
@@ -3899,7 +3899,7 @@
|
|
|
3899
3899
|
var tmp = this.r8_1;
|
|
3900
3900
|
if (tmp === 0) {
|
|
3901
3901
|
this.s8_1 = 1;
|
|
3902
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
3902
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.k9y_1, this.l9y_1, null));
|
|
3903
3903
|
} else if (tmp === 1) {
|
|
3904
3904
|
throw this.u8_1;
|
|
3905
3905
|
}
|
|
@@ -3909,23 +3909,23 @@
|
|
|
3909
3909
|
}
|
|
3910
3910
|
while (true);
|
|
3911
3911
|
};
|
|
3912
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3913
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
3914
|
-
i.
|
|
3912
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).n9y = function (actions, completion) {
|
|
3913
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.k9y_1, completion);
|
|
3914
|
+
i.l9y_1 = actions;
|
|
3915
3915
|
return i;
|
|
3916
3916
|
};
|
|
3917
3917
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
3918
3918
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
3919
3919
|
var l = function (actions, $completion) {
|
|
3920
|
-
return i.
|
|
3920
|
+
return i.m9y(actions, $completion);
|
|
3921
3921
|
};
|
|
3922
3922
|
l.$arity = 1;
|
|
3923
3923
|
return l;
|
|
3924
3924
|
}
|
|
3925
3925
|
function $sentEventCOROUTINE$(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
3926
3926
|
CoroutineImpl.call(this, resultContinuation);
|
|
3927
|
-
this.
|
|
3928
|
-
this.
|
|
3927
|
+
this.w9y_1 = _this__u8e3s4;
|
|
3928
|
+
this.x9y_1 = fromEvent;
|
|
3929
3929
|
}
|
|
3930
3930
|
protoOf($sentEventCOROUTINE$).z8 = function () {
|
|
3931
3931
|
var suspendResult = this.t8_1;
|
|
@@ -3935,8 +3935,8 @@
|
|
|
3935
3935
|
switch (tmp) {
|
|
3936
3936
|
case 0:
|
|
3937
3937
|
this.s8_1 = 2;
|
|
3938
|
-
this.
|
|
3939
|
-
var tmp0 = this.
|
|
3938
|
+
this.w9y_1.v9x_1;
|
|
3939
|
+
var tmp0 = this.w9y_1.u9x_1;
|
|
3940
3940
|
l$ret$1: do {
|
|
3941
3941
|
while (true) {
|
|
3942
3942
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
@@ -3948,7 +3948,7 @@
|
|
|
3948
3948
|
}
|
|
3949
3949
|
while (false);
|
|
3950
3950
|
this.r8_1 = 1;
|
|
3951
|
-
suspendResult = this.
|
|
3951
|
+
suspendResult = this.w9y_1.w9x_1.n28(this.x9y_1, this);
|
|
3952
3952
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3953
3953
|
return suspendResult;
|
|
3954
3954
|
}
|
|
@@ -3972,7 +3972,7 @@
|
|
|
3972
3972
|
};
|
|
3973
3973
|
function $waitForCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
3974
3974
|
CoroutineImpl.call(this, resultContinuation);
|
|
3975
|
-
this.
|
|
3975
|
+
this.g9z_1 = _this__u8e3s4;
|
|
3976
3976
|
}
|
|
3977
3977
|
protoOf($waitForCOROUTINE$).z8 = function () {
|
|
3978
3978
|
var suspendResult = this.t8_1;
|
|
@@ -3982,12 +3982,12 @@
|
|
|
3982
3982
|
switch (tmp) {
|
|
3983
3983
|
case 0:
|
|
3984
3984
|
this.s8_1 = 5;
|
|
3985
|
-
this.
|
|
3986
|
-
this.
|
|
3985
|
+
this.g9z_1.v9x_1;
|
|
3986
|
+
this.h9z_1 = 0;
|
|
3987
3987
|
this.r8_1 = 1;
|
|
3988
3988
|
continue $sm;
|
|
3989
3989
|
case 1:
|
|
3990
|
-
if (!!(this.
|
|
3990
|
+
if (!!(this.g9z_1.u9x_1.kotlinx$atomicfu$value === 0)) {
|
|
3991
3991
|
this.r8_1 = 4;
|
|
3992
3992
|
continue $sm;
|
|
3993
3993
|
}
|
|
@@ -4000,9 +4000,9 @@
|
|
|
4000
4000
|
|
|
4001
4001
|
continue $sm;
|
|
4002
4002
|
case 2:
|
|
4003
|
-
this.
|
|
4004
|
-
if (this.
|
|
4005
|
-
this.
|
|
4003
|
+
this.h9z_1 = this.h9z_1 + 1 | 0;
|
|
4004
|
+
if (this.h9z_1 > 6) {
|
|
4005
|
+
this.g9z_1.s9x_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.g9z_1.u9x_1.kotlinx$atomicfu$value);
|
|
4006
4006
|
this.r8_1 = 4;
|
|
4007
4007
|
continue $sm;
|
|
4008
4008
|
} else {
|
|
@@ -4030,183 +4030,183 @@
|
|
|
4030
4030
|
while (true);
|
|
4031
4031
|
};
|
|
4032
4032
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
4033
|
-
this.
|
|
4034
|
-
this.
|
|
4035
|
-
this.
|
|
4036
|
-
this.
|
|
4033
|
+
this.r9x_1 = serverReduxConfig;
|
|
4034
|
+
this.s9x_1 = logger;
|
|
4035
|
+
this.t9x_1 = idsProvider;
|
|
4036
|
+
this.u9x_1 = atomic$ref$1(0);
|
|
4037
4037
|
var tmp = this;
|
|
4038
4038
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
4039
|
-
tmp.
|
|
4040
|
-
this.
|
|
4039
|
+
tmp.v9x_1 = get_atomicfu$reentrantLock();
|
|
4040
|
+
this.w9x_1 = MutableSharedFlow();
|
|
4041
4041
|
}
|
|
4042
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4042
|
+
protoOf(ToClientEventsObserverImpl).c9x = function (fromEvent, $completion) {
|
|
4043
4043
|
var tmp = new $sentEventCOROUTINE$(this, fromEvent, $completion);
|
|
4044
4044
|
tmp.t8_1 = Unit_instance;
|
|
4045
4045
|
tmp.u8_1 = null;
|
|
4046
4046
|
return tmp.z8();
|
|
4047
4047
|
};
|
|
4048
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4048
|
+
protoOf(ToClientEventsObserverImpl).x97 = function ($completion) {
|
|
4049
4049
|
var tmp = new $waitForCOROUTINE$(this, $completion);
|
|
4050
4050
|
tmp.t8_1 = Unit_instance;
|
|
4051
4051
|
tmp.u8_1 = null;
|
|
4052
4052
|
return tmp.z8();
|
|
4053
4053
|
};
|
|
4054
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4055
|
-
if (!this.
|
|
4056
|
-
return this.
|
|
4054
|
+
protoOf(ToClientEventsObserverImpl).q9n = function () {
|
|
4055
|
+
if (!this.r9x_1.enabledCombinedEvents) {
|
|
4056
|
+
return this.w9x_1;
|
|
4057
4057
|
}
|
|
4058
|
-
var tmp = windowedByInterval(this.
|
|
4058
|
+
var tmp = windowedByInterval(this.w9x_1, fromInt(this.r9x_1.combinedEventsIntervalMillis));
|
|
4059
4059
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
4060
4060
|
};
|
|
4061
4061
|
function UpdateServerConfigAction(serverConfig) {
|
|
4062
|
-
this.
|
|
4062
|
+
this.i9z_1 = serverConfig;
|
|
4063
4063
|
}
|
|
4064
4064
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
4065
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
4065
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.i9z_1.toString() + ')';
|
|
4066
4066
|
};
|
|
4067
4067
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
4068
|
-
return this.
|
|
4068
|
+
return this.i9z_1.hashCode();
|
|
4069
4069
|
};
|
|
4070
4070
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
4071
4071
|
if (this === other)
|
|
4072
4072
|
return true;
|
|
4073
4073
|
if (!(other instanceof UpdateServerConfigAction))
|
|
4074
4074
|
return false;
|
|
4075
|
-
if (!this.
|
|
4075
|
+
if (!this.i9z_1.equals(other.i9z_1))
|
|
4076
4076
|
return false;
|
|
4077
4077
|
return true;
|
|
4078
4078
|
};
|
|
4079
4079
|
function SpectatorsAction() {
|
|
4080
4080
|
}
|
|
4081
4081
|
function AddSpectatorsAction(spectators) {
|
|
4082
|
-
this.
|
|
4082
|
+
this.j9z_1 = spectators;
|
|
4083
4083
|
}
|
|
4084
4084
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
4085
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
4085
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.j9z_1) + ')';
|
|
4086
4086
|
};
|
|
4087
4087
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
4088
|
-
return hashCode(this.
|
|
4088
|
+
return hashCode(this.j9z_1);
|
|
4089
4089
|
};
|
|
4090
4090
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
4091
4091
|
if (this === other)
|
|
4092
4092
|
return true;
|
|
4093
4093
|
if (!(other instanceof AddSpectatorsAction))
|
|
4094
4094
|
return false;
|
|
4095
|
-
if (!equals(this.
|
|
4095
|
+
if (!equals(this.j9z_1, other.j9z_1))
|
|
4096
4096
|
return false;
|
|
4097
4097
|
return true;
|
|
4098
4098
|
};
|
|
4099
4099
|
function RemoveSpectatorsAction(spectators) {
|
|
4100
|
-
this.
|
|
4100
|
+
this.k9z_1 = spectators;
|
|
4101
4101
|
}
|
|
4102
4102
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
4103
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
4103
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.k9z_1) + ')';
|
|
4104
4104
|
};
|
|
4105
4105
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
4106
|
-
return hashCode(this.
|
|
4106
|
+
return hashCode(this.k9z_1);
|
|
4107
4107
|
};
|
|
4108
4108
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
4109
4109
|
if (this === other)
|
|
4110
4110
|
return true;
|
|
4111
4111
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
4112
4112
|
return false;
|
|
4113
|
-
if (!equals(this.
|
|
4113
|
+
if (!equals(this.k9z_1, other.k9z_1))
|
|
4114
4114
|
return false;
|
|
4115
4115
|
return true;
|
|
4116
4116
|
};
|
|
4117
4117
|
function _get_asyncProvider__jbpyhw($this) {
|
|
4118
|
-
var tmp0 = $this.
|
|
4118
|
+
var tmp0 = $this.q9z_1;
|
|
4119
4119
|
var tmp = KProperty1;
|
|
4120
4120
|
// Inline function 'kotlin.getValue' call
|
|
4121
4121
|
getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
|
|
4122
4122
|
return tmp0.w();
|
|
4123
4123
|
}
|
|
4124
4124
|
function _get_logger__rkp4sl($this) {
|
|
4125
|
-
var tmp0 = $this.
|
|
4125
|
+
var tmp0 = $this.r9z_1;
|
|
4126
4126
|
var tmp = KProperty1;
|
|
4127
4127
|
// Inline function 'kotlin.getValue' call
|
|
4128
4128
|
getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
|
|
4129
4129
|
return tmp0.w();
|
|
4130
4130
|
}
|
|
4131
4131
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
4132
|
-
var tmp0 = $this.
|
|
4132
|
+
var tmp0 = $this.s9z_1;
|
|
4133
4133
|
var tmp = KProperty1;
|
|
4134
4134
|
// Inline function 'kotlin.getValue' call
|
|
4135
4135
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
|
|
4136
4136
|
return tmp0.w();
|
|
4137
4137
|
}
|
|
4138
4138
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
4139
|
-
var tmp0 = $this.
|
|
4139
|
+
var tmp0 = $this.t9z_1;
|
|
4140
4140
|
var tmp = KProperty1;
|
|
4141
4141
|
// Inline function 'kotlin.getValue' call
|
|
4142
4142
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
|
|
4143
4143
|
return tmp0.w();
|
|
4144
4144
|
}
|
|
4145
4145
|
function _get_serverConfig__rk2g06($this) {
|
|
4146
|
-
var tmp0 = $this.
|
|
4146
|
+
var tmp0 = $this.u9z_1;
|
|
4147
4147
|
var tmp = KProperty1;
|
|
4148
4148
|
// Inline function 'kotlin.getValue' call
|
|
4149
4149
|
getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
|
|
4150
4150
|
return tmp0.w();
|
|
4151
4151
|
}
|
|
4152
4152
|
function _get_logicConfig__52ww9d($this) {
|
|
4153
|
-
var tmp0 = $this.
|
|
4153
|
+
var tmp0 = $this.v9z_1;
|
|
4154
4154
|
var tmp = KProperty1;
|
|
4155
4155
|
// Inline function 'kotlin.getValue' call
|
|
4156
4156
|
getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
|
|
4157
4157
|
return tmp0.w();
|
|
4158
4158
|
}
|
|
4159
4159
|
function _get_idsProvider__fnfajc_0($this) {
|
|
4160
|
-
var tmp0 = $this.
|
|
4160
|
+
var tmp0 = $this.w9z_1;
|
|
4161
4161
|
var tmp = KProperty1;
|
|
4162
4162
|
// Inline function 'kotlin.getValue' call
|
|
4163
4163
|
getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
|
|
4164
4164
|
return tmp0.w();
|
|
4165
4165
|
}
|
|
4166
4166
|
function _get_botConfig__cpaxzc($this) {
|
|
4167
|
-
var tmp0 = $this.
|
|
4167
|
+
var tmp0 = $this.x9z_1;
|
|
4168
4168
|
var tmp = KProperty1;
|
|
4169
4169
|
// Inline function 'kotlin.getValue' call
|
|
4170
4170
|
getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
|
|
4171
4171
|
return tmp0.w();
|
|
4172
4172
|
}
|
|
4173
4173
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
4174
|
-
var tmp0 = $this.
|
|
4174
|
+
var tmp0 = $this.y9z_1;
|
|
4175
4175
|
var tmp = KProperty1;
|
|
4176
4176
|
// Inline function 'kotlin.getValue' call
|
|
4177
4177
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
|
|
4178
4178
|
return tmp0.w();
|
|
4179
4179
|
}
|
|
4180
4180
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
4181
|
-
var tmp0 = $this.
|
|
4181
|
+
var tmp0 = $this.z9z_1;
|
|
4182
4182
|
var tmp = KProperty1;
|
|
4183
4183
|
// Inline function 'kotlin.getValue' call
|
|
4184
4184
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
|
|
4185
4185
|
return tmp0.w();
|
|
4186
4186
|
}
|
|
4187
4187
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
4188
|
-
var tmp0 = $this.
|
|
4188
|
+
var tmp0 = $this.aa0_1;
|
|
4189
4189
|
var tmp = KProperty1;
|
|
4190
4190
|
// Inline function 'kotlin.getValue' call
|
|
4191
4191
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
|
|
4192
4192
|
return tmp0.w();
|
|
4193
4193
|
}
|
|
4194
4194
|
function _get_dealerConfig__183ci8($this) {
|
|
4195
|
-
var tmp0 = $this.
|
|
4195
|
+
var tmp0 = $this.ba0_1;
|
|
4196
4196
|
var tmp = KProperty1;
|
|
4197
4197
|
// Inline function 'kotlin.getValue' call
|
|
4198
4198
|
getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
|
|
4199
4199
|
return tmp0.w();
|
|
4200
4200
|
}
|
|
4201
4201
|
function _get_poolProvider__tqti6a($this) {
|
|
4202
|
-
var tmp0 = $this.
|
|
4202
|
+
var tmp0 = $this.ca0_1;
|
|
4203
4203
|
var tmp = KProperty1;
|
|
4204
4204
|
// Inline function 'kotlin.getValue' call
|
|
4205
4205
|
getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
|
|
4206
4206
|
return tmp0.w();
|
|
4207
4207
|
}
|
|
4208
4208
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
4209
|
-
var tmp0 = $this.
|
|
4209
|
+
var tmp0 = $this.da0_1;
|
|
4210
4210
|
var tmp = KProperty1;
|
|
4211
4211
|
// Inline function 'kotlin.getValue' call
|
|
4212
4212
|
getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
|
|
@@ -4370,11 +4370,11 @@
|
|
|
4370
4370
|
tmp = fileLoggerStoreContract;
|
|
4371
4371
|
}
|
|
4372
4372
|
fileLoggerStoreContract = tmp;
|
|
4373
|
-
this.
|
|
4374
|
-
this.
|
|
4375
|
-
this.
|
|
4376
|
-
this.
|
|
4377
|
-
this.
|
|
4373
|
+
this.l9z_1 = validationStoreContract;
|
|
4374
|
+
this.m9z_1 = timersStoreContract;
|
|
4375
|
+
this.n9z_1 = botGameStoreContract;
|
|
4376
|
+
this.o9z_1 = gameMechanicStoreContract;
|
|
4377
|
+
this.p9z_1 = fileLoggerStoreContract;
|
|
4378
4378
|
var tmp_0 = this;
|
|
4379
4379
|
// Inline function 'org.kodein.di.instance' call
|
|
4380
4380
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4382,7 +4382,7 @@
|
|
|
4382
4382
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
4383
4383
|
var tmp_2 = Instance(di, tmp$ret$0, null);
|
|
4384
4384
|
var tmp_3 = KProperty1;
|
|
4385
|
-
tmp_0.
|
|
4385
|
+
tmp_0.q9z_1 = tmp_2.w64(this, getPropertyCallableRef('asyncProvider', 1, tmp_3, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
|
|
4386
4386
|
var tmp_4 = this;
|
|
4387
4387
|
// Inline function 'org.kodein.di.instance' call
|
|
4388
4388
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4390,7 +4390,7 @@
|
|
|
4390
4390
|
var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
4391
4391
|
var tmp_6 = Instance(di, tmp$ret$2, null);
|
|
4392
4392
|
var tmp_7 = KProperty1;
|
|
4393
|
-
tmp_4.
|
|
4393
|
+
tmp_4.r9z_1 = tmp_6.w64(this, getPropertyCallableRef('logger', 1, tmp_7, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
|
|
4394
4394
|
var tmp_8 = this;
|
|
4395
4395
|
// Inline function 'org.kodein.di.instance' call
|
|
4396
4396
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4398,7 +4398,7 @@
|
|
|
4398
4398
|
var tmp$ret$4 = isInterface(tmp_9, TypeToken) ? tmp_9 : THROW_CCE();
|
|
4399
4399
|
var tmp_10 = Instance(di, tmp$ret$4, null);
|
|
4400
4400
|
var tmp_11 = KProperty1;
|
|
4401
|
-
tmp_8.
|
|
4401
|
+
tmp_8.s9z_1 = tmp_10.w64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_11, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
|
|
4402
4402
|
var tmp_12 = this;
|
|
4403
4403
|
// Inline function 'org.kodein.di.instance' call
|
|
4404
4404
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4406,7 +4406,7 @@
|
|
|
4406
4406
|
var tmp$ret$6 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
4407
4407
|
var tmp_14 = Instance(di, tmp$ret$6, null);
|
|
4408
4408
|
var tmp_15 = KProperty1;
|
|
4409
|
-
tmp_12.
|
|
4409
|
+
tmp_12.t9z_1 = tmp_14.w64(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_15, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
|
|
4410
4410
|
var tmp_16 = this;
|
|
4411
4411
|
// Inline function 'org.kodein.di.instance' call
|
|
4412
4412
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4414,7 +4414,7 @@
|
|
|
4414
4414
|
var tmp$ret$8 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
4415
4415
|
var tmp_18 = Instance(di, tmp$ret$8, null);
|
|
4416
4416
|
var tmp_19 = KProperty1;
|
|
4417
|
-
tmp_16.
|
|
4417
|
+
tmp_16.u9z_1 = tmp_18.w64(this, getPropertyCallableRef('serverConfig', 1, tmp_19, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
|
|
4418
4418
|
var tmp_20 = this;
|
|
4419
4419
|
// Inline function 'org.kodein.di.instance' call
|
|
4420
4420
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4422,7 +4422,7 @@
|
|
|
4422
4422
|
var tmp$ret$10 = isInterface(tmp_21, TypeToken) ? tmp_21 : THROW_CCE();
|
|
4423
4423
|
var tmp_22 = Instance(di, tmp$ret$10, null);
|
|
4424
4424
|
var tmp_23 = KProperty1;
|
|
4425
|
-
tmp_20.
|
|
4425
|
+
tmp_20.v9z_1 = tmp_22.w64(this, getPropertyCallableRef('logicConfig', 1, tmp_23, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
|
|
4426
4426
|
var tmp_24 = this;
|
|
4427
4427
|
// Inline function 'org.kodein.di.instance' call
|
|
4428
4428
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4430,7 +4430,7 @@
|
|
|
4430
4430
|
var tmp$ret$12 = isInterface(tmp_25, TypeToken) ? tmp_25 : THROW_CCE();
|
|
4431
4431
|
var tmp_26 = Instance(di, tmp$ret$12, null);
|
|
4432
4432
|
var tmp_27 = KProperty1;
|
|
4433
|
-
tmp_24.
|
|
4433
|
+
tmp_24.w9z_1 = tmp_26.w64(this, getPropertyCallableRef('idsProvider', 1, tmp_27, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
|
|
4434
4434
|
var tmp_28 = this;
|
|
4435
4435
|
// Inline function 'org.kodein.di.instance' call
|
|
4436
4436
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4438,7 +4438,7 @@
|
|
|
4438
4438
|
var tmp$ret$14 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
|
|
4439
4439
|
var tmp_30 = Instance(di, tmp$ret$14, null);
|
|
4440
4440
|
var tmp_31 = KProperty1;
|
|
4441
|
-
tmp_28.
|
|
4441
|
+
tmp_28.x9z_1 = tmp_30.w64(this, getPropertyCallableRef('botConfig', 1, tmp_31, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
|
|
4442
4442
|
var tmp_32 = this;
|
|
4443
4443
|
// Inline function 'org.kodein.di.instance' call
|
|
4444
4444
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4446,7 +4446,7 @@
|
|
|
4446
4446
|
var tmp$ret$16 = isInterface(tmp_33, TypeToken) ? tmp_33 : THROW_CCE();
|
|
4447
4447
|
var tmp_34 = Instance(di, tmp$ret$16, null);
|
|
4448
4448
|
var tmp_35 = KProperty1;
|
|
4449
|
-
tmp_32.
|
|
4449
|
+
tmp_32.y9z_1 = tmp_34.w64(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_35, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
|
|
4450
4450
|
var tmp_36 = this;
|
|
4451
4451
|
// Inline function 'org.kodein.di.instance' call
|
|
4452
4452
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4454,7 +4454,7 @@
|
|
|
4454
4454
|
var tmp$ret$18 = isInterface(tmp_37, TypeToken) ? tmp_37 : THROW_CCE();
|
|
4455
4455
|
var tmp_38 = Instance(di, tmp$ret$18, null);
|
|
4456
4456
|
var tmp_39 = KProperty1;
|
|
4457
|
-
tmp_36.
|
|
4457
|
+
tmp_36.z9z_1 = tmp_38.w64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_39, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
|
|
4458
4458
|
var tmp_40 = this;
|
|
4459
4459
|
// Inline function 'org.kodein.di.instance' call
|
|
4460
4460
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4462,7 +4462,7 @@
|
|
|
4462
4462
|
var tmp$ret$20 = isInterface(tmp_41, TypeToken) ? tmp_41 : THROW_CCE();
|
|
4463
4463
|
var tmp_42 = Instance(di, tmp$ret$20, null);
|
|
4464
4464
|
var tmp_43 = KProperty1;
|
|
4465
|
-
tmp_40.
|
|
4465
|
+
tmp_40.aa0_1 = tmp_42.w64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_43, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
|
|
4466
4466
|
var tmp_44 = this;
|
|
4467
4467
|
// Inline function 'org.kodein.di.instance' call
|
|
4468
4468
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4470,7 +4470,7 @@
|
|
|
4470
4470
|
var tmp$ret$22 = isInterface(tmp_45, TypeToken) ? tmp_45 : THROW_CCE();
|
|
4471
4471
|
var tmp_46 = Instance(di, tmp$ret$22, null);
|
|
4472
4472
|
var tmp_47 = KProperty1;
|
|
4473
|
-
tmp_44.
|
|
4473
|
+
tmp_44.ba0_1 = tmp_46.w64(this, getPropertyCallableRef('dealerConfig', 1, tmp_47, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
|
|
4474
4474
|
var tmp_48 = this;
|
|
4475
4475
|
// Inline function 'org.kodein.di.instance' call
|
|
4476
4476
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4478,7 +4478,7 @@
|
|
|
4478
4478
|
var tmp$ret$24 = isInterface(tmp_49, TypeToken) ? tmp_49 : THROW_CCE();
|
|
4479
4479
|
var tmp_50 = Instance(di, tmp$ret$24, null);
|
|
4480
4480
|
var tmp_51 = KProperty1;
|
|
4481
|
-
tmp_48.
|
|
4481
|
+
tmp_48.ca0_1 = tmp_50.w64(this, getPropertyCallableRef('poolProvider', 1, tmp_51, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
|
|
4482
4482
|
var tmp_52 = this;
|
|
4483
4483
|
// Inline function 'org.kodein.di.instance' call
|
|
4484
4484
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4486,13 +4486,13 @@
|
|
|
4486
4486
|
var tmp$ret$26 = isInterface(tmp_53, TypeToken) ? tmp_53 : THROW_CCE();
|
|
4487
4487
|
var tmp_54 = Instance(di, tmp$ret$26, null);
|
|
4488
4488
|
var tmp_55 = KProperty1;
|
|
4489
|
-
tmp_52.
|
|
4489
|
+
tmp_52.da0_1 = tmp_54.w64(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_55, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
|
|
4490
4490
|
}
|
|
4491
|
-
protoOf(ServerGameStoreContract).
|
|
4492
|
-
return plus(plus(plus(plus(plus(this.
|
|
4491
|
+
protoOf(ServerGameStoreContract).o8y = function () {
|
|
4492
|
+
return plus(plus(plus(plus(plus(this.l9z_1.o8y(), this.o9z_1.o8y()), this.m9z_1.o8y()), this.n9z_1.o8y()), this.p9z_1.o8y()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl(this))]));
|
|
4493
4493
|
};
|
|
4494
|
-
protoOf(ServerGameStoreContract).
|
|
4495
|
-
var tmp = plus(plus(plus(plus(plus(plus(plus(this.
|
|
4494
|
+
protoOf(ServerGameStoreContract).p8y = function () {
|
|
4495
|
+
var tmp = plus(plus(plus(plus(plus(plus(plus(this.l9z_1.p8y(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameWhenNotLiveStrategy.equals(FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance()) ? checkBotsMiddleware(_get_logger__rkp4sl(this)) : null)), this.o9z_1.p8y()), this.m9z_1.p8y()), this.n9z_1.p8y()), this.p9z_1.p8y()), 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))).v90(), finishingGameWhenCantStartNewMiddleware()]));
|
|
4496
4496
|
var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this), _get_logger__rkp4sl(this));
|
|
4497
4497
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
4498
4498
|
var tmp1_logger = _get_logger__rkp4sl(this);
|
|
@@ -4543,7 +4543,7 @@
|
|
|
4543
4543
|
return this.p6h(store, next, action);
|
|
4544
4544
|
};
|
|
4545
4545
|
function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
|
|
4546
|
-
this.
|
|
4546
|
+
this.ga0_1 = this$0;
|
|
4547
4547
|
}
|
|
4548
4548
|
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).a6g = function (action) {
|
|
4549
4549
|
return action instanceof MechanicAction;
|
|
@@ -4554,11 +4554,11 @@
|
|
|
4554
4554
|
// Inline function 'kotlin.with' call
|
|
4555
4555
|
var tmp;
|
|
4556
4556
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
4557
|
-
var tmp0 = this.
|
|
4558
|
-
var tmp2 = action_0.
|
|
4559
|
-
var tmp4 = action_0.
|
|
4557
|
+
var tmp0 = this.ga0_1;
|
|
4558
|
+
var tmp2 = action_0.a8v_1;
|
|
4559
|
+
var tmp4 = action_0.c8v_1;
|
|
4560
4560
|
// Inline function 'kotlin.collections.map' call
|
|
4561
|
-
var this_0 = action_0.
|
|
4561
|
+
var this_0 = action_0.d8v_1;
|
|
4562
4562
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4563
4563
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
4564
4564
|
var _iterator__ex2g4s = this_0.l();
|
|
@@ -4594,7 +4594,7 @@
|
|
|
4594
4594
|
var _iterator__ex2g4s_2 = destination_1.l();
|
|
4595
4595
|
while (_iterator__ex2g4s_2.m()) {
|
|
4596
4596
|
var element_0 = _iterator__ex2g4s_2.n();
|
|
4597
|
-
var tmp0_aid = tmp0.
|
|
4597
|
+
var tmp0_aid = tmp0.fa0_1.c6e();
|
|
4598
4598
|
// Inline function 'kotlin.collections.map' call
|
|
4599
4599
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4600
4600
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -4616,16 +4616,16 @@
|
|
|
4616
4616
|
tmp = destination_2;
|
|
4617
4617
|
} else {
|
|
4618
4618
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
4619
|
-
var tmp0_0 = this.
|
|
4619
|
+
var tmp0_0 = this.ga0_1;
|
|
4620
4620
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4621
4621
|
var table = state.t6n();
|
|
4622
|
-
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.
|
|
4622
|
+
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.fa0_1.c6e(), table.id, null);
|
|
4623
4623
|
var tmp$ret$21 = mapToClient_16(action_0, sendToPlayer_0);
|
|
4624
4624
|
tmp = listOfNotNull(tmp$ret$21);
|
|
4625
4625
|
} else {
|
|
4626
4626
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
4627
|
-
var tmp0_1 = this.
|
|
4628
|
-
var tmp2_0 = action_0.
|
|
4627
|
+
var tmp0_1 = this.ga0_1;
|
|
4628
|
+
var tmp2_0 = action_0.g8v_1.id;
|
|
4629
4629
|
var tmp4_0 = action_0.gameCreatorPlayerId;
|
|
4630
4630
|
// Inline function 'kotlin.collections.map' call
|
|
4631
4631
|
var this_1 = action_0.users;
|
|
@@ -4664,7 +4664,7 @@
|
|
|
4664
4664
|
var _iterator__ex2g4s_7 = destination_6.l();
|
|
4665
4665
|
while (_iterator__ex2g4s_7.m()) {
|
|
4666
4666
|
var element_2 = _iterator__ex2g4s_7.n();
|
|
4667
|
-
var tmp0_aid_0 = tmp0_1.
|
|
4667
|
+
var tmp0_aid_0 = tmp0_1.fa0_1.c6e();
|
|
4668
4668
|
// Inline function 'kotlin.collections.map' call
|
|
4669
4669
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4670
4670
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -4686,39 +4686,39 @@
|
|
|
4686
4686
|
tmp = destination_7;
|
|
4687
4687
|
} else {
|
|
4688
4688
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
4689
|
-
var tmp0_2 = this.
|
|
4689
|
+
var tmp0_2 = this.ga0_1;
|
|
4690
4690
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4691
4691
|
var table_0 = state.t6n();
|
|
4692
|
-
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.
|
|
4692
|
+
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.fa0_1.c6e(), table_0.id, null);
|
|
4693
4693
|
var tmp$ret$44 = mapToClient_14(action_0, sendToPlayer_2);
|
|
4694
4694
|
tmp = listOfNotNull(tmp$ret$44);
|
|
4695
4695
|
} else {
|
|
4696
4696
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
4697
|
-
var tmp0_3 = this.
|
|
4697
|
+
var tmp0_3 = this.ga0_1;
|
|
4698
4698
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4699
4699
|
var table_1 = state.t6n();
|
|
4700
|
-
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.
|
|
4700
|
+
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.fa0_1.c6e(), table_1.id, null);
|
|
4701
4701
|
var tmp$ret$46 = mapToClient_13(action_0, sendToPlayer_3);
|
|
4702
4702
|
tmp = listOfNotNull(tmp$ret$46);
|
|
4703
4703
|
} else {
|
|
4704
4704
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
4705
|
-
var tmp0_4 = this.
|
|
4705
|
+
var tmp0_4 = this.ga0_1;
|
|
4706
4706
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4707
4707
|
var table_2 = state.t6n();
|
|
4708
|
-
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.
|
|
4708
|
+
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.fa0_1.c6e(), table_2.id, null);
|
|
4709
4709
|
var tmp$ret$48 = mapToClient_12(action_0, sendToPlayer_4);
|
|
4710
4710
|
tmp = listOfNotNull(tmp$ret$48);
|
|
4711
4711
|
} else {
|
|
4712
4712
|
if (action_0 instanceof ErrorAction) {
|
|
4713
|
-
var tmp0_5 = this.
|
|
4713
|
+
var tmp0_5 = this.ga0_1;
|
|
4714
4714
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4715
4715
|
var table_3 = state.t6n();
|
|
4716
|
-
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.
|
|
4716
|
+
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.fa0_1.c6e(), table_3.id, null);
|
|
4717
4717
|
var tmp$ret$50 = mapToClient_11(action_0, sendToPlayer_5);
|
|
4718
4718
|
tmp = listOfNotNull(tmp$ret$50);
|
|
4719
4719
|
} else {
|
|
4720
4720
|
if (action_0 instanceof SceneMechanicAction) {
|
|
4721
|
-
var tmp0_6 = this.
|
|
4721
|
+
var tmp0_6 = this.ga0_1;
|
|
4722
4722
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4723
4723
|
var table_4 = state.t6n();
|
|
4724
4724
|
var tmp2_1 = table_4.id;
|
|
@@ -4751,7 +4751,7 @@
|
|
|
4751
4751
|
var _iterator__ex2g4s_11 = destination_10.l();
|
|
4752
4752
|
while (_iterator__ex2g4s_11.m()) {
|
|
4753
4753
|
var element_4 = _iterator__ex2g4s_11.n();
|
|
4754
|
-
var tmp0_aid_1 = tmp0_6.
|
|
4754
|
+
var tmp0_aid_1 = tmp0_6.fa0_1.c6e();
|
|
4755
4755
|
// Inline function 'kotlin.collections.map' call
|
|
4756
4756
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4757
4757
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -4773,7 +4773,7 @@
|
|
|
4773
4773
|
tmp = destination_11;
|
|
4774
4774
|
} else {
|
|
4775
4775
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
4776
|
-
var tmp0_7 = this.
|
|
4776
|
+
var tmp0_7 = this.ga0_1;
|
|
4777
4777
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4778
4778
|
var table_5 = state.t6n();
|
|
4779
4779
|
var tmp2_2 = table_5.id;
|
|
@@ -4806,7 +4806,7 @@
|
|
|
4806
4806
|
var _iterator__ex2g4s_15 = destination_14.l();
|
|
4807
4807
|
while (_iterator__ex2g4s_15.m()) {
|
|
4808
4808
|
var element_6 = _iterator__ex2g4s_15.n();
|
|
4809
|
-
var tmp0_aid_2 = tmp0_7.
|
|
4809
|
+
var tmp0_aid_2 = tmp0_7.fa0_1.c6e();
|
|
4810
4810
|
// Inline function 'kotlin.collections.map' call
|
|
4811
4811
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4812
4812
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -4828,7 +4828,7 @@
|
|
|
4828
4828
|
tmp = destination_15;
|
|
4829
4829
|
} else {
|
|
4830
4830
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
4831
|
-
var tmp0_8 = this.
|
|
4831
|
+
var tmp0_8 = this.ga0_1;
|
|
4832
4832
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4833
4833
|
var table_6 = state.t6n();
|
|
4834
4834
|
var tmp2_3 = table_6.id;
|
|
@@ -4861,7 +4861,7 @@
|
|
|
4861
4861
|
var _iterator__ex2g4s_19 = destination_18.l();
|
|
4862
4862
|
while (_iterator__ex2g4s_19.m()) {
|
|
4863
4863
|
var element_8 = _iterator__ex2g4s_19.n();
|
|
4864
|
-
var tmp0_aid_3 = tmp0_8.
|
|
4864
|
+
var tmp0_aid_3 = tmp0_8.fa0_1.c6e();
|
|
4865
4865
|
// Inline function 'kotlin.collections.map' call
|
|
4866
4866
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4867
4867
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -4873,7 +4873,7 @@
|
|
|
4873
4873
|
}
|
|
4874
4874
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_3, tmp4_3, element_8, destination_20);
|
|
4875
4875
|
var tmp_0;
|
|
4876
|
-
if (this.
|
|
4876
|
+
if (this.ga0_1.ea0_1.supportBackwardActions && getPlayer(state.t6n().players, sendToPlayer_8.k7b_1).a6r_1.p6u_1) {
|
|
4877
4877
|
tmp_0 = null;
|
|
4878
4878
|
} else {
|
|
4879
4879
|
tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
|
|
@@ -4889,72 +4889,72 @@
|
|
|
4889
4889
|
tmp = destination_19;
|
|
4890
4890
|
} else {
|
|
4891
4891
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
4892
|
-
var tmp0_9 = this.
|
|
4892
|
+
var tmp0_9 = this.ga0_1;
|
|
4893
4893
|
var tmp2_4 = state.t6n();
|
|
4894
4894
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4895
|
-
var exceptPlayerId = this.
|
|
4896
|
-
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.
|
|
4895
|
+
var exceptPlayerId = this.ga0_1.ea0_1.supportBackwardActions ? action_0.b8w_1 : null;
|
|
4896
|
+
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.fa0_1.c6e(), tmp2_4.id, exceptPlayerId);
|
|
4897
4897
|
var tmp$ret$109 = mapToClient_7(action_0, sendToPlayer_9);
|
|
4898
4898
|
tmp = listOfNotNull(tmp$ret$109);
|
|
4899
4899
|
} else {
|
|
4900
4900
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
4901
|
-
var tmp0_10 = this.
|
|
4901
|
+
var tmp0_10 = this.ga0_1;
|
|
4902
4902
|
var tmp2_5 = state.t6n();
|
|
4903
4903
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4904
|
-
var exceptPlayerId_0 = this.
|
|
4905
|
-
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.
|
|
4904
|
+
var exceptPlayerId_0 = this.ga0_1.ea0_1.supportBackwardActions ? action_0.d8r_1 : null;
|
|
4905
|
+
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.fa0_1.c6e(), tmp2_5.id, exceptPlayerId_0);
|
|
4906
4906
|
var tmp$ret$111 = mapToClient_6(action_0, sendToPlayer_10);
|
|
4907
4907
|
tmp = listOfNotNull(tmp$ret$111);
|
|
4908
4908
|
} else {
|
|
4909
4909
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
4910
|
-
var tmp0_11 = this.
|
|
4910
|
+
var tmp0_11 = this.ga0_1;
|
|
4911
4911
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4912
4912
|
var table_7 = state.t6n();
|
|
4913
|
-
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.
|
|
4913
|
+
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.fa0_1.c6e(), table_7.id, null);
|
|
4914
4914
|
var tmp$ret$113 = mapToClient_5(action_0, sendToPlayer_11);
|
|
4915
4915
|
tmp = listOfNotNull(tmp$ret$113);
|
|
4916
4916
|
} else {
|
|
4917
4917
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
4918
|
-
var tmp0_12 = this.
|
|
4918
|
+
var tmp0_12 = this.ga0_1;
|
|
4919
4919
|
var tmp2_6 = state.t6n();
|
|
4920
4920
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4921
|
-
var exceptPlayerId_1 = this.
|
|
4922
|
-
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.
|
|
4921
|
+
var exceptPlayerId_1 = this.ga0_1.ea0_1.supportBackwardActions ? action_0.h8w_1 : null;
|
|
4922
|
+
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.fa0_1.c6e(), tmp2_6.id, exceptPlayerId_1);
|
|
4923
4923
|
var tmp$ret$115 = mapToClient_4(action_0, sendToPlayer_12);
|
|
4924
4924
|
tmp = listOfNotNull(tmp$ret$115);
|
|
4925
4925
|
} else {
|
|
4926
4926
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
4927
|
-
var tmp0_13 = this.
|
|
4927
|
+
var tmp0_13 = this.ga0_1;
|
|
4928
4928
|
var tmp2_7 = state.t6n();
|
|
4929
4929
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4930
|
-
var exceptPlayerId_2 = this.
|
|
4931
|
-
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.
|
|
4930
|
+
var exceptPlayerId_2 = this.ga0_1.ea0_1.supportBackwardActions ? action_0.i8r_1 : null;
|
|
4931
|
+
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.fa0_1.c6e(), tmp2_7.id, exceptPlayerId_2);
|
|
4932
4932
|
var tmp$ret$117 = mapToClient_3(action_0, sendToPlayer_13);
|
|
4933
4933
|
tmp = listOfNotNull(tmp$ret$117);
|
|
4934
4934
|
} else {
|
|
4935
4935
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
4936
|
-
var tmp0_14 = this.
|
|
4936
|
+
var tmp0_14 = this.ga0_1;
|
|
4937
4937
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4938
4938
|
var table_8 = state.t6n();
|
|
4939
|
-
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.
|
|
4939
|
+
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.fa0_1.c6e(), table_8.id, null);
|
|
4940
4940
|
var tmp$ret$119 = mapToClient_2(action_0, sendToPlayer_14);
|
|
4941
4941
|
tmp = listOfNotNull(tmp$ret$119);
|
|
4942
4942
|
} else {
|
|
4943
4943
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
4944
|
-
var tmp0_15 = this.
|
|
4944
|
+
var tmp0_15 = this.ga0_1;
|
|
4945
4945
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4946
4946
|
var table_9 = state.t6n();
|
|
4947
|
-
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.
|
|
4947
|
+
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.fa0_1.c6e(), table_9.id, null);
|
|
4948
4948
|
var tmp$ret$121 = mapToClient_1(action_0, sendToPlayer_15);
|
|
4949
4949
|
tmp = listOfNotNull(tmp$ret$121);
|
|
4950
4950
|
} else {
|
|
4951
4951
|
if (action_0 instanceof MessageMechanicAction) {
|
|
4952
|
-
var message = action_0.
|
|
4953
|
-
var tmp0_16 = this.
|
|
4952
|
+
var message = action_0.l8w_1;
|
|
4953
|
+
var tmp0_16 = this.ga0_1;
|
|
4954
4954
|
var tmp2_8 = state.t6n();
|
|
4955
4955
|
var tmp_1;
|
|
4956
4956
|
var tmp_2;
|
|
4957
|
-
if (this.
|
|
4957
|
+
if (this.ga0_1.ea0_1.supportBackwardActions) {
|
|
4958
4958
|
tmp_2 = isInterface(message, UserMessage);
|
|
4959
4959
|
} else {
|
|
4960
4960
|
tmp_2 = false;
|
|
@@ -4966,16 +4966,16 @@
|
|
|
4966
4966
|
}
|
|
4967
4967
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4968
4968
|
var exceptPlayerId_3 = tmp_1;
|
|
4969
|
-
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.
|
|
4969
|
+
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.fa0_1.c6e(), tmp2_8.id, exceptPlayerId_3);
|
|
4970
4970
|
var tmp$ret$123 = mapToClient_0(action_0, sendToPlayer_16);
|
|
4971
4971
|
tmp = listOfNotNull(tmp$ret$123);
|
|
4972
4972
|
} else {
|
|
4973
4973
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
4974
|
-
var tmp0_17 = this.
|
|
4974
|
+
var tmp0_17 = this.ga0_1;
|
|
4975
4975
|
var tmp2_9 = state.t6n();
|
|
4976
4976
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4977
4977
|
var exceptPlayerId_4 = action_0.playerId;
|
|
4978
|
-
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.
|
|
4978
|
+
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.fa0_1.c6e(), tmp2_9.id, exceptPlayerId_4);
|
|
4979
4979
|
var tmp$ret$125 = mapToClient(action_0, sendToPlayer_17);
|
|
4980
4980
|
tmp = listOfNotNull(tmp$ret$125);
|
|
4981
4981
|
} else {
|
|
@@ -5012,10 +5012,10 @@
|
|
|
5012
5012
|
return this.p6h(store, next, action);
|
|
5013
5013
|
};
|
|
5014
5014
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
5015
|
-
this.
|
|
5016
|
-
this.
|
|
5015
|
+
this.ea0_1 = logicConfig;
|
|
5016
|
+
this.fa0_1 = idsProvider;
|
|
5017
5017
|
}
|
|
5018
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
5018
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).v90 = function () {
|
|
5019
5019
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
5020
5020
|
return new ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this);
|
|
5021
5021
|
};
|
|
@@ -5024,8 +5024,8 @@
|
|
|
5024
5024
|
return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
|
|
5025
5025
|
}
|
|
5026
5026
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
5027
|
-
this.
|
|
5028
|
-
this.
|
|
5027
|
+
this.pa0_1 = $provider;
|
|
5028
|
+
this.qa0_1 = $action;
|
|
5029
5029
|
CoroutineImpl.call(this, resultContinuation);
|
|
5030
5030
|
}
|
|
5031
5031
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -5046,7 +5046,7 @@
|
|
|
5046
5046
|
case 0:
|
|
5047
5047
|
this.s8_1 = 2;
|
|
5048
5048
|
this.r8_1 = 1;
|
|
5049
|
-
suspendResult = this.
|
|
5049
|
+
suspendResult = this.pa0_1.c9x(this.qa0_1, this);
|
|
5050
5050
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5051
5051
|
return suspendResult;
|
|
5052
5052
|
}
|
|
@@ -5069,8 +5069,8 @@
|
|
|
5069
5069
|
while (true);
|
|
5070
5070
|
};
|
|
5071
5071
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).c2d = function ($this$launchDefault, completion) {
|
|
5072
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
5073
|
-
i.
|
|
5072
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.pa0_1, this.qa0_1, completion);
|
|
5073
|
+
i.ra0_1 = $this$launchDefault;
|
|
5074
5074
|
return i;
|
|
5075
5075
|
};
|
|
5076
5076
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -5082,15 +5082,15 @@
|
|
|
5082
5082
|
return l;
|
|
5083
5083
|
}
|
|
5084
5084
|
function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
|
|
5085
|
-
this.
|
|
5086
|
-
this.
|
|
5085
|
+
this.sa0_1 = $asyncProvider;
|
|
5086
|
+
this.ta0_1 = $provider;
|
|
5087
5087
|
}
|
|
5088
5088
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).a6g = function (action) {
|
|
5089
5089
|
return action instanceof ToClientAction;
|
|
5090
5090
|
};
|
|
5091
5091
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).p6h = function (store, next, action) {
|
|
5092
5092
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
5093
|
-
this.
|
|
5093
|
+
this.sa0_1.h6c(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.ta0_1, action_0, null));
|
|
5094
5094
|
next(action_0);
|
|
5095
5095
|
};
|
|
5096
5096
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).z6f = function (store, next, action) {
|
|
@@ -5105,15 +5105,15 @@
|
|
|
5105
5105
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).a6g = function (action) {
|
|
5106
5106
|
return action instanceof UpdateServerConfigAction;
|
|
5107
5107
|
};
|
|
5108
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
5108
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).o99 = function (state, action) {
|
|
5109
5109
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
5110
|
-
return state.
|
|
5110
|
+
return state.b8u(VOID, get_serverStatePayload_0(state).copy(action_0.i9z_1));
|
|
5111
5111
|
};
|
|
5112
5112
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).q6h = function (state, action) {
|
|
5113
|
-
return this.
|
|
5113
|
+
return this.o99((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5114
5114
|
};
|
|
5115
5115
|
function Companion_5() {
|
|
5116
|
-
this.
|
|
5116
|
+
this.ua0_1 = 'ServerMechanicLifecycleReducer';
|
|
5117
5117
|
}
|
|
5118
5118
|
var Companion_instance_13;
|
|
5119
5119
|
function Companion_getInstance_6() {
|
|
@@ -5130,7 +5130,7 @@
|
|
|
5130
5130
|
var tmp_2 = PlayerConnectionState_LIVE_getInstance();
|
|
5131
5131
|
Companion_getInstance();
|
|
5132
5132
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
5133
|
-
var this_0 = $action.
|
|
5133
|
+
var this_0 = $action.z8u_1.timeoutTimeMillis;
|
|
5134
5134
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
5135
5135
|
tmp_0 = tmp_1.l67(tmp_2, tmp$ret$0);
|
|
5136
5136
|
}
|
|
@@ -5139,65 +5139,65 @@
|
|
|
5139
5139
|
}
|
|
5140
5140
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
5141
5141
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
5142
|
-
this.
|
|
5142
|
+
this.xa0_1 = logger;
|
|
5143
5143
|
}
|
|
5144
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5145
|
-
this.
|
|
5144
|
+
protoOf(ServerMechanicLifecycleReducer).a9b = function (state, action) {
|
|
5145
|
+
this.xa0_1.d('ServerMechanicLifecycleReducer', 'onStart ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
5146
5146
|
var serverState = get_serverStatePayloadOrNull(state.payload);
|
|
5147
5147
|
var tmp8_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5148
|
-
var tmp0_$this = this.
|
|
5149
|
-
var tmp1_tableId = action.
|
|
5150
|
-
var tmp2_gameId = action.
|
|
5151
|
-
var tmp3_version = action.
|
|
5152
|
-
var tmp4_config = action.
|
|
5153
|
-
var tmp5_users = action.
|
|
5148
|
+
var tmp0_$this = this.b9b_1;
|
|
5149
|
+
var tmp1_tableId = action.a8v_1;
|
|
5150
|
+
var tmp2_gameId = action.a8v_1;
|
|
5151
|
+
var tmp3_version = action.b8v_1;
|
|
5152
|
+
var tmp4_config = action.z8u_1;
|
|
5153
|
+
var tmp5_users = action.d8v_1;
|
|
5154
5154
|
var tmp6_spectators = action.spectators;
|
|
5155
|
-
var tmp7_gameCreatorPlayerId = action.
|
|
5156
|
-
var tmp9_tableOrNull = tmp0_$this.
|
|
5155
|
+
var tmp7_gameCreatorPlayerId = action.c8v_1;
|
|
5156
|
+
var tmp9_tableOrNull = tmp0_$this.h9c(tmp1_tableId, tmp2_gameId, tmp4_config, tmp3_version, tmp5_users, tmp6_spectators, tmp7_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
|
|
5157
5157
|
var tmp;
|
|
5158
5158
|
if (serverState == null) {
|
|
5159
|
-
this.
|
|
5159
|
+
this.xa0_1.w(VOID, 'ServerPayload is not onStart');
|
|
5160
5160
|
tmp = Companion_instance_14.initial();
|
|
5161
5161
|
} else {
|
|
5162
5162
|
tmp = serverState;
|
|
5163
5163
|
}
|
|
5164
5164
|
var tmp10_payload = tmp;
|
|
5165
|
-
return state.
|
|
5165
|
+
return state.b8u(tmp9_tableOrNull, tmp10_payload, tmp8_gameLifecycleState);
|
|
5166
5166
|
};
|
|
5167
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5168
|
-
this.
|
|
5167
|
+
protoOf(ServerMechanicLifecycleReducer).y9a = function (state, action) {
|
|
5168
|
+
this.xa0_1.d('ServerMechanicLifecycleReducer', 'onContinue ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
5169
5169
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5170
|
-
var tmp2_tableOrNull = action.
|
|
5170
|
+
var tmp2_tableOrNull = action.g8v_1;
|
|
5171
5171
|
var tmp = Companion_instance_14;
|
|
5172
5172
|
var tmp_0 = get_serverStatePayload_0(state).config;
|
|
5173
|
-
var tmp_1 = action.
|
|
5173
|
+
var tmp_1 = action.h8v_1;
|
|
5174
5174
|
var tmp0_safe_receiver = tmp_1 instanceof RestartRoundReason ? tmp_1 : null;
|
|
5175
5175
|
var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.f65_1));
|
|
5176
|
-
return state.
|
|
5176
|
+
return state.b8u(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
|
|
5177
5177
|
};
|
|
5178
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5179
|
-
this.
|
|
5178
|
+
protoOf(ServerMechanicLifecycleReducer).z9a = function (state, action) {
|
|
5179
|
+
this.c9b_1.n58(action.previousGameId);
|
|
5180
5180
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5181
|
-
var tmp1_tableOrNull = this.
|
|
5182
|
-
return state.
|
|
5181
|
+
var tmp1_tableOrNull = this.b9b_1.i9c(state.t6n(), action.gameId);
|
|
5182
|
+
return state.b8u(tmp1_tableOrNull, VOID, tmp0_gameLifecycleState);
|
|
5183
5183
|
};
|
|
5184
5184
|
function spectatorsReducer(logger) {
|
|
5185
5185
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
5186
5186
|
return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
|
|
5187
5187
|
}
|
|
5188
5188
|
function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
|
|
5189
|
-
this.
|
|
5189
|
+
this.ya0_1 = $logger;
|
|
5190
5190
|
}
|
|
5191
5191
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).a6g = function (action) {
|
|
5192
5192
|
return isInterface(action, SpectatorsAction);
|
|
5193
5193
|
};
|
|
5194
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
5194
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).o99 = function (state, action) {
|
|
5195
5195
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
5196
5196
|
var table = state.t6n();
|
|
5197
5197
|
var tmp;
|
|
5198
5198
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
5199
5199
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5200
|
-
var tmp0 = action_0.
|
|
5200
|
+
var tmp0 = action_0.j9z_1;
|
|
5201
5201
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5202
5202
|
var destination = ArrayList_init_$Create$_0();
|
|
5203
5203
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5216,9 +5216,9 @@
|
|
|
5216
5216
|
var tmp_0;
|
|
5217
5217
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5218
5218
|
if (!sameSpectators.r()) {
|
|
5219
|
-
this.
|
|
5219
|
+
this.ya0_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
5220
5220
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5221
|
-
var tmp0_0 = action_0.
|
|
5221
|
+
var tmp0_0 = action_0.j9z_1;
|
|
5222
5222
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5223
5223
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
5224
5224
|
var _iterator__ex2g4s_0 = tmp0_0.l();
|
|
@@ -5253,7 +5253,7 @@
|
|
|
5253
5253
|
}
|
|
5254
5254
|
tmp_0 = destination_0;
|
|
5255
5255
|
} else {
|
|
5256
|
-
tmp_0 = action_0.
|
|
5256
|
+
tmp_0 = action_0.j9z_1;
|
|
5257
5257
|
}
|
|
5258
5258
|
// Inline function 'kotlin.collections.map' call
|
|
5259
5259
|
var this_0 = tmp_0;
|
|
@@ -5266,11 +5266,11 @@
|
|
|
5266
5266
|
destination_1.j(tmp$ret$13);
|
|
5267
5267
|
}
|
|
5268
5268
|
var spectatorsToAdd = toSet(destination_1);
|
|
5269
|
-
tmp = state.
|
|
5269
|
+
tmp = state.b8u(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
|
|
5270
5270
|
} else {
|
|
5271
5271
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
5272
5272
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5273
|
-
var tmp0_1 = action_0.
|
|
5273
|
+
var tmp0_1 = action_0.k9z_1;
|
|
5274
5274
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5275
5275
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
5276
5276
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5289,9 +5289,9 @@
|
|
|
5289
5289
|
var tmp_2;
|
|
5290
5290
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5291
5291
|
if (!sameSpectators_0.r()) {
|
|
5292
|
-
this.
|
|
5292
|
+
this.ya0_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
5293
5293
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5294
|
-
var tmp0_2 = action_0.
|
|
5294
|
+
var tmp0_2 = action_0.k9z_1;
|
|
5295
5295
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5296
5296
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
5297
5297
|
var _iterator__ex2g4s_4 = tmp0_2.l();
|
|
@@ -5326,7 +5326,7 @@
|
|
|
5326
5326
|
}
|
|
5327
5327
|
tmp_2 = destination_3;
|
|
5328
5328
|
} else {
|
|
5329
|
-
tmp_2 = action_0.
|
|
5329
|
+
tmp_2 = action_0.k9z_1;
|
|
5330
5330
|
}
|
|
5331
5331
|
var spectatorsToRemove = toSet(tmp_2);
|
|
5332
5332
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -5363,7 +5363,7 @@
|
|
|
5363
5363
|
destination_4.j(element_5);
|
|
5364
5364
|
}
|
|
5365
5365
|
}
|
|
5366
|
-
tmp = state.
|
|
5366
|
+
tmp = state.b8u(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
|
|
5367
5367
|
} else {
|
|
5368
5368
|
noWhenBranchMatchedException();
|
|
5369
5369
|
}
|
|
@@ -5371,16 +5371,16 @@
|
|
|
5371
5371
|
return tmp;
|
|
5372
5372
|
};
|
|
5373
5373
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).q6h = function (state, action) {
|
|
5374
|
-
return this.
|
|
5374
|
+
return this.o99((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5375
5375
|
};
|
|
5376
5376
|
function Companion_6() {
|
|
5377
5377
|
}
|
|
5378
|
-
protoOf(Companion_6).
|
|
5378
|
+
protoOf(Companion_6).za0 = function (config) {
|
|
5379
5379
|
return new ServerStatePayload(config);
|
|
5380
5380
|
};
|
|
5381
5381
|
protoOf(Companion_6).initial = function (config, $super) {
|
|
5382
5382
|
config = config === VOID ? Companion_instance_8.initial(null) : config;
|
|
5383
|
-
return $super === VOID ? this.
|
|
5383
|
+
return $super === VOID ? this.za0(config) : $super.za0.call(this, config);
|
|
5384
5384
|
};
|
|
5385
5385
|
var Companion_instance_14;
|
|
5386
5386
|
function Companion_getInstance_7() {
|
|
@@ -5395,12 +5395,12 @@
|
|
|
5395
5395
|
protoOf(ServerStatePayload).ne = function () {
|
|
5396
5396
|
return this.config;
|
|
5397
5397
|
};
|
|
5398
|
-
protoOf(ServerStatePayload).
|
|
5398
|
+
protoOf(ServerStatePayload).aa1 = function (config) {
|
|
5399
5399
|
return new ServerStatePayload(config);
|
|
5400
5400
|
};
|
|
5401
5401
|
protoOf(ServerStatePayload).copy = function (config, $super) {
|
|
5402
5402
|
config = config === VOID ? this.config : config;
|
|
5403
|
-
return $super === VOID ? this.
|
|
5403
|
+
return $super === VOID ? this.aa1(config) : $super.aa1.call(this, config);
|
|
5404
5404
|
};
|
|
5405
5405
|
protoOf(ServerStatePayload).toString = function () {
|
|
5406
5406
|
return 'ServerStatePayload(config=' + this.config.toString() + ')';
|
|
@@ -5444,7 +5444,7 @@
|
|
|
5444
5444
|
return new ServerLoggerKey(_this__u8e3s4.gameId);
|
|
5445
5445
|
}
|
|
5446
5446
|
function serverLoggerKeyFromPayload(_this__u8e3s4, payload) {
|
|
5447
|
-
var gameId = Companion_instance_3.
|
|
5447
|
+
var gameId = Companion_instance_3.j9e(payload);
|
|
5448
5448
|
var tmp;
|
|
5449
5449
|
if (!(gameId == null)) {
|
|
5450
5450
|
tmp = new ServerLoggerKey(gameId);
|
|
@@ -5461,14 +5461,14 @@
|
|
|
5461
5461
|
return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
|
|
5462
5462
|
}
|
|
5463
5463
|
function _get_logger__rkp4sl_0($this) {
|
|
5464
|
-
var tmp0 = $this.
|
|
5464
|
+
var tmp0 = $this.ka1_1;
|
|
5465
5465
|
var tmp = KProperty1;
|
|
5466
5466
|
// Inline function 'kotlin.getValue' call
|
|
5467
5467
|
getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
|
|
5468
5468
|
return tmp0.w();
|
|
5469
5469
|
}
|
|
5470
5470
|
function _get_di__ndbzja($this) {
|
|
5471
|
-
var tmp0 = $this.
|
|
5471
|
+
var tmp0 = $this.la1_1;
|
|
5472
5472
|
var tmp = KProperty1;
|
|
5473
5473
|
// Inline function 'kotlin.getValue' call
|
|
5474
5474
|
getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
|
|
@@ -5485,8 +5485,8 @@
|
|
|
5485
5485
|
}
|
|
5486
5486
|
function createCallbackOutput($this, gameServer) {
|
|
5487
5487
|
var tmp;
|
|
5488
|
-
if (!($this.
|
|
5489
|
-
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.
|
|
5488
|
+
if (!($this.ia1_1 == null)) {
|
|
5489
|
+
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.ia1_1);
|
|
5490
5490
|
tmp = new CallbackWrapperLoggerOutput(tmp_0, GameServerEngineControllerImpl$createCallbackOutput$lambda(gameServer));
|
|
5491
5491
|
} else {
|
|
5492
5492
|
tmp = null;
|
|
@@ -5500,11 +5500,11 @@
|
|
|
5500
5500
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
5501
5501
|
return function () {
|
|
5502
5502
|
var tmp;
|
|
5503
|
-
if (this$0.
|
|
5503
|
+
if (this$0.ia1_1 == null) {
|
|
5504
5504
|
tmp = null;
|
|
5505
5505
|
} else {
|
|
5506
5506
|
// Inline function 'kotlin.let' call
|
|
5507
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
5507
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.ia1_1)]));
|
|
5508
5508
|
}
|
|
5509
5509
|
var tmp1_elvis_lhs = tmp;
|
|
5510
5510
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -5537,7 +5537,7 @@
|
|
|
5537
5537
|
tmp_0.z62(tmp$ret$3);
|
|
5538
5538
|
$this$DI.d5z(jsonModule());
|
|
5539
5539
|
$this$DI.d5z(serverHelpersModule());
|
|
5540
|
-
$this$DI.d5z(randomOrgModule(this$0.
|
|
5540
|
+
$this$DI.d5z(randomOrgModule(this$0.ja1_1));
|
|
5541
5541
|
return Unit_instance;
|
|
5542
5542
|
};
|
|
5543
5543
|
}
|
|
@@ -5613,16 +5613,16 @@
|
|
|
5613
5613
|
};
|
|
5614
5614
|
}
|
|
5615
5615
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
5616
|
-
this.
|
|
5616
|
+
this.sa1_1 = $reducer;
|
|
5617
5617
|
}
|
|
5618
5618
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).a6g = function (action) {
|
|
5619
5619
|
return isInterface(action, Action);
|
|
5620
5620
|
};
|
|
5621
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
5622
|
-
return this.
|
|
5621
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).o99 = function (state, action) {
|
|
5622
|
+
return this.sa1_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
5623
5623
|
};
|
|
5624
5624
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).q6h = function (state, action) {
|
|
5625
|
-
return this.
|
|
5625
|
+
return this.o99((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5626
5626
|
};
|
|
5627
5627
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($gameServer) {
|
|
5628
5628
|
return function () {
|
|
@@ -5702,7 +5702,7 @@
|
|
|
5702
5702
|
}
|
|
5703
5703
|
function GameServerEngineControllerImpl$createCallbackOutput$lambda($gameServer) {
|
|
5704
5704
|
return function (it) {
|
|
5705
|
-
var payload = Companion_instance_5.
|
|
5705
|
+
var payload = Companion_instance_5.v9c(it);
|
|
5706
5706
|
var tmp;
|
|
5707
5707
|
if (!(payload == null)) {
|
|
5708
5708
|
return payload;
|
|
@@ -5723,7 +5723,7 @@
|
|
|
5723
5723
|
// Inline function 'kotlin.let' call
|
|
5724
5724
|
$this$DI.d5z(tmp0_safe_receiver);
|
|
5725
5725
|
}
|
|
5726
|
-
$this$DI.d5z(dealerModule(this$0.randomPoolProvider, this$0.
|
|
5726
|
+
$this$DI.d5z(dealerModule(this$0.randomPoolProvider, this$0.ja1_1));
|
|
5727
5727
|
$this$DI.d5z(coreModule($coreConfig));
|
|
5728
5728
|
$this$DI.d5z(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $ratingConfig, $externalReducers, $externalMiddlewares));
|
|
5729
5729
|
return Unit_instance;
|
|
@@ -5732,13 +5732,13 @@
|
|
|
5732
5732
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
5733
5733
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
5734
5734
|
production = production === VOID ? true : production;
|
|
5735
|
-
this.
|
|
5736
|
-
this.
|
|
5735
|
+
this.ia1_1 = loggerCallback;
|
|
5736
|
+
this.ja1_1 = randomOrgConfig;
|
|
5737
5737
|
AppEnvironment_getInstance().x6l(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
|
|
5738
5738
|
var tmp = this;
|
|
5739
|
-
tmp.
|
|
5739
|
+
tmp.ka1_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
5740
5740
|
var tmp_0 = this;
|
|
5741
|
-
tmp_0.
|
|
5741
|
+
tmp_0.la1_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
5742
5742
|
var tmp_1 = this;
|
|
5743
5743
|
// Inline function 'org.kodein.di.instance' call
|
|
5744
5744
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -5747,7 +5747,7 @@
|
|
|
5747
5747
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5748
5748
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
5749
5749
|
var tmp_4 = KProperty1;
|
|
5750
|
-
tmp_1.
|
|
5750
|
+
tmp_1.ma1_1 = tmp_3.w64(this, getPropertyCallableRef('parser', 1, tmp_4, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
|
|
5751
5751
|
var tmp_5 = this;
|
|
5752
5752
|
// Inline function 'org.kodein.di.instance' call
|
|
5753
5753
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -5756,7 +5756,7 @@
|
|
|
5756
5756
|
var tmp$ret$2 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
5757
5757
|
var tmp_7 = Instance(this_1, tmp$ret$2, null);
|
|
5758
5758
|
var tmp_8 = KProperty1;
|
|
5759
|
-
tmp_5.
|
|
5759
|
+
tmp_5.na1_1 = tmp_7.w64(this, getPropertyCallableRef('helper', 1, tmp_8, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
|
|
5760
5760
|
var tmp_9 = this;
|
|
5761
5761
|
// Inline function 'org.kodein.di.instance' call
|
|
5762
5762
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -5765,7 +5765,7 @@
|
|
|
5765
5765
|
var tmp$ret$4 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
5766
5766
|
var tmp_11 = Instance(this_2, tmp$ret$4, null);
|
|
5767
5767
|
var tmp_12 = KProperty1;
|
|
5768
|
-
tmp_9.
|
|
5768
|
+
tmp_9.oa1_1 = tmp_11.w64(this, getPropertyCallableRef('serverHelper', 1, tmp_12, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
|
|
5769
5769
|
var tmp_13 = this;
|
|
5770
5770
|
// Inline function 'org.kodein.di.instance' call
|
|
5771
5771
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -5774,7 +5774,7 @@
|
|
|
5774
5774
|
var tmp$ret$6 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
5775
5775
|
var tmp_15 = Instance(this_3, tmp$ret$6, null);
|
|
5776
5776
|
var tmp_16 = KProperty1;
|
|
5777
|
-
tmp_13.
|
|
5777
|
+
tmp_13.pa1_1 = tmp_15.w64(this, getPropertyCallableRef('resources', 1, tmp_16, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
|
|
5778
5778
|
var tmp_17 = this;
|
|
5779
5779
|
// Inline function 'org.kodein.di.instance' call
|
|
5780
5780
|
var this_4 = _get_di__ndbzja(this);
|
|
@@ -5783,7 +5783,7 @@
|
|
|
5783
5783
|
var tmp$ret$8 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
5784
5784
|
var tmp_19 = Instance(this_4, tmp$ret$8, null);
|
|
5785
5785
|
var tmp_20 = KProperty1;
|
|
5786
|
-
tmp_17.
|
|
5786
|
+
tmp_17.qa1_1 = tmp_19.w64(this, getPropertyCallableRef('test', 1, tmp_20, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
|
|
5787
5787
|
var tmp_21 = this;
|
|
5788
5788
|
// Inline function 'org.kodein.di.instance' call
|
|
5789
5789
|
var this_5 = _get_di__ndbzja(this);
|
|
@@ -5792,45 +5792,45 @@
|
|
|
5792
5792
|
var tmp$ret$10 = isInterface(tmp_22, TypeToken) ? tmp_22 : THROW_CCE();
|
|
5793
5793
|
var tmp_23 = Instance(this_5, tmp$ret$10, null);
|
|
5794
5794
|
var tmp_24 = KProperty1;
|
|
5795
|
-
tmp_21.
|
|
5795
|
+
tmp_21.ra1_1 = tmp_23.w64(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_24, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
|
|
5796
5796
|
}
|
|
5797
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5798
|
-
var tmp0 = this.
|
|
5797
|
+
protoOf(GameServerEngineControllerImpl).ba1 = function () {
|
|
5798
|
+
var tmp0 = this.ma1_1;
|
|
5799
5799
|
var tmp = KProperty1;
|
|
5800
5800
|
// Inline function 'kotlin.getValue' call
|
|
5801
5801
|
getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
|
|
5802
5802
|
return tmp0.w();
|
|
5803
5803
|
};
|
|
5804
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5805
|
-
var tmp0 = this.
|
|
5804
|
+
protoOf(GameServerEngineControllerImpl).da1 = function () {
|
|
5805
|
+
var tmp0 = this.na1_1;
|
|
5806
5806
|
var tmp = KProperty1;
|
|
5807
5807
|
// Inline function 'kotlin.getValue' call
|
|
5808
5808
|
getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
|
|
5809
5809
|
return tmp0.w();
|
|
5810
5810
|
};
|
|
5811
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5812
|
-
var tmp0 = this.
|
|
5811
|
+
protoOf(GameServerEngineControllerImpl).ea1 = function () {
|
|
5812
|
+
var tmp0 = this.oa1_1;
|
|
5813
5813
|
var tmp = KProperty1;
|
|
5814
5814
|
// Inline function 'kotlin.getValue' call
|
|
5815
5815
|
getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
|
|
5816
5816
|
return tmp0.w();
|
|
5817
5817
|
};
|
|
5818
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5819
|
-
var tmp0 = this.
|
|
5818
|
+
protoOf(GameServerEngineControllerImpl).fa1 = function () {
|
|
5819
|
+
var tmp0 = this.pa1_1;
|
|
5820
5820
|
var tmp = KProperty1;
|
|
5821
5821
|
// Inline function 'kotlin.getValue' call
|
|
5822
5822
|
getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
|
|
5823
5823
|
return tmp0.w();
|
|
5824
5824
|
};
|
|
5825
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5826
|
-
var tmp0 = this.
|
|
5825
|
+
protoOf(GameServerEngineControllerImpl).ca1 = function () {
|
|
5826
|
+
var tmp0 = this.qa1_1;
|
|
5827
5827
|
var tmp = KProperty1;
|
|
5828
5828
|
// Inline function 'kotlin.getValue' call
|
|
5829
5829
|
getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
|
|
5830
5830
|
return tmp0.w();
|
|
5831
5831
|
};
|
|
5832
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5833
|
-
var tmp0 = this.
|
|
5832
|
+
protoOf(GameServerEngineControllerImpl).ga1 = function () {
|
|
5833
|
+
var tmp0 = this.ra1_1;
|
|
5834
5834
|
var tmp = KProperty1;
|
|
5835
5835
|
// Inline function 'kotlin.getValue' call
|
|
5836
5836
|
getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
|
|
@@ -5842,7 +5842,7 @@
|
|
|
5842
5842
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
5843
5843
|
return this.createGameEngineWithLogic();
|
|
5844
5844
|
};
|
|
5845
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5845
|
+
protoOf(GameServerEngineControllerImpl).ha1 = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig) {
|
|
5846
5846
|
var combinedLogger = Companion_instance_6.mx();
|
|
5847
5847
|
var gameServer = {_v: null};
|
|
5848
5848
|
var tmp0_botConfig = new EngineBotConfig(VOID, VOID, VOID, false);
|
|
@@ -5891,7 +5891,7 @@
|
|
|
5891
5891
|
function TestHelper() {
|
|
5892
5892
|
}
|
|
5893
5893
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
5894
|
-
var tmp0 = $this.
|
|
5894
|
+
var tmp0 = $this.va1_1;
|
|
5895
5895
|
var tmp = KProperty1;
|
|
5896
5896
|
// Inline function 'kotlin.getValue' call
|
|
5897
5897
|
getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
|
|
@@ -5899,7 +5899,7 @@
|
|
|
5899
5899
|
}
|
|
5900
5900
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
5901
5901
|
return function ($this$singleton) {
|
|
5902
|
-
return this$0.
|
|
5902
|
+
return this$0.ta1_1;
|
|
5903
5903
|
};
|
|
5904
5904
|
}
|
|
5905
5905
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -5938,27 +5938,27 @@
|
|
|
5938
5938
|
return emptyMap();
|
|
5939
5939
|
}
|
|
5940
5940
|
function TestHelperImpl(logger) {
|
|
5941
|
-
this.
|
|
5941
|
+
this.ta1_1 = logger;
|
|
5942
5942
|
var tmp = this;
|
|
5943
5943
|
var tmp_0 = Companion_instance_4;
|
|
5944
|
-
tmp.
|
|
5944
|
+
tmp.ua1_1 = tmp_0.k5z(VOID, TestHelperImpl$di$lambda(this));
|
|
5945
5945
|
var tmp_1 = this;
|
|
5946
5946
|
// Inline function 'org.kodein.di.instance' call
|
|
5947
|
-
var this_0 = this.
|
|
5947
|
+
var this_0 = this.ua1_1;
|
|
5948
5948
|
// Inline function 'org.kodein.type.generic' call
|
|
5949
5949
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
5950
5950
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5951
5951
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
5952
5952
|
var tmp_4 = KProperty1;
|
|
5953
|
-
tmp_1.
|
|
5953
|
+
tmp_1.va1_1 = tmp_3.w64(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
5954
5954
|
}
|
|
5955
5955
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
5956
|
-
return _get_playerAnswerInteractor__msggz1(this).
|
|
5956
|
+
return _get_playerAnswerInteractor__msggz1(this).l8k(playerId, table, botConfig);
|
|
5957
5957
|
};
|
|
5958
5958
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
5959
5959
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
5960
5960
|
if (isInterface(mechanicAction, NextPlayerTurnAction)) {
|
|
5961
|
-
var tmp0 = mechanicAction.
|
|
5961
|
+
var tmp0 = mechanicAction.u8x();
|
|
5962
5962
|
var tmp$ret$0;
|
|
5963
5963
|
$l$block_0: {
|
|
5964
5964
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -5990,7 +5990,7 @@
|
|
|
5990
5990
|
};
|
|
5991
5991
|
protoOf(TestHelperImpl).getPlayerAnswerFromMechanicAction = function (table, currentPlayerId, action, botConfig) {
|
|
5992
5992
|
if (isInterface(action, NextPlayerTurnAction)) {
|
|
5993
|
-
var tmp0 = action.
|
|
5993
|
+
var tmp0 = action.u8x();
|
|
5994
5994
|
var tmp$ret$0;
|
|
5995
5995
|
$l$block_0: {
|
|
5996
5996
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -6078,9 +6078,9 @@
|
|
|
6078
6078
|
protoOf(GameServer).roomOnDelete = roomOnDelete;
|
|
6079
6079
|
protoOf(GameServer).shutdown = shutdown;
|
|
6080
6080
|
defineProp(protoOf(GameServer), 'metadata', function () {
|
|
6081
|
-
return this.
|
|
6081
|
+
return this.v8e();
|
|
6082
6082
|
}, function (value) {
|
|
6083
|
-
this.
|
|
6083
|
+
this.l9w(value);
|
|
6084
6084
|
});
|
|
6085
6085
|
defineProp(protoOf(GameServer), 'id', function () {
|
|
6086
6086
|
return this.y53();
|
|
@@ -6096,17 +6096,17 @@
|
|
|
6096
6096
|
});
|
|
6097
6097
|
protoOf($serializer).wz = typeParametersSerializers;
|
|
6098
6098
|
defineProp(protoOf(TableStateUpdateDto), 'roomId', function () {
|
|
6099
|
-
return this.
|
|
6099
|
+
return this.p8b();
|
|
6100
6100
|
});
|
|
6101
6101
|
protoOf($serializer_0).wz = typeParametersSerializers;
|
|
6102
6102
|
defineProp(protoOf(ActionsStateUpdateDto), 'roomId', function () {
|
|
6103
|
-
return this.
|
|
6103
|
+
return this.p8b();
|
|
6104
6104
|
});
|
|
6105
6105
|
defineProp(protoOf(TableStateUpdate), 'roomId', function () {
|
|
6106
|
-
return this.
|
|
6106
|
+
return this.p8b();
|
|
6107
6107
|
});
|
|
6108
6108
|
defineProp(protoOf(ActionsStateUpdate), 'roomId', function () {
|
|
6109
|
-
return this.
|
|
6109
|
+
return this.p8b();
|
|
6110
6110
|
});
|
|
6111
6111
|
protoOf(UpdateServerConfigAction).q6f = get_actionTag;
|
|
6112
6112
|
defineProp(protoOf(UpdateServerConfigAction), 'actionTag', function () {
|
|
@@ -6122,22 +6122,22 @@
|
|
|
6122
6122
|
});
|
|
6123
6123
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
6124
6124
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
6125
|
-
return this.
|
|
6125
|
+
return this.ba1();
|
|
6126
6126
|
});
|
|
6127
6127
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
6128
|
-
return this.
|
|
6128
|
+
return this.da1();
|
|
6129
6129
|
});
|
|
6130
6130
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
6131
|
-
return this.
|
|
6131
|
+
return this.ea1();
|
|
6132
6132
|
});
|
|
6133
6133
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
6134
|
-
return this.
|
|
6134
|
+
return this.fa1();
|
|
6135
6135
|
});
|
|
6136
6136
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
6137
|
-
return this.
|
|
6137
|
+
return this.ca1();
|
|
6138
6138
|
});
|
|
6139
6139
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
6140
|
-
return this.
|
|
6140
|
+
return this.ga1();
|
|
6141
6141
|
});
|
|
6142
6142
|
//endregion
|
|
6143
6143
|
//region block: init
|