client_plugin_logic_deb 1.8.405 → 1.8.407
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/Kotlin-DateTime-library-kotlinx-datetime.js +1 -1
- package/Logic_Debertz-client_plugin.js +2005 -2005
- package/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-engine.js +10994 -10798
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +6361 -6341
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +801 -801
- package/kotlin-kotlin-stdlib.js +4 -4
- package/kotlinx-coroutines-core.js +1 -1
- package/package.json +1 -1
|
@@ -367,10 +367,10 @@
|
|
|
367
367
|
spectators = tmp;
|
|
368
368
|
var tmp_0;
|
|
369
369
|
if ($super === VOID) {
|
|
370
|
-
this.
|
|
370
|
+
this.keg(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
371
371
|
tmp_0 = Unit_instance;
|
|
372
372
|
} else {
|
|
373
|
-
tmp_0 = $super.
|
|
373
|
+
tmp_0 = $super.keg.call(this, roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
374
374
|
}
|
|
375
375
|
return tmp_0;
|
|
376
376
|
}
|
|
@@ -378,10 +378,10 @@
|
|
|
378
378
|
newRid = newRid === VOID ? null : newRid;
|
|
379
379
|
var tmp;
|
|
380
380
|
if ($super === VOID) {
|
|
381
|
-
this.
|
|
381
|
+
this.leg(newRid);
|
|
382
382
|
tmp = Unit_instance;
|
|
383
383
|
} else {
|
|
384
|
-
tmp = $super.
|
|
384
|
+
tmp = $super.leg.call(this, newRid);
|
|
385
385
|
}
|
|
386
386
|
return tmp;
|
|
387
387
|
}
|
|
@@ -389,10 +389,10 @@
|
|
|
389
389
|
permanently = permanently === VOID ? true : permanently;
|
|
390
390
|
var tmp;
|
|
391
391
|
if ($super === VOID) {
|
|
392
|
-
this.
|
|
392
|
+
this.jeg(playerId, permanently);
|
|
393
393
|
tmp = Unit_instance;
|
|
394
394
|
} else {
|
|
395
|
-
tmp = $super.
|
|
395
|
+
tmp = $super.jeg.call(this, playerId, permanently);
|
|
396
396
|
}
|
|
397
397
|
return tmp;
|
|
398
398
|
}
|
|
@@ -400,10 +400,10 @@
|
|
|
400
400
|
roomId = roomId === VOID ? null : roomId;
|
|
401
401
|
var tmp;
|
|
402
402
|
if ($super === VOID) {
|
|
403
|
-
this.
|
|
403
|
+
this.meg(reason, roomId);
|
|
404
404
|
tmp = Unit_instance;
|
|
405
405
|
} else {
|
|
406
|
-
tmp = $super.
|
|
406
|
+
tmp = $super.meg.call(this, reason, roomId);
|
|
407
407
|
}
|
|
408
408
|
return tmp;
|
|
409
409
|
}
|
|
@@ -470,7 +470,7 @@
|
|
|
470
470
|
ratingConfig = ratingConfig === VOID ? new RatingConfig() : ratingConfig;
|
|
471
471
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
472
472
|
botConfig = botConfig === VOID ? new EngineBotConfig(VOID, VOID, VOID, false) : botConfig;
|
|
473
|
-
return $super === VOID ? this.
|
|
473
|
+
return $super === VOID ? this.fel(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, botConfig) : $super.fel.call(this, reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, botConfig);
|
|
474
474
|
}
|
|
475
475
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
476
476
|
initMetadataForClass(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1, VOID, VOID, VOID, [Reducer]);
|
|
@@ -483,17 +483,17 @@
|
|
|
483
483
|
initMetadataForClass(GameMetadata, 'GameMetadata');
|
|
484
484
|
//endregion
|
|
485
485
|
function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
|
|
486
|
-
this.
|
|
486
|
+
this.bdz_1 = $subscriber;
|
|
487
487
|
CoroutineImpl.call(this, resultContinuation);
|
|
488
488
|
}
|
|
489
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
490
|
-
var tmp = this.
|
|
489
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).ddz = function (it, $completion) {
|
|
490
|
+
var tmp = this.edz(it, $completion);
|
|
491
491
|
tmp.u8_1 = Unit_instance;
|
|
492
492
|
tmp.v8_1 = null;
|
|
493
493
|
return tmp.a9();
|
|
494
494
|
};
|
|
495
495
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).i9 = function (p1, $completion) {
|
|
496
|
-
return this.
|
|
496
|
+
return this.ddz(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
497
497
|
};
|
|
498
498
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).a9 = function () {
|
|
499
499
|
var suspendResult = this.u8_1;
|
|
@@ -502,7 +502,7 @@
|
|
|
502
502
|
var tmp = this.s8_1;
|
|
503
503
|
if (tmp === 0) {
|
|
504
504
|
this.t8_1 = 1;
|
|
505
|
-
this.
|
|
505
|
+
this.bdz_1(this.cdz_1);
|
|
506
506
|
return Unit_instance;
|
|
507
507
|
} else if (tmp === 1) {
|
|
508
508
|
throw this.v8_1;
|
|
@@ -513,31 +513,31 @@
|
|
|
513
513
|
}
|
|
514
514
|
while (true);
|
|
515
515
|
};
|
|
516
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
517
|
-
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.
|
|
518
|
-
i.
|
|
516
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).edz = function (it, completion) {
|
|
517
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.bdz_1, completion);
|
|
518
|
+
i.cdz_1 = it;
|
|
519
519
|
return i;
|
|
520
520
|
};
|
|
521
521
|
function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
|
|
522
522
|
var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
|
|
523
523
|
var l = function (it, $completion) {
|
|
524
|
-
return i.
|
|
524
|
+
return i.ddz(it, $completion);
|
|
525
525
|
};
|
|
526
526
|
l.$arity = 1;
|
|
527
527
|
return l;
|
|
528
528
|
}
|
|
529
529
|
function GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation) {
|
|
530
|
-
this.
|
|
530
|
+
this.ndz_1 = $subscriber;
|
|
531
531
|
CoroutineImpl.call(this, resultContinuation);
|
|
532
532
|
}
|
|
533
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
534
|
-
var tmp = this.
|
|
533
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).pdz = function (it, $completion) {
|
|
534
|
+
var tmp = this.qdz(it, $completion);
|
|
535
535
|
tmp.u8_1 = Unit_instance;
|
|
536
536
|
tmp.v8_1 = null;
|
|
537
537
|
return tmp.a9();
|
|
538
538
|
};
|
|
539
539
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).i9 = function (p1, $completion) {
|
|
540
|
-
return this.
|
|
540
|
+
return this.pdz((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
|
|
541
541
|
};
|
|
542
542
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).a9 = function () {
|
|
543
543
|
var suspendResult = this.u8_1;
|
|
@@ -546,7 +546,7 @@
|
|
|
546
546
|
var tmp = this.s8_1;
|
|
547
547
|
if (tmp === 0) {
|
|
548
548
|
this.t8_1 = 1;
|
|
549
|
-
this.
|
|
549
|
+
this.ndz_1(this.odz_1);
|
|
550
550
|
return Unit_instance;
|
|
551
551
|
} else if (tmp === 1) {
|
|
552
552
|
throw this.v8_1;
|
|
@@ -557,22 +557,22 @@
|
|
|
557
557
|
}
|
|
558
558
|
while (true);
|
|
559
559
|
};
|
|
560
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
561
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.
|
|
562
|
-
i.
|
|
560
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).qdz = function (it, completion) {
|
|
561
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.ndz_1, completion);
|
|
562
|
+
i.odz_1 = it;
|
|
563
563
|
return i;
|
|
564
564
|
};
|
|
565
565
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_0($subscriber, resultContinuation) {
|
|
566
566
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation);
|
|
567
567
|
var l = function (it, $completion) {
|
|
568
|
-
return i.
|
|
568
|
+
return i.pdz(it, $completion);
|
|
569
569
|
};
|
|
570
570
|
l.$arity = 1;
|
|
571
571
|
return l;
|
|
572
572
|
}
|
|
573
573
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
574
|
-
this.
|
|
575
|
-
this.
|
|
574
|
+
this.zdz_1 = $$this$unsafeFlow;
|
|
575
|
+
this.ae0_1 = this$0;
|
|
576
576
|
CoroutineImpl.call(this, resultContinuation);
|
|
577
577
|
}
|
|
578
578
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).c2j = function (value, $completion) {
|
|
@@ -592,10 +592,10 @@
|
|
|
592
592
|
switch (tmp) {
|
|
593
593
|
case 0:
|
|
594
594
|
this.t8_1 = 2;
|
|
595
|
-
var tmp0 = this.
|
|
596
|
-
var value = this.
|
|
595
|
+
var tmp0 = this.zdz_1;
|
|
596
|
+
var value = this.be0_1;
|
|
597
597
|
this.s8_1 = 1;
|
|
598
|
-
suspendResult = tmp0.i24(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.
|
|
598
|
+
suspendResult = tmp0.i24(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.ae0_1)), this);
|
|
599
599
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
600
600
|
return suspendResult;
|
|
601
601
|
}
|
|
@@ -618,8 +618,8 @@
|
|
|
618
618
|
while (true);
|
|
619
619
|
};
|
|
620
620
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).d2j = function (value, completion) {
|
|
621
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.
|
|
622
|
-
i.
|
|
621
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.zdz_1, this.ae0_1, completion);
|
|
622
|
+
i.be0_1 = value;
|
|
623
623
|
return i;
|
|
624
624
|
};
|
|
625
625
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
@@ -632,8 +632,8 @@
|
|
|
632
632
|
}
|
|
633
633
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
634
634
|
CoroutineImpl.call(this, resultContinuation);
|
|
635
|
-
this.
|
|
636
|
-
this.
|
|
635
|
+
this.ke0_1 = _this__u8e3s4;
|
|
636
|
+
this.le0_1 = collector;
|
|
637
637
|
}
|
|
638
638
|
protoOf($collectCOROUTINE$).a9 = function () {
|
|
639
639
|
var suspendResult = this.u8_1;
|
|
@@ -643,10 +643,10 @@
|
|
|
643
643
|
switch (tmp) {
|
|
644
644
|
case 0:
|
|
645
645
|
this.t8_1 = 2;
|
|
646
|
-
var $this$unsafeFlow = this.
|
|
646
|
+
var $this$unsafeFlow = this.le0_1;
|
|
647
647
|
this.s8_1 = 1;
|
|
648
|
-
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
649
|
-
suspendResult = this.
|
|
648
|
+
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.ke0_1.ne0_1, null);
|
|
649
|
+
suspendResult = this.ke0_1.me0_1.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_0), this);
|
|
650
650
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
651
651
|
return suspendResult;
|
|
652
652
|
}
|
|
@@ -669,8 +669,8 @@
|
|
|
669
669
|
while (true);
|
|
670
670
|
};
|
|
671
671
|
function GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1($this, this$0) {
|
|
672
|
-
this.
|
|
673
|
-
this.
|
|
672
|
+
this.me0_1 = $this;
|
|
673
|
+
this.ne0_1 = this$0;
|
|
674
674
|
}
|
|
675
675
|
protoOf(GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1).j24 = function (collector, $completion) {
|
|
676
676
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
@@ -682,17 +682,17 @@
|
|
|
682
682
|
return this.j24(collector, $completion);
|
|
683
683
|
};
|
|
684
684
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation) {
|
|
685
|
-
this.
|
|
685
|
+
this.we0_1 = $subscriber;
|
|
686
686
|
CoroutineImpl.call(this, resultContinuation);
|
|
687
687
|
}
|
|
688
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
689
|
-
var tmp = this.
|
|
688
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).ye0 = function (it, $completion) {
|
|
689
|
+
var tmp = this.ze0(it, $completion);
|
|
690
690
|
tmp.u8_1 = Unit_instance;
|
|
691
691
|
tmp.v8_1 = null;
|
|
692
692
|
return tmp.a9();
|
|
693
693
|
};
|
|
694
694
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).i9 = function (p1, $completion) {
|
|
695
|
-
return this.
|
|
695
|
+
return this.ye0((!(p1 == null) ? isInterface(p1, ServerStateUpdateDto) : false) ? p1 : THROW_CCE(), $completion);
|
|
696
696
|
};
|
|
697
697
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).a9 = function () {
|
|
698
698
|
var suspendResult = this.u8_1;
|
|
@@ -701,7 +701,7 @@
|
|
|
701
701
|
var tmp = this.s8_1;
|
|
702
702
|
if (tmp === 0) {
|
|
703
703
|
this.t8_1 = 1;
|
|
704
|
-
this.
|
|
704
|
+
this.we0_1(this.xe0_1);
|
|
705
705
|
return Unit_instance;
|
|
706
706
|
} else if (tmp === 1) {
|
|
707
707
|
throw this.v8_1;
|
|
@@ -712,22 +712,22 @@
|
|
|
712
712
|
}
|
|
713
713
|
while (true);
|
|
714
714
|
};
|
|
715
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
716
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.
|
|
717
|
-
i.
|
|
715
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).ze0 = function (it, completion) {
|
|
716
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.we0_1, completion);
|
|
717
|
+
i.xe0_1 = it;
|
|
718
718
|
return i;
|
|
719
719
|
};
|
|
720
720
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda_0($subscriber, resultContinuation) {
|
|
721
721
|
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation);
|
|
722
722
|
var l = function (it, $completion) {
|
|
723
|
-
return i.
|
|
723
|
+
return i.ye0(it, $completion);
|
|
724
724
|
};
|
|
725
725
|
l.$arity = 1;
|
|
726
726
|
return l;
|
|
727
727
|
}
|
|
728
728
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, $table, resultContinuation) {
|
|
729
|
-
this.
|
|
730
|
-
this.
|
|
729
|
+
this.ie1_1 = $$this$unsafeFlow;
|
|
730
|
+
this.je1_1 = $table;
|
|
731
731
|
CoroutineImpl.call(this, resultContinuation);
|
|
732
732
|
}
|
|
733
733
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).c2j = function (value, $completion) {
|
|
@@ -747,10 +747,10 @@
|
|
|
747
747
|
switch (tmp) {
|
|
748
748
|
case 0:
|
|
749
749
|
this.t8_1 = 2;
|
|
750
|
-
var tmp0 = this.
|
|
751
|
-
var value = this.
|
|
750
|
+
var tmp0 = this.ie1_1;
|
|
751
|
+
var value = this.ke1_1;
|
|
752
752
|
this.s8_1 = 1;
|
|
753
|
-
suspendResult = tmp0.i24(new ActionsStateUpdate(this.
|
|
753
|
+
suspendResult = tmp0.i24(new ActionsStateUpdate(this.je1_1.id, value), this);
|
|
754
754
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
755
755
|
return suspendResult;
|
|
756
756
|
}
|
|
@@ -773,8 +773,8 @@
|
|
|
773
773
|
while (true);
|
|
774
774
|
};
|
|
775
775
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).d2j = function (value, completion) {
|
|
776
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.
|
|
777
|
-
i.
|
|
776
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.ie1_1, this.je1_1, completion);
|
|
777
|
+
i.ke1_1 = value;
|
|
778
778
|
return i;
|
|
779
779
|
};
|
|
780
780
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, $table, resultContinuation) {
|
|
@@ -787,8 +787,8 @@
|
|
|
787
787
|
}
|
|
788
788
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
789
789
|
CoroutineImpl.call(this, resultContinuation);
|
|
790
|
-
this.
|
|
791
|
-
this.
|
|
790
|
+
this.te1_1 = _this__u8e3s4;
|
|
791
|
+
this.ue1_1 = collector;
|
|
792
792
|
}
|
|
793
793
|
protoOf($collectCOROUTINE$_0).a9 = function () {
|
|
794
794
|
var suspendResult = this.u8_1;
|
|
@@ -798,10 +798,10 @@
|
|
|
798
798
|
switch (tmp) {
|
|
799
799
|
case 0:
|
|
800
800
|
this.t8_1 = 2;
|
|
801
|
-
var $this$unsafeFlow = this.
|
|
801
|
+
var $this$unsafeFlow = this.ue1_1;
|
|
802
802
|
this.s8_1 = 1;
|
|
803
|
-
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
804
|
-
suspendResult = this.
|
|
803
|
+
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.te1_1.we1_1, null);
|
|
804
|
+
suspendResult = this.te1_1.ve1_1.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
805
805
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
806
806
|
return suspendResult;
|
|
807
807
|
}
|
|
@@ -824,8 +824,8 @@
|
|
|
824
824
|
while (true);
|
|
825
825
|
};
|
|
826
826
|
function _no_name_provided__qut3iv($this, $table) {
|
|
827
|
-
this.
|
|
828
|
-
this.
|
|
827
|
+
this.ve1_1 = $this;
|
|
828
|
+
this.we1_1 = $table;
|
|
829
829
|
}
|
|
830
830
|
protoOf(_no_name_provided__qut3iv).j24 = function (collector, $completion) {
|
|
831
831
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
@@ -837,18 +837,18 @@
|
|
|
837
837
|
return this.j24(collector, $completion);
|
|
838
838
|
};
|
|
839
839
|
function GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation) {
|
|
840
|
-
this.
|
|
841
|
-
this.
|
|
840
|
+
this.fe2_1 = $table;
|
|
841
|
+
this.ge2_1 = this$0;
|
|
842
842
|
CoroutineImpl.call(this, resultContinuation);
|
|
843
843
|
}
|
|
844
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
845
|
-
var tmp = this.
|
|
844
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).ie2 = function ($this$flow, $completion) {
|
|
845
|
+
var tmp = this.je2($this$flow, $completion);
|
|
846
846
|
tmp.u8_1 = Unit_instance;
|
|
847
847
|
tmp.v8_1 = null;
|
|
848
848
|
return tmp.a9();
|
|
849
849
|
};
|
|
850
850
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).i9 = function (p1, $completion) {
|
|
851
|
-
return this.
|
|
851
|
+
return this.ie2((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
852
852
|
};
|
|
853
853
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).a9 = function () {
|
|
854
854
|
var suspendResult = this.u8_1;
|
|
@@ -859,7 +859,7 @@
|
|
|
859
859
|
case 0:
|
|
860
860
|
this.t8_1 = 3;
|
|
861
861
|
this.s8_1 = 1;
|
|
862
|
-
suspendResult = this.
|
|
862
|
+
suspendResult = this.he2_1.i24(new TableStateUpdate(this.fe2_1.id, this.fe2_1), this);
|
|
863
863
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
864
864
|
return suspendResult;
|
|
865
865
|
}
|
|
@@ -867,8 +867,8 @@
|
|
|
867
867
|
continue $sm;
|
|
868
868
|
case 1:
|
|
869
869
|
this.s8_1 = 2;
|
|
870
|
-
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.
|
|
871
|
-
suspendResult = emitAll(this.
|
|
870
|
+
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.ge2_1).i9b(), fromInt(_get_serverReduxConfig__rprcrm(this.ge2_1).serverStateUpdateIntervalMillis));
|
|
871
|
+
suspendResult = emitAll(this.he2_1, new _no_name_provided__qut3iv(this_0, this.fe2_1), this);
|
|
872
872
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
873
873
|
return suspendResult;
|
|
874
874
|
}
|
|
@@ -890,22 +890,22 @@
|
|
|
890
890
|
}
|
|
891
891
|
while (true);
|
|
892
892
|
};
|
|
893
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
894
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.
|
|
895
|
-
i.
|
|
893
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).je2 = function ($this$flow, completion) {
|
|
894
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.fe2_1, this.ge2_1, completion);
|
|
895
|
+
i.he2_1 = $this$flow;
|
|
896
896
|
return i;
|
|
897
897
|
};
|
|
898
898
|
function GameServer$observeTableStateUpdates$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
899
899
|
var i = new GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation);
|
|
900
900
|
var l = function ($this$flow, $completion) {
|
|
901
|
-
return i.
|
|
901
|
+
return i.ie2($this$flow, $completion);
|
|
902
902
|
};
|
|
903
903
|
l.$arity = 1;
|
|
904
904
|
return l;
|
|
905
905
|
}
|
|
906
906
|
function GameServer$observeTableStateUpdates$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
907
|
-
this.
|
|
908
|
-
this.
|
|
907
|
+
this.se2_1 = $$this$unsafeFlow;
|
|
908
|
+
this.te2_1 = this$0;
|
|
909
909
|
CoroutineImpl.call(this, resultContinuation);
|
|
910
910
|
}
|
|
911
911
|
protoOf(GameServer$observeTableStateUpdates$o$collect$slambda).c2j = function (value, $completion) {
|
|
@@ -926,16 +926,16 @@
|
|
|
926
926
|
case 0:
|
|
927
927
|
this.t8_1 = 5;
|
|
928
928
|
var tmp_0 = this;
|
|
929
|
-
tmp_0.
|
|
929
|
+
tmp_0.ye2_1 = this.se2_1;
|
|
930
930
|
var tmp_1 = this;
|
|
931
|
-
tmp_1.
|
|
931
|
+
tmp_1.xe2_1 = this.ue2_1;
|
|
932
932
|
this.s8_1 = 1;
|
|
933
933
|
continue $sm;
|
|
934
934
|
case 1:
|
|
935
|
-
this.
|
|
936
|
-
var it = this.
|
|
935
|
+
this.ve2_1 = this.ye2_1;
|
|
936
|
+
var it = this.xe2_1;
|
|
937
937
|
var tmp_2;
|
|
938
|
-
if (get_isCreated(this.
|
|
938
|
+
if (get_isCreated(this.te2_1.h6f())) {
|
|
939
939
|
tmp_2 = it;
|
|
940
940
|
} else {
|
|
941
941
|
tmp_2 = null;
|
|
@@ -947,15 +947,15 @@
|
|
|
947
947
|
var tmp_3 = this;
|
|
948
948
|
continue $sm;
|
|
949
949
|
} else {
|
|
950
|
-
this.
|
|
950
|
+
this.we2_1 = tmp0_elvis_lhs;
|
|
951
951
|
this.s8_1 = 2;
|
|
952
952
|
continue $sm;
|
|
953
953
|
}
|
|
954
954
|
|
|
955
955
|
case 2:
|
|
956
|
-
var transformed = this.
|
|
956
|
+
var transformed = this.we2_1;
|
|
957
957
|
this.s8_1 = 3;
|
|
958
|
-
suspendResult = this.
|
|
958
|
+
suspendResult = this.ve2_1.i24(transformed, this);
|
|
959
959
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
960
960
|
return suspendResult;
|
|
961
961
|
}
|
|
@@ -986,8 +986,8 @@
|
|
|
986
986
|
while (true);
|
|
987
987
|
};
|
|
988
988
|
protoOf(GameServer$observeTableStateUpdates$o$collect$slambda).d2j = function (value, completion) {
|
|
989
|
-
var i = new GameServer$observeTableStateUpdates$o$collect$slambda(this.
|
|
990
|
-
i.
|
|
989
|
+
var i = new GameServer$observeTableStateUpdates$o$collect$slambda(this.se2_1, this.te2_1, completion);
|
|
990
|
+
i.ue2_1 = value;
|
|
991
991
|
return i;
|
|
992
992
|
};
|
|
993
993
|
function GameServer$observeTableStateUpdates$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
@@ -1000,8 +1000,8 @@
|
|
|
1000
1000
|
}
|
|
1001
1001
|
function $collectCOROUTINE$_1(_this__u8e3s4, collector, resultContinuation) {
|
|
1002
1002
|
CoroutineImpl.call(this, resultContinuation);
|
|
1003
|
-
this.
|
|
1004
|
-
this.
|
|
1003
|
+
this.he3_1 = _this__u8e3s4;
|
|
1004
|
+
this.ie3_1 = collector;
|
|
1005
1005
|
}
|
|
1006
1006
|
protoOf($collectCOROUTINE$_1).a9 = function () {
|
|
1007
1007
|
var suspendResult = this.u8_1;
|
|
@@ -1011,10 +1011,10 @@
|
|
|
1011
1011
|
switch (tmp) {
|
|
1012
1012
|
case 0:
|
|
1013
1013
|
this.t8_1 = 2;
|
|
1014
|
-
var $this$unsafeFlow = this.
|
|
1014
|
+
var $this$unsafeFlow = this.ie3_1;
|
|
1015
1015
|
this.s8_1 = 1;
|
|
1016
|
-
var tmp_0 = GameServer$observeTableStateUpdates$o$collect$slambda_0($this$unsafeFlow, this.
|
|
1017
|
-
suspendResult = this.
|
|
1016
|
+
var tmp_0 = GameServer$observeTableStateUpdates$o$collect$slambda_0($this$unsafeFlow, this.he3_1.ke3_1, null);
|
|
1017
|
+
suspendResult = this.he3_1.je3_1.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
1018
1018
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1019
1019
|
return suspendResult;
|
|
1020
1020
|
}
|
|
@@ -1037,7 +1037,7 @@
|
|
|
1037
1037
|
while (true);
|
|
1038
1038
|
};
|
|
1039
1039
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
1040
|
-
this.
|
|
1040
|
+
this.te3_1 = $$this$unsafeFlow;
|
|
1041
1041
|
CoroutineImpl.call(this, resultContinuation);
|
|
1042
1042
|
}
|
|
1043
1043
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).c2j = function (value, $completion) {
|
|
@@ -1058,28 +1058,28 @@
|
|
|
1058
1058
|
case 0:
|
|
1059
1059
|
this.t8_1 = 5;
|
|
1060
1060
|
var tmp_0 = this;
|
|
1061
|
-
tmp_0.
|
|
1061
|
+
tmp_0.ye3_1 = this.te3_1;
|
|
1062
1062
|
var tmp_1 = this;
|
|
1063
|
-
tmp_1.
|
|
1063
|
+
tmp_1.xe3_1 = this.ue3_1;
|
|
1064
1064
|
this.s8_1 = 1;
|
|
1065
1065
|
continue $sm;
|
|
1066
1066
|
case 1:
|
|
1067
|
-
this.
|
|
1068
|
-
var tmp0_elvis_lhs = this.
|
|
1067
|
+
this.ve3_1 = this.ye3_1;
|
|
1068
|
+
var tmp0_elvis_lhs = this.xe3_1.tableOrNull;
|
|
1069
1069
|
if (tmp0_elvis_lhs == null) {
|
|
1070
1070
|
this.s8_1 = 4;
|
|
1071
1071
|
var tmp_2 = this;
|
|
1072
1072
|
continue $sm;
|
|
1073
1073
|
} else {
|
|
1074
|
-
this.
|
|
1074
|
+
this.we3_1 = tmp0_elvis_lhs;
|
|
1075
1075
|
this.s8_1 = 2;
|
|
1076
1076
|
continue $sm;
|
|
1077
1077
|
}
|
|
1078
1078
|
|
|
1079
1079
|
case 2:
|
|
1080
|
-
var transformed = this.
|
|
1080
|
+
var transformed = this.we3_1;
|
|
1081
1081
|
this.s8_1 = 3;
|
|
1082
|
-
suspendResult = this.
|
|
1082
|
+
suspendResult = this.ve3_1.i24(transformed, this);
|
|
1083
1083
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1084
1084
|
return suspendResult;
|
|
1085
1085
|
}
|
|
@@ -1110,8 +1110,8 @@
|
|
|
1110
1110
|
while (true);
|
|
1111
1111
|
};
|
|
1112
1112
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).d2j = function (value, completion) {
|
|
1113
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
1114
|
-
i.
|
|
1113
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.te3_1, completion);
|
|
1114
|
+
i.ue3_1 = value;
|
|
1115
1115
|
return i;
|
|
1116
1116
|
};
|
|
1117
1117
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1124,8 +1124,8 @@
|
|
|
1124
1124
|
}
|
|
1125
1125
|
function $collectCOROUTINE$_2(_this__u8e3s4, collector, resultContinuation) {
|
|
1126
1126
|
CoroutineImpl.call(this, resultContinuation);
|
|
1127
|
-
this.
|
|
1128
|
-
this.
|
|
1127
|
+
this.he4_1 = _this__u8e3s4;
|
|
1128
|
+
this.ie4_1 = collector;
|
|
1129
1129
|
}
|
|
1130
1130
|
protoOf($collectCOROUTINE$_2).a9 = function () {
|
|
1131
1131
|
var suspendResult = this.u8_1;
|
|
@@ -1135,10 +1135,10 @@
|
|
|
1135
1135
|
switch (tmp) {
|
|
1136
1136
|
case 0:
|
|
1137
1137
|
this.t8_1 = 2;
|
|
1138
|
-
var $this$unsafeFlow = this.
|
|
1138
|
+
var $this$unsafeFlow = this.ie4_1;
|
|
1139
1139
|
this.s8_1 = 1;
|
|
1140
1140
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($this$unsafeFlow, null);
|
|
1141
|
-
suspendResult = this.
|
|
1141
|
+
suspendResult = this.he4_1.je4_1.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1142
1142
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1143
1143
|
return suspendResult;
|
|
1144
1144
|
}
|
|
@@ -1161,7 +1161,7 @@
|
|
|
1161
1161
|
while (true);
|
|
1162
1162
|
};
|
|
1163
1163
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_1($$this$unsafeFlow, resultContinuation) {
|
|
1164
|
-
this.
|
|
1164
|
+
this.se4_1 = $$this$unsafeFlow;
|
|
1165
1165
|
CoroutineImpl.call(this, resultContinuation);
|
|
1166
1166
|
}
|
|
1167
1167
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).c2j = function (value, $completion) {
|
|
@@ -1181,8 +1181,8 @@
|
|
|
1181
1181
|
switch (tmp) {
|
|
1182
1182
|
case 0:
|
|
1183
1183
|
this.t8_1 = 2;
|
|
1184
|
-
var tmp0 = this.
|
|
1185
|
-
var value = this.
|
|
1184
|
+
var tmp0 = this.se4_1;
|
|
1185
|
+
var value = this.te4_1;
|
|
1186
1186
|
this.s8_1 = 1;
|
|
1187
1187
|
suspendResult = tmp0.i24(to(value.gameInfo.roundNumberTotal, value), this);
|
|
1188
1188
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1207,8 +1207,8 @@
|
|
|
1207
1207
|
while (true);
|
|
1208
1208
|
};
|
|
1209
1209
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).d2j = function (value, completion) {
|
|
1210
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.
|
|
1211
|
-
i.
|
|
1210
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.se4_1, completion);
|
|
1211
|
+
i.te4_1 = value;
|
|
1212
1212
|
return i;
|
|
1213
1213
|
};
|
|
1214
1214
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1221,8 +1221,8 @@
|
|
|
1221
1221
|
}
|
|
1222
1222
|
function $collectCOROUTINE$_3(_this__u8e3s4, collector, resultContinuation) {
|
|
1223
1223
|
CoroutineImpl.call(this, resultContinuation);
|
|
1224
|
-
this.
|
|
1225
|
-
this.
|
|
1224
|
+
this.ce5_1 = _this__u8e3s4;
|
|
1225
|
+
this.de5_1 = collector;
|
|
1226
1226
|
}
|
|
1227
1227
|
protoOf($collectCOROUTINE$_3).a9 = function () {
|
|
1228
1228
|
var suspendResult = this.u8_1;
|
|
@@ -1232,10 +1232,10 @@
|
|
|
1232
1232
|
switch (tmp) {
|
|
1233
1233
|
case 0:
|
|
1234
1234
|
this.t8_1 = 2;
|
|
1235
|
-
var $this$unsafeFlow = this.
|
|
1235
|
+
var $this$unsafeFlow = this.de5_1;
|
|
1236
1236
|
this.s8_1 = 1;
|
|
1237
1237
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($this$unsafeFlow, null);
|
|
1238
|
-
suspendResult = this.
|
|
1238
|
+
suspendResult = this.ce5_1.ee5_1.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1239
1239
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1240
1240
|
return suspendResult;
|
|
1241
1241
|
}
|
|
@@ -1258,7 +1258,7 @@
|
|
|
1258
1258
|
while (true);
|
|
1259
1259
|
};
|
|
1260
1260
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_3($$this$unsafeFlow, resultContinuation) {
|
|
1261
|
-
this.
|
|
1261
|
+
this.ne5_1 = $$this$unsafeFlow;
|
|
1262
1262
|
CoroutineImpl.call(this, resultContinuation);
|
|
1263
1263
|
}
|
|
1264
1264
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).c2j = function (value, $completion) {
|
|
@@ -1278,8 +1278,8 @@
|
|
|
1278
1278
|
switch (tmp) {
|
|
1279
1279
|
case 0:
|
|
1280
1280
|
this.t8_1 = 2;
|
|
1281
|
-
var tmp0 = this.
|
|
1282
|
-
var value = this.
|
|
1281
|
+
var tmp0 = this.ne5_1;
|
|
1282
|
+
var value = this.oe5_1;
|
|
1283
1283
|
this.s8_1 = 1;
|
|
1284
1284
|
suspendResult = tmp0.i24(value.ne_1, this);
|
|
1285
1285
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1304,8 +1304,8 @@
|
|
|
1304
1304
|
while (true);
|
|
1305
1305
|
};
|
|
1306
1306
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).d2j = function (value, completion) {
|
|
1307
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.
|
|
1308
|
-
i.
|
|
1307
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.ne5_1, completion);
|
|
1308
|
+
i.oe5_1 = value;
|
|
1309
1309
|
return i;
|
|
1310
1310
|
};
|
|
1311
1311
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1318,8 +1318,8 @@
|
|
|
1318
1318
|
}
|
|
1319
1319
|
function $collectCOROUTINE$_4(_this__u8e3s4, collector, resultContinuation) {
|
|
1320
1320
|
CoroutineImpl.call(this, resultContinuation);
|
|
1321
|
-
this.
|
|
1322
|
-
this.
|
|
1321
|
+
this.xe5_1 = _this__u8e3s4;
|
|
1322
|
+
this.ye5_1 = collector;
|
|
1323
1323
|
}
|
|
1324
1324
|
protoOf($collectCOROUTINE$_4).a9 = function () {
|
|
1325
1325
|
var suspendResult = this.u8_1;
|
|
@@ -1329,10 +1329,10 @@
|
|
|
1329
1329
|
switch (tmp) {
|
|
1330
1330
|
case 0:
|
|
1331
1331
|
this.t8_1 = 2;
|
|
1332
|
-
var $this$unsafeFlow = this.
|
|
1332
|
+
var $this$unsafeFlow = this.ye5_1;
|
|
1333
1333
|
this.s8_1 = 1;
|
|
1334
1334
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($this$unsafeFlow, null);
|
|
1335
|
-
suspendResult = this.
|
|
1335
|
+
suspendResult = this.xe5_1.ze5_1.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1336
1336
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1337
1337
|
return suspendResult;
|
|
1338
1338
|
}
|
|
@@ -1355,17 +1355,17 @@
|
|
|
1355
1355
|
while (true);
|
|
1356
1356
|
};
|
|
1357
1357
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
1358
|
-
this.
|
|
1358
|
+
this.ie6_1 = $subscriber;
|
|
1359
1359
|
CoroutineImpl.call(this, resultContinuation);
|
|
1360
1360
|
}
|
|
1361
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1362
|
-
var tmp = this.
|
|
1361
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).ke6 = function (it, $completion) {
|
|
1362
|
+
var tmp = this.le6(it, $completion);
|
|
1363
1363
|
tmp.u8_1 = Unit_instance;
|
|
1364
1364
|
tmp.v8_1 = null;
|
|
1365
1365
|
return tmp.a9();
|
|
1366
1366
|
};
|
|
1367
1367
|
protoOf(GameServer$subscribeWith$slambda$slambda).i9 = function (p1, $completion) {
|
|
1368
|
-
return this.
|
|
1368
|
+
return this.ke6(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
1369
1369
|
};
|
|
1370
1370
|
protoOf(GameServer$subscribeWith$slambda$slambda).a9 = function () {
|
|
1371
1371
|
var suspendResult = this.u8_1;
|
|
@@ -1374,7 +1374,7 @@
|
|
|
1374
1374
|
var tmp = this.s8_1;
|
|
1375
1375
|
if (tmp === 0) {
|
|
1376
1376
|
this.t8_1 = 1;
|
|
1377
|
-
this.
|
|
1377
|
+
this.ie6_1(this.je6_1);
|
|
1378
1378
|
return Unit_instance;
|
|
1379
1379
|
} else if (tmp === 1) {
|
|
1380
1380
|
throw this.v8_1;
|
|
@@ -1385,76 +1385,76 @@
|
|
|
1385
1385
|
}
|
|
1386
1386
|
while (true);
|
|
1387
1387
|
};
|
|
1388
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1389
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
1390
|
-
i.
|
|
1388
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).le6 = function (it, completion) {
|
|
1389
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.ie6_1, completion);
|
|
1390
|
+
i.je6_1 = it;
|
|
1391
1391
|
return i;
|
|
1392
1392
|
};
|
|
1393
1393
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
1394
1394
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
1395
1395
|
var l = function (it, $completion) {
|
|
1396
|
-
return i.
|
|
1396
|
+
return i.ke6(it, $completion);
|
|
1397
1397
|
};
|
|
1398
1398
|
l.$arity = 1;
|
|
1399
1399
|
return l;
|
|
1400
1400
|
}
|
|
1401
1401
|
function GameServer$roomOnCreate$2$updatedUsers$previousTeams$1($playerId) {
|
|
1402
|
-
this.
|
|
1402
|
+
this.me6_1 = $playerId;
|
|
1403
1403
|
}
|
|
1404
1404
|
protoOf(GameServer$roomOnCreate$2$updatedUsers$previousTeams$1).h6e = function () {
|
|
1405
|
-
return this.
|
|
1405
|
+
return this.me6_1;
|
|
1406
1406
|
};
|
|
1407
1407
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
1408
|
-
var tmp0 = $this.
|
|
1408
|
+
var tmp0 = $this.re6_1;
|
|
1409
1409
|
var tmp = KProperty1;
|
|
1410
1410
|
// Inline function 'kotlin.getValue' call
|
|
1411
1411
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, GameServer$_get_toClientEventsObserver_$ref_utir8s_0(), null);
|
|
1412
1412
|
return tmp0.x();
|
|
1413
1413
|
}
|
|
1414
1414
|
function _get_fromClientEventsObserver__a7vzd3($this) {
|
|
1415
|
-
var tmp0 = $this.
|
|
1415
|
+
var tmp0 = $this.se6_1;
|
|
1416
1416
|
var tmp = KProperty1;
|
|
1417
1417
|
// Inline function 'kotlin.getValue' call
|
|
1418
1418
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, GameServer$_get_fromClientEventsObserver_$ref_nf1g79_0(), null);
|
|
1419
1419
|
return tmp0.x();
|
|
1420
1420
|
}
|
|
1421
1421
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
1422
|
-
var tmp0 = $this.
|
|
1422
|
+
var tmp0 = $this.te6_1;
|
|
1423
1423
|
var tmp = KProperty1;
|
|
1424
1424
|
// Inline function 'kotlin.getValue' call
|
|
1425
1425
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, GameServer$_get_playerConnectionInteractor_$ref_of8tan_0(), null);
|
|
1426
1426
|
return tmp0.x();
|
|
1427
1427
|
}
|
|
1428
1428
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
1429
|
-
var tmp0 = $this.
|
|
1429
|
+
var tmp0 = $this.ue6_1;
|
|
1430
1430
|
var tmp = KProperty1;
|
|
1431
1431
|
// Inline function 'kotlin.getValue' call
|
|
1432
1432
|
getPropertyCallableRef('teamsLogicProvider', 1, tmp, GameServer$_get_teamsLogicProvider_$ref_b7y54g_0(), null);
|
|
1433
1433
|
return tmp0.x();
|
|
1434
1434
|
}
|
|
1435
1435
|
function _get_random__h29cgo($this) {
|
|
1436
|
-
var tmp0 = $this.
|
|
1436
|
+
var tmp0 = $this.ve6_1;
|
|
1437
1437
|
var tmp = KProperty1;
|
|
1438
1438
|
// Inline function 'kotlin.getValue' call
|
|
1439
1439
|
getPropertyCallableRef('random', 1, tmp, GameServer$_get_random_$ref_fottnq(), null);
|
|
1440
1440
|
return tmp0.x();
|
|
1441
1441
|
}
|
|
1442
1442
|
function _get_idsProvider__fnfajc($this) {
|
|
1443
|
-
var tmp0 = $this.
|
|
1443
|
+
var tmp0 = $this.we6_1;
|
|
1444
1444
|
var tmp = KProperty1;
|
|
1445
1445
|
// Inline function 'kotlin.getValue' call
|
|
1446
1446
|
getPropertyCallableRef('idsProvider', 1, tmp, GameServer$_get_idsProvider_$ref_89s908_0(), null);
|
|
1447
1447
|
return tmp0.x();
|
|
1448
1448
|
}
|
|
1449
1449
|
function _get_serverReduxConfig__rprcrm($this) {
|
|
1450
|
-
var tmp0 = $this.
|
|
1450
|
+
var tmp0 = $this.xe6_1;
|
|
1451
1451
|
var tmp = KProperty1;
|
|
1452
1452
|
// Inline function 'kotlin.getValue' call
|
|
1453
1453
|
getPropertyCallableRef('serverReduxConfig', 1, tmp, GameServer$_get_serverReduxConfig_$ref_7h6jq6_0(), null);
|
|
1454
1454
|
return tmp0.x();
|
|
1455
1455
|
}
|
|
1456
1456
|
function _get_encoderDecoderProvider__qqgrji($this) {
|
|
1457
|
-
var tmp0 = $this.
|
|
1457
|
+
var tmp0 = $this.ye6_1;
|
|
1458
1458
|
var tmp = KProperty1;
|
|
1459
1459
|
// Inline function 'kotlin.getValue' call
|
|
1460
1460
|
getPropertyCallableRef('encoderDecoderProvider', 1, tmp, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8_0(), null);
|
|
@@ -1486,20 +1486,20 @@
|
|
|
1486
1486
|
return new GameServer$observeTableWhenRoundChanges$$inlined$map$2(this_1);
|
|
1487
1487
|
}
|
|
1488
1488
|
function Companion() {
|
|
1489
|
-
this.
|
|
1489
|
+
this.ae7_1 = 'GameEngine_API';
|
|
1490
1490
|
}
|
|
1491
1491
|
var Companion_instance_7;
|
|
1492
1492
|
function Companion_getInstance_0() {
|
|
1493
1493
|
return Companion_instance_7;
|
|
1494
1494
|
}
|
|
1495
1495
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
1496
|
-
this.
|
|
1496
|
+
this.be7_1 = function_0;
|
|
1497
1497
|
}
|
|
1498
1498
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).i24 = function (value, $completion) {
|
|
1499
|
-
return this.
|
|
1499
|
+
return this.be7_1(value, $completion);
|
|
1500
1500
|
};
|
|
1501
1501
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).b3 = function () {
|
|
1502
|
-
return this.
|
|
1502
|
+
return this.be7_1;
|
|
1503
1503
|
};
|
|
1504
1504
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
1505
1505
|
var tmp;
|
|
@@ -1520,13 +1520,13 @@
|
|
|
1520
1520
|
return hashCode(this.b3());
|
|
1521
1521
|
};
|
|
1522
1522
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
1523
|
-
this.
|
|
1523
|
+
this.ce7_1 = function_0;
|
|
1524
1524
|
}
|
|
1525
1525
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).i24 = function (value, $completion) {
|
|
1526
|
-
return this.
|
|
1526
|
+
return this.ce7_1(value, $completion);
|
|
1527
1527
|
};
|
|
1528
1528
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).b3 = function () {
|
|
1529
|
-
return this.
|
|
1529
|
+
return this.ce7_1;
|
|
1530
1530
|
};
|
|
1531
1531
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
1532
1532
|
var tmp;
|
|
@@ -1547,13 +1547,13 @@
|
|
|
1547
1547
|
return hashCode(this.b3());
|
|
1548
1548
|
};
|
|
1549
1549
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
1550
|
-
this.
|
|
1550
|
+
this.de7_1 = function_0;
|
|
1551
1551
|
}
|
|
1552
1552
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).i24 = function (value, $completion) {
|
|
1553
|
-
return this.
|
|
1553
|
+
return this.de7_1(value, $completion);
|
|
1554
1554
|
};
|
|
1555
1555
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).b3 = function () {
|
|
1556
|
-
return this.
|
|
1556
|
+
return this.de7_1;
|
|
1557
1557
|
};
|
|
1558
1558
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
1559
1559
|
var tmp;
|
|
@@ -1574,13 +1574,13 @@
|
|
|
1574
1574
|
return hashCode(this.b3());
|
|
1575
1575
|
};
|
|
1576
1576
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
1577
|
-
this.
|
|
1577
|
+
this.ee7_1 = function_0;
|
|
1578
1578
|
}
|
|
1579
1579
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).i24 = function (value, $completion) {
|
|
1580
|
-
return this.
|
|
1580
|
+
return this.ee7_1(value, $completion);
|
|
1581
1581
|
};
|
|
1582
1582
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).b3 = function () {
|
|
1583
|
-
return this.
|
|
1583
|
+
return this.ee7_1;
|
|
1584
1584
|
};
|
|
1585
1585
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
1586
1586
|
var tmp;
|
|
@@ -1601,13 +1601,13 @@
|
|
|
1601
1601
|
return hashCode(this.b3());
|
|
1602
1602
|
};
|
|
1603
1603
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
|
|
1604
|
-
this.
|
|
1604
|
+
this.fe7_1 = function_0;
|
|
1605
1605
|
}
|
|
1606
1606
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).i24 = function (value, $completion) {
|
|
1607
|
-
return this.
|
|
1607
|
+
return this.fe7_1(value, $completion);
|
|
1608
1608
|
};
|
|
1609
1609
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).b3 = function () {
|
|
1610
|
-
return this.
|
|
1610
|
+
return this.fe7_1;
|
|
1611
1611
|
};
|
|
1612
1612
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
|
|
1613
1613
|
var tmp;
|
|
@@ -1628,13 +1628,13 @@
|
|
|
1628
1628
|
return hashCode(this.b3());
|
|
1629
1629
|
};
|
|
1630
1630
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_4(function_0) {
|
|
1631
|
-
this.
|
|
1631
|
+
this.ge7_1 = function_0;
|
|
1632
1632
|
}
|
|
1633
1633
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).i24 = function (value, $completion) {
|
|
1634
|
-
return this.
|
|
1634
|
+
return this.ge7_1(value, $completion);
|
|
1635
1635
|
};
|
|
1636
1636
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).b3 = function () {
|
|
1637
|
-
return this.
|
|
1637
|
+
return this.ge7_1;
|
|
1638
1638
|
};
|
|
1639
1639
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).equals = function (other) {
|
|
1640
1640
|
var tmp;
|
|
@@ -1735,8 +1735,8 @@
|
|
|
1735
1735
|
};
|
|
1736
1736
|
}
|
|
1737
1737
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
1738
|
-
this.
|
|
1739
|
-
this.
|
|
1738
|
+
this.pe7_1 = this$0;
|
|
1739
|
+
this.qe7_1 = $subscriber;
|
|
1740
1740
|
CoroutineImpl.call(this, resultContinuation);
|
|
1741
1741
|
}
|
|
1742
1742
|
protoOf(GameServer$subscribeToClientAction$slambda).j29 = function ($this$launchDefault, $completion) {
|
|
@@ -1757,8 +1757,8 @@
|
|
|
1757
1757
|
case 0:
|
|
1758
1758
|
this.t8_1 = 2;
|
|
1759
1759
|
this.s8_1 = 1;
|
|
1760
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
1761
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
1760
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.pe7_1).db7();
|
|
1761
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.qe7_1, null);
|
|
1762
1762
|
suspendResult = tmp_0.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1763
1763
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1764
1764
|
return suspendResult;
|
|
@@ -1782,8 +1782,8 @@
|
|
|
1782
1782
|
while (true);
|
|
1783
1783
|
};
|
|
1784
1784
|
protoOf(GameServer$subscribeToClientAction$slambda).k29 = function ($this$launchDefault, completion) {
|
|
1785
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
1786
|
-
i.
|
|
1785
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.pe7_1, this.qe7_1, completion);
|
|
1786
|
+
i.re7_1 = $this$launchDefault;
|
|
1787
1787
|
return i;
|
|
1788
1788
|
};
|
|
1789
1789
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1795,8 +1795,8 @@
|
|
|
1795
1795
|
return l;
|
|
1796
1796
|
}
|
|
1797
1797
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
1798
|
-
this.
|
|
1799
|
-
this.
|
|
1798
|
+
this.ae8_1 = this$0;
|
|
1799
|
+
this.be8_1 = $subscriber;
|
|
1800
1800
|
CoroutineImpl.call(this, resultContinuation);
|
|
1801
1801
|
}
|
|
1802
1802
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).j29 = function ($this$launchDefault, $completion) {
|
|
@@ -1817,8 +1817,8 @@
|
|
|
1817
1817
|
case 0:
|
|
1818
1818
|
this.t8_1 = 2;
|
|
1819
1819
|
this.s8_1 = 1;
|
|
1820
|
-
var tmp_0 = observeTableStateUpdates(this.
|
|
1821
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
1820
|
+
var tmp_0 = observeTableStateUpdates(this.ae8_1);
|
|
1821
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.be8_1, null);
|
|
1822
1822
|
suspendResult = tmp_0.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
1823
1823
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1824
1824
|
return suspendResult;
|
|
@@ -1842,8 +1842,8 @@
|
|
|
1842
1842
|
while (true);
|
|
1843
1843
|
};
|
|
1844
1844
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).k29 = function ($this$launchDefault, completion) {
|
|
1845
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
1846
|
-
i.
|
|
1845
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.ae8_1, this.be8_1, completion);
|
|
1846
|
+
i.ce8_1 = $this$launchDefault;
|
|
1847
1847
|
return i;
|
|
1848
1848
|
};
|
|
1849
1849
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1855,8 +1855,8 @@
|
|
|
1855
1855
|
return l;
|
|
1856
1856
|
}
|
|
1857
1857
|
function GameServer$subscribeServerStateUpdateJson$slambda(this$0, $subscriber, resultContinuation) {
|
|
1858
|
-
this.
|
|
1859
|
-
this.
|
|
1858
|
+
this.le8_1 = this$0;
|
|
1859
|
+
this.me8_1 = $subscriber;
|
|
1860
1860
|
CoroutineImpl.call(this, resultContinuation);
|
|
1861
1861
|
}
|
|
1862
1862
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).j29 = function ($this$launchDefault, $completion) {
|
|
@@ -1877,9 +1877,9 @@
|
|
|
1877
1877
|
case 0:
|
|
1878
1878
|
this.t8_1 = 2;
|
|
1879
1879
|
this.s8_1 = 1;
|
|
1880
|
-
var this_0 = observeTableStateUpdates(this.
|
|
1881
|
-
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.
|
|
1882
|
-
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.
|
|
1880
|
+
var this_0 = observeTableStateUpdates(this.le8_1);
|
|
1881
|
+
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.le8_1);
|
|
1882
|
+
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.me8_1, null);
|
|
1883
1883
|
suspendResult = tmp_0.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
1884
1884
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1885
1885
|
return suspendResult;
|
|
@@ -1903,8 +1903,8 @@
|
|
|
1903
1903
|
while (true);
|
|
1904
1904
|
};
|
|
1905
1905
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).k29 = function ($this$launchDefault, completion) {
|
|
1906
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.
|
|
1907
|
-
i.
|
|
1906
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.le8_1, this.me8_1, completion);
|
|
1907
|
+
i.ne8_1 = $this$launchDefault;
|
|
1908
1908
|
return i;
|
|
1909
1909
|
};
|
|
1910
1910
|
function GameServer$subscribeServerStateUpdateJson$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1916,18 +1916,18 @@
|
|
|
1916
1916
|
return l;
|
|
1917
1917
|
}
|
|
1918
1918
|
function GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation) {
|
|
1919
|
-
this.
|
|
1919
|
+
this.we8_1 = this$0;
|
|
1920
1920
|
CoroutineImpl.call(this, resultContinuation);
|
|
1921
1921
|
}
|
|
1922
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1923
|
-
var tmp = this.
|
|
1922
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).qcg = function ($this$transformLatest, it, $completion) {
|
|
1923
|
+
var tmp = this.rcg($this$transformLatest, it, $completion);
|
|
1924
1924
|
tmp.u8_1 = Unit_instance;
|
|
1925
1925
|
tmp.v8_1 = null;
|
|
1926
1926
|
return tmp.a9();
|
|
1927
1927
|
};
|
|
1928
1928
|
protoOf(GameServer$observeTableStateUpdates$slambda).j9 = function (p1, p2, $completion) {
|
|
1929
1929
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
1930
|
-
return this.
|
|
1930
|
+
return this.qcg(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
1931
1931
|
};
|
|
1932
1932
|
protoOf(GameServer$observeTableStateUpdates$slambda).a9 = function () {
|
|
1933
1933
|
var suspendResult = this.u8_1;
|
|
@@ -1938,8 +1938,8 @@
|
|
|
1938
1938
|
case 0:
|
|
1939
1939
|
this.t8_1 = 2;
|
|
1940
1940
|
this.s8_1 = 1;
|
|
1941
|
-
var table = this.
|
|
1942
|
-
suspendResult = emitAll(this.
|
|
1941
|
+
var table = this.ye8_1;
|
|
1942
|
+
suspendResult = emitAll(this.xe8_1, flow(GameServer$observeTableStateUpdates$slambda$slambda_0(table, this.we8_1, null)), this);
|
|
1943
1943
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1944
1944
|
return suspendResult;
|
|
1945
1945
|
}
|
|
@@ -1961,23 +1961,23 @@
|
|
|
1961
1961
|
}
|
|
1962
1962
|
while (true);
|
|
1963
1963
|
};
|
|
1964
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1965
|
-
var i = new GameServer$observeTableStateUpdates$slambda(this.
|
|
1966
|
-
i.
|
|
1967
|
-
i.
|
|
1964
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).rcg = function ($this$transformLatest, it, completion) {
|
|
1965
|
+
var i = new GameServer$observeTableStateUpdates$slambda(this.we8_1, completion);
|
|
1966
|
+
i.xe8_1 = $this$transformLatest;
|
|
1967
|
+
i.ye8_1 = it;
|
|
1968
1968
|
return i;
|
|
1969
1969
|
};
|
|
1970
1970
|
function GameServer$observeTableStateUpdates$slambda_0(this$0, resultContinuation) {
|
|
1971
1971
|
var i = new GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation);
|
|
1972
1972
|
var l = function ($this$transformLatest, it, $completion) {
|
|
1973
|
-
return i.
|
|
1973
|
+
return i.qcg($this$transformLatest, it, $completion);
|
|
1974
1974
|
};
|
|
1975
1975
|
l.$arity = 2;
|
|
1976
1976
|
return l;
|
|
1977
1977
|
}
|
|
1978
1978
|
function GameServer$observeTableStateUpdates$$inlined$mapNotNull$1($this, this$0) {
|
|
1979
|
-
this.
|
|
1980
|
-
this.
|
|
1979
|
+
this.je3_1 = $this;
|
|
1980
|
+
this.ke3_1 = this$0;
|
|
1981
1981
|
}
|
|
1982
1982
|
protoOf(GameServer$observeTableStateUpdates$$inlined$mapNotNull$1).j24 = function (collector, $completion) {
|
|
1983
1983
|
var tmp = new $collectCOROUTINE$_1(this, collector, $completion);
|
|
@@ -1989,7 +1989,7 @@
|
|
|
1989
1989
|
return this.j24(collector, $completion);
|
|
1990
1990
|
};
|
|
1991
1991
|
function GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1($this) {
|
|
1992
|
-
this.
|
|
1992
|
+
this.je4_1 = $this;
|
|
1993
1993
|
}
|
|
1994
1994
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).j24 = function (collector, $completion) {
|
|
1995
1995
|
var tmp = new $collectCOROUTINE$_2(this, collector, $completion);
|
|
@@ -2001,7 +2001,7 @@
|
|
|
2001
2001
|
return this.j24(collector, $completion);
|
|
2002
2002
|
};
|
|
2003
2003
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$1($this) {
|
|
2004
|
-
this.
|
|
2004
|
+
this.ee5_1 = $this;
|
|
2005
2005
|
}
|
|
2006
2006
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).j24 = function (collector, $completion) {
|
|
2007
2007
|
var tmp = new $collectCOROUTINE$_3(this, collector, $completion);
|
|
@@ -2016,7 +2016,7 @@
|
|
|
2016
2016
|
return old.me_1 === new_0.me_1;
|
|
2017
2017
|
}
|
|
2018
2018
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$2($this) {
|
|
2019
|
-
this.
|
|
2019
|
+
this.ze5_1 = $this;
|
|
2020
2020
|
}
|
|
2021
2021
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).j24 = function (collector, $completion) {
|
|
2022
2022
|
var tmp = new $collectCOROUTINE$_4(this, collector, $completion);
|
|
@@ -2028,8 +2028,8 @@
|
|
|
2028
2028
|
return this.j24(collector, $completion);
|
|
2029
2029
|
};
|
|
2030
2030
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
2031
|
-
this.
|
|
2032
|
-
this.
|
|
2031
|
+
this.he9_1 = this$0;
|
|
2032
|
+
this.ie9_1 = $subscriber;
|
|
2033
2033
|
CoroutineImpl.call(this, resultContinuation);
|
|
2034
2034
|
}
|
|
2035
2035
|
protoOf(GameServer$subscribeWith$slambda).j29 = function ($this$launchDefault, $completion) {
|
|
@@ -2050,8 +2050,8 @@
|
|
|
2050
2050
|
case 0:
|
|
2051
2051
|
this.t8_1 = 2;
|
|
2052
2052
|
this.s8_1 = 1;
|
|
2053
|
-
var tmp_0 = distinctUntilChanged(this.
|
|
2054
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
2053
|
+
var tmp_0 = distinctUntilChanged(this.he9_1.b71());
|
|
2054
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.ie9_1, null);
|
|
2055
2055
|
suspendResult = tmp_0.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_4(tmp_1), this);
|
|
2056
2056
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2057
2057
|
return suspendResult;
|
|
@@ -2075,8 +2075,8 @@
|
|
|
2075
2075
|
while (true);
|
|
2076
2076
|
};
|
|
2077
2077
|
protoOf(GameServer$subscribeWith$slambda).k29 = function ($this$launchDefault, completion) {
|
|
2078
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
2079
|
-
i.
|
|
2078
|
+
var i = new GameServer$subscribeWith$slambda(this.he9_1, this.ie9_1, completion);
|
|
2079
|
+
i.je9_1 = $this$launchDefault;
|
|
2080
2080
|
return i;
|
|
2081
2081
|
};
|
|
2082
2082
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -2088,18 +2088,18 @@
|
|
|
2088
2088
|
return l;
|
|
2089
2089
|
}
|
|
2090
2090
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
2091
|
-
this.
|
|
2091
|
+
this.se9_1 = $action;
|
|
2092
2092
|
CoroutineImpl.call(this, resultContinuation);
|
|
2093
2093
|
}
|
|
2094
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
2095
|
-
var tmp = this.
|
|
2094
|
+
protoOf(GameServer$fromClientEvent$slambda).fbp = function ($this$dispatchAsync, store, $completion) {
|
|
2095
|
+
var tmp = this.gbp($this$dispatchAsync, store, $completion);
|
|
2096
2096
|
tmp.u8_1 = Unit_instance;
|
|
2097
2097
|
tmp.v8_1 = null;
|
|
2098
2098
|
return tmp.a9();
|
|
2099
2099
|
};
|
|
2100
2100
|
protoOf(GameServer$fromClientEvent$slambda).j9 = function (p1, p2, $completion) {
|
|
2101
2101
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2102
|
-
return this.
|
|
2102
|
+
return this.fbp(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2103
2103
|
};
|
|
2104
2104
|
protoOf(GameServer$fromClientEvent$slambda).a9 = function () {
|
|
2105
2105
|
var suspendResult = this.u8_1;
|
|
@@ -2108,11 +2108,11 @@
|
|
|
2108
2108
|
var tmp = this.s8_1;
|
|
2109
2109
|
if (tmp === 0) {
|
|
2110
2110
|
this.t8_1 = 1;
|
|
2111
|
-
if (this.
|
|
2112
|
-
if (!get_isCreated(this.
|
|
2111
|
+
if (this.se9_1 instanceof PlayerReadyFromClientAction)
|
|
2112
|
+
if (!get_isCreated(this.ue9_1.state)) {
|
|
2113
2113
|
return Unit_instance;
|
|
2114
2114
|
}
|
|
2115
|
-
this.
|
|
2115
|
+
this.ue9_1.dispatch(this.se9_1);
|
|
2116
2116
|
return Unit_instance;
|
|
2117
2117
|
} else if (tmp === 1) {
|
|
2118
2118
|
throw this.v8_1;
|
|
@@ -2123,33 +2123,33 @@
|
|
|
2123
2123
|
}
|
|
2124
2124
|
while (true);
|
|
2125
2125
|
};
|
|
2126
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
2127
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
2128
|
-
i.
|
|
2129
|
-
i.
|
|
2126
|
+
protoOf(GameServer$fromClientEvent$slambda).gbp = function ($this$dispatchAsync, store, completion) {
|
|
2127
|
+
var i = new GameServer$fromClientEvent$slambda(this.se9_1, completion);
|
|
2128
|
+
i.te9_1 = $this$dispatchAsync;
|
|
2129
|
+
i.ue9_1 = store;
|
|
2130
2130
|
return i;
|
|
2131
2131
|
};
|
|
2132
2132
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
2133
2133
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
2134
2134
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2135
|
-
return i.
|
|
2135
|
+
return i.fbp($this$dispatchAsync, store, $completion);
|
|
2136
2136
|
};
|
|
2137
2137
|
l.$arity = 2;
|
|
2138
2138
|
return l;
|
|
2139
2139
|
}
|
|
2140
2140
|
function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
|
|
2141
|
-
this.
|
|
2141
|
+
this.dea_1 = $playerId;
|
|
2142
2142
|
CoroutineImpl.call(this, resultContinuation);
|
|
2143
2143
|
}
|
|
2144
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2145
|
-
var tmp = this.
|
|
2144
|
+
protoOf(GameServer$playerLostConnection$slambda).fbp = function ($this$dispatchAsync, store, $completion) {
|
|
2145
|
+
var tmp = this.gbp($this$dispatchAsync, store, $completion);
|
|
2146
2146
|
tmp.u8_1 = Unit_instance;
|
|
2147
2147
|
tmp.v8_1 = null;
|
|
2148
2148
|
return tmp.a9();
|
|
2149
2149
|
};
|
|
2150
2150
|
protoOf(GameServer$playerLostConnection$slambda).j9 = function (p1, p2, $completion) {
|
|
2151
2151
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2152
|
-
return this.
|
|
2152
|
+
return this.fbp(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2153
2153
|
};
|
|
2154
2154
|
protoOf(GameServer$playerLostConnection$slambda).a9 = function () {
|
|
2155
2155
|
var suspendResult = this.u8_1;
|
|
@@ -2158,12 +2158,12 @@
|
|
|
2158
2158
|
var tmp = this.s8_1;
|
|
2159
2159
|
if (tmp === 0) {
|
|
2160
2160
|
this.t8_1 = 1;
|
|
2161
|
-
if (!get_isCreated(this.
|
|
2161
|
+
if (!get_isCreated(this.fea_1.state)) {
|
|
2162
2162
|
return Unit_instance;
|
|
2163
2163
|
}
|
|
2164
|
-
var tmp_0 = this.
|
|
2164
|
+
var tmp_0 = this.fea_1.dispatch;
|
|
2165
2165
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
2166
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2166
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.dea_1));
|
|
2167
2167
|
return Unit_instance;
|
|
2168
2168
|
} else if (tmp === 1) {
|
|
2169
2169
|
throw this.v8_1;
|
|
@@ -2174,34 +2174,34 @@
|
|
|
2174
2174
|
}
|
|
2175
2175
|
while (true);
|
|
2176
2176
|
};
|
|
2177
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2178
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
2179
|
-
i.
|
|
2180
|
-
i.
|
|
2177
|
+
protoOf(GameServer$playerLostConnection$slambda).gbp = function ($this$dispatchAsync, store, completion) {
|
|
2178
|
+
var i = new GameServer$playerLostConnection$slambda(this.dea_1, completion);
|
|
2179
|
+
i.eea_1 = $this$dispatchAsync;
|
|
2180
|
+
i.fea_1 = store;
|
|
2181
2181
|
return i;
|
|
2182
2182
|
};
|
|
2183
2183
|
function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
|
|
2184
2184
|
var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
|
|
2185
2185
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2186
|
-
return i.
|
|
2186
|
+
return i.fbp($this$dispatchAsync, store, $completion);
|
|
2187
2187
|
};
|
|
2188
2188
|
l.$arity = 2;
|
|
2189
2189
|
return l;
|
|
2190
2190
|
}
|
|
2191
2191
|
function GameServer$playerLive$slambda(this$0, $playerId, resultContinuation) {
|
|
2192
|
-
this.
|
|
2193
|
-
this.
|
|
2192
|
+
this.oea_1 = this$0;
|
|
2193
|
+
this.pea_1 = $playerId;
|
|
2194
2194
|
CoroutineImpl.call(this, resultContinuation);
|
|
2195
2195
|
}
|
|
2196
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2197
|
-
var tmp = this.
|
|
2196
|
+
protoOf(GameServer$playerLive$slambda).fbp = function ($this$dispatchAsync, store, $completion) {
|
|
2197
|
+
var tmp = this.gbp($this$dispatchAsync, store, $completion);
|
|
2198
2198
|
tmp.u8_1 = Unit_instance;
|
|
2199
2199
|
tmp.v8_1 = null;
|
|
2200
2200
|
return tmp.a9();
|
|
2201
2201
|
};
|
|
2202
2202
|
protoOf(GameServer$playerLive$slambda).j9 = function (p1, p2, $completion) {
|
|
2203
2203
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2204
|
-
return this.
|
|
2204
|
+
return this.fbp(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2205
2205
|
};
|
|
2206
2206
|
protoOf(GameServer$playerLive$slambda).a9 = function () {
|
|
2207
2207
|
var suspendResult = this.u8_1;
|
|
@@ -2210,16 +2210,16 @@
|
|
|
2210
2210
|
var tmp = this.s8_1;
|
|
2211
2211
|
if (tmp === 0) {
|
|
2212
2212
|
this.t8_1 = 1;
|
|
2213
|
-
if (get_isFinished(this.
|
|
2213
|
+
if (get_isFinished(this.rea_1.state) || get_isFinishing(this.rea_1.state)) {
|
|
2214
2214
|
return Unit_instance;
|
|
2215
2215
|
}
|
|
2216
|
-
if (!get_isCreated(this.
|
|
2217
|
-
this.
|
|
2216
|
+
if (!get_isCreated(this.rea_1.state) || !this.oea_1.h6f().e72()) {
|
|
2217
|
+
this.oea_1.b56().v('GameEngine_API', 'playerLive: ' + this.pea_1 + ' before game is created');
|
|
2218
2218
|
return Unit_instance;
|
|
2219
2219
|
}
|
|
2220
|
-
var tmp_0 = this.
|
|
2220
|
+
var tmp_0 = this.rea_1.dispatch;
|
|
2221
2221
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2222
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2222
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.pea_1));
|
|
2223
2223
|
return Unit_instance;
|
|
2224
2224
|
} else if (tmp === 1) {
|
|
2225
2225
|
throw this.v8_1;
|
|
@@ -2230,35 +2230,35 @@
|
|
|
2230
2230
|
}
|
|
2231
2231
|
while (true);
|
|
2232
2232
|
};
|
|
2233
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2234
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
2235
|
-
i.
|
|
2236
|
-
i.
|
|
2233
|
+
protoOf(GameServer$playerLive$slambda).gbp = function ($this$dispatchAsync, store, completion) {
|
|
2234
|
+
var i = new GameServer$playerLive$slambda(this.oea_1, this.pea_1, completion);
|
|
2235
|
+
i.qea_1 = $this$dispatchAsync;
|
|
2236
|
+
i.rea_1 = store;
|
|
2237
2237
|
return i;
|
|
2238
2238
|
};
|
|
2239
2239
|
function GameServer$playerLive$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2240
2240
|
var i = new GameServer$playerLive$slambda(this$0, $playerId, resultContinuation);
|
|
2241
2241
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2242
|
-
return i.
|
|
2242
|
+
return i.fbp($this$dispatchAsync, store, $completion);
|
|
2243
2243
|
};
|
|
2244
2244
|
l.$arity = 2;
|
|
2245
2245
|
return l;
|
|
2246
2246
|
}
|
|
2247
2247
|
function GameServer$playerLeft$slambda(this$0, $playerId, $permanently, resultContinuation) {
|
|
2248
|
-
this.
|
|
2249
|
-
this.
|
|
2250
|
-
this.
|
|
2248
|
+
this.aeb_1 = this$0;
|
|
2249
|
+
this.beb_1 = $playerId;
|
|
2250
|
+
this.ceb_1 = $permanently;
|
|
2251
2251
|
CoroutineImpl.call(this, resultContinuation);
|
|
2252
2252
|
}
|
|
2253
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2254
|
-
var tmp = this.
|
|
2253
|
+
protoOf(GameServer$playerLeft$slambda).fbp = function ($this$dispatchAsync, store, $completion) {
|
|
2254
|
+
var tmp = this.gbp($this$dispatchAsync, store, $completion);
|
|
2255
2255
|
tmp.u8_1 = Unit_instance;
|
|
2256
2256
|
tmp.v8_1 = null;
|
|
2257
2257
|
return tmp.a9();
|
|
2258
2258
|
};
|
|
2259
2259
|
protoOf(GameServer$playerLeft$slambda).j9 = function (p1, p2, $completion) {
|
|
2260
2260
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2261
|
-
return this.
|
|
2261
|
+
return this.fbp(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2262
2262
|
};
|
|
2263
2263
|
protoOf(GameServer$playerLeft$slambda).a9 = function () {
|
|
2264
2264
|
var suspendResult = this.u8_1;
|
|
@@ -2267,22 +2267,22 @@
|
|
|
2267
2267
|
var tmp = this.s8_1;
|
|
2268
2268
|
if (tmp === 0) {
|
|
2269
2269
|
this.t8_1 = 1;
|
|
2270
|
-
if (get_isFinished(this.
|
|
2270
|
+
if (get_isFinished(this.eeb_1.state) || get_isFinishing(this.eeb_1.state)) {
|
|
2271
2271
|
return Unit_instance;
|
|
2272
2272
|
}
|
|
2273
|
-
if (!get_isCreated(this.
|
|
2274
|
-
this.
|
|
2273
|
+
if (!get_isCreated(this.eeb_1.state) || !this.aeb_1.h6f().e72()) {
|
|
2274
|
+
this.aeb_1.b56().w('GameEngine_API', 'playerLeft: ' + this.beb_1 + ' before game is created');
|
|
2275
2275
|
return Unit_instance;
|
|
2276
2276
|
}
|
|
2277
|
-
var tmp_0 = this.
|
|
2277
|
+
var tmp_0 = this.eeb_1.dispatch;
|
|
2278
2278
|
var tmp_1;
|
|
2279
|
-
if (this.
|
|
2279
|
+
if (this.ceb_1) {
|
|
2280
2280
|
tmp_1 = PlayerConnectionState_LEFT_PERMANENTLY_getInstance();
|
|
2281
2281
|
} else {
|
|
2282
2282
|
tmp_1 = PlayerConnectionState_LEFT_getInstance();
|
|
2283
2283
|
}
|
|
2284
2284
|
var tmp0_connectionState = tmp_1;
|
|
2285
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2285
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.beb_1));
|
|
2286
2286
|
return Unit_instance;
|
|
2287
2287
|
} else if (tmp === 1) {
|
|
2288
2288
|
throw this.v8_1;
|
|
@@ -2293,39 +2293,39 @@
|
|
|
2293
2293
|
}
|
|
2294
2294
|
while (true);
|
|
2295
2295
|
};
|
|
2296
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2297
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
2298
|
-
i.
|
|
2299
|
-
i.
|
|
2296
|
+
protoOf(GameServer$playerLeft$slambda).gbp = function ($this$dispatchAsync, store, completion) {
|
|
2297
|
+
var i = new GameServer$playerLeft$slambda(this.aeb_1, this.beb_1, this.ceb_1, completion);
|
|
2298
|
+
i.deb_1 = $this$dispatchAsync;
|
|
2299
|
+
i.eeb_1 = store;
|
|
2300
2300
|
return i;
|
|
2301
2301
|
};
|
|
2302
2302
|
function GameServer$playerLeft$slambda_0(this$0, $playerId, $permanently, resultContinuation) {
|
|
2303
2303
|
var i = new GameServer$playerLeft$slambda(this$0, $playerId, $permanently, resultContinuation);
|
|
2304
2304
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2305
|
-
return i.
|
|
2305
|
+
return i.fbp($this$dispatchAsync, store, $completion);
|
|
2306
2306
|
};
|
|
2307
2307
|
l.$arity = 2;
|
|
2308
2308
|
return l;
|
|
2309
2309
|
}
|
|
2310
2310
|
function GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2311
|
-
this.
|
|
2312
|
-
this.
|
|
2313
|
-
this.
|
|
2314
|
-
this.
|
|
2315
|
-
this.
|
|
2316
|
-
this.
|
|
2317
|
-
this.
|
|
2311
|
+
this.neb_1 = $usersArray;
|
|
2312
|
+
this.oeb_1 = $config;
|
|
2313
|
+
this.peb_1 = this$0;
|
|
2314
|
+
this.qeb_1 = $roomId;
|
|
2315
|
+
this.reb_1 = $transition;
|
|
2316
|
+
this.seb_1 = $gameCreatorId;
|
|
2317
|
+
this.teb_1 = $spectators;
|
|
2318
2318
|
CoroutineImpl.call(this, resultContinuation);
|
|
2319
2319
|
}
|
|
2320
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2321
|
-
var tmp = this.
|
|
2320
|
+
protoOf(GameServer$roomOnCreate$slambda).fbp = function ($this$dispatchAsync, store, $completion) {
|
|
2321
|
+
var tmp = this.gbp($this$dispatchAsync, store, $completion);
|
|
2322
2322
|
tmp.u8_1 = Unit_instance;
|
|
2323
2323
|
tmp.v8_1 = null;
|
|
2324
2324
|
return tmp.a9();
|
|
2325
2325
|
};
|
|
2326
2326
|
protoOf(GameServer$roomOnCreate$slambda).j9 = function (p1, p2, $completion) {
|
|
2327
2327
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2328
|
-
return this.
|
|
2328
|
+
return this.fbp(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2329
2329
|
};
|
|
2330
2330
|
protoOf(GameServer$roomOnCreate$slambda).a9 = function () {
|
|
2331
2331
|
var suspendResult = this.u8_1;
|
|
@@ -2334,28 +2334,28 @@
|
|
|
2334
2334
|
var tmp = this.s8_1;
|
|
2335
2335
|
if (tmp === 0) {
|
|
2336
2336
|
this.t8_1 = 1;
|
|
2337
|
-
var users = toList(this.
|
|
2338
|
-
if (!(this.
|
|
2339
|
-
this.
|
|
2340
|
-
this.
|
|
2337
|
+
var users = toList(this.neb_1);
|
|
2338
|
+
if (!(this.oeb_1.playersMode.count === users.o())) {
|
|
2339
|
+
this.peb_1.b56().w('GameEngine_API', 'roomOnCreate: wrong player count for game ' + this.qeb_1 + ', config = ' + this.oeb_1.toString() + ', users = ' + toString(users));
|
|
2340
|
+
this.veb_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.peb_1.table.isGameFinished, this.peb_1.table));
|
|
2341
2341
|
return Unit_instance;
|
|
2342
2342
|
}
|
|
2343
2343
|
var tmp_0;
|
|
2344
|
-
if (this.
|
|
2345
|
-
tmp_0 = _get_random__h29cgo(this.
|
|
2344
|
+
if (this.oeb_1.mode.shufflePlayers && this.reb_1 == null) {
|
|
2345
|
+
tmp_0 = _get_random__h29cgo(this.peb_1).l5t(toMutableList(users));
|
|
2346
2346
|
} else {
|
|
2347
|
-
var tmp0_safe_receiver = this.
|
|
2347
|
+
var tmp0_safe_receiver = this.reb_1;
|
|
2348
2348
|
var previousPlayers = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.previousPlayers;
|
|
2349
2349
|
var tmp_1;
|
|
2350
|
-
if (!(previousPlayers == null) && this.
|
|
2351
|
-
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.
|
|
2350
|
+
if (!(previousPlayers == null) && this.oeb_1.playersMode.isTeamGame) {
|
|
2351
|
+
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.peb_1);
|
|
2352
2352
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(previousPlayers, 10));
|
|
2353
2353
|
var _iterator__ex2g4s = previousPlayers.l();
|
|
2354
2354
|
while (_iterator__ex2g4s.m()) {
|
|
2355
2355
|
var item = _iterator__ex2g4s.n();
|
|
2356
2356
|
destination.j(new GameServer$roomOnCreate$2$updatedUsers$previousTeams$1(item));
|
|
2357
2357
|
}
|
|
2358
|
-
var previousTeams = tmp_2.
|
|
2358
|
+
var previousTeams = tmp_2.z9a(destination);
|
|
2359
2359
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
2360
2360
|
var _iterator__ex2g4s_0 = users.l();
|
|
2361
2361
|
while (_iterator__ex2g4s_0.m()) {
|
|
@@ -2379,19 +2379,19 @@
|
|
|
2379
2379
|
destination_1.j(destination_2);
|
|
2380
2380
|
}
|
|
2381
2381
|
var updatedTeams = destination_1;
|
|
2382
|
-
tmp_1 = _get_teamsLogicProvider__u10pm6(this.
|
|
2382
|
+
tmp_1 = _get_teamsLogicProvider__u10pm6(this.peb_1).d9b(updatedTeams);
|
|
2383
2383
|
} else {
|
|
2384
2384
|
tmp_1 = users;
|
|
2385
2385
|
}
|
|
2386
2386
|
tmp_0 = tmp_1;
|
|
2387
2387
|
}
|
|
2388
2388
|
var updatedUsers = tmp_0;
|
|
2389
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
2390
|
-
var tmp_3 = this.
|
|
2389
|
+
var gameCreatorUser = getPlayer(users, this.seb_1);
|
|
2390
|
+
var tmp_3 = this.veb_1.dispatch;
|
|
2391
2391
|
var tmp1_version = get_versionOrDefault(GameEngineConfig_instance);
|
|
2392
2392
|
var tmp2_users = sortWithItem(updatedUsers, gameCreatorUser);
|
|
2393
|
-
var tmp3_spectators = toList(this.
|
|
2394
|
-
tmp_3(new StartGameMechanicAction(this.
|
|
2393
|
+
var tmp3_spectators = toList(this.teb_1);
|
|
2394
|
+
tmp_3(new StartGameMechanicAction(this.oeb_1, this.qeb_1, tmp1_version, this.seb_1, tmp2_users, VOID, tmp3_spectators));
|
|
2395
2395
|
return Unit_instance;
|
|
2396
2396
|
} else if (tmp === 1) {
|
|
2397
2397
|
throw this.v8_1;
|
|
@@ -2402,33 +2402,33 @@
|
|
|
2402
2402
|
}
|
|
2403
2403
|
while (true);
|
|
2404
2404
|
};
|
|
2405
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2406
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
2407
|
-
i.
|
|
2408
|
-
i.
|
|
2405
|
+
protoOf(GameServer$roomOnCreate$slambda).gbp = function ($this$dispatchAsync, store, completion) {
|
|
2406
|
+
var i = new GameServer$roomOnCreate$slambda(this.neb_1, this.oeb_1, this.peb_1, this.qeb_1, this.reb_1, this.seb_1, this.teb_1, completion);
|
|
2407
|
+
i.ueb_1 = $this$dispatchAsync;
|
|
2408
|
+
i.veb_1 = store;
|
|
2409
2409
|
return i;
|
|
2410
2410
|
};
|
|
2411
2411
|
function GameServer$roomOnCreate$slambda_0($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2412
2412
|
var i = new GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation);
|
|
2413
2413
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2414
|
-
return i.
|
|
2414
|
+
return i.fbp($this$dispatchAsync, store, $completion);
|
|
2415
2415
|
};
|
|
2416
2416
|
l.$arity = 2;
|
|
2417
2417
|
return l;
|
|
2418
2418
|
}
|
|
2419
2419
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
2420
|
-
this.
|
|
2420
|
+
this.eec_1 = $state;
|
|
2421
2421
|
CoroutineImpl.call(this, resultContinuation);
|
|
2422
2422
|
}
|
|
2423
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2424
|
-
var tmp = this.
|
|
2423
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).hec = function ($this$dispatchAwait, store, $completion) {
|
|
2424
|
+
var tmp = this.gbp($this$dispatchAwait, store, $completion);
|
|
2425
2425
|
tmp.u8_1 = Unit_instance;
|
|
2426
2426
|
tmp.v8_1 = null;
|
|
2427
2427
|
return tmp.a9();
|
|
2428
2428
|
};
|
|
2429
2429
|
protoOf(GameServer$roomOnContinueFromState$slambda).j9 = function (p1, p2, $completion) {
|
|
2430
2430
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2431
|
-
return this.
|
|
2431
|
+
return this.hec(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2432
2432
|
};
|
|
2433
2433
|
protoOf(GameServer$roomOnContinueFromState$slambda).a9 = function () {
|
|
2434
2434
|
var suspendResult = this.u8_1;
|
|
@@ -2437,10 +2437,10 @@
|
|
|
2437
2437
|
var tmp = this.s8_1;
|
|
2438
2438
|
if (tmp === 0) {
|
|
2439
2439
|
this.t8_1 = 1;
|
|
2440
|
-
if (get_isCreating(this.
|
|
2441
|
-
var tmp_0 = this.
|
|
2440
|
+
if (get_isCreating(this.gec_1.state)) {
|
|
2441
|
+
var tmp_0 = this.gec_1.dispatch;
|
|
2442
2442
|
var tmp0_reason = new RestartRoundReason(null);
|
|
2443
|
-
var tmp1_table = this.
|
|
2443
|
+
var tmp1_table = this.eec_1.table;
|
|
2444
2444
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2445
2445
|
return true;
|
|
2446
2446
|
}
|
|
@@ -2454,34 +2454,34 @@
|
|
|
2454
2454
|
}
|
|
2455
2455
|
while (true);
|
|
2456
2456
|
};
|
|
2457
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2458
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
2459
|
-
i.
|
|
2460
|
-
i.
|
|
2457
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).gbp = function ($this$dispatchAwait, store, completion) {
|
|
2458
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.eec_1, completion);
|
|
2459
|
+
i.fec_1 = $this$dispatchAwait;
|
|
2460
|
+
i.gec_1 = store;
|
|
2461
2461
|
return i;
|
|
2462
2462
|
};
|
|
2463
2463
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
2464
2464
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
2465
2465
|
var l = function ($this$dispatchAwait, store, $completion) {
|
|
2466
|
-
return i.
|
|
2466
|
+
return i.hec($this$dispatchAwait, store, $completion);
|
|
2467
2467
|
};
|
|
2468
2468
|
l.$arity = 2;
|
|
2469
2469
|
return l;
|
|
2470
2470
|
}
|
|
2471
2471
|
function GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation) {
|
|
2472
|
-
this.
|
|
2473
|
-
this.
|
|
2472
|
+
this.qec_1 = $isCreated;
|
|
2473
|
+
this.rec_1 = $state;
|
|
2474
2474
|
CoroutineImpl.call(this, resultContinuation);
|
|
2475
2475
|
}
|
|
2476
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2477
|
-
var tmp = this.
|
|
2476
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).fbp = function ($this$dispatchAsync, store, $completion) {
|
|
2477
|
+
var tmp = this.gbp($this$dispatchAsync, store, $completion);
|
|
2478
2478
|
tmp.u8_1 = Unit_instance;
|
|
2479
2479
|
tmp.v8_1 = null;
|
|
2480
2480
|
return tmp.a9();
|
|
2481
2481
|
};
|
|
2482
2482
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).j9 = function (p1, p2, $completion) {
|
|
2483
2483
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2484
|
-
return this.
|
|
2484
|
+
return this.fbp(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2485
2485
|
};
|
|
2486
2486
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).a9 = function () {
|
|
2487
2487
|
var suspendResult = this.u8_1;
|
|
@@ -2492,7 +2492,7 @@
|
|
|
2492
2492
|
case 0:
|
|
2493
2493
|
this.t8_1 = 3;
|
|
2494
2494
|
this.s8_1 = 1;
|
|
2495
|
-
suspendResult = this.
|
|
2495
|
+
suspendResult = this.qec_1.f1p(this);
|
|
2496
2496
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2497
2497
|
return suspendResult;
|
|
2498
2498
|
}
|
|
@@ -2500,10 +2500,10 @@
|
|
|
2500
2500
|
continue $sm;
|
|
2501
2501
|
case 1:
|
|
2502
2502
|
if (suspendResult) {
|
|
2503
|
-
var _iterator__ex2g4s = this.
|
|
2503
|
+
var _iterator__ex2g4s = this.rec_1.actions.l();
|
|
2504
2504
|
while (_iterator__ex2g4s.m()) {
|
|
2505
2505
|
var element = _iterator__ex2g4s.n();
|
|
2506
|
-
this.
|
|
2506
|
+
this.tec_1.dispatch(element);
|
|
2507
2507
|
}
|
|
2508
2508
|
this.s8_1 = 2;
|
|
2509
2509
|
continue $sm;
|
|
@@ -2528,35 +2528,35 @@
|
|
|
2528
2528
|
}
|
|
2529
2529
|
while (true);
|
|
2530
2530
|
};
|
|
2531
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2532
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
2533
|
-
i.
|
|
2534
|
-
i.
|
|
2531
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).gbp = function ($this$dispatchAsync, store, completion) {
|
|
2532
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.qec_1, this.rec_1, completion);
|
|
2533
|
+
i.sec_1 = $this$dispatchAsync;
|
|
2534
|
+
i.tec_1 = store;
|
|
2535
2535
|
return i;
|
|
2536
2536
|
};
|
|
2537
2537
|
function GameServer$roomOnContinueFromState$slambda_2($isCreated, $state, resultContinuation) {
|
|
2538
2538
|
var i = new GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation);
|
|
2539
2539
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2540
|
-
return i.
|
|
2540
|
+
return i.fbp($this$dispatchAsync, store, $completion);
|
|
2541
2541
|
};
|
|
2542
2542
|
l.$arity = 2;
|
|
2543
2543
|
return l;
|
|
2544
2544
|
}
|
|
2545
2545
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
2546
|
-
this.
|
|
2547
|
-
this.
|
|
2548
|
-
this.
|
|
2546
|
+
this.ced_1 = $tableLite;
|
|
2547
|
+
this.ded_1 = $roomId;
|
|
2548
|
+
this.eed_1 = this$0;
|
|
2549
2549
|
CoroutineImpl.call(this, resultContinuation);
|
|
2550
2550
|
}
|
|
2551
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2552
|
-
var tmp = this.
|
|
2551
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).fbp = function ($this$dispatchAsync, store, $completion) {
|
|
2552
|
+
var tmp = this.gbp($this$dispatchAsync, store, $completion);
|
|
2553
2553
|
tmp.u8_1 = Unit_instance;
|
|
2554
2554
|
tmp.v8_1 = null;
|
|
2555
2555
|
return tmp.a9();
|
|
2556
2556
|
};
|
|
2557
2557
|
protoOf(GameServer$roomOnContinueFromRound$slambda).j9 = function (p1, p2, $completion) {
|
|
2558
2558
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2559
|
-
return this.
|
|
2559
|
+
return this.fbp(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2560
2560
|
};
|
|
2561
2561
|
protoOf(GameServer$roomOnContinueFromRound$slambda).a9 = function () {
|
|
2562
2562
|
var suspendResult = this.u8_1;
|
|
@@ -2565,9 +2565,9 @@
|
|
|
2565
2565
|
var tmp = this.s8_1;
|
|
2566
2566
|
if (tmp === 0) {
|
|
2567
2567
|
this.t8_1 = 1;
|
|
2568
|
-
var tmp_0 = this.
|
|
2569
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
2570
|
-
var tmp1_table = Companion_instance_0.restartRound(this.
|
|
2568
|
+
var tmp_0 = this.ged_1.dispatch;
|
|
2569
|
+
var tmp0_reason = new RestartRoundReason(this.ced_1.gameInfo.round.roundNumber);
|
|
2570
|
+
var tmp1_table = Companion_instance_0.restartRound(this.ded_1, _get_idsProvider__fnfajc(this.eed_1).z6m(), get_versionOrDefault(GameEngineConfig_instance), this.ced_1);
|
|
2571
2571
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2572
2572
|
return Unit_instance;
|
|
2573
2573
|
} else if (tmp === 1) {
|
|
@@ -2579,16 +2579,16 @@
|
|
|
2579
2579
|
}
|
|
2580
2580
|
while (true);
|
|
2581
2581
|
};
|
|
2582
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2583
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
2584
|
-
i.
|
|
2585
|
-
i.
|
|
2582
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).gbp = function ($this$dispatchAsync, store, completion) {
|
|
2583
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.ced_1, this.ded_1, this.eed_1, completion);
|
|
2584
|
+
i.fed_1 = $this$dispatchAsync;
|
|
2585
|
+
i.ged_1 = store;
|
|
2586
2586
|
return i;
|
|
2587
2587
|
};
|
|
2588
2588
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
2589
2589
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
2590
2590
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2591
|
-
return i.
|
|
2591
|
+
return i.fbp($this$dispatchAsync, store, $completion);
|
|
2592
2592
|
};
|
|
2593
2593
|
l.$arity = 2;
|
|
2594
2594
|
return l;
|
|
@@ -2596,15 +2596,15 @@
|
|
|
2596
2596
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
2597
2597
|
CoroutineImpl.call(this, resultContinuation);
|
|
2598
2598
|
}
|
|
2599
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2600
|
-
var tmp = this.
|
|
2599
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).fbp = function ($this$dispatchAsync, store, $completion) {
|
|
2600
|
+
var tmp = this.gbp($this$dispatchAsync, store, $completion);
|
|
2601
2601
|
tmp.u8_1 = Unit_instance;
|
|
2602
2602
|
tmp.v8_1 = null;
|
|
2603
2603
|
return tmp.a9();
|
|
2604
2604
|
};
|
|
2605
2605
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).j9 = function (p1, p2, $completion) {
|
|
2606
2606
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2607
|
-
return this.
|
|
2607
|
+
return this.fbp(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2608
2608
|
};
|
|
2609
2609
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).a9 = function () {
|
|
2610
2610
|
var suspendResult = this.u8_1;
|
|
@@ -2613,7 +2613,7 @@
|
|
|
2613
2613
|
var tmp = this.s8_1;
|
|
2614
2614
|
if (tmp === 0) {
|
|
2615
2615
|
this.t8_1 = 1;
|
|
2616
|
-
this.
|
|
2616
|
+
this.qed_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
2617
2617
|
return Unit_instance;
|
|
2618
2618
|
} else if (tmp === 1) {
|
|
2619
2619
|
throw this.v8_1;
|
|
@@ -2624,33 +2624,33 @@
|
|
|
2624
2624
|
}
|
|
2625
2625
|
while (true);
|
|
2626
2626
|
};
|
|
2627
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2627
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).gbp = function ($this$dispatchAsync, store, completion) {
|
|
2628
2628
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
2629
|
-
i.
|
|
2630
|
-
i.
|
|
2629
|
+
i.ped_1 = $this$dispatchAsync;
|
|
2630
|
+
i.qed_1 = store;
|
|
2631
2631
|
return i;
|
|
2632
2632
|
};
|
|
2633
2633
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
2634
2634
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
2635
2635
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2636
|
-
return i.
|
|
2636
|
+
return i.fbp($this$dispatchAsync, store, $completion);
|
|
2637
2637
|
};
|
|
2638
2638
|
l.$arity = 2;
|
|
2639
2639
|
return l;
|
|
2640
2640
|
}
|
|
2641
2641
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
2642
|
-
this.
|
|
2642
|
+
this.zed_1 = $spectators;
|
|
2643
2643
|
CoroutineImpl.call(this, resultContinuation);
|
|
2644
2644
|
}
|
|
2645
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2646
|
-
var tmp = this.
|
|
2645
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).fbp = function ($this$dispatchAsync, store, $completion) {
|
|
2646
|
+
var tmp = this.gbp($this$dispatchAsync, store, $completion);
|
|
2647
2647
|
tmp.u8_1 = Unit_instance;
|
|
2648
2648
|
tmp.v8_1 = null;
|
|
2649
2649
|
return tmp.a9();
|
|
2650
2650
|
};
|
|
2651
2651
|
protoOf(GameServer$addSpectatorsToRoom$slambda).j9 = function (p1, p2, $completion) {
|
|
2652
2652
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2653
|
-
return this.
|
|
2653
|
+
return this.fbp(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2654
2654
|
};
|
|
2655
2655
|
protoOf(GameServer$addSpectatorsToRoom$slambda).a9 = function () {
|
|
2656
2656
|
var suspendResult = this.u8_1;
|
|
@@ -2659,7 +2659,7 @@
|
|
|
2659
2659
|
var tmp = this.s8_1;
|
|
2660
2660
|
if (tmp === 0) {
|
|
2661
2661
|
this.t8_1 = 1;
|
|
2662
|
-
this.
|
|
2662
|
+
this.bee_1.dispatch(new AddSpectatorsAction(toList(this.zed_1)));
|
|
2663
2663
|
return Unit_instance;
|
|
2664
2664
|
} else if (tmp === 1) {
|
|
2665
2665
|
throw this.v8_1;
|
|
@@ -2670,33 +2670,33 @@
|
|
|
2670
2670
|
}
|
|
2671
2671
|
while (true);
|
|
2672
2672
|
};
|
|
2673
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2674
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
2675
|
-
i.
|
|
2676
|
-
i.
|
|
2673
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).gbp = function ($this$dispatchAsync, store, completion) {
|
|
2674
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.zed_1, completion);
|
|
2675
|
+
i.aee_1 = $this$dispatchAsync;
|
|
2676
|
+
i.bee_1 = store;
|
|
2677
2677
|
return i;
|
|
2678
2678
|
};
|
|
2679
2679
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
2680
2680
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
2681
2681
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2682
|
-
return i.
|
|
2682
|
+
return i.fbp($this$dispatchAsync, store, $completion);
|
|
2683
2683
|
};
|
|
2684
2684
|
l.$arity = 2;
|
|
2685
2685
|
return l;
|
|
2686
2686
|
}
|
|
2687
2687
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
2688
|
-
this.
|
|
2688
|
+
this.kee_1 = $spectators;
|
|
2689
2689
|
CoroutineImpl.call(this, resultContinuation);
|
|
2690
2690
|
}
|
|
2691
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2692
|
-
var tmp = this.
|
|
2691
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).fbp = function ($this$dispatchAsync, store, $completion) {
|
|
2692
|
+
var tmp = this.gbp($this$dispatchAsync, store, $completion);
|
|
2693
2693
|
tmp.u8_1 = Unit_instance;
|
|
2694
2694
|
tmp.v8_1 = null;
|
|
2695
2695
|
return tmp.a9();
|
|
2696
2696
|
};
|
|
2697
2697
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).j9 = function (p1, p2, $completion) {
|
|
2698
2698
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2699
|
-
return this.
|
|
2699
|
+
return this.fbp(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2700
2700
|
};
|
|
2701
2701
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).a9 = function () {
|
|
2702
2702
|
var suspendResult = this.u8_1;
|
|
@@ -2705,7 +2705,7 @@
|
|
|
2705
2705
|
var tmp = this.s8_1;
|
|
2706
2706
|
if (tmp === 0) {
|
|
2707
2707
|
this.t8_1 = 1;
|
|
2708
|
-
this.
|
|
2708
|
+
this.mee_1.dispatch(new RemoveSpectatorsAction(toList(this.kee_1)));
|
|
2709
2709
|
return Unit_instance;
|
|
2710
2710
|
} else if (tmp === 1) {
|
|
2711
2711
|
throw this.v8_1;
|
|
@@ -2716,34 +2716,34 @@
|
|
|
2716
2716
|
}
|
|
2717
2717
|
while (true);
|
|
2718
2718
|
};
|
|
2719
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2720
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
2721
|
-
i.
|
|
2722
|
-
i.
|
|
2719
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).gbp = function ($this$dispatchAsync, store, completion) {
|
|
2720
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.kee_1, completion);
|
|
2721
|
+
i.lee_1 = $this$dispatchAsync;
|
|
2722
|
+
i.mee_1 = store;
|
|
2723
2723
|
return i;
|
|
2724
2724
|
};
|
|
2725
2725
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
2726
2726
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
2727
2727
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2728
|
-
return i.
|
|
2728
|
+
return i.fbp($this$dispatchAsync, store, $completion);
|
|
2729
2729
|
};
|
|
2730
2730
|
l.$arity = 2;
|
|
2731
2731
|
return l;
|
|
2732
2732
|
}
|
|
2733
2733
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
2734
|
-
this.
|
|
2735
|
-
this.
|
|
2734
|
+
this.vee_1 = $playerId;
|
|
2735
|
+
this.wee_1 = this$0;
|
|
2736
2736
|
CoroutineImpl.call(this, resultContinuation);
|
|
2737
2737
|
}
|
|
2738
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2739
|
-
var tmp = this.
|
|
2738
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).fbp = function ($this$dispatchAsync, store, $completion) {
|
|
2739
|
+
var tmp = this.gbp($this$dispatchAsync, store, $completion);
|
|
2740
2740
|
tmp.u8_1 = Unit_instance;
|
|
2741
2741
|
tmp.v8_1 = null;
|
|
2742
2742
|
return tmp.a9();
|
|
2743
2743
|
};
|
|
2744
2744
|
protoOf(GameServer$roomRefreshPlayerState$slambda).j9 = function (p1, p2, $completion) {
|
|
2745
2745
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2746
|
-
return this.
|
|
2746
|
+
return this.fbp(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2747
2747
|
};
|
|
2748
2748
|
protoOf(GameServer$roomRefreshPlayerState$slambda).a9 = function () {
|
|
2749
2749
|
var suspendResult = this.u8_1;
|
|
@@ -2752,14 +2752,14 @@
|
|
|
2752
2752
|
var tmp = this.s8_1;
|
|
2753
2753
|
if (tmp === 0) {
|
|
2754
2754
|
this.t8_1 = 1;
|
|
2755
|
-
var table = this.
|
|
2756
|
-
var player = getPlayer(table.players, this.
|
|
2755
|
+
var table = this.yee_1.state.c72();
|
|
2756
|
+
var player = getPlayer(table.players, this.vee_1);
|
|
2757
2757
|
if (player.m75_1.k6h().z6f_1.isLive) {
|
|
2758
|
-
this.
|
|
2758
|
+
this.yee_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.wee_1).d9i(player, table));
|
|
2759
2759
|
} else {
|
|
2760
|
-
var tmp_0 = this.
|
|
2760
|
+
var tmp_0 = this.yee_1.dispatch;
|
|
2761
2761
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2762
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2762
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.vee_1));
|
|
2763
2763
|
}
|
|
2764
2764
|
return Unit_instance;
|
|
2765
2765
|
} else if (tmp === 1) {
|
|
@@ -2771,34 +2771,34 @@
|
|
|
2771
2771
|
}
|
|
2772
2772
|
while (true);
|
|
2773
2773
|
};
|
|
2774
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2775
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
2776
|
-
i.
|
|
2777
|
-
i.
|
|
2774
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).gbp = function ($this$dispatchAsync, store, completion) {
|
|
2775
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.vee_1, this.wee_1, completion);
|
|
2776
|
+
i.xee_1 = $this$dispatchAsync;
|
|
2777
|
+
i.yee_1 = store;
|
|
2778
2778
|
return i;
|
|
2779
2779
|
};
|
|
2780
2780
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
2781
2781
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
2782
2782
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2783
|
-
return i.
|
|
2783
|
+
return i.fbp($this$dispatchAsync, store, $completion);
|
|
2784
2784
|
};
|
|
2785
2785
|
l.$arity = 2;
|
|
2786
2786
|
return l;
|
|
2787
2787
|
}
|
|
2788
2788
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
2789
|
-
this.
|
|
2790
|
-
this.
|
|
2789
|
+
this.hef_1 = this$0;
|
|
2790
|
+
this.ief_1 = $newRid;
|
|
2791
2791
|
CoroutineImpl.call(this, resultContinuation);
|
|
2792
2792
|
}
|
|
2793
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2794
|
-
var tmp = this.
|
|
2793
|
+
protoOf(GameServer$roomOnDelete$slambda).fbp = function ($this$dispatchAsync, store, $completion) {
|
|
2794
|
+
var tmp = this.gbp($this$dispatchAsync, store, $completion);
|
|
2795
2795
|
tmp.u8_1 = Unit_instance;
|
|
2796
2796
|
tmp.v8_1 = null;
|
|
2797
2797
|
return tmp.a9();
|
|
2798
2798
|
};
|
|
2799
2799
|
protoOf(GameServer$roomOnDelete$slambda).j9 = function (p1, p2, $completion) {
|
|
2800
2800
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2801
|
-
return this.
|
|
2801
|
+
return this.fbp(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2802
2802
|
};
|
|
2803
2803
|
protoOf(GameServer$roomOnDelete$slambda).a9 = function () {
|
|
2804
2804
|
var suspendResult = this.u8_1;
|
|
@@ -2807,27 +2807,27 @@
|
|
|
2807
2807
|
var tmp = this.s8_1;
|
|
2808
2808
|
if (tmp === 0) {
|
|
2809
2809
|
this.t8_1 = 1;
|
|
2810
|
-
var it = this.
|
|
2810
|
+
var it = this.hef_1.h6f().c71_1;
|
|
2811
2811
|
var tmp_0;
|
|
2812
2812
|
if (it == null) {
|
|
2813
|
-
this.
|
|
2813
|
+
this.hef_1.b56().w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
2814
2814
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
2815
2815
|
} else {
|
|
2816
2816
|
tmp_0 = it;
|
|
2817
2817
|
}
|
|
2818
2818
|
var terminationState = tmp_0;
|
|
2819
|
-
var gameTransition = terminationState.
|
|
2819
|
+
var gameTransition = terminationState.h8m_1;
|
|
2820
2820
|
var tmp_1;
|
|
2821
2821
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
2822
|
-
var tmp0_elvis_lhs = this.
|
|
2822
|
+
var tmp0_elvis_lhs = this.ief_1;
|
|
2823
2823
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
2824
2824
|
} else {
|
|
2825
2825
|
tmp_1 = gameTransition;
|
|
2826
2826
|
}
|
|
2827
2827
|
var transition = tmp_1;
|
|
2828
|
-
var tmp_2 = this.
|
|
2829
|
-
var tmp0_reason = terminationState.
|
|
2830
|
-
var tmp1_isGameFinished = this.
|
|
2828
|
+
var tmp_2 = this.kef_1.dispatch;
|
|
2829
|
+
var tmp0_reason = terminationState.g8m_1;
|
|
2830
|
+
var tmp1_isGameFinished = this.hef_1.h6f().c72().isGameFinished;
|
|
2831
2831
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
2832
2832
|
return Unit_instance;
|
|
2833
2833
|
} else if (tmp === 1) {
|
|
@@ -2839,33 +2839,33 @@
|
|
|
2839
2839
|
}
|
|
2840
2840
|
while (true);
|
|
2841
2841
|
};
|
|
2842
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2843
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
2844
|
-
i.
|
|
2845
|
-
i.
|
|
2842
|
+
protoOf(GameServer$roomOnDelete$slambda).gbp = function ($this$dispatchAsync, store, completion) {
|
|
2843
|
+
var i = new GameServer$roomOnDelete$slambda(this.hef_1, this.ief_1, completion);
|
|
2844
|
+
i.jef_1 = $this$dispatchAsync;
|
|
2845
|
+
i.kef_1 = store;
|
|
2846
2846
|
return i;
|
|
2847
2847
|
};
|
|
2848
2848
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
2849
2849
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
2850
2850
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2851
|
-
return i.
|
|
2851
|
+
return i.fbp($this$dispatchAsync, store, $completion);
|
|
2852
2852
|
};
|
|
2853
2853
|
l.$arity = 2;
|
|
2854
2854
|
return l;
|
|
2855
2855
|
}
|
|
2856
2856
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
2857
|
-
this.
|
|
2857
|
+
this.tef_1 = $enabled;
|
|
2858
2858
|
CoroutineImpl.call(this, resultContinuation);
|
|
2859
2859
|
}
|
|
2860
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2861
|
-
var tmp = this.
|
|
2860
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).fbp = function ($this$dispatchAsync, store, $completion) {
|
|
2861
|
+
var tmp = this.gbp($this$dispatchAsync, store, $completion);
|
|
2862
2862
|
tmp.u8_1 = Unit_instance;
|
|
2863
2863
|
tmp.v8_1 = null;
|
|
2864
2864
|
return tmp.a9();
|
|
2865
2865
|
};
|
|
2866
2866
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).j9 = function (p1, p2, $completion) {
|
|
2867
2867
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2868
|
-
return this.
|
|
2868
|
+
return this.fbp(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2869
2869
|
};
|
|
2870
2870
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).a9 = function () {
|
|
2871
2871
|
var suspendResult = this.u8_1;
|
|
@@ -2874,7 +2874,7 @@
|
|
|
2874
2874
|
var tmp = this.s8_1;
|
|
2875
2875
|
if (tmp === 0) {
|
|
2876
2876
|
this.t8_1 = 1;
|
|
2877
|
-
this.
|
|
2877
|
+
this.vef_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload(this.vef_1.state).config.copy(VOID, !this.tef_1)));
|
|
2878
2878
|
return Unit_instance;
|
|
2879
2879
|
} else if (tmp === 1) {
|
|
2880
2880
|
throw this.v8_1;
|
|
@@ -2885,35 +2885,35 @@
|
|
|
2885
2885
|
}
|
|
2886
2886
|
while (true);
|
|
2887
2887
|
};
|
|
2888
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2889
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
2890
|
-
i.
|
|
2891
|
-
i.
|
|
2888
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).gbp = function ($this$dispatchAsync, store, completion) {
|
|
2889
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.tef_1, completion);
|
|
2890
|
+
i.uef_1 = $this$dispatchAsync;
|
|
2891
|
+
i.vef_1 = store;
|
|
2892
2892
|
return i;
|
|
2893
2893
|
};
|
|
2894
2894
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
2895
2895
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
2896
2896
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2897
|
-
return i.
|
|
2897
|
+
return i.fbp($this$dispatchAsync, store, $completion);
|
|
2898
2898
|
};
|
|
2899
2899
|
l.$arity = 2;
|
|
2900
2900
|
return l;
|
|
2901
2901
|
}
|
|
2902
2902
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
2903
|
-
this.
|
|
2904
|
-
this.
|
|
2905
|
-
this.
|
|
2903
|
+
this.eeg_1 = $reason;
|
|
2904
|
+
this.feg_1 = this$0;
|
|
2905
|
+
this.geg_1 = $roomId;
|
|
2906
2906
|
CoroutineImpl.call(this, resultContinuation);
|
|
2907
2907
|
}
|
|
2908
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2909
|
-
var tmp = this.
|
|
2908
|
+
protoOf(GameServer$shutdown$slambda).fbp = function ($this$dispatchAsync, store, $completion) {
|
|
2909
|
+
var tmp = this.gbp($this$dispatchAsync, store, $completion);
|
|
2910
2910
|
tmp.u8_1 = Unit_instance;
|
|
2911
2911
|
tmp.v8_1 = null;
|
|
2912
2912
|
return tmp.a9();
|
|
2913
2913
|
};
|
|
2914
2914
|
protoOf(GameServer$shutdown$slambda).j9 = function (p1, p2, $completion) {
|
|
2915
2915
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2916
|
-
return this.
|
|
2916
|
+
return this.fbp(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2917
2917
|
};
|
|
2918
2918
|
protoOf(GameServer$shutdown$slambda).a9 = function () {
|
|
2919
2919
|
var suspendResult = this.u8_1;
|
|
@@ -2922,11 +2922,11 @@
|
|
|
2922
2922
|
var tmp = this.s8_1;
|
|
2923
2923
|
if (tmp === 0) {
|
|
2924
2924
|
this.t8_1 = 1;
|
|
2925
|
-
var state = this.
|
|
2925
|
+
var state = this.ieg_1.store.state;
|
|
2926
2926
|
if (state.e72()) {
|
|
2927
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
2927
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.eeg_1, get_serverShutdownReasonMapping());
|
|
2928
2928
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
2929
|
-
var tmp_0 = this.
|
|
2929
|
+
var tmp_0 = this.ieg_1.dispatch;
|
|
2930
2930
|
var tmp_1 = Companion_instance;
|
|
2931
2931
|
var tmp_2;
|
|
2932
2932
|
switch (shutdownReason.q2_1) {
|
|
@@ -2940,12 +2940,12 @@
|
|
|
2940
2940
|
noWhenBranchMatchedException();
|
|
2941
2941
|
break;
|
|
2942
2942
|
}
|
|
2943
|
-
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.
|
|
2943
|
+
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.feg_1.table.isGameFinished, this.feg_1.table));
|
|
2944
2944
|
} else {
|
|
2945
|
-
this.
|
|
2946
|
-
var tmp_3 = this.
|
|
2945
|
+
this.feg_1.b56().w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.geg_1);
|
|
2946
|
+
var tmp_3 = this.ieg_1.dispatch;
|
|
2947
2947
|
var tmp2_safe_receiver = state.c71_1;
|
|
2948
|
-
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
2948
|
+
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.h8m_1));
|
|
2949
2949
|
}
|
|
2950
2950
|
return Unit_instance;
|
|
2951
2951
|
} else if (tmp === 1) {
|
|
@@ -2957,16 +2957,16 @@
|
|
|
2957
2957
|
}
|
|
2958
2958
|
while (true);
|
|
2959
2959
|
};
|
|
2960
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2961
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
2962
|
-
i.
|
|
2963
|
-
i.
|
|
2960
|
+
protoOf(GameServer$shutdown$slambda).gbp = function ($this$dispatchAsync, store, completion) {
|
|
2961
|
+
var i = new GameServer$shutdown$slambda(this.eeg_1, this.feg_1, this.geg_1, completion);
|
|
2962
|
+
i.heg_1 = $this$dispatchAsync;
|
|
2963
|
+
i.ieg_1 = store;
|
|
2964
2964
|
return i;
|
|
2965
2965
|
};
|
|
2966
2966
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
2967
2967
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
2968
2968
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2969
|
-
return i.
|
|
2969
|
+
return i.fbp($this$dispatchAsync, store, $completion);
|
|
2970
2970
|
};
|
|
2971
2971
|
l.$arity = 2;
|
|
2972
2972
|
return l;
|
|
@@ -2997,7 +2997,7 @@
|
|
|
2997
2997
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
2998
2998
|
var tmp_3 = Instance(di, tmp$ret$2, null);
|
|
2999
2999
|
var tmp_4 = KProperty1;
|
|
3000
|
-
tmp_1.
|
|
3000
|
+
tmp_1.re6_1 = tmp_3.c1h(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_4, GameServer$_get_toClientEventsObserver_$ref_utir8s(), null));
|
|
3001
3001
|
var tmp_5 = this;
|
|
3002
3002
|
// Inline function 'org.kodein.di.instance' call
|
|
3003
3003
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3005,7 +3005,7 @@
|
|
|
3005
3005
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
3006
3006
|
var tmp_7 = Instance(di, tmp$ret$4, null);
|
|
3007
3007
|
var tmp_8 = KProperty1;
|
|
3008
|
-
tmp_5.
|
|
3008
|
+
tmp_5.se6_1 = tmp_7.c1h(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_8, GameServer$_get_fromClientEventsObserver_$ref_nf1g79(), null));
|
|
3009
3009
|
var tmp_9 = this;
|
|
3010
3010
|
// Inline function 'org.kodein.di.instance' call
|
|
3011
3011
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3013,7 +3013,7 @@
|
|
|
3013
3013
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
3014
3014
|
var tmp_11 = Instance(di, tmp$ret$6, null);
|
|
3015
3015
|
var tmp_12 = KProperty1;
|
|
3016
|
-
tmp_9.
|
|
3016
|
+
tmp_9.te6_1 = tmp_11.c1h(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_12, GameServer$_get_playerConnectionInteractor_$ref_of8tan(), null));
|
|
3017
3017
|
var tmp_13 = this;
|
|
3018
3018
|
// Inline function 'org.kodein.di.instance' call
|
|
3019
3019
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3021,9 +3021,9 @@
|
|
|
3021
3021
|
var tmp$ret$8 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
3022
3022
|
var tmp_15 = Instance(di, tmp$ret$8, null);
|
|
3023
3023
|
var tmp_16 = KProperty1;
|
|
3024
|
-
tmp_13.
|
|
3024
|
+
tmp_13.ue6_1 = tmp_15.c1h(this, getPropertyCallableRef('teamsLogicProvider', 1, tmp_16, GameServer$_get_teamsLogicProvider_$ref_b7y54g(), null));
|
|
3025
3025
|
var tmp_17 = this;
|
|
3026
|
-
tmp_17.
|
|
3026
|
+
tmp_17.ve6_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
3027
3027
|
var tmp_18 = this;
|
|
3028
3028
|
// Inline function 'org.kodein.di.instance' call
|
|
3029
3029
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3031,7 +3031,7 @@
|
|
|
3031
3031
|
var tmp$ret$10 = isInterface(tmp_19, TypeToken) ? tmp_19 : THROW_CCE();
|
|
3032
3032
|
var tmp_20 = Instance(di, tmp$ret$10, null);
|
|
3033
3033
|
var tmp_21 = KProperty1;
|
|
3034
|
-
tmp_18.
|
|
3034
|
+
tmp_18.we6_1 = tmp_20.c1h(this, getPropertyCallableRef('idsProvider', 1, tmp_21, GameServer$_get_idsProvider_$ref_89s908(), null));
|
|
3035
3035
|
var tmp_22 = this;
|
|
3036
3036
|
// Inline function 'org.kodein.di.instance' call
|
|
3037
3037
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3039,7 +3039,7 @@
|
|
|
3039
3039
|
var tmp$ret$12 = isInterface(tmp_23, TypeToken) ? tmp_23 : THROW_CCE();
|
|
3040
3040
|
var tmp_24 = Instance(di, tmp$ret$12, null);
|
|
3041
3041
|
var tmp_25 = KProperty1;
|
|
3042
|
-
tmp_22.
|
|
3042
|
+
tmp_22.xe6_1 = tmp_24.c1h(this, getPropertyCallableRef('serverReduxConfig', 1, tmp_25, GameServer$_get_serverReduxConfig_$ref_7h6jq6(), null));
|
|
3043
3043
|
var tmp_26 = this;
|
|
3044
3044
|
// Inline function 'org.kodein.di.instance' call
|
|
3045
3045
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3047,16 +3047,16 @@
|
|
|
3047
3047
|
var tmp$ret$14 = isInterface(tmp_27, TypeToken) ? tmp_27 : THROW_CCE();
|
|
3048
3048
|
var tmp_28 = Instance(di, tmp$ret$14, null);
|
|
3049
3049
|
var tmp_29 = KProperty1;
|
|
3050
|
-
tmp_26.
|
|
3050
|
+
tmp_26.ye6_1 = tmp_28.c1h(this, getPropertyCallableRef('encoderDecoderProvider', 1, tmp_29, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8(), null));
|
|
3051
3051
|
var tmp_30 = this;
|
|
3052
|
-
var tmp0_externalMiddlewares = plus(storeContract.
|
|
3053
|
-
var tmp1_externalReducers = plus(storeContract.
|
|
3054
|
-
tmp_30.
|
|
3052
|
+
var tmp0_externalMiddlewares = plus(storeContract.h9o(), externalMiddlewares);
|
|
3053
|
+
var tmp1_externalReducers = plus(storeContract.g9o(), externalReducers);
|
|
3054
|
+
tmp_30.ze6_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
3055
3055
|
}
|
|
3056
3056
|
protoOf(GameServer).s70 = function () {
|
|
3057
|
-
return this.
|
|
3057
|
+
return this.ze6_1;
|
|
3058
3058
|
};
|
|
3059
|
-
protoOf(GameServer).
|
|
3059
|
+
protoOf(GameServer).g96 = function () {
|
|
3060
3060
|
return get_serverStatePayload(this.h6f()).metadata;
|
|
3061
3061
|
};
|
|
3062
3062
|
protoOf(GameServer).canReconnectPlayer = function (player) {
|
|
@@ -3099,55 +3099,55 @@
|
|
|
3099
3099
|
};
|
|
3100
3100
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
3101
3101
|
this.b56().d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
3102
|
-
this.
|
|
3102
|
+
this.ze6_1.a72(GameServer$fromClientEvent$slambda_0(action, null));
|
|
3103
3103
|
};
|
|
3104
3104
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
3105
3105
|
this.b56().d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
3106
|
-
this.
|
|
3106
|
+
this.ze6_1.a72(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
3107
3107
|
};
|
|
3108
3108
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
3109
3109
|
this.b56().d('GameEngine_API', 'playerLive: ' + playerId);
|
|
3110
|
-
this.
|
|
3110
|
+
this.ze6_1.a72(GameServer$playerLive$slambda_0(this, playerId, null));
|
|
3111
3111
|
};
|
|
3112
|
-
protoOf(GameServer).
|
|
3112
|
+
protoOf(GameServer).jeg = function (playerId, permanently) {
|
|
3113
3113
|
this.b56().d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
3114
|
-
this.
|
|
3114
|
+
this.ze6_1.a72(GameServer$playerLeft$slambda_0(this, playerId, permanently, null));
|
|
3115
3115
|
};
|
|
3116
|
-
protoOf(GameServer).
|
|
3116
|
+
protoOf(GameServer).keg = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
3117
3117
|
this.b56().d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
3118
|
-
this.
|
|
3118
|
+
this.ze6_1.a72(GameServer$roomOnCreate$slambda_0(usersArray, config, this, roomId, transition, gameCreatorId, spectators, null));
|
|
3119
3119
|
};
|
|
3120
3120
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
3121
3121
|
this.b56().d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
3122
|
-
var isCreated = this.
|
|
3123
|
-
this.
|
|
3122
|
+
var isCreated = this.ze6_1.b72(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
3123
|
+
this.ze6_1.a72(GameServer$roomOnContinueFromState$slambda_2(isCreated, state, null));
|
|
3124
3124
|
};
|
|
3125
3125
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
3126
3126
|
this.b56().d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
3127
|
-
this.
|
|
3128
|
-
this.
|
|
3127
|
+
this.ze6_1.a72(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
3128
|
+
this.ze6_1.a72(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
3129
3129
|
};
|
|
3130
3130
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
3131
|
-
this.
|
|
3131
|
+
this.ze6_1.a72(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
3132
3132
|
};
|
|
3133
3133
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
3134
|
-
this.
|
|
3134
|
+
this.ze6_1.a72(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
3135
3135
|
};
|
|
3136
3136
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
3137
3137
|
this.b56().d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
3138
|
-
this.
|
|
3138
|
+
this.ze6_1.a72(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
3139
3139
|
};
|
|
3140
|
-
protoOf(GameServer).
|
|
3140
|
+
protoOf(GameServer).leg = function (newRid) {
|
|
3141
3141
|
this.b56().d('GameEngine_API', 'roomOnDelete: newRid = ' + newRid);
|
|
3142
|
-
this.
|
|
3142
|
+
this.ze6_1.a72(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
3143
3143
|
};
|
|
3144
3144
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
3145
3145
|
this.b56().d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
3146
|
-
this.
|
|
3146
|
+
this.ze6_1.a72(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
3147
3147
|
};
|
|
3148
|
-
protoOf(GameServer).
|
|
3148
|
+
protoOf(GameServer).meg = function (reason, roomId) {
|
|
3149
3149
|
this.b56().d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
3150
|
-
this.
|
|
3150
|
+
this.ze6_1.a72(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
3151
3151
|
};
|
|
3152
3152
|
protoOf(GameServer).clear = function () {
|
|
3153
3153
|
return this.i2();
|
|
@@ -3201,13 +3201,13 @@
|
|
|
3201
3201
|
this.shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy;
|
|
3202
3202
|
this.shouldFinishGameWithBots = shouldFinishGameWithBots;
|
|
3203
3203
|
}
|
|
3204
|
-
protoOf(ServerConfig).
|
|
3204
|
+
protoOf(ServerConfig).neg = function () {
|
|
3205
3205
|
return this.fromRound;
|
|
3206
3206
|
};
|
|
3207
|
-
protoOf(ServerConfig).
|
|
3207
|
+
protoOf(ServerConfig).oeg = function () {
|
|
3208
3208
|
return this.shouldFinishGameWhenDeploy;
|
|
3209
3209
|
};
|
|
3210
|
-
protoOf(ServerConfig).
|
|
3210
|
+
protoOf(ServerConfig).peg = function () {
|
|
3211
3211
|
return this.shouldFinishGameWithBots;
|
|
3212
3212
|
};
|
|
3213
3213
|
protoOf(ServerConfig).oe = function () {
|
|
@@ -3219,14 +3219,14 @@
|
|
|
3219
3219
|
protoOf(ServerConfig).xl = function () {
|
|
3220
3220
|
return this.shouldFinishGameWithBots;
|
|
3221
3221
|
};
|
|
3222
|
-
protoOf(ServerConfig).
|
|
3222
|
+
protoOf(ServerConfig).qeg = function (fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) {
|
|
3223
3223
|
return new ServerConfig(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots);
|
|
3224
3224
|
};
|
|
3225
3225
|
protoOf(ServerConfig).copy = function (fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots, $super) {
|
|
3226
3226
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
3227
3227
|
shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy === VOID ? this.shouldFinishGameWhenDeploy : shouldFinishGameWhenDeploy;
|
|
3228
3228
|
shouldFinishGameWithBots = shouldFinishGameWithBots === VOID ? this.shouldFinishGameWithBots : shouldFinishGameWithBots;
|
|
3229
|
-
return $super === VOID ? this.
|
|
3229
|
+
return $super === VOID ? this.qeg(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) : $super.qeg.call(this, fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots);
|
|
3230
3230
|
};
|
|
3231
3231
|
protoOf(ServerConfig).toString = function () {
|
|
3232
3232
|
return 'ServerConfig(fromRound=' + this.fromRound + ', shouldFinishGameWhenDeploy=' + this.shouldFinishGameWhenDeploy + ', shouldFinishGameWithBots=' + this.shouldFinishGameWithBots + ')';
|
|
@@ -3291,20 +3291,20 @@
|
|
|
3291
3291
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 2);
|
|
3292
3292
|
tmp0_serialDesc.gz('roomId', false);
|
|
3293
3293
|
tmp0_serialDesc.gz('table', false);
|
|
3294
|
-
this.
|
|
3294
|
+
this.reg_1 = tmp0_serialDesc;
|
|
3295
3295
|
}
|
|
3296
|
-
protoOf($serializer).
|
|
3297
|
-
var tmp0_desc = this.
|
|
3296
|
+
protoOf($serializer).seg = function (encoder, value) {
|
|
3297
|
+
var tmp0_desc = this.reg_1;
|
|
3298
3298
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3299
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3299
|
+
tmp1_output.dt(tmp0_desc, 0, value.teg_1);
|
|
3300
3300
|
tmp1_output.dt(tmp0_desc, 1, value.table);
|
|
3301
3301
|
tmp1_output.pr(tmp0_desc);
|
|
3302
3302
|
};
|
|
3303
3303
|
protoOf($serializer).co = function (encoder, value) {
|
|
3304
|
-
return this.
|
|
3304
|
+
return this.seg(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3305
3305
|
};
|
|
3306
3306
|
protoOf($serializer).do = function (decoder) {
|
|
3307
|
-
var tmp0_desc = this.
|
|
3307
|
+
var tmp0_desc = this.reg_1;
|
|
3308
3308
|
var tmp1_flag = true;
|
|
3309
3309
|
var tmp2_index = 0;
|
|
3310
3310
|
var tmp3_bitMask0 = 0;
|
|
@@ -3339,7 +3339,7 @@
|
|
|
3339
3339
|
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3340
3340
|
};
|
|
3341
3341
|
protoOf($serializer).bo = function () {
|
|
3342
|
-
return this.
|
|
3342
|
+
return this.reg_1;
|
|
3343
3343
|
};
|
|
3344
3344
|
protoOf($serializer).vz = function () {
|
|
3345
3345
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3355,9 +3355,9 @@
|
|
|
3355
3355
|
}
|
|
3356
3356
|
function TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, $this) {
|
|
3357
3357
|
if (!(3 === (3 & seen0))) {
|
|
3358
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance().
|
|
3358
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance().reg_1);
|
|
3359
3359
|
}
|
|
3360
|
-
$this.
|
|
3360
|
+
$this.teg_1 = roomId;
|
|
3361
3361
|
$this.table = table;
|
|
3362
3362
|
return $this;
|
|
3363
3363
|
}
|
|
@@ -3365,17 +3365,17 @@
|
|
|
3365
3365
|
return TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, objectCreate(protoOf(TableStateUpdateDto)));
|
|
3366
3366
|
}
|
|
3367
3367
|
function TableStateUpdateDto(roomId, table) {
|
|
3368
|
-
this.
|
|
3368
|
+
this.teg_1 = roomId;
|
|
3369
3369
|
this.table = table;
|
|
3370
3370
|
}
|
|
3371
|
-
protoOf(TableStateUpdateDto).
|
|
3372
|
-
return this.
|
|
3371
|
+
protoOf(TableStateUpdateDto).y92 = function () {
|
|
3372
|
+
return this.teg_1;
|
|
3373
3373
|
};
|
|
3374
3374
|
protoOf(TableStateUpdateDto).c72 = function () {
|
|
3375
3375
|
return this.table;
|
|
3376
3376
|
};
|
|
3377
3377
|
protoOf(TableStateUpdateDto).oe = function () {
|
|
3378
|
-
return this.
|
|
3378
|
+
return this.teg_1;
|
|
3379
3379
|
};
|
|
3380
3380
|
protoOf(TableStateUpdateDto).pe = function () {
|
|
3381
3381
|
return this.table;
|
|
@@ -3384,15 +3384,15 @@
|
|
|
3384
3384
|
return new TableStateUpdateDto(roomId, table);
|
|
3385
3385
|
};
|
|
3386
3386
|
protoOf(TableStateUpdateDto).copy = function (roomId, table, $super) {
|
|
3387
|
-
roomId = roomId === VOID ? this.
|
|
3387
|
+
roomId = roomId === VOID ? this.teg_1 : roomId;
|
|
3388
3388
|
table = table === VOID ? this.table : table;
|
|
3389
3389
|
return $super === VOID ? this.z5j(roomId, table) : $super.z5j.call(this, roomId, table);
|
|
3390
3390
|
};
|
|
3391
3391
|
protoOf(TableStateUpdateDto).toString = function () {
|
|
3392
|
-
return 'TableStateUpdateDto(roomId=' + this.
|
|
3392
|
+
return 'TableStateUpdateDto(roomId=' + this.teg_1 + ', table=' + this.table + ')';
|
|
3393
3393
|
};
|
|
3394
3394
|
protoOf(TableStateUpdateDto).hashCode = function () {
|
|
3395
|
-
var result = getStringHashCode(this.
|
|
3395
|
+
var result = getStringHashCode(this.teg_1);
|
|
3396
3396
|
result = imul(result, 31) + getStringHashCode(this.table) | 0;
|
|
3397
3397
|
return result;
|
|
3398
3398
|
};
|
|
@@ -3401,7 +3401,7 @@
|
|
|
3401
3401
|
return true;
|
|
3402
3402
|
if (!(other instanceof TableStateUpdateDto))
|
|
3403
3403
|
return false;
|
|
3404
|
-
if (!(this.
|
|
3404
|
+
if (!(this.teg_1 === other.teg_1))
|
|
3405
3405
|
return false;
|
|
3406
3406
|
if (!(this.table === other.table))
|
|
3407
3407
|
return false;
|
|
@@ -3421,20 +3421,20 @@
|
|
|
3421
3421
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 2);
|
|
3422
3422
|
tmp0_serialDesc.gz('roomId', false);
|
|
3423
3423
|
tmp0_serialDesc.gz('actions', false);
|
|
3424
|
-
this.
|
|
3424
|
+
this.ueg_1 = tmp0_serialDesc;
|
|
3425
3425
|
}
|
|
3426
|
-
protoOf($serializer_0).
|
|
3427
|
-
var tmp0_desc = this.
|
|
3426
|
+
protoOf($serializer_0).veg = function (encoder, value) {
|
|
3427
|
+
var tmp0_desc = this.ueg_1;
|
|
3428
3428
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3429
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3429
|
+
tmp1_output.dt(tmp0_desc, 0, value.weg_1);
|
|
3430
3430
|
tmp1_output.dt(tmp0_desc, 1, value.actions);
|
|
3431
3431
|
tmp1_output.pr(tmp0_desc);
|
|
3432
3432
|
};
|
|
3433
3433
|
protoOf($serializer_0).co = function (encoder, value) {
|
|
3434
|
-
return this.
|
|
3434
|
+
return this.veg(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
|
|
3435
3435
|
};
|
|
3436
3436
|
protoOf($serializer_0).do = function (decoder) {
|
|
3437
|
-
var tmp0_desc = this.
|
|
3437
|
+
var tmp0_desc = this.ueg_1;
|
|
3438
3438
|
var tmp1_flag = true;
|
|
3439
3439
|
var tmp2_index = 0;
|
|
3440
3440
|
var tmp3_bitMask0 = 0;
|
|
@@ -3469,7 +3469,7 @@
|
|
|
3469
3469
|
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3470
3470
|
};
|
|
3471
3471
|
protoOf($serializer_0).bo = function () {
|
|
3472
|
-
return this.
|
|
3472
|
+
return this.ueg_1;
|
|
3473
3473
|
};
|
|
3474
3474
|
protoOf($serializer_0).vz = function () {
|
|
3475
3475
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3485,9 +3485,9 @@
|
|
|
3485
3485
|
}
|
|
3486
3486
|
function ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, $this) {
|
|
3487
3487
|
if (!(3 === (3 & seen0))) {
|
|
3488
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().
|
|
3488
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().ueg_1);
|
|
3489
3489
|
}
|
|
3490
|
-
$this.
|
|
3490
|
+
$this.weg_1 = roomId;
|
|
3491
3491
|
$this.actions = actions;
|
|
3492
3492
|
return $this;
|
|
3493
3493
|
}
|
|
@@ -3495,17 +3495,17 @@
|
|
|
3495
3495
|
return ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, objectCreate(protoOf(ActionsStateUpdateDto)));
|
|
3496
3496
|
}
|
|
3497
3497
|
function ActionsStateUpdateDto(roomId, actions) {
|
|
3498
|
-
this.
|
|
3498
|
+
this.weg_1 = roomId;
|
|
3499
3499
|
this.actions = actions;
|
|
3500
3500
|
}
|
|
3501
|
-
protoOf(ActionsStateUpdateDto).
|
|
3502
|
-
return this.
|
|
3501
|
+
protoOf(ActionsStateUpdateDto).y92 = function () {
|
|
3502
|
+
return this.weg_1;
|
|
3503
3503
|
};
|
|
3504
|
-
protoOf(ActionsStateUpdateDto).
|
|
3504
|
+
protoOf(ActionsStateUpdateDto).m93 = function () {
|
|
3505
3505
|
return this.actions;
|
|
3506
3506
|
};
|
|
3507
3507
|
protoOf(ActionsStateUpdateDto).oe = function () {
|
|
3508
|
-
return this.
|
|
3508
|
+
return this.weg_1;
|
|
3509
3509
|
};
|
|
3510
3510
|
protoOf(ActionsStateUpdateDto).pe = function () {
|
|
3511
3511
|
return this.actions;
|
|
@@ -3514,15 +3514,15 @@
|
|
|
3514
3514
|
return new ActionsStateUpdateDto(roomId, actions);
|
|
3515
3515
|
};
|
|
3516
3516
|
protoOf(ActionsStateUpdateDto).copy = function (roomId, actions, $super) {
|
|
3517
|
-
roomId = roomId === VOID ? this.
|
|
3517
|
+
roomId = roomId === VOID ? this.weg_1 : roomId;
|
|
3518
3518
|
actions = actions === VOID ? this.actions : actions;
|
|
3519
3519
|
return $super === VOID ? this.z5j(roomId, actions) : $super.z5j.call(this, roomId, actions);
|
|
3520
3520
|
};
|
|
3521
3521
|
protoOf(ActionsStateUpdateDto).toString = function () {
|
|
3522
|
-
return 'ActionsStateUpdateDto(roomId=' + this.
|
|
3522
|
+
return 'ActionsStateUpdateDto(roomId=' + this.weg_1 + ', actions=' + this.actions + ')';
|
|
3523
3523
|
};
|
|
3524
3524
|
protoOf(ActionsStateUpdateDto).hashCode = function () {
|
|
3525
|
-
var result = getStringHashCode(this.
|
|
3525
|
+
var result = getStringHashCode(this.weg_1);
|
|
3526
3526
|
result = imul(result, 31) + getStringHashCode(this.actions) | 0;
|
|
3527
3527
|
return result;
|
|
3528
3528
|
};
|
|
@@ -3531,7 +3531,7 @@
|
|
|
3531
3531
|
return true;
|
|
3532
3532
|
if (!(other instanceof ActionsStateUpdateDto))
|
|
3533
3533
|
return false;
|
|
3534
|
-
if (!(this.
|
|
3534
|
+
if (!(this.weg_1 === other.weg_1))
|
|
3535
3535
|
return false;
|
|
3536
3536
|
if (!(this.actions === other.actions))
|
|
3537
3537
|
return false;
|
|
@@ -3561,42 +3561,42 @@
|
|
|
3561
3561
|
var tmp$ret$0 = mapToDto(item);
|
|
3562
3562
|
destination.j(tmp$ret$0);
|
|
3563
3563
|
}
|
|
3564
|
-
return new ActionsStateUpdateDto(_this__u8e3s4.
|
|
3564
|
+
return new ActionsStateUpdateDto(_this__u8e3s4.xeg_1, encoderDecoderProvider.g9a(destination));
|
|
3565
3565
|
}
|
|
3566
3566
|
function mapToDto_3(_this__u8e3s4, encoderDecoderProvider) {
|
|
3567
|
-
return new TableStateUpdateDto(_this__u8e3s4.
|
|
3567
|
+
return new TableStateUpdateDto(_this__u8e3s4.yeg_1, encoderDecoderProvider.e9a(mapToDto_0(_this__u8e3s4.table)));
|
|
3568
3568
|
}
|
|
3569
3569
|
function ServerStateUpdate() {
|
|
3570
3570
|
}
|
|
3571
3571
|
function TableStateUpdate(roomId, table) {
|
|
3572
|
-
this.
|
|
3572
|
+
this.yeg_1 = roomId;
|
|
3573
3573
|
this.table = table;
|
|
3574
3574
|
}
|
|
3575
|
-
protoOf(TableStateUpdate).
|
|
3576
|
-
return this.
|
|
3575
|
+
protoOf(TableStateUpdate).y92 = function () {
|
|
3576
|
+
return this.yeg_1;
|
|
3577
3577
|
};
|
|
3578
3578
|
protoOf(TableStateUpdate).c72 = function () {
|
|
3579
3579
|
return this.table;
|
|
3580
3580
|
};
|
|
3581
3581
|
protoOf(TableStateUpdate).oe = function () {
|
|
3582
|
-
return this.
|
|
3582
|
+
return this.yeg_1;
|
|
3583
3583
|
};
|
|
3584
3584
|
protoOf(TableStateUpdate).pe = function () {
|
|
3585
3585
|
return this.table;
|
|
3586
3586
|
};
|
|
3587
|
-
protoOf(TableStateUpdate).
|
|
3587
|
+
protoOf(TableStateUpdate).zeg = function (roomId, table) {
|
|
3588
3588
|
return new TableStateUpdate(roomId, table);
|
|
3589
3589
|
};
|
|
3590
3590
|
protoOf(TableStateUpdate).copy = function (roomId, table, $super) {
|
|
3591
|
-
roomId = roomId === VOID ? this.
|
|
3591
|
+
roomId = roomId === VOID ? this.yeg_1 : roomId;
|
|
3592
3592
|
table = table === VOID ? this.table : table;
|
|
3593
|
-
return $super === VOID ? this.
|
|
3593
|
+
return $super === VOID ? this.zeg(roomId, table) : $super.zeg.call(this, roomId, table);
|
|
3594
3594
|
};
|
|
3595
3595
|
protoOf(TableStateUpdate).toString = function () {
|
|
3596
|
-
return 'TableStateUpdate(roomId=' + this.
|
|
3596
|
+
return 'TableStateUpdate(roomId=' + this.yeg_1 + ', table=' + this.table.toString() + ')';
|
|
3597
3597
|
};
|
|
3598
3598
|
protoOf(TableStateUpdate).hashCode = function () {
|
|
3599
|
-
var result = getStringHashCode(this.
|
|
3599
|
+
var result = getStringHashCode(this.yeg_1);
|
|
3600
3600
|
result = imul(result, 31) + this.table.hashCode() | 0;
|
|
3601
3601
|
return result;
|
|
3602
3602
|
};
|
|
@@ -3605,41 +3605,41 @@
|
|
|
3605
3605
|
return true;
|
|
3606
3606
|
if (!(other instanceof TableStateUpdate))
|
|
3607
3607
|
return false;
|
|
3608
|
-
if (!(this.
|
|
3608
|
+
if (!(this.yeg_1 === other.yeg_1))
|
|
3609
3609
|
return false;
|
|
3610
3610
|
if (!this.table.equals(other.table))
|
|
3611
3611
|
return false;
|
|
3612
3612
|
return true;
|
|
3613
3613
|
};
|
|
3614
3614
|
function ActionsStateUpdate(roomId, actions) {
|
|
3615
|
-
this.
|
|
3615
|
+
this.xeg_1 = roomId;
|
|
3616
3616
|
this.actions = actions;
|
|
3617
3617
|
}
|
|
3618
|
-
protoOf(ActionsStateUpdate).
|
|
3619
|
-
return this.
|
|
3618
|
+
protoOf(ActionsStateUpdate).y92 = function () {
|
|
3619
|
+
return this.xeg_1;
|
|
3620
3620
|
};
|
|
3621
|
-
protoOf(ActionsStateUpdate).
|
|
3621
|
+
protoOf(ActionsStateUpdate).m93 = function () {
|
|
3622
3622
|
return this.actions;
|
|
3623
3623
|
};
|
|
3624
3624
|
protoOf(ActionsStateUpdate).oe = function () {
|
|
3625
|
-
return this.
|
|
3625
|
+
return this.xeg_1;
|
|
3626
3626
|
};
|
|
3627
3627
|
protoOf(ActionsStateUpdate).pe = function () {
|
|
3628
3628
|
return this.actions;
|
|
3629
3629
|
};
|
|
3630
|
-
protoOf(ActionsStateUpdate).
|
|
3630
|
+
protoOf(ActionsStateUpdate).aeh = function (roomId, actions) {
|
|
3631
3631
|
return new ActionsStateUpdate(roomId, actions);
|
|
3632
3632
|
};
|
|
3633
3633
|
protoOf(ActionsStateUpdate).copy = function (roomId, actions, $super) {
|
|
3634
|
-
roomId = roomId === VOID ? this.
|
|
3634
|
+
roomId = roomId === VOID ? this.xeg_1 : roomId;
|
|
3635
3635
|
actions = actions === VOID ? this.actions : actions;
|
|
3636
|
-
return $super === VOID ? this.
|
|
3636
|
+
return $super === VOID ? this.aeh(roomId, actions) : $super.aeh.call(this, roomId, actions);
|
|
3637
3637
|
};
|
|
3638
3638
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
3639
|
-
return 'ActionsStateUpdate(roomId=' + this.
|
|
3639
|
+
return 'ActionsStateUpdate(roomId=' + this.xeg_1 + ', actions=' + toString(this.actions) + ')';
|
|
3640
3640
|
};
|
|
3641
3641
|
protoOf(ActionsStateUpdate).hashCode = function () {
|
|
3642
|
-
var result = getStringHashCode(this.
|
|
3642
|
+
var result = getStringHashCode(this.xeg_1);
|
|
3643
3643
|
result = imul(result, 31) + hashCode(this.actions) | 0;
|
|
3644
3644
|
return result;
|
|
3645
3645
|
};
|
|
@@ -3648,7 +3648,7 @@
|
|
|
3648
3648
|
return true;
|
|
3649
3649
|
if (!(other instanceof ActionsStateUpdate))
|
|
3650
3650
|
return false;
|
|
3651
|
-
if (!(this.
|
|
3651
|
+
if (!(this.xeg_1 === other.xeg_1))
|
|
3652
3652
|
return false;
|
|
3653
3653
|
if (!equals(this.actions, other.actions))
|
|
3654
3654
|
return false;
|
|
@@ -3882,18 +3882,18 @@
|
|
|
3882
3882
|
function ToClientEventsObserver() {
|
|
3883
3883
|
}
|
|
3884
3884
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
3885
|
-
this.
|
|
3886
|
-
this.
|
|
3885
|
+
this.keh_1 = this$0;
|
|
3886
|
+
this.leh_1 = $actions;
|
|
3887
3887
|
CoroutineImpl.call(this, resultContinuation);
|
|
3888
3888
|
}
|
|
3889
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3890
|
-
var tmp = this.
|
|
3889
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).oeh = function ($this$flow, $completion) {
|
|
3890
|
+
var tmp = this.peh($this$flow, $completion);
|
|
3891
3891
|
tmp.u8_1 = Unit_instance;
|
|
3892
3892
|
tmp.v8_1 = null;
|
|
3893
3893
|
return tmp.a9();
|
|
3894
3894
|
};
|
|
3895
3895
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).i9 = function (p1, $completion) {
|
|
3896
|
-
return this.
|
|
3896
|
+
return this.oeh((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
3897
3897
|
};
|
|
3898
3898
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).a9 = function () {
|
|
3899
3899
|
var suspendResult = this.u8_1;
|
|
@@ -3903,19 +3903,19 @@
|
|
|
3903
3903
|
switch (tmp) {
|
|
3904
3904
|
case 0:
|
|
3905
3905
|
this.t8_1 = 4;
|
|
3906
|
-
this.
|
|
3907
|
-
this.
|
|
3906
|
+
this.keh_1.ueh_1;
|
|
3907
|
+
this.neh_1 = transformToEmits(this.keh_1, this.leh_1).l();
|
|
3908
3908
|
this.s8_1 = 1;
|
|
3909
3909
|
continue $sm;
|
|
3910
3910
|
case 1:
|
|
3911
|
-
if (!this.
|
|
3911
|
+
if (!this.neh_1.m()) {
|
|
3912
3912
|
this.s8_1 = 3;
|
|
3913
3913
|
continue $sm;
|
|
3914
3914
|
}
|
|
3915
3915
|
|
|
3916
|
-
var element = this.
|
|
3916
|
+
var element = this.neh_1.n();
|
|
3917
3917
|
this.s8_1 = 2;
|
|
3918
|
-
suspendResult = this.
|
|
3918
|
+
suspendResult = this.meh_1.i24(element, this);
|
|
3919
3919
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3920
3920
|
return suspendResult;
|
|
3921
3921
|
}
|
|
@@ -3925,11 +3925,11 @@
|
|
|
3925
3925
|
this.s8_1 = 1;
|
|
3926
3926
|
continue $sm;
|
|
3927
3927
|
case 3:
|
|
3928
|
-
var tmp0 = this.
|
|
3928
|
+
var tmp0 = this.keh_1.teh_1;
|
|
3929
3929
|
l$ret$1: do {
|
|
3930
3930
|
while (true) {
|
|
3931
3931
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
3932
|
-
var upd = cur - this.
|
|
3932
|
+
var upd = cur - this.leh_1.o() | 0;
|
|
3933
3933
|
if (tmp0.atomicfu$compareAndSet(cur, upd)) {
|
|
3934
3934
|
break l$ret$1;
|
|
3935
3935
|
}
|
|
@@ -3951,15 +3951,15 @@
|
|
|
3951
3951
|
}
|
|
3952
3952
|
while (true);
|
|
3953
3953
|
};
|
|
3954
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3955
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
3956
|
-
i.
|
|
3954
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).peh = function ($this$flow, completion) {
|
|
3955
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.keh_1, this.leh_1, completion);
|
|
3956
|
+
i.meh_1 = $this$flow;
|
|
3957
3957
|
return i;
|
|
3958
3958
|
};
|
|
3959
3959
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
3960
3960
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
3961
3961
|
var l = function ($this$flow, $completion) {
|
|
3962
|
-
return i.
|
|
3962
|
+
return i.oeh($this$flow, $completion);
|
|
3963
3963
|
};
|
|
3964
3964
|
l.$arity = 1;
|
|
3965
3965
|
return l;
|
|
@@ -4029,29 +4029,29 @@
|
|
|
4029
4029
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
4030
4030
|
}
|
|
4031
4031
|
function mapFromGroupKey($this, _this__u8e3s4) {
|
|
4032
|
-
var tmp = $this.
|
|
4032
|
+
var tmp = $this.seh_1.z6m();
|
|
4033
4033
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4034
|
-
var this_0 = _this__u8e3s4.
|
|
4034
|
+
var this_0 = _this__u8e3s4.xeh_1;
|
|
4035
4035
|
var tmp_0 = copyToArray(this_0);
|
|
4036
4036
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4037
|
-
var this_1 = _this__u8e3s4.
|
|
4037
|
+
var this_1 = _this__u8e3s4.yeh_1;
|
|
4038
4038
|
var tmp$ret$1 = copyToArray(this_1);
|
|
4039
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
4039
|
+
return new ActionDeliveryPayload(_this__u8e3s4.weh_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.zeh_1);
|
|
4040
4040
|
}
|
|
4041
4041
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
4042
|
-
this.
|
|
4043
|
-
this.
|
|
4044
|
-
this.
|
|
4045
|
-
this.
|
|
4042
|
+
this.weh_1 = tableId;
|
|
4043
|
+
this.xeh_1 = includePlayers;
|
|
4044
|
+
this.yeh_1 = excludePlayers;
|
|
4045
|
+
this.zeh_1 = deliveryType;
|
|
4046
4046
|
}
|
|
4047
4047
|
protoOf(GroupKey).toString = function () {
|
|
4048
|
-
return 'GroupKey(tableId=' + this.
|
|
4048
|
+
return 'GroupKey(tableId=' + this.weh_1 + ', includePlayers=' + toString(this.xeh_1) + ', excludePlayers=' + toString(this.yeh_1) + ', deliveryType=' + this.zeh_1.toString() + ')';
|
|
4049
4049
|
};
|
|
4050
4050
|
protoOf(GroupKey).hashCode = function () {
|
|
4051
|
-
var result = getStringHashCode(this.
|
|
4052
|
-
result = imul(result, 31) + hashCode(this.
|
|
4053
|
-
result = imul(result, 31) + hashCode(this.
|
|
4054
|
-
result = imul(result, 31) + this.
|
|
4051
|
+
var result = getStringHashCode(this.weh_1);
|
|
4052
|
+
result = imul(result, 31) + hashCode(this.xeh_1) | 0;
|
|
4053
|
+
result = imul(result, 31) + hashCode(this.yeh_1) | 0;
|
|
4054
|
+
result = imul(result, 31) + this.zeh_1.hashCode() | 0;
|
|
4055
4055
|
return result;
|
|
4056
4056
|
};
|
|
4057
4057
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -4059,35 +4059,35 @@
|
|
|
4059
4059
|
return true;
|
|
4060
4060
|
if (!(other instanceof GroupKey))
|
|
4061
4061
|
return false;
|
|
4062
|
-
if (!(this.
|
|
4062
|
+
if (!(this.weh_1 === other.weh_1))
|
|
4063
4063
|
return false;
|
|
4064
|
-
if (!equals(this.
|
|
4064
|
+
if (!equals(this.xeh_1, other.xeh_1))
|
|
4065
4065
|
return false;
|
|
4066
|
-
if (!equals(this.
|
|
4066
|
+
if (!equals(this.yeh_1, other.yeh_1))
|
|
4067
4067
|
return false;
|
|
4068
|
-
if (!this.
|
|
4068
|
+
if (!this.zeh_1.equals(other.zeh_1))
|
|
4069
4069
|
return false;
|
|
4070
4070
|
return true;
|
|
4071
4071
|
};
|
|
4072
4072
|
function Companion_4() {
|
|
4073
|
-
this.
|
|
4073
|
+
this.aei_1 = 6;
|
|
4074
4074
|
}
|
|
4075
4075
|
var Companion_instance_12;
|
|
4076
4076
|
function Companion_getInstance_5() {
|
|
4077
4077
|
return Companion_instance_12;
|
|
4078
4078
|
}
|
|
4079
4079
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
4080
|
-
this.
|
|
4080
|
+
this.jei_1 = this$0;
|
|
4081
4081
|
CoroutineImpl.call(this, resultContinuation);
|
|
4082
4082
|
}
|
|
4083
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4084
|
-
var tmp = this.
|
|
4083
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).lei = function (actions, $completion) {
|
|
4084
|
+
var tmp = this.mei(actions, $completion);
|
|
4085
4085
|
tmp.u8_1 = Unit_instance;
|
|
4086
4086
|
tmp.v8_1 = null;
|
|
4087
4087
|
return tmp.a9();
|
|
4088
4088
|
};
|
|
4089
4089
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).i9 = function (p1, $completion) {
|
|
4090
|
-
return this.
|
|
4090
|
+
return this.lei((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
4091
4091
|
};
|
|
4092
4092
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).a9 = function () {
|
|
4093
4093
|
var suspendResult = this.u8_1;
|
|
@@ -4096,7 +4096,7 @@
|
|
|
4096
4096
|
var tmp = this.s8_1;
|
|
4097
4097
|
if (tmp === 0) {
|
|
4098
4098
|
this.t8_1 = 1;
|
|
4099
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
4099
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.jei_1, this.kei_1, null));
|
|
4100
4100
|
} else if (tmp === 1) {
|
|
4101
4101
|
throw this.v8_1;
|
|
4102
4102
|
}
|
|
@@ -4106,23 +4106,23 @@
|
|
|
4106
4106
|
}
|
|
4107
4107
|
while (true);
|
|
4108
4108
|
};
|
|
4109
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4110
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
4111
|
-
i.
|
|
4109
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).mei = function (actions, completion) {
|
|
4110
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.jei_1, completion);
|
|
4111
|
+
i.kei_1 = actions;
|
|
4112
4112
|
return i;
|
|
4113
4113
|
};
|
|
4114
4114
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
4115
4115
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
4116
4116
|
var l = function (actions, $completion) {
|
|
4117
|
-
return i.
|
|
4117
|
+
return i.lei(actions, $completion);
|
|
4118
4118
|
};
|
|
4119
4119
|
l.$arity = 1;
|
|
4120
4120
|
return l;
|
|
4121
4121
|
}
|
|
4122
4122
|
function $sentEventCOROUTINE$(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
4123
4123
|
CoroutineImpl.call(this, resultContinuation);
|
|
4124
|
-
this.
|
|
4125
|
-
this.
|
|
4124
|
+
this.vei_1 = _this__u8e3s4;
|
|
4125
|
+
this.wei_1 = fromEvent;
|
|
4126
4126
|
}
|
|
4127
4127
|
protoOf($sentEventCOROUTINE$).a9 = function () {
|
|
4128
4128
|
var suspendResult = this.u8_1;
|
|
@@ -4132,8 +4132,8 @@
|
|
|
4132
4132
|
switch (tmp) {
|
|
4133
4133
|
case 0:
|
|
4134
4134
|
this.t8_1 = 2;
|
|
4135
|
-
this.
|
|
4136
|
-
var tmp0 = this.
|
|
4135
|
+
this.vei_1.ueh_1;
|
|
4136
|
+
var tmp0 = this.vei_1.teh_1;
|
|
4137
4137
|
l$ret$1: do {
|
|
4138
4138
|
while (true) {
|
|
4139
4139
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
@@ -4145,7 +4145,7 @@
|
|
|
4145
4145
|
}
|
|
4146
4146
|
while (false);
|
|
4147
4147
|
this.s8_1 = 1;
|
|
4148
|
-
suspendResult = this.
|
|
4148
|
+
suspendResult = this.vei_1.veh_1.i24(this.wei_1, this);
|
|
4149
4149
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4150
4150
|
return suspendResult;
|
|
4151
4151
|
}
|
|
@@ -4169,7 +4169,7 @@
|
|
|
4169
4169
|
};
|
|
4170
4170
|
function $waitForCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
4171
4171
|
CoroutineImpl.call(this, resultContinuation);
|
|
4172
|
-
this.
|
|
4172
|
+
this.fej_1 = _this__u8e3s4;
|
|
4173
4173
|
}
|
|
4174
4174
|
protoOf($waitForCOROUTINE$).a9 = function () {
|
|
4175
4175
|
var suspendResult = this.u8_1;
|
|
@@ -4179,12 +4179,12 @@
|
|
|
4179
4179
|
switch (tmp) {
|
|
4180
4180
|
case 0:
|
|
4181
4181
|
this.t8_1 = 5;
|
|
4182
|
-
this.
|
|
4183
|
-
this.
|
|
4182
|
+
this.fej_1.ueh_1;
|
|
4183
|
+
this.gej_1 = 0;
|
|
4184
4184
|
this.s8_1 = 1;
|
|
4185
4185
|
continue $sm;
|
|
4186
4186
|
case 1:
|
|
4187
|
-
if (!!(this.
|
|
4187
|
+
if (!!(this.fej_1.teh_1.kotlinx$atomicfu$value === 0)) {
|
|
4188
4188
|
this.s8_1 = 4;
|
|
4189
4189
|
continue $sm;
|
|
4190
4190
|
}
|
|
@@ -4197,9 +4197,9 @@
|
|
|
4197
4197
|
|
|
4198
4198
|
continue $sm;
|
|
4199
4199
|
case 2:
|
|
4200
|
-
this.
|
|
4201
|
-
if (this.
|
|
4202
|
-
this.
|
|
4200
|
+
this.gej_1 = this.gej_1 + 1 | 0;
|
|
4201
|
+
if (this.gej_1 > 6) {
|
|
4202
|
+
this.fej_1.reh_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.fej_1.teh_1.kotlinx$atomicfu$value);
|
|
4203
4203
|
this.s8_1 = 4;
|
|
4204
4204
|
continue $sm;
|
|
4205
4205
|
} else {
|
|
@@ -4227,183 +4227,183 @@
|
|
|
4227
4227
|
while (true);
|
|
4228
4228
|
};
|
|
4229
4229
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
4230
|
-
this.
|
|
4231
|
-
this.
|
|
4232
|
-
this.
|
|
4233
|
-
this.
|
|
4230
|
+
this.qeh_1 = serverReduxConfig;
|
|
4231
|
+
this.reh_1 = logger;
|
|
4232
|
+
this.seh_1 = idsProvider;
|
|
4233
|
+
this.teh_1 = atomic$ref$1(0);
|
|
4234
4234
|
var tmp = this;
|
|
4235
4235
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
4236
|
-
tmp.
|
|
4237
|
-
this.
|
|
4236
|
+
tmp.ueh_1 = get_atomicfu$reentrantLock();
|
|
4237
|
+
this.veh_1 = MutableSharedFlow();
|
|
4238
4238
|
}
|
|
4239
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4239
|
+
protoOf(ToClientEventsObserverImpl).beh = function (fromEvent, $completion) {
|
|
4240
4240
|
var tmp = new $sentEventCOROUTINE$(this, fromEvent, $completion);
|
|
4241
4241
|
tmp.u8_1 = Unit_instance;
|
|
4242
4242
|
tmp.v8_1 = null;
|
|
4243
4243
|
return tmp.a9();
|
|
4244
4244
|
};
|
|
4245
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4245
|
+
protoOf(ToClientEventsObserverImpl).v9z = function ($completion) {
|
|
4246
4246
|
var tmp = new $waitForCOROUTINE$(this, $completion);
|
|
4247
4247
|
tmp.u8_1 = Unit_instance;
|
|
4248
4248
|
tmp.v8_1 = null;
|
|
4249
4249
|
return tmp.a9();
|
|
4250
4250
|
};
|
|
4251
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4252
|
-
if (!this.
|
|
4253
|
-
return this.
|
|
4251
|
+
protoOf(ToClientEventsObserverImpl).db7 = function () {
|
|
4252
|
+
if (!this.qeh_1.enabledCombinedEvents) {
|
|
4253
|
+
return this.veh_1;
|
|
4254
4254
|
}
|
|
4255
|
-
var tmp = windowedByInterval(this.
|
|
4255
|
+
var tmp = windowedByInterval(this.veh_1, fromInt(this.qeh_1.combinedEventsIntervalMillis));
|
|
4256
4256
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
4257
4257
|
};
|
|
4258
4258
|
function UpdateServerConfigAction(serverConfig) {
|
|
4259
|
-
this.
|
|
4259
|
+
this.hej_1 = serverConfig;
|
|
4260
4260
|
}
|
|
4261
4261
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
4262
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
4262
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.hej_1.toString() + ')';
|
|
4263
4263
|
};
|
|
4264
4264
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
4265
|
-
return this.
|
|
4265
|
+
return this.hej_1.hashCode();
|
|
4266
4266
|
};
|
|
4267
4267
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
4268
4268
|
if (this === other)
|
|
4269
4269
|
return true;
|
|
4270
4270
|
if (!(other instanceof UpdateServerConfigAction))
|
|
4271
4271
|
return false;
|
|
4272
|
-
if (!this.
|
|
4272
|
+
if (!this.hej_1.equals(other.hej_1))
|
|
4273
4273
|
return false;
|
|
4274
4274
|
return true;
|
|
4275
4275
|
};
|
|
4276
4276
|
function AddSpectatorsAction(spectators) {
|
|
4277
|
-
this.
|
|
4277
|
+
this.iej_1 = spectators;
|
|
4278
4278
|
}
|
|
4279
4279
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
4280
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
4280
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.iej_1) + ')';
|
|
4281
4281
|
};
|
|
4282
4282
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
4283
|
-
return hashCode(this.
|
|
4283
|
+
return hashCode(this.iej_1);
|
|
4284
4284
|
};
|
|
4285
4285
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
4286
4286
|
if (this === other)
|
|
4287
4287
|
return true;
|
|
4288
4288
|
if (!(other instanceof AddSpectatorsAction))
|
|
4289
4289
|
return false;
|
|
4290
|
-
if (!equals(this.
|
|
4290
|
+
if (!equals(this.iej_1, other.iej_1))
|
|
4291
4291
|
return false;
|
|
4292
4292
|
return true;
|
|
4293
4293
|
};
|
|
4294
4294
|
function RemoveSpectatorsAction(spectators) {
|
|
4295
|
-
this.
|
|
4295
|
+
this.jej_1 = spectators;
|
|
4296
4296
|
}
|
|
4297
4297
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
4298
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
4298
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.jej_1) + ')';
|
|
4299
4299
|
};
|
|
4300
4300
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
4301
|
-
return hashCode(this.
|
|
4301
|
+
return hashCode(this.jej_1);
|
|
4302
4302
|
};
|
|
4303
4303
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
4304
4304
|
if (this === other)
|
|
4305
4305
|
return true;
|
|
4306
4306
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
4307
4307
|
return false;
|
|
4308
|
-
if (!equals(this.
|
|
4308
|
+
if (!equals(this.jej_1, other.jej_1))
|
|
4309
4309
|
return false;
|
|
4310
4310
|
return true;
|
|
4311
4311
|
};
|
|
4312
4312
|
function SpectatorsAction() {
|
|
4313
4313
|
}
|
|
4314
4314
|
function _get_asyncProvider__jbpyhw($this) {
|
|
4315
|
-
var tmp0 = $this.
|
|
4315
|
+
var tmp0 = $this.pej_1;
|
|
4316
4316
|
var tmp = KProperty1;
|
|
4317
4317
|
// Inline function 'kotlin.getValue' call
|
|
4318
4318
|
getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
|
|
4319
4319
|
return tmp0.x();
|
|
4320
4320
|
}
|
|
4321
4321
|
function _get_logger__rkp4sl($this) {
|
|
4322
|
-
var tmp0 = $this.
|
|
4322
|
+
var tmp0 = $this.qej_1;
|
|
4323
4323
|
var tmp = KProperty1;
|
|
4324
4324
|
// Inline function 'kotlin.getValue' call
|
|
4325
4325
|
getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
|
|
4326
4326
|
return tmp0.x();
|
|
4327
4327
|
}
|
|
4328
4328
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
4329
|
-
var tmp0 = $this.
|
|
4329
|
+
var tmp0 = $this.rej_1;
|
|
4330
4330
|
var tmp = KProperty1;
|
|
4331
4331
|
// Inline function 'kotlin.getValue' call
|
|
4332
4332
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
|
|
4333
4333
|
return tmp0.x();
|
|
4334
4334
|
}
|
|
4335
4335
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
4336
|
-
var tmp0 = $this.
|
|
4336
|
+
var tmp0 = $this.sej_1;
|
|
4337
4337
|
var tmp = KProperty1;
|
|
4338
4338
|
// Inline function 'kotlin.getValue' call
|
|
4339
4339
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
|
|
4340
4340
|
return tmp0.x();
|
|
4341
4341
|
}
|
|
4342
4342
|
function _get_serverConfig__rk2g06($this) {
|
|
4343
|
-
var tmp0 = $this.
|
|
4343
|
+
var tmp0 = $this.tej_1;
|
|
4344
4344
|
var tmp = KProperty1;
|
|
4345
4345
|
// Inline function 'kotlin.getValue' call
|
|
4346
4346
|
getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
|
|
4347
4347
|
return tmp0.x();
|
|
4348
4348
|
}
|
|
4349
4349
|
function _get_logicConfig__52ww9d($this) {
|
|
4350
|
-
var tmp0 = $this.
|
|
4350
|
+
var tmp0 = $this.uej_1;
|
|
4351
4351
|
var tmp = KProperty1;
|
|
4352
4352
|
// Inline function 'kotlin.getValue' call
|
|
4353
4353
|
getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
|
|
4354
4354
|
return tmp0.x();
|
|
4355
4355
|
}
|
|
4356
4356
|
function _get_idsProvider__fnfajc_0($this) {
|
|
4357
|
-
var tmp0 = $this.
|
|
4357
|
+
var tmp0 = $this.vej_1;
|
|
4358
4358
|
var tmp = KProperty1;
|
|
4359
4359
|
// Inline function 'kotlin.getValue' call
|
|
4360
4360
|
getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
|
|
4361
4361
|
return tmp0.x();
|
|
4362
4362
|
}
|
|
4363
4363
|
function _get_botConfig__cpaxzc($this) {
|
|
4364
|
-
var tmp0 = $this.
|
|
4364
|
+
var tmp0 = $this.wej_1;
|
|
4365
4365
|
var tmp = KProperty1;
|
|
4366
4366
|
// Inline function 'kotlin.getValue' call
|
|
4367
4367
|
getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
|
|
4368
4368
|
return tmp0.x();
|
|
4369
4369
|
}
|
|
4370
4370
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
4371
|
-
var tmp0 = $this.
|
|
4371
|
+
var tmp0 = $this.xej_1;
|
|
4372
4372
|
var tmp = KProperty1;
|
|
4373
4373
|
// Inline function 'kotlin.getValue' call
|
|
4374
4374
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
|
|
4375
4375
|
return tmp0.x();
|
|
4376
4376
|
}
|
|
4377
4377
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
4378
|
-
var tmp0 = $this.
|
|
4378
|
+
var tmp0 = $this.yej_1;
|
|
4379
4379
|
var tmp = KProperty1;
|
|
4380
4380
|
// Inline function 'kotlin.getValue' call
|
|
4381
4381
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
|
|
4382
4382
|
return tmp0.x();
|
|
4383
4383
|
}
|
|
4384
4384
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
4385
|
-
var tmp0 = $this.
|
|
4385
|
+
var tmp0 = $this.zej_1;
|
|
4386
4386
|
var tmp = KProperty1;
|
|
4387
4387
|
// Inline function 'kotlin.getValue' call
|
|
4388
4388
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
|
|
4389
4389
|
return tmp0.x();
|
|
4390
4390
|
}
|
|
4391
4391
|
function _get_dealerConfig__183ci8($this) {
|
|
4392
|
-
var tmp0 = $this.
|
|
4392
|
+
var tmp0 = $this.aek_1;
|
|
4393
4393
|
var tmp = KProperty1;
|
|
4394
4394
|
// Inline function 'kotlin.getValue' call
|
|
4395
4395
|
getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
|
|
4396
4396
|
return tmp0.x();
|
|
4397
4397
|
}
|
|
4398
4398
|
function _get_poolProvider__tqti6a($this) {
|
|
4399
|
-
var tmp0 = $this.
|
|
4399
|
+
var tmp0 = $this.bek_1;
|
|
4400
4400
|
var tmp = KProperty1;
|
|
4401
4401
|
// Inline function 'kotlin.getValue' call
|
|
4402
4402
|
getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
|
|
4403
4403
|
return tmp0.x();
|
|
4404
4404
|
}
|
|
4405
4405
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
4406
|
-
var tmp0 = $this.
|
|
4406
|
+
var tmp0 = $this.cek_1;
|
|
4407
4407
|
var tmp = KProperty1;
|
|
4408
4408
|
// Inline function 'kotlin.getValue' call
|
|
4409
4409
|
getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
|
|
@@ -4567,11 +4567,11 @@
|
|
|
4567
4567
|
tmp = fileLoggerStoreContract;
|
|
4568
4568
|
}
|
|
4569
4569
|
fileLoggerStoreContract = tmp;
|
|
4570
|
-
this.
|
|
4571
|
-
this.
|
|
4572
|
-
this.
|
|
4573
|
-
this.
|
|
4574
|
-
this.
|
|
4570
|
+
this.kej_1 = validationStoreContract;
|
|
4571
|
+
this.lej_1 = timersStoreContract;
|
|
4572
|
+
this.mej_1 = botGameStoreContract;
|
|
4573
|
+
this.nej_1 = gameMechanicStoreContract;
|
|
4574
|
+
this.oej_1 = fileLoggerStoreContract;
|
|
4575
4575
|
var tmp_0 = this;
|
|
4576
4576
|
// Inline function 'org.kodein.di.instance' call
|
|
4577
4577
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4579,7 +4579,7 @@
|
|
|
4579
4579
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
4580
4580
|
var tmp_2 = Instance(di, tmp$ret$0, null);
|
|
4581
4581
|
var tmp_3 = KProperty1;
|
|
4582
|
-
tmp_0.
|
|
4582
|
+
tmp_0.pej_1 = tmp_2.c1h(this, getPropertyCallableRef('asyncProvider', 1, tmp_3, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
|
|
4583
4583
|
var tmp_4 = this;
|
|
4584
4584
|
// Inline function 'org.kodein.di.instance' call
|
|
4585
4585
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4587,7 +4587,7 @@
|
|
|
4587
4587
|
var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
4588
4588
|
var tmp_6 = Instance(di, tmp$ret$2, null);
|
|
4589
4589
|
var tmp_7 = KProperty1;
|
|
4590
|
-
tmp_4.
|
|
4590
|
+
tmp_4.qej_1 = tmp_6.c1h(this, getPropertyCallableRef('logger', 1, tmp_7, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
|
|
4591
4591
|
var tmp_8 = this;
|
|
4592
4592
|
// Inline function 'org.kodein.di.instance' call
|
|
4593
4593
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4595,7 +4595,7 @@
|
|
|
4595
4595
|
var tmp$ret$4 = isInterface(tmp_9, TypeToken) ? tmp_9 : THROW_CCE();
|
|
4596
4596
|
var tmp_10 = Instance(di, tmp$ret$4, null);
|
|
4597
4597
|
var tmp_11 = KProperty1;
|
|
4598
|
-
tmp_8.
|
|
4598
|
+
tmp_8.rej_1 = tmp_10.c1h(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_11, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
|
|
4599
4599
|
var tmp_12 = this;
|
|
4600
4600
|
// Inline function 'org.kodein.di.instance' call
|
|
4601
4601
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4603,7 +4603,7 @@
|
|
|
4603
4603
|
var tmp$ret$6 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
4604
4604
|
var tmp_14 = Instance(di, tmp$ret$6, null);
|
|
4605
4605
|
var tmp_15 = KProperty1;
|
|
4606
|
-
tmp_12.
|
|
4606
|
+
tmp_12.sej_1 = tmp_14.c1h(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_15, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
|
|
4607
4607
|
var tmp_16 = this;
|
|
4608
4608
|
// Inline function 'org.kodein.di.instance' call
|
|
4609
4609
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4611,7 +4611,7 @@
|
|
|
4611
4611
|
var tmp$ret$8 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
4612
4612
|
var tmp_18 = Instance(di, tmp$ret$8, null);
|
|
4613
4613
|
var tmp_19 = KProperty1;
|
|
4614
|
-
tmp_16.
|
|
4614
|
+
tmp_16.tej_1 = tmp_18.c1h(this, getPropertyCallableRef('serverConfig', 1, tmp_19, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
|
|
4615
4615
|
var tmp_20 = this;
|
|
4616
4616
|
// Inline function 'org.kodein.di.instance' call
|
|
4617
4617
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4619,7 +4619,7 @@
|
|
|
4619
4619
|
var tmp$ret$10 = isInterface(tmp_21, TypeToken) ? tmp_21 : THROW_CCE();
|
|
4620
4620
|
var tmp_22 = Instance(di, tmp$ret$10, null);
|
|
4621
4621
|
var tmp_23 = KProperty1;
|
|
4622
|
-
tmp_20.
|
|
4622
|
+
tmp_20.uej_1 = tmp_22.c1h(this, getPropertyCallableRef('logicConfig', 1, tmp_23, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
|
|
4623
4623
|
var tmp_24 = this;
|
|
4624
4624
|
// Inline function 'org.kodein.di.instance' call
|
|
4625
4625
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4627,7 +4627,7 @@
|
|
|
4627
4627
|
var tmp$ret$12 = isInterface(tmp_25, TypeToken) ? tmp_25 : THROW_CCE();
|
|
4628
4628
|
var tmp_26 = Instance(di, tmp$ret$12, null);
|
|
4629
4629
|
var tmp_27 = KProperty1;
|
|
4630
|
-
tmp_24.
|
|
4630
|
+
tmp_24.vej_1 = tmp_26.c1h(this, getPropertyCallableRef('idsProvider', 1, tmp_27, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
|
|
4631
4631
|
var tmp_28 = this;
|
|
4632
4632
|
// Inline function 'org.kodein.di.instance' call
|
|
4633
4633
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4635,7 +4635,7 @@
|
|
|
4635
4635
|
var tmp$ret$14 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
|
|
4636
4636
|
var tmp_30 = Instance(di, tmp$ret$14, null);
|
|
4637
4637
|
var tmp_31 = KProperty1;
|
|
4638
|
-
tmp_28.
|
|
4638
|
+
tmp_28.wej_1 = tmp_30.c1h(this, getPropertyCallableRef('botConfig', 1, tmp_31, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
|
|
4639
4639
|
var tmp_32 = this;
|
|
4640
4640
|
// Inline function 'org.kodein.di.instance' call
|
|
4641
4641
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4643,7 +4643,7 @@
|
|
|
4643
4643
|
var tmp$ret$16 = isInterface(tmp_33, TypeToken) ? tmp_33 : THROW_CCE();
|
|
4644
4644
|
var tmp_34 = Instance(di, tmp$ret$16, null);
|
|
4645
4645
|
var tmp_35 = KProperty1;
|
|
4646
|
-
tmp_32.
|
|
4646
|
+
tmp_32.xej_1 = tmp_34.c1h(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_35, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
|
|
4647
4647
|
var tmp_36 = this;
|
|
4648
4648
|
// Inline function 'org.kodein.di.instance' call
|
|
4649
4649
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4651,7 +4651,7 @@
|
|
|
4651
4651
|
var tmp$ret$18 = isInterface(tmp_37, TypeToken) ? tmp_37 : THROW_CCE();
|
|
4652
4652
|
var tmp_38 = Instance(di, tmp$ret$18, null);
|
|
4653
4653
|
var tmp_39 = KProperty1;
|
|
4654
|
-
tmp_36.
|
|
4654
|
+
tmp_36.yej_1 = tmp_38.c1h(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_39, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
|
|
4655
4655
|
var tmp_40 = this;
|
|
4656
4656
|
// Inline function 'org.kodein.di.instance' call
|
|
4657
4657
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4659,7 +4659,7 @@
|
|
|
4659
4659
|
var tmp$ret$20 = isInterface(tmp_41, TypeToken) ? tmp_41 : THROW_CCE();
|
|
4660
4660
|
var tmp_42 = Instance(di, tmp$ret$20, null);
|
|
4661
4661
|
var tmp_43 = KProperty1;
|
|
4662
|
-
tmp_40.
|
|
4662
|
+
tmp_40.zej_1 = tmp_42.c1h(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_43, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
|
|
4663
4663
|
var tmp_44 = this;
|
|
4664
4664
|
// Inline function 'org.kodein.di.instance' call
|
|
4665
4665
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4667,7 +4667,7 @@
|
|
|
4667
4667
|
var tmp$ret$22 = isInterface(tmp_45, TypeToken) ? tmp_45 : THROW_CCE();
|
|
4668
4668
|
var tmp_46 = Instance(di, tmp$ret$22, null);
|
|
4669
4669
|
var tmp_47 = KProperty1;
|
|
4670
|
-
tmp_44.
|
|
4670
|
+
tmp_44.aek_1 = tmp_46.c1h(this, getPropertyCallableRef('dealerConfig', 1, tmp_47, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
|
|
4671
4671
|
var tmp_48 = this;
|
|
4672
4672
|
// Inline function 'org.kodein.di.instance' call
|
|
4673
4673
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4675,7 +4675,7 @@
|
|
|
4675
4675
|
var tmp$ret$24 = isInterface(tmp_49, TypeToken) ? tmp_49 : THROW_CCE();
|
|
4676
4676
|
var tmp_50 = Instance(di, tmp$ret$24, null);
|
|
4677
4677
|
var tmp_51 = KProperty1;
|
|
4678
|
-
tmp_48.
|
|
4678
|
+
tmp_48.bek_1 = tmp_50.c1h(this, getPropertyCallableRef('poolProvider', 1, tmp_51, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
|
|
4679
4679
|
var tmp_52 = this;
|
|
4680
4680
|
// Inline function 'org.kodein.di.instance' call
|
|
4681
4681
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4683,20 +4683,20 @@
|
|
|
4683
4683
|
var tmp$ret$26 = isInterface(tmp_53, TypeToken) ? tmp_53 : THROW_CCE();
|
|
4684
4684
|
var tmp_54 = Instance(di, tmp$ret$26, null);
|
|
4685
4685
|
var tmp_55 = KProperty1;
|
|
4686
|
-
tmp_52.
|
|
4686
|
+
tmp_52.cek_1 = tmp_54.c1h(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_55, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
|
|
4687
4687
|
}
|
|
4688
|
-
protoOf(ServerGameStoreContract).
|
|
4689
|
-
return plus(plus(plus(plus(plus(this.
|
|
4688
|
+
protoOf(ServerGameStoreContract).g9o = function () {
|
|
4689
|
+
return plus(plus(plus(plus(plus(this.kej_1.g9o(), this.nej_1.g9o()), this.lej_1.g9o()), this.mej_1.g9o()), this.oej_1.g9o()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl(this))]));
|
|
4690
4690
|
};
|
|
4691
|
-
protoOf(ServerGameStoreContract).
|
|
4692
|
-
var tmp = this.
|
|
4691
|
+
protoOf(ServerGameStoreContract).h9o = function () {
|
|
4692
|
+
var tmp = this.kej_1.h9o();
|
|
4693
4693
|
var tmp_0;
|
|
4694
4694
|
if (_get_serverConfig__rk2g06(this).finishGameWhenNotLiveStrategy.equals(FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance())) {
|
|
4695
4695
|
tmp_0 = checkBotsMiddleware(_get_logger__rkp4sl(this));
|
|
4696
4696
|
} else {
|
|
4697
4697
|
tmp_0 = null;
|
|
4698
4698
|
}
|
|
4699
|
-
var tmp_1 = plus(plus(plus(plus(plus(plus(plus(tmp, listOfNotNull(tmp_0)), this.
|
|
4699
|
+
var tmp_1 = plus(plus(plus(plus(plus(plus(plus(tmp, listOfNotNull(tmp_0)), this.nej_1.h9o()), this.lej_1.h9o()), this.mej_1.h9o()), this.oej_1.h9o()), 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))).n9q(), finishingGameWhenCantStartNewMiddleware()]));
|
|
4700
4700
|
var tmp_2 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this), _get_logger__rkp4sl(this));
|
|
4701
4701
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
4702
4702
|
var tmp1_logger = _get_logger__rkp4sl(this);
|
|
@@ -4747,7 +4747,7 @@
|
|
|
4747
4747
|
return this.q6q(store, next, action);
|
|
4748
4748
|
};
|
|
4749
4749
|
function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
|
|
4750
|
-
this.
|
|
4750
|
+
this.fek_1 = this$0;
|
|
4751
4751
|
}
|
|
4752
4752
|
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).b6p = function (action) {
|
|
4753
4753
|
return action instanceof MechanicAction;
|
|
@@ -4758,11 +4758,11 @@
|
|
|
4758
4758
|
// Inline function 'kotlin.with' call
|
|
4759
4759
|
var tmp;
|
|
4760
4760
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
4761
|
-
var tmp0 = this.
|
|
4762
|
-
var tmp2 = action_0.
|
|
4763
|
-
var tmp4 = action_0.
|
|
4761
|
+
var tmp0 = this.fek_1;
|
|
4762
|
+
var tmp2 = action_0.l8g_1;
|
|
4763
|
+
var tmp4 = action_0.n8g_1;
|
|
4764
4764
|
// Inline function 'kotlin.collections.map' call
|
|
4765
|
-
var this_0 = action_0.
|
|
4765
|
+
var this_0 = action_0.o8g_1;
|
|
4766
4766
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4767
4767
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
4768
4768
|
var _iterator__ex2g4s = this_0.l();
|
|
@@ -4798,7 +4798,7 @@
|
|
|
4798
4798
|
var _iterator__ex2g4s_2 = destination_1.l();
|
|
4799
4799
|
while (_iterator__ex2g4s_2.m()) {
|
|
4800
4800
|
var element_0 = _iterator__ex2g4s_2.n();
|
|
4801
|
-
var tmp0_aid = tmp0.
|
|
4801
|
+
var tmp0_aid = tmp0.eek_1.z6m();
|
|
4802
4802
|
// Inline function 'kotlin.collections.map' call
|
|
4803
4803
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4804
4804
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -4820,16 +4820,16 @@
|
|
|
4820
4820
|
tmp = destination_2;
|
|
4821
4821
|
} else {
|
|
4822
4822
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
4823
|
-
var tmp0_0 = this.
|
|
4823
|
+
var tmp0_0 = this.fek_1;
|
|
4824
4824
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4825
4825
|
var table = state.c72();
|
|
4826
|
-
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.
|
|
4826
|
+
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.eek_1.z6m(), table.id, null);
|
|
4827
4827
|
var tmp$ret$21 = mapToClient_17(action_0, sendToPlayer_0);
|
|
4828
4828
|
tmp = listOfNotNull(tmp$ret$21);
|
|
4829
4829
|
} else {
|
|
4830
4830
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
4831
|
-
var tmp0_1 = this.
|
|
4832
|
-
var tmp2_0 = action_0.
|
|
4831
|
+
var tmp0_1 = this.fek_1;
|
|
4832
|
+
var tmp2_0 = action_0.r8g_1.id;
|
|
4833
4833
|
var tmp4_0 = action_0.gameCreatorPlayerId;
|
|
4834
4834
|
// Inline function 'kotlin.collections.map' call
|
|
4835
4835
|
var this_1 = action_0.users;
|
|
@@ -4868,7 +4868,7 @@
|
|
|
4868
4868
|
var _iterator__ex2g4s_7 = destination_6.l();
|
|
4869
4869
|
while (_iterator__ex2g4s_7.m()) {
|
|
4870
4870
|
var element_2 = _iterator__ex2g4s_7.n();
|
|
4871
|
-
var tmp0_aid_0 = tmp0_1.
|
|
4871
|
+
var tmp0_aid_0 = tmp0_1.eek_1.z6m();
|
|
4872
4872
|
// Inline function 'kotlin.collections.map' call
|
|
4873
4873
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4874
4874
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -4890,39 +4890,39 @@
|
|
|
4890
4890
|
tmp = destination_7;
|
|
4891
4891
|
} else {
|
|
4892
4892
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
4893
|
-
var tmp0_2 = this.
|
|
4893
|
+
var tmp0_2 = this.fek_1;
|
|
4894
4894
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4895
4895
|
var table_0 = state.c72();
|
|
4896
|
-
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.
|
|
4896
|
+
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.eek_1.z6m(), table_0.id, null);
|
|
4897
4897
|
var tmp$ret$44 = mapToClient_15(action_0, sendToPlayer_2);
|
|
4898
4898
|
tmp = listOfNotNull(tmp$ret$44);
|
|
4899
4899
|
} else {
|
|
4900
4900
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
4901
|
-
var tmp0_3 = this.
|
|
4901
|
+
var tmp0_3 = this.fek_1;
|
|
4902
4902
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4903
4903
|
var table_1 = state.c72();
|
|
4904
|
-
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.
|
|
4904
|
+
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.eek_1.z6m(), table_1.id, null);
|
|
4905
4905
|
var tmp$ret$46 = mapToClient_14(action_0, sendToPlayer_3);
|
|
4906
4906
|
tmp = listOfNotNull(tmp$ret$46);
|
|
4907
4907
|
} else {
|
|
4908
4908
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
4909
|
-
var tmp0_4 = this.
|
|
4909
|
+
var tmp0_4 = this.fek_1;
|
|
4910
4910
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4911
4911
|
var table_2 = state.c72();
|
|
4912
|
-
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.
|
|
4912
|
+
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.eek_1.z6m(), table_2.id, null);
|
|
4913
4913
|
var tmp$ret$48 = mapToClient_13(action_0, sendToPlayer_4);
|
|
4914
4914
|
tmp = listOfNotNull(tmp$ret$48);
|
|
4915
4915
|
} else {
|
|
4916
4916
|
if (action_0 instanceof ErrorAction) {
|
|
4917
|
-
var tmp0_5 = this.
|
|
4917
|
+
var tmp0_5 = this.fek_1;
|
|
4918
4918
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4919
4919
|
var table_3 = state.c72();
|
|
4920
|
-
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.
|
|
4920
|
+
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.eek_1.z6m(), table_3.id, null);
|
|
4921
4921
|
var tmp$ret$50 = mapToClient_12(action_0, sendToPlayer_5);
|
|
4922
4922
|
tmp = listOfNotNull(tmp$ret$50);
|
|
4923
4923
|
} else {
|
|
4924
4924
|
if (action_0 instanceof SceneMechanicAction) {
|
|
4925
|
-
var tmp0_6 = this.
|
|
4925
|
+
var tmp0_6 = this.fek_1;
|
|
4926
4926
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4927
4927
|
var table_4 = state.c72();
|
|
4928
4928
|
var tmp2_1 = table_4.id;
|
|
@@ -4955,7 +4955,7 @@
|
|
|
4955
4955
|
var _iterator__ex2g4s_11 = destination_10.l();
|
|
4956
4956
|
while (_iterator__ex2g4s_11.m()) {
|
|
4957
4957
|
var element_4 = _iterator__ex2g4s_11.n();
|
|
4958
|
-
var tmp0_aid_1 = tmp0_6.
|
|
4958
|
+
var tmp0_aid_1 = tmp0_6.eek_1.z6m();
|
|
4959
4959
|
// Inline function 'kotlin.collections.map' call
|
|
4960
4960
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4961
4961
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -4977,7 +4977,7 @@
|
|
|
4977
4977
|
tmp = destination_11;
|
|
4978
4978
|
} else {
|
|
4979
4979
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
4980
|
-
var tmp0_7 = this.
|
|
4980
|
+
var tmp0_7 = this.fek_1;
|
|
4981
4981
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4982
4982
|
var table_5 = state.c72();
|
|
4983
4983
|
var tmp2_2 = table_5.id;
|
|
@@ -5010,7 +5010,7 @@
|
|
|
5010
5010
|
var _iterator__ex2g4s_15 = destination_14.l();
|
|
5011
5011
|
while (_iterator__ex2g4s_15.m()) {
|
|
5012
5012
|
var element_6 = _iterator__ex2g4s_15.n();
|
|
5013
|
-
var tmp0_aid_2 = tmp0_7.
|
|
5013
|
+
var tmp0_aid_2 = tmp0_7.eek_1.z6m();
|
|
5014
5014
|
// Inline function 'kotlin.collections.map' call
|
|
5015
5015
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5016
5016
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -5032,7 +5032,7 @@
|
|
|
5032
5032
|
tmp = destination_15;
|
|
5033
5033
|
} else {
|
|
5034
5034
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
5035
|
-
var tmp0_8 = this.
|
|
5035
|
+
var tmp0_8 = this.fek_1;
|
|
5036
5036
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
5037
5037
|
var table_6 = state.c72();
|
|
5038
5038
|
var tmp2_3 = table_6.id;
|
|
@@ -5065,7 +5065,7 @@
|
|
|
5065
5065
|
var _iterator__ex2g4s_19 = destination_18.l();
|
|
5066
5066
|
while (_iterator__ex2g4s_19.m()) {
|
|
5067
5067
|
var element_8 = _iterator__ex2g4s_19.n();
|
|
5068
|
-
var tmp0_aid_3 = tmp0_8.
|
|
5068
|
+
var tmp0_aid_3 = tmp0_8.eek_1.z6m();
|
|
5069
5069
|
// Inline function 'kotlin.collections.map' call
|
|
5070
5070
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5071
5071
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -5077,7 +5077,7 @@
|
|
|
5077
5077
|
}
|
|
5078
5078
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_3, tmp4_3, element_8, destination_20);
|
|
5079
5079
|
var tmp_0;
|
|
5080
|
-
if (this.
|
|
5080
|
+
if (this.fek_1.dek_1.supportBackwardActions && getPlayer(state.c72().players, sendToPlayer_8.m7r_1).o75_1.h7a_1) {
|
|
5081
5081
|
tmp_0 = null;
|
|
5082
5082
|
} else {
|
|
5083
5083
|
tmp_0 = mapToClient_9(action_0, sendToPlayer_8);
|
|
@@ -5093,81 +5093,81 @@
|
|
|
5093
5093
|
tmp = destination_19;
|
|
5094
5094
|
} else {
|
|
5095
5095
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
5096
|
-
var tmp0_9 = this.
|
|
5096
|
+
var tmp0_9 = this.fek_1;
|
|
5097
5097
|
var tmp2_4 = state.c72();
|
|
5098
5098
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5099
|
-
var exceptPlayerId = this.
|
|
5100
|
-
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.
|
|
5099
|
+
var exceptPlayerId = this.fek_1.dek_1.supportBackwardActions ? action_0.s8h_1 : null;
|
|
5100
|
+
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.eek_1.z6m(), tmp2_4.id, exceptPlayerId);
|
|
5101
5101
|
var tmp$ret$109 = mapToClient_8(action_0, sendToPlayer_9);
|
|
5102
5102
|
tmp = listOfNotNull(tmp$ret$109);
|
|
5103
5103
|
} else {
|
|
5104
5104
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
5105
|
-
var tmp0_10 = this.
|
|
5105
|
+
var tmp0_10 = this.fek_1;
|
|
5106
5106
|
var tmp2_5 = state.c72();
|
|
5107
5107
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5108
|
-
var exceptPlayerId_0 = this.
|
|
5109
|
-
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.
|
|
5108
|
+
var exceptPlayerId_0 = this.fek_1.dek_1.supportBackwardActions ? action_0.w8h_1 : null;
|
|
5109
|
+
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.eek_1.z6m(), tmp2_5.id, exceptPlayerId_0);
|
|
5110
5110
|
var tmp$ret$111 = mapToClient_7(action_0, sendToPlayer_10);
|
|
5111
5111
|
tmp = listOfNotNull(tmp$ret$111);
|
|
5112
5112
|
} else {
|
|
5113
5113
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
5114
|
-
var tmp0_11 = this.
|
|
5114
|
+
var tmp0_11 = this.fek_1;
|
|
5115
5115
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5116
5116
|
var table_7 = state.c72();
|
|
5117
|
-
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.
|
|
5117
|
+
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.eek_1.z6m(), table_7.id, null);
|
|
5118
5118
|
var tmp$ret$113 = mapToClient_6(action_0, sendToPlayer_11);
|
|
5119
5119
|
tmp = listOfNotNull(tmp$ret$113);
|
|
5120
5120
|
} else {
|
|
5121
5121
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
5122
|
-
var tmp0_12 = this.
|
|
5122
|
+
var tmp0_12 = this.fek_1;
|
|
5123
5123
|
var tmp2_6 = state.c72();
|
|
5124
5124
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5125
|
-
var exceptPlayerId_1 = this.
|
|
5126
|
-
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.
|
|
5125
|
+
var exceptPlayerId_1 = this.fek_1.dek_1.supportBackwardActions ? action_0.d8i_1 : null;
|
|
5126
|
+
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.eek_1.z6m(), tmp2_6.id, exceptPlayerId_1);
|
|
5127
5127
|
var tmp$ret$115 = mapToClient_5(action_0, sendToPlayer_12);
|
|
5128
5128
|
tmp = listOfNotNull(tmp$ret$115);
|
|
5129
5129
|
} else {
|
|
5130
5130
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
5131
|
-
var tmp0_13 = this.
|
|
5131
|
+
var tmp0_13 = this.fek_1;
|
|
5132
5132
|
var tmp2_7 = state.c72();
|
|
5133
5133
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5134
|
-
var exceptPlayerId_2 = this.
|
|
5135
|
-
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.
|
|
5134
|
+
var exceptPlayerId_2 = this.fek_1.dek_1.supportBackwardActions ? action_0.i8i_1 : null;
|
|
5135
|
+
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.eek_1.z6m(), tmp2_7.id, exceptPlayerId_2);
|
|
5136
5136
|
var tmp$ret$117 = mapToClient_4(action_0, sendToPlayer_13);
|
|
5137
5137
|
tmp = listOfNotNull(tmp$ret$117);
|
|
5138
5138
|
} else {
|
|
5139
5139
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
5140
|
-
var tmp0_14 = this.
|
|
5140
|
+
var tmp0_14 = this.fek_1;
|
|
5141
5141
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5142
5142
|
var table_8 = state.c72();
|
|
5143
|
-
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.
|
|
5143
|
+
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.eek_1.z6m(), table_8.id, null);
|
|
5144
5144
|
var tmp$ret$119 = mapToClient_3(action_0, sendToPlayer_14);
|
|
5145
5145
|
tmp = listOfNotNull(tmp$ret$119);
|
|
5146
5146
|
} else {
|
|
5147
5147
|
if (action_0 instanceof TakeAllRemainingCardsMechanicAction) {
|
|
5148
|
-
var tmp0_15 = this.
|
|
5148
|
+
var tmp0_15 = this.fek_1;
|
|
5149
5149
|
var tmp2_8 = state.c72();
|
|
5150
5150
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5151
|
-
var exceptPlayerId_3 = this.
|
|
5152
|
-
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.
|
|
5151
|
+
var exceptPlayerId_3 = this.fek_1.dek_1.supportBackwardActions ? action_0.p8i_1 : null;
|
|
5152
|
+
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.eek_1.z6m(), tmp2_8.id, exceptPlayerId_3);
|
|
5153
5153
|
var tmp$ret$121 = mapToClient_2(action_0, sendToPlayer_15);
|
|
5154
5154
|
tmp = listOfNotNull(tmp$ret$121);
|
|
5155
5155
|
} else {
|
|
5156
5156
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
5157
|
-
var tmp0_16 = this.
|
|
5157
|
+
var tmp0_16 = this.fek_1;
|
|
5158
5158
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5159
5159
|
var table_9 = state.c72();
|
|
5160
|
-
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.
|
|
5160
|
+
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.eek_1.z6m(), table_9.id, null);
|
|
5161
5161
|
var tmp$ret$123 = mapToClient_1(action_0, sendToPlayer_16);
|
|
5162
5162
|
tmp = listOfNotNull(tmp$ret$123);
|
|
5163
5163
|
} else {
|
|
5164
5164
|
if (action_0 instanceof MessageMechanicAction) {
|
|
5165
|
-
var message = action_0.
|
|
5166
|
-
var tmp0_17 = this.
|
|
5165
|
+
var message = action_0.u8i_1;
|
|
5166
|
+
var tmp0_17 = this.fek_1;
|
|
5167
5167
|
var tmp2_9 = state.c72();
|
|
5168
5168
|
var tmp_1;
|
|
5169
5169
|
var tmp_2;
|
|
5170
|
-
if (this.
|
|
5170
|
+
if (this.fek_1.dek_1.supportBackwardActions) {
|
|
5171
5171
|
tmp_2 = isInterface(message, UserMessage);
|
|
5172
5172
|
} else {
|
|
5173
5173
|
tmp_2 = false;
|
|
@@ -5179,16 +5179,16 @@
|
|
|
5179
5179
|
}
|
|
5180
5180
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5181
5181
|
var exceptPlayerId_4 = tmp_1;
|
|
5182
|
-
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.
|
|
5182
|
+
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.eek_1.z6m(), tmp2_9.id, exceptPlayerId_4);
|
|
5183
5183
|
var tmp$ret$125 = mapToClient_0(action_0, sendToPlayer_17);
|
|
5184
5184
|
tmp = listOfNotNull(tmp$ret$125);
|
|
5185
5185
|
} else {
|
|
5186
5186
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
5187
|
-
var tmp0_18 = this.
|
|
5187
|
+
var tmp0_18 = this.fek_1;
|
|
5188
5188
|
var tmp2_10 = state.c72();
|
|
5189
5189
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5190
5190
|
var exceptPlayerId_5 = action_0.playerId;
|
|
5191
|
-
var sendToPlayer_18 = new RoomActionPayload(tmp0_18.
|
|
5191
|
+
var sendToPlayer_18 = new RoomActionPayload(tmp0_18.eek_1.z6m(), tmp2_10.id, exceptPlayerId_5);
|
|
5192
5192
|
var tmp$ret$127 = mapToClient(action_0, sendToPlayer_18);
|
|
5193
5193
|
tmp = listOfNotNull(tmp$ret$127);
|
|
5194
5194
|
} else {
|
|
@@ -5226,10 +5226,10 @@
|
|
|
5226
5226
|
return this.q6q(store, next, action);
|
|
5227
5227
|
};
|
|
5228
5228
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
5229
|
-
this.
|
|
5230
|
-
this.
|
|
5229
|
+
this.dek_1 = logicConfig;
|
|
5230
|
+
this.eek_1 = idsProvider;
|
|
5231
5231
|
}
|
|
5232
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
5232
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).n9q = function () {
|
|
5233
5233
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
5234
5234
|
return new ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this);
|
|
5235
5235
|
};
|
|
@@ -5238,8 +5238,8 @@
|
|
|
5238
5238
|
return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
|
|
5239
5239
|
}
|
|
5240
5240
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
5241
|
-
this.
|
|
5242
|
-
this.
|
|
5241
|
+
this.oek_1 = $provider;
|
|
5242
|
+
this.pek_1 = $action;
|
|
5243
5243
|
CoroutineImpl.call(this, resultContinuation);
|
|
5244
5244
|
}
|
|
5245
5245
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).j29 = function ($this$launchDefault, $completion) {
|
|
@@ -5260,7 +5260,7 @@
|
|
|
5260
5260
|
case 0:
|
|
5261
5261
|
this.t8_1 = 2;
|
|
5262
5262
|
this.s8_1 = 1;
|
|
5263
|
-
suspendResult = this.
|
|
5263
|
+
suspendResult = this.oek_1.beh(this.pek_1, this);
|
|
5264
5264
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5265
5265
|
return suspendResult;
|
|
5266
5266
|
}
|
|
@@ -5283,8 +5283,8 @@
|
|
|
5283
5283
|
while (true);
|
|
5284
5284
|
};
|
|
5285
5285
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).k29 = function ($this$launchDefault, completion) {
|
|
5286
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
5287
|
-
i.
|
|
5286
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.oek_1, this.pek_1, completion);
|
|
5287
|
+
i.qek_1 = $this$launchDefault;
|
|
5288
5288
|
return i;
|
|
5289
5289
|
};
|
|
5290
5290
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -5296,15 +5296,15 @@
|
|
|
5296
5296
|
return l;
|
|
5297
5297
|
}
|
|
5298
5298
|
function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
|
|
5299
|
-
this.
|
|
5300
|
-
this.
|
|
5299
|
+
this.rek_1 = $asyncProvider;
|
|
5300
|
+
this.sek_1 = $provider;
|
|
5301
5301
|
}
|
|
5302
5302
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).b6p = function (action) {
|
|
5303
5303
|
return action instanceof ToClientAction;
|
|
5304
5304
|
};
|
|
5305
5305
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).q6q = function (store, next, action) {
|
|
5306
5306
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
5307
|
-
this.
|
|
5307
|
+
this.rek_1.e6l(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.sek_1, action_0, null));
|
|
5308
5308
|
next(action_0);
|
|
5309
5309
|
};
|
|
5310
5310
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).a6p = function (store, next, action) {
|
|
@@ -5319,19 +5319,19 @@
|
|
|
5319
5319
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).b6p = function (action) {
|
|
5320
5320
|
return action instanceof UpdateServerConfigAction;
|
|
5321
5321
|
};
|
|
5322
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
5322
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).ma1 = function (state, action) {
|
|
5323
5323
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
5324
|
-
return state.
|
|
5324
|
+
return state.c9l(VOID, get_serverStatePayload(state).copy(action_0.hej_1));
|
|
5325
5325
|
};
|
|
5326
5326
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).r6q = function (state, action) {
|
|
5327
|
-
return this.
|
|
5327
|
+
return this.ma1((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5328
5328
|
};
|
|
5329
5329
|
function addRoomMetadata($this, _this__u8e3s4, gameId) {
|
|
5330
5330
|
_this__u8e3s4.metadata.addGame(gameId, new GameMetadata(gameId));
|
|
5331
5331
|
return _this__u8e3s4.metadata;
|
|
5332
5332
|
}
|
|
5333
5333
|
function Companion_5() {
|
|
5334
|
-
this.
|
|
5334
|
+
this.tek_1 = 'ServerMechanicLifecycleReducer';
|
|
5335
5335
|
}
|
|
5336
5336
|
var Companion_instance_13;
|
|
5337
5337
|
function Companion_getInstance_6() {
|
|
@@ -5348,7 +5348,7 @@
|
|
|
5348
5348
|
var tmp_2 = PlayerConnectionState_LIVE_getInstance();
|
|
5349
5349
|
Companion_getInstance();
|
|
5350
5350
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
5351
|
-
var this_0 = $action.
|
|
5351
|
+
var this_0 = $action.k8g_1.timeoutTimeMillis;
|
|
5352
5352
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
5353
5353
|
tmp_0 = tmp_1.w6f(tmp_2, tmp$ret$0);
|
|
5354
5354
|
}
|
|
@@ -5357,65 +5357,65 @@
|
|
|
5357
5357
|
}
|
|
5358
5358
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
5359
5359
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
5360
|
-
this.
|
|
5360
|
+
this.wek_1 = logger;
|
|
5361
5361
|
}
|
|
5362
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5363
|
-
this.
|
|
5362
|
+
protoOf(ServerMechanicLifecycleReducer).za2 = function (state, action) {
|
|
5363
|
+
this.wek_1.d('ServerMechanicLifecycleReducer', 'onStart ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
5364
5364
|
var serverState = get_serverStatePayloadOrNull(state.payload);
|
|
5365
|
-
var tableId = action.
|
|
5365
|
+
var tableId = action.l8g_1;
|
|
5366
5366
|
var tmp6_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5367
|
-
var tmp0_$this = this.
|
|
5368
|
-
var tmp1_version = action.
|
|
5369
|
-
var tmp2_config = action.
|
|
5370
|
-
var tmp3_users = action.
|
|
5367
|
+
var tmp0_$this = this.aa3_1;
|
|
5368
|
+
var tmp1_version = action.m8g_1;
|
|
5369
|
+
var tmp2_config = action.k8g_1;
|
|
5370
|
+
var tmp3_users = action.o8g_1;
|
|
5371
5371
|
var tmp4_spectators = action.spectators;
|
|
5372
|
-
var tmp5_gameCreatorPlayerId = action.
|
|
5373
|
-
var tmp7_tableOrNull = tmp0_$this.
|
|
5372
|
+
var tmp5_gameCreatorPlayerId = action.n8g_1;
|
|
5373
|
+
var tmp7_tableOrNull = tmp0_$this.ha4(tableId, tableId, tmp2_config, tmp1_version, tmp3_users, tmp4_spectators, tmp5_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
|
|
5374
5374
|
var tmp;
|
|
5375
5375
|
if (serverState == null) {
|
|
5376
|
-
this.
|
|
5376
|
+
this.wek_1.w(VOID, 'ServerPayload is not onStart');
|
|
5377
5377
|
tmp = Companion_instance_14.initial(VOID, addRoomMetadata(this, get_serverStatePayload(state), tableId));
|
|
5378
5378
|
} else {
|
|
5379
5379
|
tmp = serverState.copy(VOID, addRoomMetadata(this, get_serverStatePayload(state), tableId));
|
|
5380
5380
|
}
|
|
5381
5381
|
var tmp8_payload = tmp;
|
|
5382
|
-
return state.
|
|
5382
|
+
return state.c9l(tmp7_tableOrNull, tmp8_payload, tmp6_gameLifecycleState);
|
|
5383
5383
|
};
|
|
5384
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5385
|
-
this.
|
|
5384
|
+
protoOf(ServerMechanicLifecycleReducer).xa2 = function (state, action) {
|
|
5385
|
+
this.wek_1.d('ServerMechanicLifecycleReducer', 'onContinue ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
5386
5386
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5387
|
-
var tmp2_tableOrNull = action.
|
|
5387
|
+
var tmp2_tableOrNull = action.r8g_1;
|
|
5388
5388
|
var tmp = Companion_instance_14;
|
|
5389
5389
|
var tmp_0 = get_serverStatePayload(state).config;
|
|
5390
|
-
var tmp_1 = action.
|
|
5390
|
+
var tmp_1 = action.s8g_1;
|
|
5391
5391
|
var tmp0_safe_receiver = tmp_1 instanceof RestartRoundReason ? tmp_1 : null;
|
|
5392
|
-
var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.q6d_1), addRoomMetadata(this, get_serverStatePayload(state), action.
|
|
5393
|
-
return state.
|
|
5392
|
+
var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.q6d_1), addRoomMetadata(this, get_serverStatePayload(state), action.r8g_1.gameId));
|
|
5393
|
+
return state.c9l(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
|
|
5394
5394
|
};
|
|
5395
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5396
|
-
this.
|
|
5395
|
+
protoOf(ServerMechanicLifecycleReducer).ya2 = function (state, action) {
|
|
5396
|
+
this.ba3_1.i5o(action.previousGameId);
|
|
5397
5397
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5398
|
-
var tmp1_tableOrNull = this.
|
|
5398
|
+
var tmp1_tableOrNull = this.aa3_1.ia4(state.c72(), action.gameId);
|
|
5399
5399
|
var tmp2_payload = get_serverStatePayload(state).copy(VOID, addRoomMetadata(this, get_serverStatePayload(state), action.gameId));
|
|
5400
|
-
return state.
|
|
5400
|
+
return state.c9l(tmp1_tableOrNull, tmp2_payload, tmp0_gameLifecycleState);
|
|
5401
5401
|
};
|
|
5402
5402
|
function spectatorsReducer(logger) {
|
|
5403
5403
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
5404
5404
|
return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
|
|
5405
5405
|
}
|
|
5406
5406
|
function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
|
|
5407
|
-
this.
|
|
5407
|
+
this.xek_1 = $logger;
|
|
5408
5408
|
}
|
|
5409
5409
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).b6p = function (action) {
|
|
5410
5410
|
return isInterface(action, SpectatorsAction);
|
|
5411
5411
|
};
|
|
5412
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
5412
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).ma1 = function (state, action) {
|
|
5413
5413
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
5414
5414
|
var table = state.c72();
|
|
5415
5415
|
var tmp;
|
|
5416
5416
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
5417
5417
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5418
|
-
var tmp0 = action_0.
|
|
5418
|
+
var tmp0 = action_0.iej_1;
|
|
5419
5419
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5420
5420
|
var destination = ArrayList_init_$Create$_0();
|
|
5421
5421
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5434,9 +5434,9 @@
|
|
|
5434
5434
|
var tmp_0;
|
|
5435
5435
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5436
5436
|
if (!sameSpectators.q()) {
|
|
5437
|
-
this.
|
|
5437
|
+
this.xek_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
5438
5438
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5439
|
-
var tmp0_0 = action_0.
|
|
5439
|
+
var tmp0_0 = action_0.iej_1;
|
|
5440
5440
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5441
5441
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
5442
5442
|
var _iterator__ex2g4s_0 = tmp0_0.l();
|
|
@@ -5471,7 +5471,7 @@
|
|
|
5471
5471
|
}
|
|
5472
5472
|
tmp_0 = destination_0;
|
|
5473
5473
|
} else {
|
|
5474
|
-
tmp_0 = action_0.
|
|
5474
|
+
tmp_0 = action_0.iej_1;
|
|
5475
5475
|
}
|
|
5476
5476
|
// Inline function 'kotlin.collections.map' call
|
|
5477
5477
|
var this_0 = tmp_0;
|
|
@@ -5484,11 +5484,11 @@
|
|
|
5484
5484
|
destination_1.j(tmp$ret$13);
|
|
5485
5485
|
}
|
|
5486
5486
|
var spectatorsToAdd = toSet(destination_1);
|
|
5487
|
-
tmp = state.
|
|
5487
|
+
tmp = state.c9l(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
|
|
5488
5488
|
} else {
|
|
5489
5489
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
5490
5490
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5491
|
-
var tmp0_1 = action_0.
|
|
5491
|
+
var tmp0_1 = action_0.jej_1;
|
|
5492
5492
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5493
5493
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
5494
5494
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5507,9 +5507,9 @@
|
|
|
5507
5507
|
var tmp_2;
|
|
5508
5508
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5509
5509
|
if (!sameSpectators_0.q()) {
|
|
5510
|
-
this.
|
|
5510
|
+
this.xek_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
5511
5511
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5512
|
-
var tmp0_2 = action_0.
|
|
5512
|
+
var tmp0_2 = action_0.jej_1;
|
|
5513
5513
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5514
5514
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
5515
5515
|
var _iterator__ex2g4s_4 = tmp0_2.l();
|
|
@@ -5544,7 +5544,7 @@
|
|
|
5544
5544
|
}
|
|
5545
5545
|
tmp_2 = destination_3;
|
|
5546
5546
|
} else {
|
|
5547
|
-
tmp_2 = action_0.
|
|
5547
|
+
tmp_2 = action_0.jej_1;
|
|
5548
5548
|
}
|
|
5549
5549
|
var spectatorsToRemove = toSet(tmp_2);
|
|
5550
5550
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -5581,7 +5581,7 @@
|
|
|
5581
5581
|
destination_4.j(element_5);
|
|
5582
5582
|
}
|
|
5583
5583
|
}
|
|
5584
|
-
tmp = state.
|
|
5584
|
+
tmp = state.c9l(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
|
|
5585
5585
|
} else {
|
|
5586
5586
|
noWhenBranchMatchedException();
|
|
5587
5587
|
}
|
|
@@ -5589,17 +5589,17 @@
|
|
|
5589
5589
|
return tmp;
|
|
5590
5590
|
};
|
|
5591
5591
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).r6q = function (state, action) {
|
|
5592
|
-
return this.
|
|
5592
|
+
return this.ma1((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5593
5593
|
};
|
|
5594
5594
|
function Companion_6() {
|
|
5595
5595
|
}
|
|
5596
|
-
protoOf(Companion_6).
|
|
5596
|
+
protoOf(Companion_6).yek = function (config, metadata) {
|
|
5597
5597
|
return new ServerStatePayload(config, metadata);
|
|
5598
5598
|
};
|
|
5599
5599
|
protoOf(Companion_6).initial = function (config, metadata, $super) {
|
|
5600
5600
|
config = config === VOID ? Companion_instance_8.initial(null) : config;
|
|
5601
5601
|
metadata = metadata === VOID ? new RoomMetadata() : metadata;
|
|
5602
|
-
return $super === VOID ? this.
|
|
5602
|
+
return $super === VOID ? this.yek(config, metadata) : $super.yek.call(this, config, metadata);
|
|
5603
5603
|
};
|
|
5604
5604
|
var Companion_instance_14;
|
|
5605
5605
|
function Companion_getInstance_7() {
|
|
@@ -5612,7 +5612,7 @@
|
|
|
5612
5612
|
protoOf(ServerStatePayload).e3w = function () {
|
|
5613
5613
|
return this.config;
|
|
5614
5614
|
};
|
|
5615
|
-
protoOf(ServerStatePayload).
|
|
5615
|
+
protoOf(ServerStatePayload).g96 = function () {
|
|
5616
5616
|
return this.metadata;
|
|
5617
5617
|
};
|
|
5618
5618
|
protoOf(ServerStatePayload).oe = function () {
|
|
@@ -5621,13 +5621,13 @@
|
|
|
5621
5621
|
protoOf(ServerStatePayload).pe = function () {
|
|
5622
5622
|
return this.metadata;
|
|
5623
5623
|
};
|
|
5624
|
-
protoOf(ServerStatePayload).
|
|
5624
|
+
protoOf(ServerStatePayload).zek = function (config, metadata) {
|
|
5625
5625
|
return new ServerStatePayload(config, metadata);
|
|
5626
5626
|
};
|
|
5627
5627
|
protoOf(ServerStatePayload).copy = function (config, metadata, $super) {
|
|
5628
5628
|
config = config === VOID ? this.config : config;
|
|
5629
5629
|
metadata = metadata === VOID ? this.metadata : metadata;
|
|
5630
|
-
return $super === VOID ? this.
|
|
5630
|
+
return $super === VOID ? this.zek(config, metadata) : $super.zek.call(this, config, metadata);
|
|
5631
5631
|
};
|
|
5632
5632
|
protoOf(ServerStatePayload).toString = function () {
|
|
5633
5633
|
return 'ServerStatePayload(config=' + this.config.toString() + ', metadata=' + toString(this.metadata) + ')';
|
|
@@ -5649,7 +5649,7 @@
|
|
|
5649
5649
|
return true;
|
|
5650
5650
|
};
|
|
5651
5651
|
function serverLoggerKeyFromPayload(_this__u8e3s4, payload) {
|
|
5652
|
-
var gameId = Companion_instance_3.
|
|
5652
|
+
var gameId = Companion_instance_3.ka6(payload);
|
|
5653
5653
|
var tmp;
|
|
5654
5654
|
if (!(gameId == null)) {
|
|
5655
5655
|
tmp = new ServerLoggerKey(gameId);
|
|
@@ -5692,14 +5692,14 @@
|
|
|
5692
5692
|
return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
|
|
5693
5693
|
}
|
|
5694
5694
|
function _get_logger__rkp4sl_0($this) {
|
|
5695
|
-
var tmp0 = $this.
|
|
5695
|
+
var tmp0 = $this.iel_1;
|
|
5696
5696
|
var tmp = KProperty1;
|
|
5697
5697
|
// Inline function 'kotlin.getValue' call
|
|
5698
5698
|
getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
|
|
5699
5699
|
return tmp0.x();
|
|
5700
5700
|
}
|
|
5701
5701
|
function _get_di__ndbzja($this) {
|
|
5702
|
-
var tmp0 = $this.
|
|
5702
|
+
var tmp0 = $this.jel_1;
|
|
5703
5703
|
var tmp = KProperty1;
|
|
5704
5704
|
// Inline function 'kotlin.getValue' call
|
|
5705
5705
|
getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
|
|
@@ -5716,8 +5716,8 @@
|
|
|
5716
5716
|
}
|
|
5717
5717
|
function createCallbackOutput($this, gameServer) {
|
|
5718
5718
|
var tmp;
|
|
5719
|
-
if (!($this.
|
|
5720
|
-
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.
|
|
5719
|
+
if (!($this.gel_1 == null)) {
|
|
5720
|
+
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.gel_1);
|
|
5721
5721
|
tmp = new CallbackWrapperLoggerOutput(tmp_0, GameServerEngineControllerImpl$createCallbackOutput$lambda(gameServer));
|
|
5722
5722
|
} else {
|
|
5723
5723
|
tmp = null;
|
|
@@ -5731,11 +5731,11 @@
|
|
|
5731
5731
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
5732
5732
|
return function () {
|
|
5733
5733
|
var tmp;
|
|
5734
|
-
if (this$0.
|
|
5734
|
+
if (this$0.gel_1 == null) {
|
|
5735
5735
|
tmp = null;
|
|
5736
5736
|
} else {
|
|
5737
5737
|
// Inline function 'kotlin.let' call
|
|
5738
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
5738
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.gel_1)]));
|
|
5739
5739
|
}
|
|
5740
5740
|
var tmp1_elvis_lhs = tmp;
|
|
5741
5741
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -5768,7 +5768,7 @@
|
|
|
5768
5768
|
tmp_0.f1f(tmp$ret$3);
|
|
5769
5769
|
$this$DI.j1b(jsonModule());
|
|
5770
5770
|
$this$DI.j1b(serverHelpersModule());
|
|
5771
|
-
$this$DI.j1b(randomOrgModule(this$0.
|
|
5771
|
+
$this$DI.j1b(randomOrgModule(this$0.hel_1));
|
|
5772
5772
|
return Unit_instance;
|
|
5773
5773
|
};
|
|
5774
5774
|
}
|
|
@@ -5844,16 +5844,16 @@
|
|
|
5844
5844
|
};
|
|
5845
5845
|
}
|
|
5846
5846
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
5847
|
-
this.
|
|
5847
|
+
this.qel_1 = $reducer;
|
|
5848
5848
|
}
|
|
5849
5849
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).b6p = function (action) {
|
|
5850
5850
|
return isInterface(action, Action);
|
|
5851
5851
|
};
|
|
5852
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
5853
|
-
return this.
|
|
5852
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).ma1 = function (state, action) {
|
|
5853
|
+
return this.qel_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
5854
5854
|
};
|
|
5855
5855
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).r6q = function (state, action) {
|
|
5856
|
-
return this.
|
|
5856
|
+
return this.ma1((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5857
5857
|
};
|
|
5858
5858
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($gameServer) {
|
|
5859
5859
|
return function () {
|
|
@@ -5933,7 +5933,7 @@
|
|
|
5933
5933
|
}
|
|
5934
5934
|
function GameServerEngineControllerImpl$createCallbackOutput$lambda($gameServer) {
|
|
5935
5935
|
return function (it) {
|
|
5936
|
-
var payload = Companion_instance_5.
|
|
5936
|
+
var payload = Companion_instance_5.va4(it);
|
|
5937
5937
|
var tmp;
|
|
5938
5938
|
if (!(payload == null)) {
|
|
5939
5939
|
return payload;
|
|
@@ -5954,7 +5954,7 @@
|
|
|
5954
5954
|
// Inline function 'kotlin.let' call
|
|
5955
5955
|
$this$DI.j1b(tmp0_safe_receiver);
|
|
5956
5956
|
}
|
|
5957
|
-
$this$DI.j1b(dealerModule(this$0.randomPoolProvider, this$0.
|
|
5957
|
+
$this$DI.j1b(dealerModule(this$0.randomPoolProvider, this$0.hel_1));
|
|
5958
5958
|
$this$DI.j1b(coreModule($coreConfig));
|
|
5959
5959
|
$this$DI.j1b(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $ratingConfig, $externalReducers, $externalMiddlewares));
|
|
5960
5960
|
return Unit_instance;
|
|
@@ -5963,8 +5963,8 @@
|
|
|
5963
5963
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
5964
5964
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
5965
5965
|
production = production === VOID ? true : production;
|
|
5966
|
-
this.
|
|
5967
|
-
this.
|
|
5966
|
+
this.gel_1 = loggerCallback;
|
|
5967
|
+
this.hel_1 = randomOrgConfig;
|
|
5968
5968
|
var tmp = AppEnvironment_getInstance();
|
|
5969
5969
|
var tmp_0;
|
|
5970
5970
|
if (production) {
|
|
@@ -5974,9 +5974,9 @@
|
|
|
5974
5974
|
}
|
|
5975
5975
|
tmp.e6w(tmp_0);
|
|
5976
5976
|
var tmp_1 = this;
|
|
5977
|
-
tmp_1.
|
|
5977
|
+
tmp_1.iel_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
5978
5978
|
var tmp_2 = this;
|
|
5979
|
-
tmp_2.
|
|
5979
|
+
tmp_2.jel_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
5980
5980
|
var tmp_3 = this;
|
|
5981
5981
|
// Inline function 'org.kodein.di.instance' call
|
|
5982
5982
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -5985,7 +5985,7 @@
|
|
|
5985
5985
|
var tmp$ret$0 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
5986
5986
|
var tmp_5 = Instance(this_0, tmp$ret$0, null);
|
|
5987
5987
|
var tmp_6 = KProperty1;
|
|
5988
|
-
tmp_3.
|
|
5988
|
+
tmp_3.kel_1 = tmp_5.c1h(this, getPropertyCallableRef('parser', 1, tmp_6, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
|
|
5989
5989
|
var tmp_7 = this;
|
|
5990
5990
|
// Inline function 'org.kodein.di.instance' call
|
|
5991
5991
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -5994,7 +5994,7 @@
|
|
|
5994
5994
|
var tmp$ret$2 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
5995
5995
|
var tmp_9 = Instance(this_1, tmp$ret$2, null);
|
|
5996
5996
|
var tmp_10 = KProperty1;
|
|
5997
|
-
tmp_7.
|
|
5997
|
+
tmp_7.lel_1 = tmp_9.c1h(this, getPropertyCallableRef('helper', 1, tmp_10, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
|
|
5998
5998
|
var tmp_11 = this;
|
|
5999
5999
|
// Inline function 'org.kodein.di.instance' call
|
|
6000
6000
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -6003,7 +6003,7 @@
|
|
|
6003
6003
|
var tmp$ret$4 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
6004
6004
|
var tmp_13 = Instance(this_2, tmp$ret$4, null);
|
|
6005
6005
|
var tmp_14 = KProperty1;
|
|
6006
|
-
tmp_11.
|
|
6006
|
+
tmp_11.mel_1 = tmp_13.c1h(this, getPropertyCallableRef('serverHelper', 1, tmp_14, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
|
|
6007
6007
|
var tmp_15 = this;
|
|
6008
6008
|
// Inline function 'org.kodein.di.instance' call
|
|
6009
6009
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -6012,7 +6012,7 @@
|
|
|
6012
6012
|
var tmp$ret$6 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
6013
6013
|
var tmp_17 = Instance(this_3, tmp$ret$6, null);
|
|
6014
6014
|
var tmp_18 = KProperty1;
|
|
6015
|
-
tmp_15.
|
|
6015
|
+
tmp_15.nel_1 = tmp_17.c1h(this, getPropertyCallableRef('resources', 1, tmp_18, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
|
|
6016
6016
|
var tmp_19 = this;
|
|
6017
6017
|
// Inline function 'org.kodein.di.instance' call
|
|
6018
6018
|
var this_4 = _get_di__ndbzja(this);
|
|
@@ -6021,7 +6021,7 @@
|
|
|
6021
6021
|
var tmp$ret$8 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
6022
6022
|
var tmp_21 = Instance(this_4, tmp$ret$8, null);
|
|
6023
6023
|
var tmp_22 = KProperty1;
|
|
6024
|
-
tmp_19.
|
|
6024
|
+
tmp_19.oel_1 = tmp_21.c1h(this, getPropertyCallableRef('test', 1, tmp_22, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
|
|
6025
6025
|
var tmp_23 = this;
|
|
6026
6026
|
// Inline function 'org.kodein.di.instance' call
|
|
6027
6027
|
var this_5 = _get_di__ndbzja(this);
|
|
@@ -6030,45 +6030,45 @@
|
|
|
6030
6030
|
var tmp$ret$10 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
6031
6031
|
var tmp_25 = Instance(this_5, tmp$ret$10, null);
|
|
6032
6032
|
var tmp_26 = KProperty1;
|
|
6033
|
-
tmp_23.
|
|
6033
|
+
tmp_23.pel_1 = tmp_25.c1h(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_26, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
|
|
6034
6034
|
}
|
|
6035
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6036
|
-
var tmp0 = this.
|
|
6035
|
+
protoOf(GameServerEngineControllerImpl).mdy = function () {
|
|
6036
|
+
var tmp0 = this.kel_1;
|
|
6037
6037
|
var tmp = KProperty1;
|
|
6038
6038
|
// Inline function 'kotlin.getValue' call
|
|
6039
6039
|
getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
|
|
6040
6040
|
return tmp0.x();
|
|
6041
6041
|
};
|
|
6042
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6043
|
-
var tmp0 = this.
|
|
6042
|
+
protoOf(GameServerEngineControllerImpl).bel = function () {
|
|
6043
|
+
var tmp0 = this.lel_1;
|
|
6044
6044
|
var tmp = KProperty1;
|
|
6045
6045
|
// Inline function 'kotlin.getValue' call
|
|
6046
6046
|
getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
|
|
6047
6047
|
return tmp0.x();
|
|
6048
6048
|
};
|
|
6049
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6050
|
-
var tmp0 = this.
|
|
6049
|
+
protoOf(GameServerEngineControllerImpl).cel = function () {
|
|
6050
|
+
var tmp0 = this.mel_1;
|
|
6051
6051
|
var tmp = KProperty1;
|
|
6052
6052
|
// Inline function 'kotlin.getValue' call
|
|
6053
6053
|
getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
|
|
6054
6054
|
return tmp0.x();
|
|
6055
6055
|
};
|
|
6056
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6057
|
-
var tmp0 = this.
|
|
6056
|
+
protoOf(GameServerEngineControllerImpl).del = function () {
|
|
6057
|
+
var tmp0 = this.nel_1;
|
|
6058
6058
|
var tmp = KProperty1;
|
|
6059
6059
|
// Inline function 'kotlin.getValue' call
|
|
6060
6060
|
getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
|
|
6061
6061
|
return tmp0.x();
|
|
6062
6062
|
};
|
|
6063
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6064
|
-
var tmp0 = this.
|
|
6063
|
+
protoOf(GameServerEngineControllerImpl).ael = function () {
|
|
6064
|
+
var tmp0 = this.oel_1;
|
|
6065
6065
|
var tmp = KProperty1;
|
|
6066
6066
|
// Inline function 'kotlin.getValue' call
|
|
6067
6067
|
getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
|
|
6068
6068
|
return tmp0.x();
|
|
6069
6069
|
};
|
|
6070
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6071
|
-
var tmp0 = this.
|
|
6070
|
+
protoOf(GameServerEngineControllerImpl).eel = function () {
|
|
6071
|
+
var tmp0 = this.pel_1;
|
|
6072
6072
|
var tmp = KProperty1;
|
|
6073
6073
|
// Inline function 'kotlin.getValue' call
|
|
6074
6074
|
getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
|
|
@@ -6080,7 +6080,7 @@
|
|
|
6080
6080
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
6081
6081
|
return this.createGameEngineWithLogic();
|
|
6082
6082
|
};
|
|
6083
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6083
|
+
protoOf(GameServerEngineControllerImpl).fel = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, botConfig) {
|
|
6084
6084
|
var combinedLogger = Companion_instance_6.mx();
|
|
6085
6085
|
var gameServer = {_v: null};
|
|
6086
6086
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -6128,7 +6128,7 @@
|
|
|
6128
6128
|
function TestHelper() {
|
|
6129
6129
|
}
|
|
6130
6130
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
6131
|
-
var tmp0 = $this.
|
|
6131
|
+
var tmp0 = $this.tel_1;
|
|
6132
6132
|
var tmp = KProperty1;
|
|
6133
6133
|
// Inline function 'kotlin.getValue' call
|
|
6134
6134
|
getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
|
|
@@ -6136,7 +6136,7 @@
|
|
|
6136
6136
|
}
|
|
6137
6137
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
6138
6138
|
return function ($this$singleton) {
|
|
6139
|
-
return this$0.
|
|
6139
|
+
return this$0.rel_1;
|
|
6140
6140
|
};
|
|
6141
6141
|
}
|
|
6142
6142
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -6175,27 +6175,27 @@
|
|
|
6175
6175
|
return emptyMap();
|
|
6176
6176
|
}
|
|
6177
6177
|
function TestHelperImpl(logger) {
|
|
6178
|
-
this.
|
|
6178
|
+
this.rel_1 = logger;
|
|
6179
6179
|
var tmp = this;
|
|
6180
6180
|
var tmp_0 = Companion_instance_4;
|
|
6181
|
-
tmp.
|
|
6181
|
+
tmp.sel_1 = tmp_0.q1b(VOID, TestHelperImpl$di$lambda(this));
|
|
6182
6182
|
var tmp_1 = this;
|
|
6183
6183
|
// Inline function 'org.kodein.di.instance' call
|
|
6184
|
-
var this_0 = this.
|
|
6184
|
+
var this_0 = this.sel_1;
|
|
6185
6185
|
// Inline function 'org.kodein.type.generic' call
|
|
6186
6186
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
6187
6187
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
6188
6188
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
6189
6189
|
var tmp_4 = KProperty1;
|
|
6190
|
-
tmp_1.
|
|
6190
|
+
tmp_1.tel_1 = tmp_3.c1h(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
6191
6191
|
}
|
|
6192
6192
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
6193
|
-
return _get_playerAnswerInteractor__msggz1(this).
|
|
6193
|
+
return _get_playerAnswerInteractor__msggz1(this).g9c(playerId, table, botConfig);
|
|
6194
6194
|
};
|
|
6195
6195
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
6196
6196
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
6197
6197
|
if (isInterface(mechanicAction, NextPlayerTurnAction)) {
|
|
6198
|
-
var tmp0 = mechanicAction.
|
|
6198
|
+
var tmp0 = mechanicAction.f9n();
|
|
6199
6199
|
var tmp$ret$0;
|
|
6200
6200
|
$l$block_0: {
|
|
6201
6201
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -6227,7 +6227,7 @@
|
|
|
6227
6227
|
};
|
|
6228
6228
|
protoOf(TestHelperImpl).getPlayerAnswerFromMechanicAction = function (table, currentPlayerId, action, botConfig) {
|
|
6229
6229
|
if (isInterface(action, NextPlayerTurnAction)) {
|
|
6230
|
-
var tmp0 = action.
|
|
6230
|
+
var tmp0 = action.f9n();
|
|
6231
6231
|
var tmp$ret$0;
|
|
6232
6232
|
$l$block_0: {
|
|
6233
6233
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -6260,14 +6260,14 @@
|
|
|
6260
6260
|
function RoomMetadata() {
|
|
6261
6261
|
var tmp = this;
|
|
6262
6262
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
6263
|
-
tmp.
|
|
6263
|
+
tmp.uel_1 = LinkedHashMap_init_$Create$();
|
|
6264
6264
|
this.extras = {};
|
|
6265
|
-
this.extras = this.
|
|
6265
|
+
this.extras = this.uel_1;
|
|
6266
6266
|
}
|
|
6267
|
-
protoOf(RoomMetadata).
|
|
6267
|
+
protoOf(RoomMetadata).vel = function () {
|
|
6268
6268
|
return this.extras;
|
|
6269
6269
|
};
|
|
6270
|
-
protoOf(RoomMetadata).
|
|
6270
|
+
protoOf(RoomMetadata).vel = function () {
|
|
6271
6271
|
return this.extras;
|
|
6272
6272
|
};
|
|
6273
6273
|
protoOf(RoomMetadata).getGame = function (gameId) {
|
|
@@ -6285,7 +6285,7 @@
|
|
|
6285
6285
|
};
|
|
6286
6286
|
protoOf(RoomMetadata).addGame = function (gameId, game) {
|
|
6287
6287
|
// Inline function 'kotlin.collections.set' call
|
|
6288
|
-
this.
|
|
6288
|
+
this.uel_1.m2(gameId, game);
|
|
6289
6289
|
};
|
|
6290
6290
|
function GameMetadata(gameId) {
|
|
6291
6291
|
this.gameId = gameId;
|
|
@@ -6294,7 +6294,7 @@
|
|
|
6294
6294
|
protoOf(GameMetadata).x5j = function () {
|
|
6295
6295
|
return this.gameId;
|
|
6296
6296
|
};
|
|
6297
|
-
protoOf(GameMetadata).
|
|
6297
|
+
protoOf(GameMetadata).vel = function () {
|
|
6298
6298
|
return this.extras;
|
|
6299
6299
|
};
|
|
6300
6300
|
function serverHelpersModule() {
|
|
@@ -6356,7 +6356,7 @@
|
|
|
6356
6356
|
protoOf(GameServer).roomOnDelete = roomOnDelete;
|
|
6357
6357
|
protoOf(GameServer).shutdown = shutdown;
|
|
6358
6358
|
defineProp(protoOf(GameServer), 'metadata', function () {
|
|
6359
|
-
return this.
|
|
6359
|
+
return this.g96();
|
|
6360
6360
|
});
|
|
6361
6361
|
defineProp(protoOf(GameServer), 'id', function () {
|
|
6362
6362
|
return this.t5j();
|
|
@@ -6375,17 +6375,17 @@
|
|
|
6375
6375
|
});
|
|
6376
6376
|
protoOf($serializer).wz = typeParametersSerializers;
|
|
6377
6377
|
defineProp(protoOf(TableStateUpdateDto), 'roomId', function () {
|
|
6378
|
-
return this.
|
|
6378
|
+
return this.y92();
|
|
6379
6379
|
});
|
|
6380
6380
|
protoOf($serializer_0).wz = typeParametersSerializers;
|
|
6381
6381
|
defineProp(protoOf(ActionsStateUpdateDto), 'roomId', function () {
|
|
6382
|
-
return this.
|
|
6382
|
+
return this.y92();
|
|
6383
6383
|
});
|
|
6384
6384
|
defineProp(protoOf(TableStateUpdate), 'roomId', function () {
|
|
6385
|
-
return this.
|
|
6385
|
+
return this.y92();
|
|
6386
6386
|
});
|
|
6387
6387
|
defineProp(protoOf(ActionsStateUpdate), 'roomId', function () {
|
|
6388
|
-
return this.
|
|
6388
|
+
return this.y92();
|
|
6389
6389
|
});
|
|
6390
6390
|
protoOf(UpdateServerConfigAction).n6o = get_actionTag;
|
|
6391
6391
|
defineProp(protoOf(UpdateServerConfigAction), 'actionTag', function () {
|
|
@@ -6401,22 +6401,22 @@
|
|
|
6401
6401
|
});
|
|
6402
6402
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
6403
6403
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
6404
|
-
return this.
|
|
6404
|
+
return this.mdy();
|
|
6405
6405
|
});
|
|
6406
6406
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
6407
|
-
return this.
|
|
6407
|
+
return this.bel();
|
|
6408
6408
|
});
|
|
6409
6409
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
6410
|
-
return this.
|
|
6410
|
+
return this.cel();
|
|
6411
6411
|
});
|
|
6412
6412
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
6413
|
-
return this.
|
|
6413
|
+
return this.del();
|
|
6414
6414
|
});
|
|
6415
6415
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
6416
|
-
return this.
|
|
6416
|
+
return this.ael();
|
|
6417
6417
|
});
|
|
6418
6418
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
6419
|
-
return this.
|
|
6419
|
+
return this.eel();
|
|
6420
6420
|
});
|
|
6421
6421
|
//endregion
|
|
6422
6422
|
//region block: init
|