raspberry_games_server_game_logic 1.8.399 → 1.8.400
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Logic_Debertz-ai_module.js.map +1 -1
- package/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-engine.js +9745 -9733
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.d.ts +3 -2
- package/Logic_Debertz-game_server.js +799 -799
- package/kotlin-kotlin-stdlib.js +10 -10
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +9 -9
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -365,10 +365,10 @@
|
|
|
365
365
|
spectators = tmp;
|
|
366
366
|
var tmp_0;
|
|
367
367
|
if ($super === VOID) {
|
|
368
|
-
this.
|
|
368
|
+
this.za3(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
369
369
|
tmp_0 = Unit_instance;
|
|
370
370
|
} else {
|
|
371
|
-
tmp_0 = $super.
|
|
371
|
+
tmp_0 = $super.za3.call(this, roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
372
372
|
}
|
|
373
373
|
return tmp_0;
|
|
374
374
|
}
|
|
@@ -376,10 +376,10 @@
|
|
|
376
376
|
newRid = newRid === VOID ? null : newRid;
|
|
377
377
|
var tmp;
|
|
378
378
|
if ($super === VOID) {
|
|
379
|
-
this.
|
|
379
|
+
this.aa4(newRid);
|
|
380
380
|
tmp = Unit_instance;
|
|
381
381
|
} else {
|
|
382
|
-
tmp = $super.
|
|
382
|
+
tmp = $super.aa4.call(this, newRid);
|
|
383
383
|
}
|
|
384
384
|
return tmp;
|
|
385
385
|
}
|
|
@@ -387,10 +387,10 @@
|
|
|
387
387
|
permanently = permanently === VOID ? true : permanently;
|
|
388
388
|
var tmp;
|
|
389
389
|
if ($super === VOID) {
|
|
390
|
-
this.
|
|
390
|
+
this.ya3(playerId, permanently);
|
|
391
391
|
tmp = Unit_instance;
|
|
392
392
|
} else {
|
|
393
|
-
tmp = $super.
|
|
393
|
+
tmp = $super.ya3.call(this, playerId, permanently);
|
|
394
394
|
}
|
|
395
395
|
return tmp;
|
|
396
396
|
}
|
|
@@ -398,10 +398,10 @@
|
|
|
398
398
|
roomId = roomId === VOID ? null : roomId;
|
|
399
399
|
var tmp;
|
|
400
400
|
if ($super === VOID) {
|
|
401
|
-
this.
|
|
401
|
+
this.ba4(reason, roomId);
|
|
402
402
|
tmp = Unit_instance;
|
|
403
403
|
} else {
|
|
404
|
-
tmp = $super.
|
|
404
|
+
tmp = $super.ba4.call(this, reason, roomId);
|
|
405
405
|
}
|
|
406
406
|
return tmp;
|
|
407
407
|
}
|
|
@@ -468,7 +468,7 @@
|
|
|
468
468
|
ratingConfig = ratingConfig === VOID ? new RatingConfig() : ratingConfig;
|
|
469
469
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
470
470
|
botConfig = botConfig === VOID ? new EngineBotConfig(VOID, VOID, VOID, false) : botConfig;
|
|
471
|
-
return $super === VOID ? this.
|
|
471
|
+
return $super === VOID ? this.va8(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, botConfig) : $super.va8.call(this, reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, botConfig);
|
|
472
472
|
}
|
|
473
473
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
474
474
|
initMetadataForClass(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1, VOID, VOID, VOID, [Reducer]);
|
|
@@ -481,17 +481,17 @@
|
|
|
481
481
|
initMetadataForClass(GameMetadata, 'GameMetadata');
|
|
482
482
|
//endregion
|
|
483
483
|
function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
|
|
484
|
-
this.
|
|
484
|
+
this.l9m_1 = $subscriber;
|
|
485
485
|
CoroutineImpl.call(this, resultContinuation);
|
|
486
486
|
}
|
|
487
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
488
|
-
var tmp = this.
|
|
487
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).n9m = function (it, $completion) {
|
|
488
|
+
var tmp = this.o9m(it, $completion);
|
|
489
489
|
tmp.u8_1 = Unit_instance;
|
|
490
490
|
tmp.v8_1 = null;
|
|
491
491
|
return tmp.a9();
|
|
492
492
|
};
|
|
493
493
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).i9 = function (p1, $completion) {
|
|
494
|
-
return this.
|
|
494
|
+
return this.n9m(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
495
495
|
};
|
|
496
496
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).a9 = function () {
|
|
497
497
|
var suspendResult = this.u8_1;
|
|
@@ -500,7 +500,7 @@
|
|
|
500
500
|
var tmp = this.s8_1;
|
|
501
501
|
if (tmp === 0) {
|
|
502
502
|
this.t8_1 = 1;
|
|
503
|
-
this.
|
|
503
|
+
this.l9m_1(this.m9m_1);
|
|
504
504
|
return Unit_instance;
|
|
505
505
|
} else if (tmp === 1) {
|
|
506
506
|
throw this.v8_1;
|
|
@@ -511,31 +511,31 @@
|
|
|
511
511
|
}
|
|
512
512
|
while (true);
|
|
513
513
|
};
|
|
514
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
515
|
-
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.
|
|
516
|
-
i.
|
|
514
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).o9m = function (it, completion) {
|
|
515
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.l9m_1, completion);
|
|
516
|
+
i.m9m_1 = it;
|
|
517
517
|
return i;
|
|
518
518
|
};
|
|
519
519
|
function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
|
|
520
520
|
var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
|
|
521
521
|
var l = function (it, $completion) {
|
|
522
|
-
return i.
|
|
522
|
+
return i.n9m(it, $completion);
|
|
523
523
|
};
|
|
524
524
|
l.$arity = 1;
|
|
525
525
|
return l;
|
|
526
526
|
}
|
|
527
527
|
function GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation) {
|
|
528
|
-
this.
|
|
528
|
+
this.x9m_1 = $subscriber;
|
|
529
529
|
CoroutineImpl.call(this, resultContinuation);
|
|
530
530
|
}
|
|
531
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
532
|
-
var tmp = this.
|
|
531
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).z9m = function (it, $completion) {
|
|
532
|
+
var tmp = this.a9n(it, $completion);
|
|
533
533
|
tmp.u8_1 = Unit_instance;
|
|
534
534
|
tmp.v8_1 = null;
|
|
535
535
|
return tmp.a9();
|
|
536
536
|
};
|
|
537
537
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).i9 = function (p1, $completion) {
|
|
538
|
-
return this.
|
|
538
|
+
return this.z9m((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
|
|
539
539
|
};
|
|
540
540
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).a9 = function () {
|
|
541
541
|
var suspendResult = this.u8_1;
|
|
@@ -544,7 +544,7 @@
|
|
|
544
544
|
var tmp = this.s8_1;
|
|
545
545
|
if (tmp === 0) {
|
|
546
546
|
this.t8_1 = 1;
|
|
547
|
-
this.
|
|
547
|
+
this.x9m_1(this.y9m_1);
|
|
548
548
|
return Unit_instance;
|
|
549
549
|
} else if (tmp === 1) {
|
|
550
550
|
throw this.v8_1;
|
|
@@ -555,22 +555,22 @@
|
|
|
555
555
|
}
|
|
556
556
|
while (true);
|
|
557
557
|
};
|
|
558
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
559
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.
|
|
560
|
-
i.
|
|
558
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).a9n = function (it, completion) {
|
|
559
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.x9m_1, completion);
|
|
560
|
+
i.y9m_1 = it;
|
|
561
561
|
return i;
|
|
562
562
|
};
|
|
563
563
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_0($subscriber, resultContinuation) {
|
|
564
564
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation);
|
|
565
565
|
var l = function (it, $completion) {
|
|
566
|
-
return i.
|
|
566
|
+
return i.z9m(it, $completion);
|
|
567
567
|
};
|
|
568
568
|
l.$arity = 1;
|
|
569
569
|
return l;
|
|
570
570
|
}
|
|
571
571
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
572
|
-
this.
|
|
573
|
-
this.
|
|
572
|
+
this.j9n_1 = $$this$unsafeFlow;
|
|
573
|
+
this.k9n_1 = this$0;
|
|
574
574
|
CoroutineImpl.call(this, resultContinuation);
|
|
575
575
|
}
|
|
576
576
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).w2h = function (value, $completion) {
|
|
@@ -590,10 +590,10 @@
|
|
|
590
590
|
switch (tmp) {
|
|
591
591
|
case 0:
|
|
592
592
|
this.t8_1 = 2;
|
|
593
|
-
var tmp0 = this.
|
|
594
|
-
var value = this.
|
|
593
|
+
var tmp0 = this.j9n_1;
|
|
594
|
+
var value = this.l9n_1;
|
|
595
595
|
this.s8_1 = 1;
|
|
596
|
-
suspendResult = tmp0.n28(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.
|
|
596
|
+
suspendResult = tmp0.n28(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.k9n_1)), this);
|
|
597
597
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
598
598
|
return suspendResult;
|
|
599
599
|
}
|
|
@@ -616,8 +616,8 @@
|
|
|
616
616
|
while (true);
|
|
617
617
|
};
|
|
618
618
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).x2h = function (value, completion) {
|
|
619
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.
|
|
620
|
-
i.
|
|
619
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.j9n_1, this.k9n_1, completion);
|
|
620
|
+
i.l9n_1 = value;
|
|
621
621
|
return i;
|
|
622
622
|
};
|
|
623
623
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
@@ -630,8 +630,8 @@
|
|
|
630
630
|
}
|
|
631
631
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
632
632
|
CoroutineImpl.call(this, resultContinuation);
|
|
633
|
-
this.
|
|
634
|
-
this.
|
|
633
|
+
this.u9n_1 = _this__u8e3s4;
|
|
634
|
+
this.v9n_1 = collector;
|
|
635
635
|
}
|
|
636
636
|
protoOf($collectCOROUTINE$).a9 = function () {
|
|
637
637
|
var suspendResult = this.u8_1;
|
|
@@ -641,10 +641,10 @@
|
|
|
641
641
|
switch (tmp) {
|
|
642
642
|
case 0:
|
|
643
643
|
this.t8_1 = 2;
|
|
644
|
-
var $this$unsafeFlow = this.
|
|
644
|
+
var $this$unsafeFlow = this.v9n_1;
|
|
645
645
|
this.s8_1 = 1;
|
|
646
|
-
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
647
|
-
suspendResult = this.
|
|
646
|
+
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.u9n_1.x9n_1, null);
|
|
647
|
+
suspendResult = this.u9n_1.w9n_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_0), this);
|
|
648
648
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
649
649
|
return suspendResult;
|
|
650
650
|
}
|
|
@@ -667,8 +667,8 @@
|
|
|
667
667
|
while (true);
|
|
668
668
|
};
|
|
669
669
|
function GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1($this, this$0) {
|
|
670
|
-
this.
|
|
671
|
-
this.
|
|
670
|
+
this.w9n_1 = $this;
|
|
671
|
+
this.x9n_1 = this$0;
|
|
672
672
|
}
|
|
673
673
|
protoOf(GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1).o28 = function (collector, $completion) {
|
|
674
674
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
@@ -680,17 +680,17 @@
|
|
|
680
680
|
return this.o28(collector, $completion);
|
|
681
681
|
};
|
|
682
682
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation) {
|
|
683
|
-
this.
|
|
683
|
+
this.g9o_1 = $subscriber;
|
|
684
684
|
CoroutineImpl.call(this, resultContinuation);
|
|
685
685
|
}
|
|
686
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
687
|
-
var tmp = this.
|
|
686
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).i9o = function (it, $completion) {
|
|
687
|
+
var tmp = this.j9o(it, $completion);
|
|
688
688
|
tmp.u8_1 = Unit_instance;
|
|
689
689
|
tmp.v8_1 = null;
|
|
690
690
|
return tmp.a9();
|
|
691
691
|
};
|
|
692
692
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).i9 = function (p1, $completion) {
|
|
693
|
-
return this.
|
|
693
|
+
return this.i9o((!(p1 == null) ? isInterface(p1, ServerStateUpdateDto) : false) ? p1 : THROW_CCE(), $completion);
|
|
694
694
|
};
|
|
695
695
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).a9 = function () {
|
|
696
696
|
var suspendResult = this.u8_1;
|
|
@@ -699,7 +699,7 @@
|
|
|
699
699
|
var tmp = this.s8_1;
|
|
700
700
|
if (tmp === 0) {
|
|
701
701
|
this.t8_1 = 1;
|
|
702
|
-
this.
|
|
702
|
+
this.g9o_1(this.h9o_1);
|
|
703
703
|
return Unit_instance;
|
|
704
704
|
} else if (tmp === 1) {
|
|
705
705
|
throw this.v8_1;
|
|
@@ -710,22 +710,22 @@
|
|
|
710
710
|
}
|
|
711
711
|
while (true);
|
|
712
712
|
};
|
|
713
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
714
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.
|
|
715
|
-
i.
|
|
713
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).j9o = function (it, completion) {
|
|
714
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.g9o_1, completion);
|
|
715
|
+
i.h9o_1 = it;
|
|
716
716
|
return i;
|
|
717
717
|
};
|
|
718
718
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda_0($subscriber, resultContinuation) {
|
|
719
719
|
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation);
|
|
720
720
|
var l = function (it, $completion) {
|
|
721
|
-
return i.
|
|
721
|
+
return i.i9o(it, $completion);
|
|
722
722
|
};
|
|
723
723
|
l.$arity = 1;
|
|
724
724
|
return l;
|
|
725
725
|
}
|
|
726
726
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, $table, resultContinuation) {
|
|
727
|
-
this.
|
|
728
|
-
this.
|
|
727
|
+
this.s9o_1 = $$this$unsafeFlow;
|
|
728
|
+
this.t9o_1 = $table;
|
|
729
729
|
CoroutineImpl.call(this, resultContinuation);
|
|
730
730
|
}
|
|
731
731
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).w2h = function (value, $completion) {
|
|
@@ -745,10 +745,10 @@
|
|
|
745
745
|
switch (tmp) {
|
|
746
746
|
case 0:
|
|
747
747
|
this.t8_1 = 2;
|
|
748
|
-
var tmp0 = this.
|
|
749
|
-
var value = this.
|
|
748
|
+
var tmp0 = this.s9o_1;
|
|
749
|
+
var value = this.u9o_1;
|
|
750
750
|
this.s8_1 = 1;
|
|
751
|
-
suspendResult = tmp0.n28(new ActionsStateUpdate(this.
|
|
751
|
+
suspendResult = tmp0.n28(new ActionsStateUpdate(this.t9o_1.id, value), this);
|
|
752
752
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
753
753
|
return suspendResult;
|
|
754
754
|
}
|
|
@@ -771,8 +771,8 @@
|
|
|
771
771
|
while (true);
|
|
772
772
|
};
|
|
773
773
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).x2h = function (value, completion) {
|
|
774
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.
|
|
775
|
-
i.
|
|
774
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.s9o_1, this.t9o_1, completion);
|
|
775
|
+
i.u9o_1 = value;
|
|
776
776
|
return i;
|
|
777
777
|
};
|
|
778
778
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, $table, resultContinuation) {
|
|
@@ -785,8 +785,8 @@
|
|
|
785
785
|
}
|
|
786
786
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
787
787
|
CoroutineImpl.call(this, resultContinuation);
|
|
788
|
-
this.
|
|
789
|
-
this.
|
|
788
|
+
this.d9p_1 = _this__u8e3s4;
|
|
789
|
+
this.e9p_1 = collector;
|
|
790
790
|
}
|
|
791
791
|
protoOf($collectCOROUTINE$_0).a9 = function () {
|
|
792
792
|
var suspendResult = this.u8_1;
|
|
@@ -796,10 +796,10 @@
|
|
|
796
796
|
switch (tmp) {
|
|
797
797
|
case 0:
|
|
798
798
|
this.t8_1 = 2;
|
|
799
|
-
var $this$unsafeFlow = this.
|
|
799
|
+
var $this$unsafeFlow = this.e9p_1;
|
|
800
800
|
this.s8_1 = 1;
|
|
801
|
-
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
802
|
-
suspendResult = this.
|
|
801
|
+
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.d9p_1.g9p_1, null);
|
|
802
|
+
suspendResult = this.d9p_1.f9p_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
803
803
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
804
804
|
return suspendResult;
|
|
805
805
|
}
|
|
@@ -822,8 +822,8 @@
|
|
|
822
822
|
while (true);
|
|
823
823
|
};
|
|
824
824
|
function _no_name_provided__qut3iv($this, $table) {
|
|
825
|
-
this.
|
|
826
|
-
this.
|
|
825
|
+
this.f9p_1 = $this;
|
|
826
|
+
this.g9p_1 = $table;
|
|
827
827
|
}
|
|
828
828
|
protoOf(_no_name_provided__qut3iv).o28 = function (collector, $completion) {
|
|
829
829
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
@@ -835,18 +835,18 @@
|
|
|
835
835
|
return this.o28(collector, $completion);
|
|
836
836
|
};
|
|
837
837
|
function GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation) {
|
|
838
|
-
this.
|
|
839
|
-
this.
|
|
838
|
+
this.p9p_1 = $table;
|
|
839
|
+
this.q9p_1 = this$0;
|
|
840
840
|
CoroutineImpl.call(this, resultContinuation);
|
|
841
841
|
}
|
|
842
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
843
|
-
var tmp = this.
|
|
842
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).s9p = function ($this$flow, $completion) {
|
|
843
|
+
var tmp = this.t9p($this$flow, $completion);
|
|
844
844
|
tmp.u8_1 = Unit_instance;
|
|
845
845
|
tmp.v8_1 = null;
|
|
846
846
|
return tmp.a9();
|
|
847
847
|
};
|
|
848
848
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).i9 = function (p1, $completion) {
|
|
849
|
-
return this.
|
|
849
|
+
return this.s9p((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
850
850
|
};
|
|
851
851
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).a9 = function () {
|
|
852
852
|
var suspendResult = this.u8_1;
|
|
@@ -857,7 +857,7 @@
|
|
|
857
857
|
case 0:
|
|
858
858
|
this.t8_1 = 3;
|
|
859
859
|
this.s8_1 = 1;
|
|
860
|
-
suspendResult = this.
|
|
860
|
+
suspendResult = this.r9p_1.n28(new TableStateUpdate(this.p9p_1.id, this.p9p_1), this);
|
|
861
861
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
862
862
|
return suspendResult;
|
|
863
863
|
}
|
|
@@ -865,8 +865,8 @@
|
|
|
865
865
|
continue $sm;
|
|
866
866
|
case 1:
|
|
867
867
|
this.s8_1 = 2;
|
|
868
|
-
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.
|
|
869
|
-
suspendResult = emitAll(this.
|
|
868
|
+
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.q9p_1).j8o(), fromInt(_get_serverReduxConfig__rprcrm(this.q9p_1).serverStateUpdateIntervalMillis));
|
|
869
|
+
suspendResult = emitAll(this.r9p_1, new _no_name_provided__qut3iv(this_0, this.p9p_1), this);
|
|
870
870
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
871
871
|
return suspendResult;
|
|
872
872
|
}
|
|
@@ -888,22 +888,22 @@
|
|
|
888
888
|
}
|
|
889
889
|
while (true);
|
|
890
890
|
};
|
|
891
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
892
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.
|
|
893
|
-
i.
|
|
891
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).t9p = function ($this$flow, completion) {
|
|
892
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.p9p_1, this.q9p_1, completion);
|
|
893
|
+
i.r9p_1 = $this$flow;
|
|
894
894
|
return i;
|
|
895
895
|
};
|
|
896
896
|
function GameServer$observeTableStateUpdates$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
897
897
|
var i = new GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation);
|
|
898
898
|
var l = function ($this$flow, $completion) {
|
|
899
|
-
return i.
|
|
899
|
+
return i.s9p($this$flow, $completion);
|
|
900
900
|
};
|
|
901
901
|
l.$arity = 1;
|
|
902
902
|
return l;
|
|
903
903
|
}
|
|
904
904
|
function GameServer$observeTableStateUpdates$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
905
|
-
this.
|
|
906
|
-
this.
|
|
905
|
+
this.c9q_1 = $$this$unsafeFlow;
|
|
906
|
+
this.d9q_1 = this$0;
|
|
907
907
|
CoroutineImpl.call(this, resultContinuation);
|
|
908
908
|
}
|
|
909
909
|
protoOf(GameServer$observeTableStateUpdates$o$collect$slambda).w2h = function (value, $completion) {
|
|
@@ -924,16 +924,16 @@
|
|
|
924
924
|
case 0:
|
|
925
925
|
this.t8_1 = 5;
|
|
926
926
|
var tmp_0 = this;
|
|
927
|
-
tmp_0.
|
|
927
|
+
tmp_0.i9q_1 = this.c9q_1;
|
|
928
928
|
var tmp_1 = this;
|
|
929
|
-
tmp_1.
|
|
929
|
+
tmp_1.h9q_1 = this.e9q_1;
|
|
930
930
|
this.s8_1 = 1;
|
|
931
931
|
continue $sm;
|
|
932
932
|
case 1:
|
|
933
|
-
this.
|
|
934
|
-
var it = this.
|
|
933
|
+
this.f9q_1 = this.i9q_1;
|
|
934
|
+
var it = this.h9q_1;
|
|
935
935
|
var tmp_2;
|
|
936
|
-
if (get_isCreated(this.
|
|
936
|
+
if (get_isCreated(this.d9q_1.t66())) {
|
|
937
937
|
tmp_2 = it;
|
|
938
938
|
} else {
|
|
939
939
|
tmp_2 = null;
|
|
@@ -945,15 +945,15 @@
|
|
|
945
945
|
var tmp_3 = this;
|
|
946
946
|
continue $sm;
|
|
947
947
|
} else {
|
|
948
|
-
this.
|
|
948
|
+
this.g9q_1 = tmp0_elvis_lhs;
|
|
949
949
|
this.s8_1 = 2;
|
|
950
950
|
continue $sm;
|
|
951
951
|
}
|
|
952
952
|
|
|
953
953
|
case 2:
|
|
954
|
-
var transformed = this.
|
|
954
|
+
var transformed = this.g9q_1;
|
|
955
955
|
this.s8_1 = 3;
|
|
956
|
-
suspendResult = this.
|
|
956
|
+
suspendResult = this.f9q_1.n28(transformed, this);
|
|
957
957
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
958
958
|
return suspendResult;
|
|
959
959
|
}
|
|
@@ -984,8 +984,8 @@
|
|
|
984
984
|
while (true);
|
|
985
985
|
};
|
|
986
986
|
protoOf(GameServer$observeTableStateUpdates$o$collect$slambda).x2h = function (value, completion) {
|
|
987
|
-
var i = new GameServer$observeTableStateUpdates$o$collect$slambda(this.
|
|
988
|
-
i.
|
|
987
|
+
var i = new GameServer$observeTableStateUpdates$o$collect$slambda(this.c9q_1, this.d9q_1, completion);
|
|
988
|
+
i.e9q_1 = value;
|
|
989
989
|
return i;
|
|
990
990
|
};
|
|
991
991
|
function GameServer$observeTableStateUpdates$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
@@ -998,8 +998,8 @@
|
|
|
998
998
|
}
|
|
999
999
|
function $collectCOROUTINE$_1(_this__u8e3s4, collector, resultContinuation) {
|
|
1000
1000
|
CoroutineImpl.call(this, resultContinuation);
|
|
1001
|
-
this.
|
|
1002
|
-
this.
|
|
1001
|
+
this.r9q_1 = _this__u8e3s4;
|
|
1002
|
+
this.s9q_1 = collector;
|
|
1003
1003
|
}
|
|
1004
1004
|
protoOf($collectCOROUTINE$_1).a9 = function () {
|
|
1005
1005
|
var suspendResult = this.u8_1;
|
|
@@ -1009,10 +1009,10 @@
|
|
|
1009
1009
|
switch (tmp) {
|
|
1010
1010
|
case 0:
|
|
1011
1011
|
this.t8_1 = 2;
|
|
1012
|
-
var $this$unsafeFlow = this.
|
|
1012
|
+
var $this$unsafeFlow = this.s9q_1;
|
|
1013
1013
|
this.s8_1 = 1;
|
|
1014
|
-
var tmp_0 = GameServer$observeTableStateUpdates$o$collect$slambda_0($this$unsafeFlow, this.
|
|
1015
|
-
suspendResult = this.
|
|
1014
|
+
var tmp_0 = GameServer$observeTableStateUpdates$o$collect$slambda_0($this$unsafeFlow, this.r9q_1.u9q_1, null);
|
|
1015
|
+
suspendResult = this.r9q_1.t9q_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
1016
1016
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1017
1017
|
return suspendResult;
|
|
1018
1018
|
}
|
|
@@ -1035,7 +1035,7 @@
|
|
|
1035
1035
|
while (true);
|
|
1036
1036
|
};
|
|
1037
1037
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
1038
|
-
this.
|
|
1038
|
+
this.d9r_1 = $$this$unsafeFlow;
|
|
1039
1039
|
CoroutineImpl.call(this, resultContinuation);
|
|
1040
1040
|
}
|
|
1041
1041
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).w2h = function (value, $completion) {
|
|
@@ -1056,28 +1056,28 @@
|
|
|
1056
1056
|
case 0:
|
|
1057
1057
|
this.t8_1 = 5;
|
|
1058
1058
|
var tmp_0 = this;
|
|
1059
|
-
tmp_0.
|
|
1059
|
+
tmp_0.i9r_1 = this.d9r_1;
|
|
1060
1060
|
var tmp_1 = this;
|
|
1061
|
-
tmp_1.
|
|
1061
|
+
tmp_1.h9r_1 = this.e9r_1;
|
|
1062
1062
|
this.s8_1 = 1;
|
|
1063
1063
|
continue $sm;
|
|
1064
1064
|
case 1:
|
|
1065
|
-
this.
|
|
1066
|
-
var tmp0_elvis_lhs = this.
|
|
1065
|
+
this.f9r_1 = this.i9r_1;
|
|
1066
|
+
var tmp0_elvis_lhs = this.h9r_1.w6q_1;
|
|
1067
1067
|
if (tmp0_elvis_lhs == null) {
|
|
1068
1068
|
this.s8_1 = 4;
|
|
1069
1069
|
var tmp_2 = this;
|
|
1070
1070
|
continue $sm;
|
|
1071
1071
|
} else {
|
|
1072
|
-
this.
|
|
1072
|
+
this.g9r_1 = tmp0_elvis_lhs;
|
|
1073
1073
|
this.s8_1 = 2;
|
|
1074
1074
|
continue $sm;
|
|
1075
1075
|
}
|
|
1076
1076
|
|
|
1077
1077
|
case 2:
|
|
1078
|
-
var transformed = this.
|
|
1078
|
+
var transformed = this.g9r_1;
|
|
1079
1079
|
this.s8_1 = 3;
|
|
1080
|
-
suspendResult = this.
|
|
1080
|
+
suspendResult = this.f9r_1.n28(transformed, this);
|
|
1081
1081
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1082
1082
|
return suspendResult;
|
|
1083
1083
|
}
|
|
@@ -1108,8 +1108,8 @@
|
|
|
1108
1108
|
while (true);
|
|
1109
1109
|
};
|
|
1110
1110
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).x2h = function (value, completion) {
|
|
1111
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
1112
|
-
i.
|
|
1111
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.d9r_1, completion);
|
|
1112
|
+
i.e9r_1 = value;
|
|
1113
1113
|
return i;
|
|
1114
1114
|
};
|
|
1115
1115
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1122,8 +1122,8 @@
|
|
|
1122
1122
|
}
|
|
1123
1123
|
function $collectCOROUTINE$_2(_this__u8e3s4, collector, resultContinuation) {
|
|
1124
1124
|
CoroutineImpl.call(this, resultContinuation);
|
|
1125
|
-
this.
|
|
1126
|
-
this.
|
|
1125
|
+
this.r9r_1 = _this__u8e3s4;
|
|
1126
|
+
this.s9r_1 = collector;
|
|
1127
1127
|
}
|
|
1128
1128
|
protoOf($collectCOROUTINE$_2).a9 = function () {
|
|
1129
1129
|
var suspendResult = this.u8_1;
|
|
@@ -1133,10 +1133,10 @@
|
|
|
1133
1133
|
switch (tmp) {
|
|
1134
1134
|
case 0:
|
|
1135
1135
|
this.t8_1 = 2;
|
|
1136
|
-
var $this$unsafeFlow = this.
|
|
1136
|
+
var $this$unsafeFlow = this.s9r_1;
|
|
1137
1137
|
this.s8_1 = 1;
|
|
1138
1138
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($this$unsafeFlow, null);
|
|
1139
|
-
suspendResult = this.
|
|
1139
|
+
suspendResult = this.r9r_1.t9r_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1140
1140
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1141
1141
|
return suspendResult;
|
|
1142
1142
|
}
|
|
@@ -1159,7 +1159,7 @@
|
|
|
1159
1159
|
while (true);
|
|
1160
1160
|
};
|
|
1161
1161
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_1($$this$unsafeFlow, resultContinuation) {
|
|
1162
|
-
this.
|
|
1162
|
+
this.c9s_1 = $$this$unsafeFlow;
|
|
1163
1163
|
CoroutineImpl.call(this, resultContinuation);
|
|
1164
1164
|
}
|
|
1165
1165
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).w2h = function (value, $completion) {
|
|
@@ -1179,8 +1179,8 @@
|
|
|
1179
1179
|
switch (tmp) {
|
|
1180
1180
|
case 0:
|
|
1181
1181
|
this.t8_1 = 2;
|
|
1182
|
-
var tmp0 = this.
|
|
1183
|
-
var value = this.
|
|
1182
|
+
var tmp0 = this.c9s_1;
|
|
1183
|
+
var value = this.d9s_1;
|
|
1184
1184
|
this.s8_1 = 1;
|
|
1185
1185
|
suspendResult = tmp0.n28(to(value.gameInfo.roundNumberTotal, value), this);
|
|
1186
1186
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1205,8 +1205,8 @@
|
|
|
1205
1205
|
while (true);
|
|
1206
1206
|
};
|
|
1207
1207
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).x2h = function (value, completion) {
|
|
1208
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.
|
|
1209
|
-
i.
|
|
1208
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.c9s_1, completion);
|
|
1209
|
+
i.d9s_1 = value;
|
|
1210
1210
|
return i;
|
|
1211
1211
|
};
|
|
1212
1212
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1219,8 +1219,8 @@
|
|
|
1219
1219
|
}
|
|
1220
1220
|
function $collectCOROUTINE$_3(_this__u8e3s4, collector, resultContinuation) {
|
|
1221
1221
|
CoroutineImpl.call(this, resultContinuation);
|
|
1222
|
-
this.
|
|
1223
|
-
this.
|
|
1222
|
+
this.m9s_1 = _this__u8e3s4;
|
|
1223
|
+
this.n9s_1 = collector;
|
|
1224
1224
|
}
|
|
1225
1225
|
protoOf($collectCOROUTINE$_3).a9 = function () {
|
|
1226
1226
|
var suspendResult = this.u8_1;
|
|
@@ -1230,10 +1230,10 @@
|
|
|
1230
1230
|
switch (tmp) {
|
|
1231
1231
|
case 0:
|
|
1232
1232
|
this.t8_1 = 2;
|
|
1233
|
-
var $this$unsafeFlow = this.
|
|
1233
|
+
var $this$unsafeFlow = this.n9s_1;
|
|
1234
1234
|
this.s8_1 = 1;
|
|
1235
1235
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($this$unsafeFlow, null);
|
|
1236
|
-
suspendResult = this.
|
|
1236
|
+
suspendResult = this.m9s_1.o9s_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1237
1237
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1238
1238
|
return suspendResult;
|
|
1239
1239
|
}
|
|
@@ -1256,7 +1256,7 @@
|
|
|
1256
1256
|
while (true);
|
|
1257
1257
|
};
|
|
1258
1258
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_3($$this$unsafeFlow, resultContinuation) {
|
|
1259
|
-
this.
|
|
1259
|
+
this.x9s_1 = $$this$unsafeFlow;
|
|
1260
1260
|
CoroutineImpl.call(this, resultContinuation);
|
|
1261
1261
|
}
|
|
1262
1262
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).w2h = function (value, $completion) {
|
|
@@ -1276,8 +1276,8 @@
|
|
|
1276
1276
|
switch (tmp) {
|
|
1277
1277
|
case 0:
|
|
1278
1278
|
this.t8_1 = 2;
|
|
1279
|
-
var tmp0 = this.
|
|
1280
|
-
var value = this.
|
|
1279
|
+
var tmp0 = this.x9s_1;
|
|
1280
|
+
var value = this.y9s_1;
|
|
1281
1281
|
this.s8_1 = 1;
|
|
1282
1282
|
suspendResult = tmp0.n28(value.ne_1, this);
|
|
1283
1283
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1302,8 +1302,8 @@
|
|
|
1302
1302
|
while (true);
|
|
1303
1303
|
};
|
|
1304
1304
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).x2h = function (value, completion) {
|
|
1305
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.
|
|
1306
|
-
i.
|
|
1305
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.x9s_1, completion);
|
|
1306
|
+
i.y9s_1 = value;
|
|
1307
1307
|
return i;
|
|
1308
1308
|
};
|
|
1309
1309
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1316,8 +1316,8 @@
|
|
|
1316
1316
|
}
|
|
1317
1317
|
function $collectCOROUTINE$_4(_this__u8e3s4, collector, resultContinuation) {
|
|
1318
1318
|
CoroutineImpl.call(this, resultContinuation);
|
|
1319
|
-
this.
|
|
1320
|
-
this.
|
|
1319
|
+
this.h9t_1 = _this__u8e3s4;
|
|
1320
|
+
this.i9t_1 = collector;
|
|
1321
1321
|
}
|
|
1322
1322
|
protoOf($collectCOROUTINE$_4).a9 = function () {
|
|
1323
1323
|
var suspendResult = this.u8_1;
|
|
@@ -1327,10 +1327,10 @@
|
|
|
1327
1327
|
switch (tmp) {
|
|
1328
1328
|
case 0:
|
|
1329
1329
|
this.t8_1 = 2;
|
|
1330
|
-
var $this$unsafeFlow = this.
|
|
1330
|
+
var $this$unsafeFlow = this.i9t_1;
|
|
1331
1331
|
this.s8_1 = 1;
|
|
1332
1332
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($this$unsafeFlow, null);
|
|
1333
|
-
suspendResult = this.
|
|
1333
|
+
suspendResult = this.h9t_1.j9t_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1334
1334
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1335
1335
|
return suspendResult;
|
|
1336
1336
|
}
|
|
@@ -1353,17 +1353,17 @@
|
|
|
1353
1353
|
while (true);
|
|
1354
1354
|
};
|
|
1355
1355
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
1356
|
-
this.
|
|
1356
|
+
this.s9t_1 = $subscriber;
|
|
1357
1357
|
CoroutineImpl.call(this, resultContinuation);
|
|
1358
1358
|
}
|
|
1359
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1360
|
-
var tmp = this.
|
|
1359
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).u9t = function (it, $completion) {
|
|
1360
|
+
var tmp = this.v9t(it, $completion);
|
|
1361
1361
|
tmp.u8_1 = Unit_instance;
|
|
1362
1362
|
tmp.v8_1 = null;
|
|
1363
1363
|
return tmp.a9();
|
|
1364
1364
|
};
|
|
1365
1365
|
protoOf(GameServer$subscribeWith$slambda$slambda).i9 = function (p1, $completion) {
|
|
1366
|
-
return this.
|
|
1366
|
+
return this.u9t(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
1367
1367
|
};
|
|
1368
1368
|
protoOf(GameServer$subscribeWith$slambda$slambda).a9 = function () {
|
|
1369
1369
|
var suspendResult = this.u8_1;
|
|
@@ -1372,7 +1372,7 @@
|
|
|
1372
1372
|
var tmp = this.s8_1;
|
|
1373
1373
|
if (tmp === 0) {
|
|
1374
1374
|
this.t8_1 = 1;
|
|
1375
|
-
this.
|
|
1375
|
+
this.s9t_1(this.t9t_1);
|
|
1376
1376
|
return Unit_instance;
|
|
1377
1377
|
} else if (tmp === 1) {
|
|
1378
1378
|
throw this.v8_1;
|
|
@@ -1383,76 +1383,76 @@
|
|
|
1383
1383
|
}
|
|
1384
1384
|
while (true);
|
|
1385
1385
|
};
|
|
1386
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1387
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
1388
|
-
i.
|
|
1386
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).v9t = function (it, completion) {
|
|
1387
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.s9t_1, completion);
|
|
1388
|
+
i.t9t_1 = it;
|
|
1389
1389
|
return i;
|
|
1390
1390
|
};
|
|
1391
1391
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
1392
1392
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
1393
1393
|
var l = function (it, $completion) {
|
|
1394
|
-
return i.
|
|
1394
|
+
return i.u9t(it, $completion);
|
|
1395
1395
|
};
|
|
1396
1396
|
l.$arity = 1;
|
|
1397
1397
|
return l;
|
|
1398
1398
|
}
|
|
1399
1399
|
function GameServer$roomOnCreate$2$updatedUsers$previousTeams$1($playerId) {
|
|
1400
|
-
this.
|
|
1400
|
+
this.w9t_1 = $playerId;
|
|
1401
1401
|
}
|
|
1402
1402
|
protoOf(GameServer$roomOnCreate$2$updatedUsers$previousTeams$1).v65 = function () {
|
|
1403
|
-
return this.
|
|
1403
|
+
return this.w9t_1;
|
|
1404
1404
|
};
|
|
1405
1405
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
1406
|
-
var tmp0 = $this.
|
|
1406
|
+
var tmp0 = $this.b9u_1;
|
|
1407
1407
|
var tmp = KProperty1;
|
|
1408
1408
|
// Inline function 'kotlin.getValue' call
|
|
1409
1409
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, GameServer$_get_toClientEventsObserver_$ref_utir8s_0(), null);
|
|
1410
1410
|
return tmp0.x();
|
|
1411
1411
|
}
|
|
1412
1412
|
function _get_fromClientEventsObserver__a7vzd3($this) {
|
|
1413
|
-
var tmp0 = $this.
|
|
1413
|
+
var tmp0 = $this.c9u_1;
|
|
1414
1414
|
var tmp = KProperty1;
|
|
1415
1415
|
// Inline function 'kotlin.getValue' call
|
|
1416
1416
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, GameServer$_get_fromClientEventsObserver_$ref_nf1g79_0(), null);
|
|
1417
1417
|
return tmp0.x();
|
|
1418
1418
|
}
|
|
1419
1419
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
1420
|
-
var tmp0 = $this.
|
|
1420
|
+
var tmp0 = $this.d9u_1;
|
|
1421
1421
|
var tmp = KProperty1;
|
|
1422
1422
|
// Inline function 'kotlin.getValue' call
|
|
1423
1423
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, GameServer$_get_playerConnectionInteractor_$ref_of8tan_0(), null);
|
|
1424
1424
|
return tmp0.x();
|
|
1425
1425
|
}
|
|
1426
1426
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
1427
|
-
var tmp0 = $this.
|
|
1427
|
+
var tmp0 = $this.e9u_1;
|
|
1428
1428
|
var tmp = KProperty1;
|
|
1429
1429
|
// Inline function 'kotlin.getValue' call
|
|
1430
1430
|
getPropertyCallableRef('teamsLogicProvider', 1, tmp, GameServer$_get_teamsLogicProvider_$ref_b7y54g_0(), null);
|
|
1431
1431
|
return tmp0.x();
|
|
1432
1432
|
}
|
|
1433
1433
|
function _get_random__h29cgo($this) {
|
|
1434
|
-
var tmp0 = $this.
|
|
1434
|
+
var tmp0 = $this.f9u_1;
|
|
1435
1435
|
var tmp = KProperty1;
|
|
1436
1436
|
// Inline function 'kotlin.getValue' call
|
|
1437
1437
|
getPropertyCallableRef('random', 1, tmp, GameServer$_get_random_$ref_fottnq(), null);
|
|
1438
1438
|
return tmp0.x();
|
|
1439
1439
|
}
|
|
1440
1440
|
function _get_idsProvider__fnfajc($this) {
|
|
1441
|
-
var tmp0 = $this.
|
|
1441
|
+
var tmp0 = $this.g9u_1;
|
|
1442
1442
|
var tmp = KProperty1;
|
|
1443
1443
|
// Inline function 'kotlin.getValue' call
|
|
1444
1444
|
getPropertyCallableRef('idsProvider', 1, tmp, GameServer$_get_idsProvider_$ref_89s908_0(), null);
|
|
1445
1445
|
return tmp0.x();
|
|
1446
1446
|
}
|
|
1447
1447
|
function _get_serverReduxConfig__rprcrm($this) {
|
|
1448
|
-
var tmp0 = $this.
|
|
1448
|
+
var tmp0 = $this.h9u_1;
|
|
1449
1449
|
var tmp = KProperty1;
|
|
1450
1450
|
// Inline function 'kotlin.getValue' call
|
|
1451
1451
|
getPropertyCallableRef('serverReduxConfig', 1, tmp, GameServer$_get_serverReduxConfig_$ref_7h6jq6_0(), null);
|
|
1452
1452
|
return tmp0.x();
|
|
1453
1453
|
}
|
|
1454
1454
|
function _get_encoderDecoderProvider__qqgrji($this) {
|
|
1455
|
-
var tmp0 = $this.
|
|
1455
|
+
var tmp0 = $this.i9u_1;
|
|
1456
1456
|
var tmp = KProperty1;
|
|
1457
1457
|
// Inline function 'kotlin.getValue' call
|
|
1458
1458
|
getPropertyCallableRef('encoderDecoderProvider', 1, tmp, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8_0(), null);
|
|
@@ -1484,20 +1484,20 @@
|
|
|
1484
1484
|
return new GameServer$observeTableWhenRoundChanges$$inlined$map$2(this_1);
|
|
1485
1485
|
}
|
|
1486
1486
|
function Companion() {
|
|
1487
|
-
this.
|
|
1487
|
+
this.k9u_1 = 'GameEngine_API';
|
|
1488
1488
|
}
|
|
1489
1489
|
var Companion_instance_7;
|
|
1490
1490
|
function Companion_getInstance_0() {
|
|
1491
1491
|
return Companion_instance_7;
|
|
1492
1492
|
}
|
|
1493
1493
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
1494
|
-
this.
|
|
1494
|
+
this.l9u_1 = function_0;
|
|
1495
1495
|
}
|
|
1496
1496
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).n28 = function (value, $completion) {
|
|
1497
|
-
return this.
|
|
1497
|
+
return this.l9u_1(value, $completion);
|
|
1498
1498
|
};
|
|
1499
1499
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).b3 = function () {
|
|
1500
|
-
return this.
|
|
1500
|
+
return this.l9u_1;
|
|
1501
1501
|
};
|
|
1502
1502
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
1503
1503
|
var tmp;
|
|
@@ -1518,13 +1518,13 @@
|
|
|
1518
1518
|
return hashCode(this.b3());
|
|
1519
1519
|
};
|
|
1520
1520
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
1521
|
-
this.
|
|
1521
|
+
this.m9u_1 = function_0;
|
|
1522
1522
|
}
|
|
1523
1523
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).n28 = function (value, $completion) {
|
|
1524
|
-
return this.
|
|
1524
|
+
return this.m9u_1(value, $completion);
|
|
1525
1525
|
};
|
|
1526
1526
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).b3 = function () {
|
|
1527
|
-
return this.
|
|
1527
|
+
return this.m9u_1;
|
|
1528
1528
|
};
|
|
1529
1529
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
1530
1530
|
var tmp;
|
|
@@ -1545,13 +1545,13 @@
|
|
|
1545
1545
|
return hashCode(this.b3());
|
|
1546
1546
|
};
|
|
1547
1547
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
1548
|
-
this.
|
|
1548
|
+
this.n9u_1 = function_0;
|
|
1549
1549
|
}
|
|
1550
1550
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).n28 = function (value, $completion) {
|
|
1551
|
-
return this.
|
|
1551
|
+
return this.n9u_1(value, $completion);
|
|
1552
1552
|
};
|
|
1553
1553
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).b3 = function () {
|
|
1554
|
-
return this.
|
|
1554
|
+
return this.n9u_1;
|
|
1555
1555
|
};
|
|
1556
1556
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
1557
1557
|
var tmp;
|
|
@@ -1572,13 +1572,13 @@
|
|
|
1572
1572
|
return hashCode(this.b3());
|
|
1573
1573
|
};
|
|
1574
1574
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
1575
|
-
this.
|
|
1575
|
+
this.o9u_1 = function_0;
|
|
1576
1576
|
}
|
|
1577
1577
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).n28 = function (value, $completion) {
|
|
1578
|
-
return this.
|
|
1578
|
+
return this.o9u_1(value, $completion);
|
|
1579
1579
|
};
|
|
1580
1580
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).b3 = function () {
|
|
1581
|
-
return this.
|
|
1581
|
+
return this.o9u_1;
|
|
1582
1582
|
};
|
|
1583
1583
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
1584
1584
|
var tmp;
|
|
@@ -1599,13 +1599,13 @@
|
|
|
1599
1599
|
return hashCode(this.b3());
|
|
1600
1600
|
};
|
|
1601
1601
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
|
|
1602
|
-
this.
|
|
1602
|
+
this.p9u_1 = function_0;
|
|
1603
1603
|
}
|
|
1604
1604
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).n28 = function (value, $completion) {
|
|
1605
|
-
return this.
|
|
1605
|
+
return this.p9u_1(value, $completion);
|
|
1606
1606
|
};
|
|
1607
1607
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).b3 = function () {
|
|
1608
|
-
return this.
|
|
1608
|
+
return this.p9u_1;
|
|
1609
1609
|
};
|
|
1610
1610
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
|
|
1611
1611
|
var tmp;
|
|
@@ -1626,13 +1626,13 @@
|
|
|
1626
1626
|
return hashCode(this.b3());
|
|
1627
1627
|
};
|
|
1628
1628
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_4(function_0) {
|
|
1629
|
-
this.
|
|
1629
|
+
this.q9u_1 = function_0;
|
|
1630
1630
|
}
|
|
1631
1631
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).n28 = function (value, $completion) {
|
|
1632
|
-
return this.
|
|
1632
|
+
return this.q9u_1(value, $completion);
|
|
1633
1633
|
};
|
|
1634
1634
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).b3 = function () {
|
|
1635
|
-
return this.
|
|
1635
|
+
return this.q9u_1;
|
|
1636
1636
|
};
|
|
1637
1637
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).equals = function (other) {
|
|
1638
1638
|
var tmp;
|
|
@@ -1733,8 +1733,8 @@
|
|
|
1733
1733
|
};
|
|
1734
1734
|
}
|
|
1735
1735
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
1736
|
-
this.
|
|
1737
|
-
this.
|
|
1736
|
+
this.z9u_1 = this$0;
|
|
1737
|
+
this.a9v_1 = $subscriber;
|
|
1738
1738
|
CoroutineImpl.call(this, resultContinuation);
|
|
1739
1739
|
}
|
|
1740
1740
|
protoOf(GameServer$subscribeToClientAction$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -1755,8 +1755,8 @@
|
|
|
1755
1755
|
case 0:
|
|
1756
1756
|
this.t8_1 = 2;
|
|
1757
1757
|
this.s8_1 = 1;
|
|
1758
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
1759
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
1758
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.z9u_1).c9v();
|
|
1759
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.a9v_1, null);
|
|
1760
1760
|
suspendResult = tmp_0.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1761
1761
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1762
1762
|
return suspendResult;
|
|
@@ -1780,8 +1780,8 @@
|
|
|
1780
1780
|
while (true);
|
|
1781
1781
|
};
|
|
1782
1782
|
protoOf(GameServer$subscribeToClientAction$slambda).c2d = function ($this$launchDefault, completion) {
|
|
1783
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
1784
|
-
i.
|
|
1783
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.z9u_1, this.a9v_1, completion);
|
|
1784
|
+
i.b9v_1 = $this$launchDefault;
|
|
1785
1785
|
return i;
|
|
1786
1786
|
};
|
|
1787
1787
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1793,8 +1793,8 @@
|
|
|
1793
1793
|
return l;
|
|
1794
1794
|
}
|
|
1795
1795
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
1796
|
-
this.
|
|
1797
|
-
this.
|
|
1796
|
+
this.l9v_1 = this$0;
|
|
1797
|
+
this.m9v_1 = $subscriber;
|
|
1798
1798
|
CoroutineImpl.call(this, resultContinuation);
|
|
1799
1799
|
}
|
|
1800
1800
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -1815,8 +1815,8 @@
|
|
|
1815
1815
|
case 0:
|
|
1816
1816
|
this.t8_1 = 2;
|
|
1817
1817
|
this.s8_1 = 1;
|
|
1818
|
-
var tmp_0 = observeTableStateUpdates(this.
|
|
1819
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
1818
|
+
var tmp_0 = observeTableStateUpdates(this.l9v_1);
|
|
1819
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.m9v_1, null);
|
|
1820
1820
|
suspendResult = tmp_0.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
1821
1821
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1822
1822
|
return suspendResult;
|
|
@@ -1840,8 +1840,8 @@
|
|
|
1840
1840
|
while (true);
|
|
1841
1841
|
};
|
|
1842
1842
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).c2d = function ($this$launchDefault, completion) {
|
|
1843
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
1844
|
-
i.
|
|
1843
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.l9v_1, this.m9v_1, completion);
|
|
1844
|
+
i.n9v_1 = $this$launchDefault;
|
|
1845
1845
|
return i;
|
|
1846
1846
|
};
|
|
1847
1847
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1853,8 +1853,8 @@
|
|
|
1853
1853
|
return l;
|
|
1854
1854
|
}
|
|
1855
1855
|
function GameServer$subscribeServerStateUpdateJson$slambda(this$0, $subscriber, resultContinuation) {
|
|
1856
|
-
this.
|
|
1857
|
-
this.
|
|
1856
|
+
this.w9v_1 = this$0;
|
|
1857
|
+
this.x9v_1 = $subscriber;
|
|
1858
1858
|
CoroutineImpl.call(this, resultContinuation);
|
|
1859
1859
|
}
|
|
1860
1860
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -1875,9 +1875,9 @@
|
|
|
1875
1875
|
case 0:
|
|
1876
1876
|
this.t8_1 = 2;
|
|
1877
1877
|
this.s8_1 = 1;
|
|
1878
|
-
var this_0 = observeTableStateUpdates(this.
|
|
1879
|
-
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.
|
|
1880
|
-
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.
|
|
1878
|
+
var this_0 = observeTableStateUpdates(this.w9v_1);
|
|
1879
|
+
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.w9v_1);
|
|
1880
|
+
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.x9v_1, null);
|
|
1881
1881
|
suspendResult = tmp_0.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
1882
1882
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1883
1883
|
return suspendResult;
|
|
@@ -1901,8 +1901,8 @@
|
|
|
1901
1901
|
while (true);
|
|
1902
1902
|
};
|
|
1903
1903
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).c2d = function ($this$launchDefault, completion) {
|
|
1904
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.
|
|
1905
|
-
i.
|
|
1904
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.w9v_1, this.x9v_1, completion);
|
|
1905
|
+
i.y9v_1 = $this$launchDefault;
|
|
1906
1906
|
return i;
|
|
1907
1907
|
};
|
|
1908
1908
|
function GameServer$subscribeServerStateUpdateJson$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1914,18 +1914,18 @@
|
|
|
1914
1914
|
return l;
|
|
1915
1915
|
}
|
|
1916
1916
|
function GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation) {
|
|
1917
|
-
this.
|
|
1917
|
+
this.h9w_1 = this$0;
|
|
1918
1918
|
CoroutineImpl.call(this, resultContinuation);
|
|
1919
1919
|
}
|
|
1920
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1921
|
-
var tmp = this.
|
|
1920
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).k9w = function ($this$transformLatest, it, $completion) {
|
|
1921
|
+
var tmp = this.l9w($this$transformLatest, it, $completion);
|
|
1922
1922
|
tmp.u8_1 = Unit_instance;
|
|
1923
1923
|
tmp.v8_1 = null;
|
|
1924
1924
|
return tmp.a9();
|
|
1925
1925
|
};
|
|
1926
1926
|
protoOf(GameServer$observeTableStateUpdates$slambda).j9 = function (p1, p2, $completion) {
|
|
1927
1927
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
1928
|
-
return this.
|
|
1928
|
+
return this.k9w(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
1929
1929
|
};
|
|
1930
1930
|
protoOf(GameServer$observeTableStateUpdates$slambda).a9 = function () {
|
|
1931
1931
|
var suspendResult = this.u8_1;
|
|
@@ -1936,8 +1936,8 @@
|
|
|
1936
1936
|
case 0:
|
|
1937
1937
|
this.t8_1 = 2;
|
|
1938
1938
|
this.s8_1 = 1;
|
|
1939
|
-
var table = this.
|
|
1940
|
-
suspendResult = emitAll(this.
|
|
1939
|
+
var table = this.j9w_1;
|
|
1940
|
+
suspendResult = emitAll(this.i9w_1, flow(GameServer$observeTableStateUpdates$slambda$slambda_0(table, this.h9w_1, null)), this);
|
|
1941
1941
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1942
1942
|
return suspendResult;
|
|
1943
1943
|
}
|
|
@@ -1959,23 +1959,23 @@
|
|
|
1959
1959
|
}
|
|
1960
1960
|
while (true);
|
|
1961
1961
|
};
|
|
1962
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1963
|
-
var i = new GameServer$observeTableStateUpdates$slambda(this.
|
|
1964
|
-
i.
|
|
1965
|
-
i.
|
|
1962
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).l9w = function ($this$transformLatest, it, completion) {
|
|
1963
|
+
var i = new GameServer$observeTableStateUpdates$slambda(this.h9w_1, completion);
|
|
1964
|
+
i.i9w_1 = $this$transformLatest;
|
|
1965
|
+
i.j9w_1 = it;
|
|
1966
1966
|
return i;
|
|
1967
1967
|
};
|
|
1968
1968
|
function GameServer$observeTableStateUpdates$slambda_0(this$0, resultContinuation) {
|
|
1969
1969
|
var i = new GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation);
|
|
1970
1970
|
var l = function ($this$transformLatest, it, $completion) {
|
|
1971
|
-
return i.
|
|
1971
|
+
return i.k9w($this$transformLatest, it, $completion);
|
|
1972
1972
|
};
|
|
1973
1973
|
l.$arity = 2;
|
|
1974
1974
|
return l;
|
|
1975
1975
|
}
|
|
1976
1976
|
function GameServer$observeTableStateUpdates$$inlined$mapNotNull$1($this, this$0) {
|
|
1977
|
-
this.
|
|
1978
|
-
this.
|
|
1977
|
+
this.t9q_1 = $this;
|
|
1978
|
+
this.u9q_1 = this$0;
|
|
1979
1979
|
}
|
|
1980
1980
|
protoOf(GameServer$observeTableStateUpdates$$inlined$mapNotNull$1).o28 = function (collector, $completion) {
|
|
1981
1981
|
var tmp = new $collectCOROUTINE$_1(this, collector, $completion);
|
|
@@ -1987,7 +1987,7 @@
|
|
|
1987
1987
|
return this.o28(collector, $completion);
|
|
1988
1988
|
};
|
|
1989
1989
|
function GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1($this) {
|
|
1990
|
-
this.
|
|
1990
|
+
this.t9r_1 = $this;
|
|
1991
1991
|
}
|
|
1992
1992
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).o28 = function (collector, $completion) {
|
|
1993
1993
|
var tmp = new $collectCOROUTINE$_2(this, collector, $completion);
|
|
@@ -1999,7 +1999,7 @@
|
|
|
1999
1999
|
return this.o28(collector, $completion);
|
|
2000
2000
|
};
|
|
2001
2001
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$1($this) {
|
|
2002
|
-
this.
|
|
2002
|
+
this.o9s_1 = $this;
|
|
2003
2003
|
}
|
|
2004
2004
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).o28 = function (collector, $completion) {
|
|
2005
2005
|
var tmp = new $collectCOROUTINE$_3(this, collector, $completion);
|
|
@@ -2014,7 +2014,7 @@
|
|
|
2014
2014
|
return old.me_1 === new_0.me_1;
|
|
2015
2015
|
}
|
|
2016
2016
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$2($this) {
|
|
2017
|
-
this.
|
|
2017
|
+
this.j9t_1 = $this;
|
|
2018
2018
|
}
|
|
2019
2019
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).o28 = function (collector, $completion) {
|
|
2020
2020
|
var tmp = new $collectCOROUTINE$_4(this, collector, $completion);
|
|
@@ -2026,8 +2026,8 @@
|
|
|
2026
2026
|
return this.o28(collector, $completion);
|
|
2027
2027
|
};
|
|
2028
2028
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
2029
|
-
this.
|
|
2030
|
-
this.
|
|
2029
|
+
this.u9w_1 = this$0;
|
|
2030
|
+
this.v9w_1 = $subscriber;
|
|
2031
2031
|
CoroutineImpl.call(this, resultContinuation);
|
|
2032
2032
|
}
|
|
2033
2033
|
protoOf(GameServer$subscribeWith$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -2048,8 +2048,8 @@
|
|
|
2048
2048
|
case 0:
|
|
2049
2049
|
this.t8_1 = 2;
|
|
2050
2050
|
this.s8_1 = 1;
|
|
2051
|
-
var tmp_0 = distinctUntilChanged(this.
|
|
2052
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
2051
|
+
var tmp_0 = distinctUntilChanged(this.u9w_1.v6q());
|
|
2052
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.v9w_1, null);
|
|
2053
2053
|
suspendResult = tmp_0.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_4(tmp_1), this);
|
|
2054
2054
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2055
2055
|
return suspendResult;
|
|
@@ -2073,8 +2073,8 @@
|
|
|
2073
2073
|
while (true);
|
|
2074
2074
|
};
|
|
2075
2075
|
protoOf(GameServer$subscribeWith$slambda).c2d = function ($this$launchDefault, completion) {
|
|
2076
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
2077
|
-
i.
|
|
2076
|
+
var i = new GameServer$subscribeWith$slambda(this.u9w_1, this.v9w_1, completion);
|
|
2077
|
+
i.w9w_1 = $this$launchDefault;
|
|
2078
2078
|
return i;
|
|
2079
2079
|
};
|
|
2080
2080
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -2086,18 +2086,18 @@
|
|
|
2086
2086
|
return l;
|
|
2087
2087
|
}
|
|
2088
2088
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
2089
|
-
this.
|
|
2089
|
+
this.f9x_1 = $action;
|
|
2090
2090
|
CoroutineImpl.call(this, resultContinuation);
|
|
2091
2091
|
}
|
|
2092
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
2093
|
-
var tmp = this.
|
|
2092
|
+
protoOf(GameServer$fromClientEvent$slambda).i9x = function ($this$dispatchAsync, store, $completion) {
|
|
2093
|
+
var tmp = this.j9x($this$dispatchAsync, store, $completion);
|
|
2094
2094
|
tmp.u8_1 = Unit_instance;
|
|
2095
2095
|
tmp.v8_1 = null;
|
|
2096
2096
|
return tmp.a9();
|
|
2097
2097
|
};
|
|
2098
2098
|
protoOf(GameServer$fromClientEvent$slambda).j9 = function (p1, p2, $completion) {
|
|
2099
2099
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2100
|
-
return this.
|
|
2100
|
+
return this.i9x(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2101
2101
|
};
|
|
2102
2102
|
protoOf(GameServer$fromClientEvent$slambda).a9 = function () {
|
|
2103
2103
|
var suspendResult = this.u8_1;
|
|
@@ -2106,11 +2106,11 @@
|
|
|
2106
2106
|
var tmp = this.s8_1;
|
|
2107
2107
|
if (tmp === 0) {
|
|
2108
2108
|
this.t8_1 = 1;
|
|
2109
|
-
if (this.
|
|
2110
|
-
if (!get_isCreated(this.
|
|
2109
|
+
if (this.f9x_1 instanceof PlayerReadyFromClientAction)
|
|
2110
|
+
if (!get_isCreated(this.h9x_1.state)) {
|
|
2111
2111
|
return Unit_instance;
|
|
2112
2112
|
}
|
|
2113
|
-
this.
|
|
2113
|
+
this.h9x_1.dispatch(this.f9x_1);
|
|
2114
2114
|
return Unit_instance;
|
|
2115
2115
|
} else if (tmp === 1) {
|
|
2116
2116
|
throw this.v8_1;
|
|
@@ -2121,33 +2121,33 @@
|
|
|
2121
2121
|
}
|
|
2122
2122
|
while (true);
|
|
2123
2123
|
};
|
|
2124
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
2125
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
2126
|
-
i.
|
|
2127
|
-
i.
|
|
2124
|
+
protoOf(GameServer$fromClientEvent$slambda).j9x = function ($this$dispatchAsync, store, completion) {
|
|
2125
|
+
var i = new GameServer$fromClientEvent$slambda(this.f9x_1, completion);
|
|
2126
|
+
i.g9x_1 = $this$dispatchAsync;
|
|
2127
|
+
i.h9x_1 = store;
|
|
2128
2128
|
return i;
|
|
2129
2129
|
};
|
|
2130
2130
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
2131
2131
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
2132
2132
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2133
|
-
return i.
|
|
2133
|
+
return i.i9x($this$dispatchAsync, store, $completion);
|
|
2134
2134
|
};
|
|
2135
2135
|
l.$arity = 2;
|
|
2136
2136
|
return l;
|
|
2137
2137
|
}
|
|
2138
2138
|
function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
|
|
2139
|
-
this.
|
|
2139
|
+
this.s9x_1 = $playerId;
|
|
2140
2140
|
CoroutineImpl.call(this, resultContinuation);
|
|
2141
2141
|
}
|
|
2142
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2143
|
-
var tmp = this.
|
|
2142
|
+
protoOf(GameServer$playerLostConnection$slambda).i9x = function ($this$dispatchAsync, store, $completion) {
|
|
2143
|
+
var tmp = this.j9x($this$dispatchAsync, store, $completion);
|
|
2144
2144
|
tmp.u8_1 = Unit_instance;
|
|
2145
2145
|
tmp.v8_1 = null;
|
|
2146
2146
|
return tmp.a9();
|
|
2147
2147
|
};
|
|
2148
2148
|
protoOf(GameServer$playerLostConnection$slambda).j9 = function (p1, p2, $completion) {
|
|
2149
2149
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2150
|
-
return this.
|
|
2150
|
+
return this.i9x(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2151
2151
|
};
|
|
2152
2152
|
protoOf(GameServer$playerLostConnection$slambda).a9 = function () {
|
|
2153
2153
|
var suspendResult = this.u8_1;
|
|
@@ -2156,12 +2156,12 @@
|
|
|
2156
2156
|
var tmp = this.s8_1;
|
|
2157
2157
|
if (tmp === 0) {
|
|
2158
2158
|
this.t8_1 = 1;
|
|
2159
|
-
if (!get_isCreated(this.
|
|
2159
|
+
if (!get_isCreated(this.u9x_1.state)) {
|
|
2160
2160
|
return Unit_instance;
|
|
2161
2161
|
}
|
|
2162
|
-
var tmp_0 = this.
|
|
2162
|
+
var tmp_0 = this.u9x_1.dispatch;
|
|
2163
2163
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
2164
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2164
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.s9x_1));
|
|
2165
2165
|
return Unit_instance;
|
|
2166
2166
|
} else if (tmp === 1) {
|
|
2167
2167
|
throw this.v8_1;
|
|
@@ -2172,34 +2172,34 @@
|
|
|
2172
2172
|
}
|
|
2173
2173
|
while (true);
|
|
2174
2174
|
};
|
|
2175
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2176
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
2177
|
-
i.
|
|
2178
|
-
i.
|
|
2175
|
+
protoOf(GameServer$playerLostConnection$slambda).j9x = function ($this$dispatchAsync, store, completion) {
|
|
2176
|
+
var i = new GameServer$playerLostConnection$slambda(this.s9x_1, completion);
|
|
2177
|
+
i.t9x_1 = $this$dispatchAsync;
|
|
2178
|
+
i.u9x_1 = store;
|
|
2179
2179
|
return i;
|
|
2180
2180
|
};
|
|
2181
2181
|
function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
|
|
2182
2182
|
var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
|
|
2183
2183
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2184
|
-
return i.
|
|
2184
|
+
return i.i9x($this$dispatchAsync, store, $completion);
|
|
2185
2185
|
};
|
|
2186
2186
|
l.$arity = 2;
|
|
2187
2187
|
return l;
|
|
2188
2188
|
}
|
|
2189
2189
|
function GameServer$playerLive$slambda(this$0, $playerId, resultContinuation) {
|
|
2190
|
-
this.
|
|
2191
|
-
this.
|
|
2190
|
+
this.d9y_1 = this$0;
|
|
2191
|
+
this.e9y_1 = $playerId;
|
|
2192
2192
|
CoroutineImpl.call(this, resultContinuation);
|
|
2193
2193
|
}
|
|
2194
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2195
|
-
var tmp = this.
|
|
2194
|
+
protoOf(GameServer$playerLive$slambda).i9x = function ($this$dispatchAsync, store, $completion) {
|
|
2195
|
+
var tmp = this.j9x($this$dispatchAsync, store, $completion);
|
|
2196
2196
|
tmp.u8_1 = Unit_instance;
|
|
2197
2197
|
tmp.v8_1 = null;
|
|
2198
2198
|
return tmp.a9();
|
|
2199
2199
|
};
|
|
2200
2200
|
protoOf(GameServer$playerLive$slambda).j9 = function (p1, p2, $completion) {
|
|
2201
2201
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2202
|
-
return this.
|
|
2202
|
+
return this.i9x(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2203
2203
|
};
|
|
2204
2204
|
protoOf(GameServer$playerLive$slambda).a9 = function () {
|
|
2205
2205
|
var suspendResult = this.u8_1;
|
|
@@ -2208,16 +2208,16 @@
|
|
|
2208
2208
|
var tmp = this.s8_1;
|
|
2209
2209
|
if (tmp === 0) {
|
|
2210
2210
|
this.t8_1 = 1;
|
|
2211
|
-
if (get_isFinished(this.
|
|
2211
|
+
if (get_isFinished(this.g9y_1.state) || get_isFinishing(this.g9y_1.state)) {
|
|
2212
2212
|
return Unit_instance;
|
|
2213
2213
|
}
|
|
2214
|
-
if (!get_isCreated(this.
|
|
2215
|
-
this.
|
|
2214
|
+
if (!get_isCreated(this.g9y_1.state) || !this.d9y_1.t66().y6r()) {
|
|
2215
|
+
this.d9y_1.h4q().v('GameEngine_API', 'playerLive: ' + this.e9y_1 + ' before game is created');
|
|
2216
2216
|
return Unit_instance;
|
|
2217
2217
|
}
|
|
2218
|
-
var tmp_0 = this.
|
|
2218
|
+
var tmp_0 = this.g9y_1.dispatch;
|
|
2219
2219
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2220
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2220
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.e9y_1));
|
|
2221
2221
|
return Unit_instance;
|
|
2222
2222
|
} else if (tmp === 1) {
|
|
2223
2223
|
throw this.v8_1;
|
|
@@ -2228,35 +2228,35 @@
|
|
|
2228
2228
|
}
|
|
2229
2229
|
while (true);
|
|
2230
2230
|
};
|
|
2231
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2232
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
2233
|
-
i.
|
|
2234
|
-
i.
|
|
2231
|
+
protoOf(GameServer$playerLive$slambda).j9x = function ($this$dispatchAsync, store, completion) {
|
|
2232
|
+
var i = new GameServer$playerLive$slambda(this.d9y_1, this.e9y_1, completion);
|
|
2233
|
+
i.f9y_1 = $this$dispatchAsync;
|
|
2234
|
+
i.g9y_1 = store;
|
|
2235
2235
|
return i;
|
|
2236
2236
|
};
|
|
2237
2237
|
function GameServer$playerLive$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2238
2238
|
var i = new GameServer$playerLive$slambda(this$0, $playerId, resultContinuation);
|
|
2239
2239
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2240
|
-
return i.
|
|
2240
|
+
return i.i9x($this$dispatchAsync, store, $completion);
|
|
2241
2241
|
};
|
|
2242
2242
|
l.$arity = 2;
|
|
2243
2243
|
return l;
|
|
2244
2244
|
}
|
|
2245
2245
|
function GameServer$playerLeft$slambda(this$0, $playerId, $permanently, resultContinuation) {
|
|
2246
|
-
this.
|
|
2247
|
-
this.
|
|
2248
|
-
this.
|
|
2246
|
+
this.p9y_1 = this$0;
|
|
2247
|
+
this.q9y_1 = $playerId;
|
|
2248
|
+
this.r9y_1 = $permanently;
|
|
2249
2249
|
CoroutineImpl.call(this, resultContinuation);
|
|
2250
2250
|
}
|
|
2251
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2252
|
-
var tmp = this.
|
|
2251
|
+
protoOf(GameServer$playerLeft$slambda).i9x = function ($this$dispatchAsync, store, $completion) {
|
|
2252
|
+
var tmp = this.j9x($this$dispatchAsync, store, $completion);
|
|
2253
2253
|
tmp.u8_1 = Unit_instance;
|
|
2254
2254
|
tmp.v8_1 = null;
|
|
2255
2255
|
return tmp.a9();
|
|
2256
2256
|
};
|
|
2257
2257
|
protoOf(GameServer$playerLeft$slambda).j9 = function (p1, p2, $completion) {
|
|
2258
2258
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2259
|
-
return this.
|
|
2259
|
+
return this.i9x(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2260
2260
|
};
|
|
2261
2261
|
protoOf(GameServer$playerLeft$slambda).a9 = function () {
|
|
2262
2262
|
var suspendResult = this.u8_1;
|
|
@@ -2265,22 +2265,22 @@
|
|
|
2265
2265
|
var tmp = this.s8_1;
|
|
2266
2266
|
if (tmp === 0) {
|
|
2267
2267
|
this.t8_1 = 1;
|
|
2268
|
-
if (get_isFinished(this.
|
|
2268
|
+
if (get_isFinished(this.t9y_1.state) || get_isFinishing(this.t9y_1.state)) {
|
|
2269
2269
|
return Unit_instance;
|
|
2270
2270
|
}
|
|
2271
|
-
if (!get_isCreated(this.
|
|
2272
|
-
this.
|
|
2271
|
+
if (!get_isCreated(this.t9y_1.state) || !this.p9y_1.t66().y6r()) {
|
|
2272
|
+
this.p9y_1.h4q().w('GameEngine_API', 'playerLeft: ' + this.q9y_1 + ' before game is created');
|
|
2273
2273
|
return Unit_instance;
|
|
2274
2274
|
}
|
|
2275
|
-
var tmp_0 = this.
|
|
2275
|
+
var tmp_0 = this.t9y_1.dispatch;
|
|
2276
2276
|
var tmp_1;
|
|
2277
|
-
if (this.
|
|
2277
|
+
if (this.r9y_1) {
|
|
2278
2278
|
tmp_1 = PlayerConnectionState_LEFT_PERMANENTLY_getInstance();
|
|
2279
2279
|
} else {
|
|
2280
2280
|
tmp_1 = PlayerConnectionState_LEFT_getInstance();
|
|
2281
2281
|
}
|
|
2282
2282
|
var tmp0_connectionState = tmp_1;
|
|
2283
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2283
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.q9y_1));
|
|
2284
2284
|
return Unit_instance;
|
|
2285
2285
|
} else if (tmp === 1) {
|
|
2286
2286
|
throw this.v8_1;
|
|
@@ -2291,39 +2291,39 @@
|
|
|
2291
2291
|
}
|
|
2292
2292
|
while (true);
|
|
2293
2293
|
};
|
|
2294
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2295
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
2296
|
-
i.
|
|
2297
|
-
i.
|
|
2294
|
+
protoOf(GameServer$playerLeft$slambda).j9x = function ($this$dispatchAsync, store, completion) {
|
|
2295
|
+
var i = new GameServer$playerLeft$slambda(this.p9y_1, this.q9y_1, this.r9y_1, completion);
|
|
2296
|
+
i.s9y_1 = $this$dispatchAsync;
|
|
2297
|
+
i.t9y_1 = store;
|
|
2298
2298
|
return i;
|
|
2299
2299
|
};
|
|
2300
2300
|
function GameServer$playerLeft$slambda_0(this$0, $playerId, $permanently, resultContinuation) {
|
|
2301
2301
|
var i = new GameServer$playerLeft$slambda(this$0, $playerId, $permanently, resultContinuation);
|
|
2302
2302
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2303
|
-
return i.
|
|
2303
|
+
return i.i9x($this$dispatchAsync, store, $completion);
|
|
2304
2304
|
};
|
|
2305
2305
|
l.$arity = 2;
|
|
2306
2306
|
return l;
|
|
2307
2307
|
}
|
|
2308
2308
|
function GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2309
|
-
this.
|
|
2310
|
-
this.
|
|
2311
|
-
this.
|
|
2312
|
-
this.
|
|
2313
|
-
this.
|
|
2314
|
-
this.
|
|
2315
|
-
this.
|
|
2309
|
+
this.c9z_1 = $usersArray;
|
|
2310
|
+
this.d9z_1 = $config;
|
|
2311
|
+
this.e9z_1 = this$0;
|
|
2312
|
+
this.f9z_1 = $roomId;
|
|
2313
|
+
this.g9z_1 = $transition;
|
|
2314
|
+
this.h9z_1 = $gameCreatorId;
|
|
2315
|
+
this.i9z_1 = $spectators;
|
|
2316
2316
|
CoroutineImpl.call(this, resultContinuation);
|
|
2317
2317
|
}
|
|
2318
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2319
|
-
var tmp = this.
|
|
2318
|
+
protoOf(GameServer$roomOnCreate$slambda).i9x = function ($this$dispatchAsync, store, $completion) {
|
|
2319
|
+
var tmp = this.j9x($this$dispatchAsync, store, $completion);
|
|
2320
2320
|
tmp.u8_1 = Unit_instance;
|
|
2321
2321
|
tmp.v8_1 = null;
|
|
2322
2322
|
return tmp.a9();
|
|
2323
2323
|
};
|
|
2324
2324
|
protoOf(GameServer$roomOnCreate$slambda).j9 = function (p1, p2, $completion) {
|
|
2325
2325
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2326
|
-
return this.
|
|
2326
|
+
return this.i9x(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2327
2327
|
};
|
|
2328
2328
|
protoOf(GameServer$roomOnCreate$slambda).a9 = function () {
|
|
2329
2329
|
var suspendResult = this.u8_1;
|
|
@@ -2332,28 +2332,28 @@
|
|
|
2332
2332
|
var tmp = this.s8_1;
|
|
2333
2333
|
if (tmp === 0) {
|
|
2334
2334
|
this.t8_1 = 1;
|
|
2335
|
-
var users = toList(this.
|
|
2336
|
-
if (!(this.
|
|
2337
|
-
this.
|
|
2338
|
-
this.
|
|
2335
|
+
var users = toList(this.c9z_1);
|
|
2336
|
+
if (!(this.d9z_1.playersMode.count === users.o())) {
|
|
2337
|
+
this.e9z_1.h4q().w('GameEngine_API', 'roomOnCreate: wrong player count for game ' + this.f9z_1 + ', config = ' + this.d9z_1.toString() + ', users = ' + toString(users));
|
|
2338
|
+
this.k9z_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.e9z_1.table.isGameFinished, this.e9z_1.table));
|
|
2339
2339
|
return Unit_instance;
|
|
2340
2340
|
}
|
|
2341
2341
|
var tmp_0;
|
|
2342
|
-
if (this.
|
|
2343
|
-
tmp_0 = _get_random__h29cgo(this.
|
|
2342
|
+
if (this.d9z_1.mode.shufflePlayers && this.g9z_1 == null) {
|
|
2343
|
+
tmp_0 = _get_random__h29cgo(this.e9z_1).q5d(toMutableList(users));
|
|
2344
2344
|
} else {
|
|
2345
|
-
var tmp0_safe_receiver = this.
|
|
2345
|
+
var tmp0_safe_receiver = this.g9z_1;
|
|
2346
2346
|
var previousPlayers = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.previousPlayers;
|
|
2347
2347
|
var tmp_1;
|
|
2348
|
-
if (!(previousPlayers == null) && this.
|
|
2349
|
-
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.
|
|
2348
|
+
if (!(previousPlayers == null) && this.d9z_1.playersMode.isTeamGame) {
|
|
2349
|
+
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.e9z_1);
|
|
2350
2350
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(previousPlayers, 10));
|
|
2351
2351
|
var _iterator__ex2g4s = previousPlayers.l();
|
|
2352
2352
|
while (_iterator__ex2g4s.m()) {
|
|
2353
2353
|
var item = _iterator__ex2g4s.n();
|
|
2354
2354
|
destination.j(new GameServer$roomOnCreate$2$updatedUsers$previousTeams$1(item));
|
|
2355
2355
|
}
|
|
2356
|
-
var previousTeams = tmp_2.
|
|
2356
|
+
var previousTeams = tmp_2.a8o(destination);
|
|
2357
2357
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
2358
2358
|
var _iterator__ex2g4s_0 = users.l();
|
|
2359
2359
|
while (_iterator__ex2g4s_0.m()) {
|
|
@@ -2377,19 +2377,19 @@
|
|
|
2377
2377
|
destination_1.j(destination_2);
|
|
2378
2378
|
}
|
|
2379
2379
|
var updatedTeams = destination_1;
|
|
2380
|
-
tmp_1 = _get_teamsLogicProvider__u10pm6(this.
|
|
2380
|
+
tmp_1 = _get_teamsLogicProvider__u10pm6(this.e9z_1).e8o(updatedTeams);
|
|
2381
2381
|
} else {
|
|
2382
2382
|
tmp_1 = users;
|
|
2383
2383
|
}
|
|
2384
2384
|
tmp_0 = tmp_1;
|
|
2385
2385
|
}
|
|
2386
2386
|
var updatedUsers = tmp_0;
|
|
2387
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
2388
|
-
var tmp_3 = this.
|
|
2387
|
+
var gameCreatorUser = getPlayer(users, this.h9z_1);
|
|
2388
|
+
var tmp_3 = this.k9z_1.dispatch;
|
|
2389
2389
|
var tmp1_version = get_versionOrDefault(GameEngineConfig_instance);
|
|
2390
2390
|
var tmp2_users = sortWithItem(updatedUsers, gameCreatorUser);
|
|
2391
|
-
var tmp3_spectators = toList(this.
|
|
2392
|
-
tmp_3(new StartGameMechanicAction(this.
|
|
2391
|
+
var tmp3_spectators = toList(this.i9z_1);
|
|
2392
|
+
tmp_3(new StartGameMechanicAction(this.d9z_1, this.f9z_1, tmp1_version, this.h9z_1, tmp2_users, VOID, tmp3_spectators));
|
|
2393
2393
|
return Unit_instance;
|
|
2394
2394
|
} else if (tmp === 1) {
|
|
2395
2395
|
throw this.v8_1;
|
|
@@ -2400,33 +2400,33 @@
|
|
|
2400
2400
|
}
|
|
2401
2401
|
while (true);
|
|
2402
2402
|
};
|
|
2403
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2404
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
2405
|
-
i.
|
|
2406
|
-
i.
|
|
2403
|
+
protoOf(GameServer$roomOnCreate$slambda).j9x = function ($this$dispatchAsync, store, completion) {
|
|
2404
|
+
var i = new GameServer$roomOnCreate$slambda(this.c9z_1, this.d9z_1, this.e9z_1, this.f9z_1, this.g9z_1, this.h9z_1, this.i9z_1, completion);
|
|
2405
|
+
i.j9z_1 = $this$dispatchAsync;
|
|
2406
|
+
i.k9z_1 = store;
|
|
2407
2407
|
return i;
|
|
2408
2408
|
};
|
|
2409
2409
|
function GameServer$roomOnCreate$slambda_0($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2410
2410
|
var i = new GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation);
|
|
2411
2411
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2412
|
-
return i.
|
|
2412
|
+
return i.i9x($this$dispatchAsync, store, $completion);
|
|
2413
2413
|
};
|
|
2414
2414
|
l.$arity = 2;
|
|
2415
2415
|
return l;
|
|
2416
2416
|
}
|
|
2417
2417
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
2418
|
-
this.
|
|
2418
|
+
this.t9z_1 = $state;
|
|
2419
2419
|
CoroutineImpl.call(this, resultContinuation);
|
|
2420
2420
|
}
|
|
2421
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2422
|
-
var tmp = this.
|
|
2421
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).w9z = function ($this$dispatchAwait, store, $completion) {
|
|
2422
|
+
var tmp = this.j9x($this$dispatchAwait, store, $completion);
|
|
2423
2423
|
tmp.u8_1 = Unit_instance;
|
|
2424
2424
|
tmp.v8_1 = null;
|
|
2425
2425
|
return tmp.a9();
|
|
2426
2426
|
};
|
|
2427
2427
|
protoOf(GameServer$roomOnContinueFromState$slambda).j9 = function (p1, p2, $completion) {
|
|
2428
2428
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2429
|
-
return this.
|
|
2429
|
+
return this.w9z(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2430
2430
|
};
|
|
2431
2431
|
protoOf(GameServer$roomOnContinueFromState$slambda).a9 = function () {
|
|
2432
2432
|
var suspendResult = this.u8_1;
|
|
@@ -2435,10 +2435,10 @@
|
|
|
2435
2435
|
var tmp = this.s8_1;
|
|
2436
2436
|
if (tmp === 0) {
|
|
2437
2437
|
this.t8_1 = 1;
|
|
2438
|
-
if (get_isCreating(this.
|
|
2439
|
-
var tmp_0 = this.
|
|
2438
|
+
if (get_isCreating(this.v9z_1.state)) {
|
|
2439
|
+
var tmp_0 = this.v9z_1.dispatch;
|
|
2440
2440
|
var tmp0_reason = new RestartRoundReason(null);
|
|
2441
|
-
var tmp1_table = this.
|
|
2441
|
+
var tmp1_table = this.t9z_1.table;
|
|
2442
2442
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2443
2443
|
return true;
|
|
2444
2444
|
}
|
|
@@ -2452,34 +2452,34 @@
|
|
|
2452
2452
|
}
|
|
2453
2453
|
while (true);
|
|
2454
2454
|
};
|
|
2455
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2456
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
2457
|
-
i.
|
|
2458
|
-
i.
|
|
2455
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).j9x = function ($this$dispatchAwait, store, completion) {
|
|
2456
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.t9z_1, completion);
|
|
2457
|
+
i.u9z_1 = $this$dispatchAwait;
|
|
2458
|
+
i.v9z_1 = store;
|
|
2459
2459
|
return i;
|
|
2460
2460
|
};
|
|
2461
2461
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
2462
2462
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
2463
2463
|
var l = function ($this$dispatchAwait, store, $completion) {
|
|
2464
|
-
return i.
|
|
2464
|
+
return i.w9z($this$dispatchAwait, store, $completion);
|
|
2465
2465
|
};
|
|
2466
2466
|
l.$arity = 2;
|
|
2467
2467
|
return l;
|
|
2468
2468
|
}
|
|
2469
2469
|
function GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation) {
|
|
2470
|
-
this.
|
|
2471
|
-
this.
|
|
2470
|
+
this.fa0_1 = $isCreated;
|
|
2471
|
+
this.ga0_1 = $state;
|
|
2472
2472
|
CoroutineImpl.call(this, resultContinuation);
|
|
2473
2473
|
}
|
|
2474
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2475
|
-
var tmp = this.
|
|
2474
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).i9x = function ($this$dispatchAsync, store, $completion) {
|
|
2475
|
+
var tmp = this.j9x($this$dispatchAsync, store, $completion);
|
|
2476
2476
|
tmp.u8_1 = Unit_instance;
|
|
2477
2477
|
tmp.v8_1 = null;
|
|
2478
2478
|
return tmp.a9();
|
|
2479
2479
|
};
|
|
2480
2480
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).j9 = function (p1, p2, $completion) {
|
|
2481
2481
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2482
|
-
return this.
|
|
2482
|
+
return this.i9x(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2483
2483
|
};
|
|
2484
2484
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).a9 = function () {
|
|
2485
2485
|
var suspendResult = this.u8_1;
|
|
@@ -2490,7 +2490,7 @@
|
|
|
2490
2490
|
case 0:
|
|
2491
2491
|
this.t8_1 = 3;
|
|
2492
2492
|
this.s8_1 = 1;
|
|
2493
|
-
suspendResult = this.
|
|
2493
|
+
suspendResult = this.fa0_1.z1t(this);
|
|
2494
2494
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2495
2495
|
return suspendResult;
|
|
2496
2496
|
}
|
|
@@ -2498,10 +2498,10 @@
|
|
|
2498
2498
|
continue $sm;
|
|
2499
2499
|
case 1:
|
|
2500
2500
|
if (suspendResult) {
|
|
2501
|
-
var _iterator__ex2g4s = this.
|
|
2501
|
+
var _iterator__ex2g4s = this.ga0_1.actions.l();
|
|
2502
2502
|
while (_iterator__ex2g4s.m()) {
|
|
2503
2503
|
var element = _iterator__ex2g4s.n();
|
|
2504
|
-
this.
|
|
2504
|
+
this.ia0_1.dispatch(element);
|
|
2505
2505
|
}
|
|
2506
2506
|
this.s8_1 = 2;
|
|
2507
2507
|
continue $sm;
|
|
@@ -2526,35 +2526,35 @@
|
|
|
2526
2526
|
}
|
|
2527
2527
|
while (true);
|
|
2528
2528
|
};
|
|
2529
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2530
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
2531
|
-
i.
|
|
2532
|
-
i.
|
|
2529
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).j9x = function ($this$dispatchAsync, store, completion) {
|
|
2530
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.fa0_1, this.ga0_1, completion);
|
|
2531
|
+
i.ha0_1 = $this$dispatchAsync;
|
|
2532
|
+
i.ia0_1 = store;
|
|
2533
2533
|
return i;
|
|
2534
2534
|
};
|
|
2535
2535
|
function GameServer$roomOnContinueFromState$slambda_2($isCreated, $state, resultContinuation) {
|
|
2536
2536
|
var i = new GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation);
|
|
2537
2537
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2538
|
-
return i.
|
|
2538
|
+
return i.i9x($this$dispatchAsync, store, $completion);
|
|
2539
2539
|
};
|
|
2540
2540
|
l.$arity = 2;
|
|
2541
2541
|
return l;
|
|
2542
2542
|
}
|
|
2543
2543
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
2544
|
-
this.
|
|
2545
|
-
this.
|
|
2546
|
-
this.
|
|
2544
|
+
this.ra0_1 = $tableLite;
|
|
2545
|
+
this.sa0_1 = $roomId;
|
|
2546
|
+
this.ta0_1 = this$0;
|
|
2547
2547
|
CoroutineImpl.call(this, resultContinuation);
|
|
2548
2548
|
}
|
|
2549
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2550
|
-
var tmp = this.
|
|
2549
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).i9x = function ($this$dispatchAsync, store, $completion) {
|
|
2550
|
+
var tmp = this.j9x($this$dispatchAsync, store, $completion);
|
|
2551
2551
|
tmp.u8_1 = Unit_instance;
|
|
2552
2552
|
tmp.v8_1 = null;
|
|
2553
2553
|
return tmp.a9();
|
|
2554
2554
|
};
|
|
2555
2555
|
protoOf(GameServer$roomOnContinueFromRound$slambda).j9 = function (p1, p2, $completion) {
|
|
2556
2556
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2557
|
-
return this.
|
|
2557
|
+
return this.i9x(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2558
2558
|
};
|
|
2559
2559
|
protoOf(GameServer$roomOnContinueFromRound$slambda).a9 = function () {
|
|
2560
2560
|
var suspendResult = this.u8_1;
|
|
@@ -2563,9 +2563,9 @@
|
|
|
2563
2563
|
var tmp = this.s8_1;
|
|
2564
2564
|
if (tmp === 0) {
|
|
2565
2565
|
this.t8_1 = 1;
|
|
2566
|
-
var tmp_0 = this.
|
|
2567
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
2568
|
-
var tmp1_table = Companion_instance_0.restartRound(this.
|
|
2566
|
+
var tmp_0 = this.va0_1.dispatch;
|
|
2567
|
+
var tmp0_reason = new RestartRoundReason(this.ra0_1.gameInfo.round.roundNumber);
|
|
2568
|
+
var tmp1_table = Companion_instance_0.restartRound(this.sa0_1, _get_idsProvider__fnfajc(this.ta0_1).d6e(), get_versionOrDefault(GameEngineConfig_instance), this.ra0_1);
|
|
2569
2569
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2570
2570
|
return Unit_instance;
|
|
2571
2571
|
} else if (tmp === 1) {
|
|
@@ -2577,16 +2577,16 @@
|
|
|
2577
2577
|
}
|
|
2578
2578
|
while (true);
|
|
2579
2579
|
};
|
|
2580
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2581
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
2582
|
-
i.
|
|
2583
|
-
i.
|
|
2580
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).j9x = function ($this$dispatchAsync, store, completion) {
|
|
2581
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.ra0_1, this.sa0_1, this.ta0_1, completion);
|
|
2582
|
+
i.ua0_1 = $this$dispatchAsync;
|
|
2583
|
+
i.va0_1 = store;
|
|
2584
2584
|
return i;
|
|
2585
2585
|
};
|
|
2586
2586
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
2587
2587
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
2588
2588
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2589
|
-
return i.
|
|
2589
|
+
return i.i9x($this$dispatchAsync, store, $completion);
|
|
2590
2590
|
};
|
|
2591
2591
|
l.$arity = 2;
|
|
2592
2592
|
return l;
|
|
@@ -2594,15 +2594,15 @@
|
|
|
2594
2594
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
2595
2595
|
CoroutineImpl.call(this, resultContinuation);
|
|
2596
2596
|
}
|
|
2597
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2598
|
-
var tmp = this.
|
|
2597
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).i9x = function ($this$dispatchAsync, store, $completion) {
|
|
2598
|
+
var tmp = this.j9x($this$dispatchAsync, store, $completion);
|
|
2599
2599
|
tmp.u8_1 = Unit_instance;
|
|
2600
2600
|
tmp.v8_1 = null;
|
|
2601
2601
|
return tmp.a9();
|
|
2602
2602
|
};
|
|
2603
2603
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).j9 = function (p1, p2, $completion) {
|
|
2604
2604
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2605
|
-
return this.
|
|
2605
|
+
return this.i9x(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2606
2606
|
};
|
|
2607
2607
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).a9 = function () {
|
|
2608
2608
|
var suspendResult = this.u8_1;
|
|
@@ -2611,7 +2611,7 @@
|
|
|
2611
2611
|
var tmp = this.s8_1;
|
|
2612
2612
|
if (tmp === 0) {
|
|
2613
2613
|
this.t8_1 = 1;
|
|
2614
|
-
this.
|
|
2614
|
+
this.fa1_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
2615
2615
|
return Unit_instance;
|
|
2616
2616
|
} else if (tmp === 1) {
|
|
2617
2617
|
throw this.v8_1;
|
|
@@ -2622,33 +2622,33 @@
|
|
|
2622
2622
|
}
|
|
2623
2623
|
while (true);
|
|
2624
2624
|
};
|
|
2625
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2625
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).j9x = function ($this$dispatchAsync, store, completion) {
|
|
2626
2626
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
2627
|
-
i.
|
|
2628
|
-
i.
|
|
2627
|
+
i.ea1_1 = $this$dispatchAsync;
|
|
2628
|
+
i.fa1_1 = store;
|
|
2629
2629
|
return i;
|
|
2630
2630
|
};
|
|
2631
2631
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
2632
2632
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
2633
2633
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2634
|
-
return i.
|
|
2634
|
+
return i.i9x($this$dispatchAsync, store, $completion);
|
|
2635
2635
|
};
|
|
2636
2636
|
l.$arity = 2;
|
|
2637
2637
|
return l;
|
|
2638
2638
|
}
|
|
2639
2639
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
2640
|
-
this.
|
|
2640
|
+
this.oa1_1 = $spectators;
|
|
2641
2641
|
CoroutineImpl.call(this, resultContinuation);
|
|
2642
2642
|
}
|
|
2643
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2644
|
-
var tmp = this.
|
|
2643
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).i9x = function ($this$dispatchAsync, store, $completion) {
|
|
2644
|
+
var tmp = this.j9x($this$dispatchAsync, store, $completion);
|
|
2645
2645
|
tmp.u8_1 = Unit_instance;
|
|
2646
2646
|
tmp.v8_1 = null;
|
|
2647
2647
|
return tmp.a9();
|
|
2648
2648
|
};
|
|
2649
2649
|
protoOf(GameServer$addSpectatorsToRoom$slambda).j9 = function (p1, p2, $completion) {
|
|
2650
2650
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2651
|
-
return this.
|
|
2651
|
+
return this.i9x(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2652
2652
|
};
|
|
2653
2653
|
protoOf(GameServer$addSpectatorsToRoom$slambda).a9 = function () {
|
|
2654
2654
|
var suspendResult = this.u8_1;
|
|
@@ -2657,7 +2657,7 @@
|
|
|
2657
2657
|
var tmp = this.s8_1;
|
|
2658
2658
|
if (tmp === 0) {
|
|
2659
2659
|
this.t8_1 = 1;
|
|
2660
|
-
this.
|
|
2660
|
+
this.qa1_1.dispatch(new AddSpectatorsAction(toList(this.oa1_1)));
|
|
2661
2661
|
return Unit_instance;
|
|
2662
2662
|
} else if (tmp === 1) {
|
|
2663
2663
|
throw this.v8_1;
|
|
@@ -2668,33 +2668,33 @@
|
|
|
2668
2668
|
}
|
|
2669
2669
|
while (true);
|
|
2670
2670
|
};
|
|
2671
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2672
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
2673
|
-
i.
|
|
2674
|
-
i.
|
|
2671
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).j9x = function ($this$dispatchAsync, store, completion) {
|
|
2672
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.oa1_1, completion);
|
|
2673
|
+
i.pa1_1 = $this$dispatchAsync;
|
|
2674
|
+
i.qa1_1 = store;
|
|
2675
2675
|
return i;
|
|
2676
2676
|
};
|
|
2677
2677
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
2678
2678
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
2679
2679
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2680
|
-
return i.
|
|
2680
|
+
return i.i9x($this$dispatchAsync, store, $completion);
|
|
2681
2681
|
};
|
|
2682
2682
|
l.$arity = 2;
|
|
2683
2683
|
return l;
|
|
2684
2684
|
}
|
|
2685
2685
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
2686
|
-
this.
|
|
2686
|
+
this.za1_1 = $spectators;
|
|
2687
2687
|
CoroutineImpl.call(this, resultContinuation);
|
|
2688
2688
|
}
|
|
2689
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2690
|
-
var tmp = this.
|
|
2689
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).i9x = function ($this$dispatchAsync, store, $completion) {
|
|
2690
|
+
var tmp = this.j9x($this$dispatchAsync, store, $completion);
|
|
2691
2691
|
tmp.u8_1 = Unit_instance;
|
|
2692
2692
|
tmp.v8_1 = null;
|
|
2693
2693
|
return tmp.a9();
|
|
2694
2694
|
};
|
|
2695
2695
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).j9 = function (p1, p2, $completion) {
|
|
2696
2696
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2697
|
-
return this.
|
|
2697
|
+
return this.i9x(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2698
2698
|
};
|
|
2699
2699
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).a9 = function () {
|
|
2700
2700
|
var suspendResult = this.u8_1;
|
|
@@ -2703,7 +2703,7 @@
|
|
|
2703
2703
|
var tmp = this.s8_1;
|
|
2704
2704
|
if (tmp === 0) {
|
|
2705
2705
|
this.t8_1 = 1;
|
|
2706
|
-
this.
|
|
2706
|
+
this.ba2_1.dispatch(new RemoveSpectatorsAction(toList(this.za1_1)));
|
|
2707
2707
|
return Unit_instance;
|
|
2708
2708
|
} else if (tmp === 1) {
|
|
2709
2709
|
throw this.v8_1;
|
|
@@ -2714,34 +2714,34 @@
|
|
|
2714
2714
|
}
|
|
2715
2715
|
while (true);
|
|
2716
2716
|
};
|
|
2717
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2718
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
2719
|
-
i.
|
|
2720
|
-
i.
|
|
2717
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).j9x = function ($this$dispatchAsync, store, completion) {
|
|
2718
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.za1_1, completion);
|
|
2719
|
+
i.aa2_1 = $this$dispatchAsync;
|
|
2720
|
+
i.ba2_1 = store;
|
|
2721
2721
|
return i;
|
|
2722
2722
|
};
|
|
2723
2723
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
2724
2724
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
2725
2725
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2726
|
-
return i.
|
|
2726
|
+
return i.i9x($this$dispatchAsync, store, $completion);
|
|
2727
2727
|
};
|
|
2728
2728
|
l.$arity = 2;
|
|
2729
2729
|
return l;
|
|
2730
2730
|
}
|
|
2731
2731
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
2732
|
-
this.
|
|
2733
|
-
this.
|
|
2732
|
+
this.ka2_1 = $playerId;
|
|
2733
|
+
this.la2_1 = this$0;
|
|
2734
2734
|
CoroutineImpl.call(this, resultContinuation);
|
|
2735
2735
|
}
|
|
2736
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2737
|
-
var tmp = this.
|
|
2736
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).i9x = function ($this$dispatchAsync, store, $completion) {
|
|
2737
|
+
var tmp = this.j9x($this$dispatchAsync, store, $completion);
|
|
2738
2738
|
tmp.u8_1 = Unit_instance;
|
|
2739
2739
|
tmp.v8_1 = null;
|
|
2740
2740
|
return tmp.a9();
|
|
2741
2741
|
};
|
|
2742
2742
|
protoOf(GameServer$roomRefreshPlayerState$slambda).j9 = function (p1, p2, $completion) {
|
|
2743
2743
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2744
|
-
return this.
|
|
2744
|
+
return this.i9x(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2745
2745
|
};
|
|
2746
2746
|
protoOf(GameServer$roomRefreshPlayerState$slambda).a9 = function () {
|
|
2747
2747
|
var suspendResult = this.u8_1;
|
|
@@ -2750,14 +2750,14 @@
|
|
|
2750
2750
|
var tmp = this.s8_1;
|
|
2751
2751
|
if (tmp === 0) {
|
|
2752
2752
|
this.t8_1 = 1;
|
|
2753
|
-
var table = this.
|
|
2754
|
-
var player = getPlayer(table.players, this.
|
|
2755
|
-
if (player.
|
|
2756
|
-
this.
|
|
2753
|
+
var table = this.na2_1.state.x6r();
|
|
2754
|
+
var player = getPlayer(table.players, this.ka2_1);
|
|
2755
|
+
if (player.f6v_1.y68().n67_1.isLive) {
|
|
2756
|
+
this.na2_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.la2_1).u8u(player, table));
|
|
2757
2757
|
} else {
|
|
2758
|
-
var tmp_0 = this.
|
|
2758
|
+
var tmp_0 = this.na2_1.dispatch;
|
|
2759
2759
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2760
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2760
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.ka2_1));
|
|
2761
2761
|
}
|
|
2762
2762
|
return Unit_instance;
|
|
2763
2763
|
} else if (tmp === 1) {
|
|
@@ -2769,34 +2769,34 @@
|
|
|
2769
2769
|
}
|
|
2770
2770
|
while (true);
|
|
2771
2771
|
};
|
|
2772
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2773
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
2774
|
-
i.
|
|
2775
|
-
i.
|
|
2772
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).j9x = function ($this$dispatchAsync, store, completion) {
|
|
2773
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.ka2_1, this.la2_1, completion);
|
|
2774
|
+
i.ma2_1 = $this$dispatchAsync;
|
|
2775
|
+
i.na2_1 = store;
|
|
2776
2776
|
return i;
|
|
2777
2777
|
};
|
|
2778
2778
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
2779
2779
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
2780
2780
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2781
|
-
return i.
|
|
2781
|
+
return i.i9x($this$dispatchAsync, store, $completion);
|
|
2782
2782
|
};
|
|
2783
2783
|
l.$arity = 2;
|
|
2784
2784
|
return l;
|
|
2785
2785
|
}
|
|
2786
2786
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
2787
|
-
this.
|
|
2788
|
-
this.
|
|
2787
|
+
this.wa2_1 = this$0;
|
|
2788
|
+
this.xa2_1 = $newRid;
|
|
2789
2789
|
CoroutineImpl.call(this, resultContinuation);
|
|
2790
2790
|
}
|
|
2791
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2792
|
-
var tmp = this.
|
|
2791
|
+
protoOf(GameServer$roomOnDelete$slambda).i9x = function ($this$dispatchAsync, store, $completion) {
|
|
2792
|
+
var tmp = this.j9x($this$dispatchAsync, store, $completion);
|
|
2793
2793
|
tmp.u8_1 = Unit_instance;
|
|
2794
2794
|
tmp.v8_1 = null;
|
|
2795
2795
|
return tmp.a9();
|
|
2796
2796
|
};
|
|
2797
2797
|
protoOf(GameServer$roomOnDelete$slambda).j9 = function (p1, p2, $completion) {
|
|
2798
2798
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2799
|
-
return this.
|
|
2799
|
+
return this.i9x(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2800
2800
|
};
|
|
2801
2801
|
protoOf(GameServer$roomOnDelete$slambda).a9 = function () {
|
|
2802
2802
|
var suspendResult = this.u8_1;
|
|
@@ -2805,27 +2805,27 @@
|
|
|
2805
2805
|
var tmp = this.s8_1;
|
|
2806
2806
|
if (tmp === 0) {
|
|
2807
2807
|
this.t8_1 = 1;
|
|
2808
|
-
var it = this.
|
|
2808
|
+
var it = this.wa2_1.t66().x6q_1;
|
|
2809
2809
|
var tmp_0;
|
|
2810
2810
|
if (it == null) {
|
|
2811
|
-
this.
|
|
2811
|
+
this.wa2_1.h4q().w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
2812
2812
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
2813
2813
|
} else {
|
|
2814
2814
|
tmp_0 = it;
|
|
2815
2815
|
}
|
|
2816
2816
|
var terminationState = tmp_0;
|
|
2817
|
-
var gameTransition = terminationState.
|
|
2817
|
+
var gameTransition = terminationState.r8y_1;
|
|
2818
2818
|
var tmp_1;
|
|
2819
2819
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
2820
|
-
var tmp0_elvis_lhs = this.
|
|
2820
|
+
var tmp0_elvis_lhs = this.xa2_1;
|
|
2821
2821
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
2822
2822
|
} else {
|
|
2823
2823
|
tmp_1 = gameTransition;
|
|
2824
2824
|
}
|
|
2825
2825
|
var transition = tmp_1;
|
|
2826
|
-
var tmp_2 = this.
|
|
2827
|
-
var tmp0_reason = terminationState.
|
|
2828
|
-
var tmp1_isGameFinished = this.
|
|
2826
|
+
var tmp_2 = this.za2_1.dispatch;
|
|
2827
|
+
var tmp0_reason = terminationState.q8y_1;
|
|
2828
|
+
var tmp1_isGameFinished = this.wa2_1.t66().x6r().isGameFinished;
|
|
2829
2829
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
2830
2830
|
return Unit_instance;
|
|
2831
2831
|
} else if (tmp === 1) {
|
|
@@ -2837,33 +2837,33 @@
|
|
|
2837
2837
|
}
|
|
2838
2838
|
while (true);
|
|
2839
2839
|
};
|
|
2840
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2841
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
2842
|
-
i.
|
|
2843
|
-
i.
|
|
2840
|
+
protoOf(GameServer$roomOnDelete$slambda).j9x = function ($this$dispatchAsync, store, completion) {
|
|
2841
|
+
var i = new GameServer$roomOnDelete$slambda(this.wa2_1, this.xa2_1, completion);
|
|
2842
|
+
i.ya2_1 = $this$dispatchAsync;
|
|
2843
|
+
i.za2_1 = store;
|
|
2844
2844
|
return i;
|
|
2845
2845
|
};
|
|
2846
2846
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
2847
2847
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
2848
2848
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2849
|
-
return i.
|
|
2849
|
+
return i.i9x($this$dispatchAsync, store, $completion);
|
|
2850
2850
|
};
|
|
2851
2851
|
l.$arity = 2;
|
|
2852
2852
|
return l;
|
|
2853
2853
|
}
|
|
2854
2854
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
2855
|
-
this.
|
|
2855
|
+
this.ia3_1 = $enabled;
|
|
2856
2856
|
CoroutineImpl.call(this, resultContinuation);
|
|
2857
2857
|
}
|
|
2858
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2859
|
-
var tmp = this.
|
|
2858
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).i9x = function ($this$dispatchAsync, store, $completion) {
|
|
2859
|
+
var tmp = this.j9x($this$dispatchAsync, store, $completion);
|
|
2860
2860
|
tmp.u8_1 = Unit_instance;
|
|
2861
2861
|
tmp.v8_1 = null;
|
|
2862
2862
|
return tmp.a9();
|
|
2863
2863
|
};
|
|
2864
2864
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).j9 = function (p1, p2, $completion) {
|
|
2865
2865
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2866
|
-
return this.
|
|
2866
|
+
return this.i9x(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2867
2867
|
};
|
|
2868
2868
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).a9 = function () {
|
|
2869
2869
|
var suspendResult = this.u8_1;
|
|
@@ -2872,7 +2872,7 @@
|
|
|
2872
2872
|
var tmp = this.s8_1;
|
|
2873
2873
|
if (tmp === 0) {
|
|
2874
2874
|
this.t8_1 = 1;
|
|
2875
|
-
this.
|
|
2875
|
+
this.ka3_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload_0(this.ka3_1.state).config.copy(VOID, !this.ia3_1)));
|
|
2876
2876
|
return Unit_instance;
|
|
2877
2877
|
} else if (tmp === 1) {
|
|
2878
2878
|
throw this.v8_1;
|
|
@@ -2883,35 +2883,35 @@
|
|
|
2883
2883
|
}
|
|
2884
2884
|
while (true);
|
|
2885
2885
|
};
|
|
2886
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2887
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
2888
|
-
i.
|
|
2889
|
-
i.
|
|
2886
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).j9x = function ($this$dispatchAsync, store, completion) {
|
|
2887
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.ia3_1, completion);
|
|
2888
|
+
i.ja3_1 = $this$dispatchAsync;
|
|
2889
|
+
i.ka3_1 = store;
|
|
2890
2890
|
return i;
|
|
2891
2891
|
};
|
|
2892
2892
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
2893
2893
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
2894
2894
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2895
|
-
return i.
|
|
2895
|
+
return i.i9x($this$dispatchAsync, store, $completion);
|
|
2896
2896
|
};
|
|
2897
2897
|
l.$arity = 2;
|
|
2898
2898
|
return l;
|
|
2899
2899
|
}
|
|
2900
2900
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
2901
|
-
this.
|
|
2902
|
-
this.
|
|
2903
|
-
this.
|
|
2901
|
+
this.ta3_1 = $reason;
|
|
2902
|
+
this.ua3_1 = this$0;
|
|
2903
|
+
this.va3_1 = $roomId;
|
|
2904
2904
|
CoroutineImpl.call(this, resultContinuation);
|
|
2905
2905
|
}
|
|
2906
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2907
|
-
var tmp = this.
|
|
2906
|
+
protoOf(GameServer$shutdown$slambda).i9x = function ($this$dispatchAsync, store, $completion) {
|
|
2907
|
+
var tmp = this.j9x($this$dispatchAsync, store, $completion);
|
|
2908
2908
|
tmp.u8_1 = Unit_instance;
|
|
2909
2909
|
tmp.v8_1 = null;
|
|
2910
2910
|
return tmp.a9();
|
|
2911
2911
|
};
|
|
2912
2912
|
protoOf(GameServer$shutdown$slambda).j9 = function (p1, p2, $completion) {
|
|
2913
2913
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2914
|
-
return this.
|
|
2914
|
+
return this.i9x(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2915
2915
|
};
|
|
2916
2916
|
protoOf(GameServer$shutdown$slambda).a9 = function () {
|
|
2917
2917
|
var suspendResult = this.u8_1;
|
|
@@ -2920,11 +2920,11 @@
|
|
|
2920
2920
|
var tmp = this.s8_1;
|
|
2921
2921
|
if (tmp === 0) {
|
|
2922
2922
|
this.t8_1 = 1;
|
|
2923
|
-
var state = this.
|
|
2923
|
+
var state = this.xa3_1.store.state;
|
|
2924
2924
|
if (state.y6r()) {
|
|
2925
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
2925
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.ta3_1, get_serverShutdownReasonMapping());
|
|
2926
2926
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
2927
|
-
var tmp_0 = this.
|
|
2927
|
+
var tmp_0 = this.xa3_1.dispatch;
|
|
2928
2928
|
var tmp_1 = Companion_instance;
|
|
2929
2929
|
var tmp_2;
|
|
2930
2930
|
switch (shutdownReason.q2_1) {
|
|
@@ -2938,12 +2938,12 @@
|
|
|
2938
2938
|
noWhenBranchMatchedException();
|
|
2939
2939
|
break;
|
|
2940
2940
|
}
|
|
2941
|
-
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.
|
|
2941
|
+
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.ua3_1.table.isGameFinished, this.ua3_1.table));
|
|
2942
2942
|
} else {
|
|
2943
|
-
this.
|
|
2944
|
-
var tmp_3 = this.
|
|
2943
|
+
this.ua3_1.h4q().w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.va3_1);
|
|
2944
|
+
var tmp_3 = this.xa3_1.dispatch;
|
|
2945
2945
|
var tmp2_safe_receiver = state.x6q_1;
|
|
2946
|
-
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
2946
|
+
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.r8y_1));
|
|
2947
2947
|
}
|
|
2948
2948
|
return Unit_instance;
|
|
2949
2949
|
} else if (tmp === 1) {
|
|
@@ -2955,16 +2955,16 @@
|
|
|
2955
2955
|
}
|
|
2956
2956
|
while (true);
|
|
2957
2957
|
};
|
|
2958
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2959
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
2960
|
-
i.
|
|
2961
|
-
i.
|
|
2958
|
+
protoOf(GameServer$shutdown$slambda).j9x = function ($this$dispatchAsync, store, completion) {
|
|
2959
|
+
var i = new GameServer$shutdown$slambda(this.ta3_1, this.ua3_1, this.va3_1, completion);
|
|
2960
|
+
i.wa3_1 = $this$dispatchAsync;
|
|
2961
|
+
i.xa3_1 = store;
|
|
2962
2962
|
return i;
|
|
2963
2963
|
};
|
|
2964
2964
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
2965
2965
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
2966
2966
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2967
|
-
return i.
|
|
2967
|
+
return i.i9x($this$dispatchAsync, store, $completion);
|
|
2968
2968
|
};
|
|
2969
2969
|
l.$arity = 2;
|
|
2970
2970
|
return l;
|
|
@@ -2995,7 +2995,7 @@
|
|
|
2995
2995
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
2996
2996
|
var tmp_3 = Instance(di, tmp$ret$2, null);
|
|
2997
2997
|
var tmp_4 = KProperty1;
|
|
2998
|
-
tmp_1.
|
|
2998
|
+
tmp_1.b9u_1 = tmp_3.w64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_4, GameServer$_get_toClientEventsObserver_$ref_utir8s(), null));
|
|
2999
2999
|
var tmp_5 = this;
|
|
3000
3000
|
// Inline function 'org.kodein.di.instance' call
|
|
3001
3001
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3003,7 +3003,7 @@
|
|
|
3003
3003
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
3004
3004
|
var tmp_7 = Instance(di, tmp$ret$4, null);
|
|
3005
3005
|
var tmp_8 = KProperty1;
|
|
3006
|
-
tmp_5.
|
|
3006
|
+
tmp_5.c9u_1 = tmp_7.w64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_8, GameServer$_get_fromClientEventsObserver_$ref_nf1g79(), null));
|
|
3007
3007
|
var tmp_9 = this;
|
|
3008
3008
|
// Inline function 'org.kodein.di.instance' call
|
|
3009
3009
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3011,7 +3011,7 @@
|
|
|
3011
3011
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
3012
3012
|
var tmp_11 = Instance(di, tmp$ret$6, null);
|
|
3013
3013
|
var tmp_12 = KProperty1;
|
|
3014
|
-
tmp_9.
|
|
3014
|
+
tmp_9.d9u_1 = tmp_11.w64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_12, GameServer$_get_playerConnectionInteractor_$ref_of8tan(), null));
|
|
3015
3015
|
var tmp_13 = this;
|
|
3016
3016
|
// Inline function 'org.kodein.di.instance' call
|
|
3017
3017
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3019,9 +3019,9 @@
|
|
|
3019
3019
|
var tmp$ret$8 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
3020
3020
|
var tmp_15 = Instance(di, tmp$ret$8, null);
|
|
3021
3021
|
var tmp_16 = KProperty1;
|
|
3022
|
-
tmp_13.
|
|
3022
|
+
tmp_13.e9u_1 = tmp_15.w64(this, getPropertyCallableRef('teamsLogicProvider', 1, tmp_16, GameServer$_get_teamsLogicProvider_$ref_b7y54g(), null));
|
|
3023
3023
|
var tmp_17 = this;
|
|
3024
|
-
tmp_17.
|
|
3024
|
+
tmp_17.f9u_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
3025
3025
|
var tmp_18 = this;
|
|
3026
3026
|
// Inline function 'org.kodein.di.instance' call
|
|
3027
3027
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3029,7 +3029,7 @@
|
|
|
3029
3029
|
var tmp$ret$10 = isInterface(tmp_19, TypeToken) ? tmp_19 : THROW_CCE();
|
|
3030
3030
|
var tmp_20 = Instance(di, tmp$ret$10, null);
|
|
3031
3031
|
var tmp_21 = KProperty1;
|
|
3032
|
-
tmp_18.
|
|
3032
|
+
tmp_18.g9u_1 = tmp_20.w64(this, getPropertyCallableRef('idsProvider', 1, tmp_21, GameServer$_get_idsProvider_$ref_89s908(), null));
|
|
3033
3033
|
var tmp_22 = this;
|
|
3034
3034
|
// Inline function 'org.kodein.di.instance' call
|
|
3035
3035
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3037,7 +3037,7 @@
|
|
|
3037
3037
|
var tmp$ret$12 = isInterface(tmp_23, TypeToken) ? tmp_23 : THROW_CCE();
|
|
3038
3038
|
var tmp_24 = Instance(di, tmp$ret$12, null);
|
|
3039
3039
|
var tmp_25 = KProperty1;
|
|
3040
|
-
tmp_22.
|
|
3040
|
+
tmp_22.h9u_1 = tmp_24.w64(this, getPropertyCallableRef('serverReduxConfig', 1, tmp_25, GameServer$_get_serverReduxConfig_$ref_7h6jq6(), null));
|
|
3041
3041
|
var tmp_26 = this;
|
|
3042
3042
|
// Inline function 'org.kodein.di.instance' call
|
|
3043
3043
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3045,16 +3045,16 @@
|
|
|
3045
3045
|
var tmp$ret$14 = isInterface(tmp_27, TypeToken) ? tmp_27 : THROW_CCE();
|
|
3046
3046
|
var tmp_28 = Instance(di, tmp$ret$14, null);
|
|
3047
3047
|
var tmp_29 = KProperty1;
|
|
3048
|
-
tmp_26.
|
|
3048
|
+
tmp_26.i9u_1 = tmp_28.w64(this, getPropertyCallableRef('encoderDecoderProvider', 1, tmp_29, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8(), null));
|
|
3049
3049
|
var tmp_30 = this;
|
|
3050
|
-
var tmp0_externalMiddlewares = plus(storeContract.
|
|
3051
|
-
var tmp1_externalReducers = plus(storeContract.
|
|
3052
|
-
tmp_30.
|
|
3050
|
+
var tmp0_externalMiddlewares = plus(storeContract.h93(), externalMiddlewares);
|
|
3051
|
+
var tmp1_externalReducers = plus(storeContract.g93(), externalReducers);
|
|
3052
|
+
tmp_30.j9u_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
3053
3053
|
}
|
|
3054
3054
|
protoOf(GameServer).m6q = function () {
|
|
3055
|
-
return this.
|
|
3055
|
+
return this.j9u_1;
|
|
3056
3056
|
};
|
|
3057
|
-
protoOf(GameServer).
|
|
3057
|
+
protoOf(GameServer).j8j = function () {
|
|
3058
3058
|
return get_serverStatePayload_0(this.t66()).metadata;
|
|
3059
3059
|
};
|
|
3060
3060
|
protoOf(GameServer).canReconnectPlayer = function (player) {
|
|
@@ -3062,7 +3062,7 @@
|
|
|
3062
3062
|
if (player_0 == null) {
|
|
3063
3063
|
return false;
|
|
3064
3064
|
}
|
|
3065
|
-
return player_0.
|
|
3065
|
+
return player_0.f6v_1.y68().n67_1.canReconnect;
|
|
3066
3066
|
};
|
|
3067
3067
|
protoOf(GameServer).y53 = function () {
|
|
3068
3068
|
return this.t66().x6r().id;
|
|
@@ -3094,55 +3094,55 @@
|
|
|
3094
3094
|
};
|
|
3095
3095
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
3096
3096
|
this.h4q().d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
3097
|
-
this.
|
|
3097
|
+
this.j9u_1.v6r(GameServer$fromClientEvent$slambda_0(action, null));
|
|
3098
3098
|
};
|
|
3099
3099
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
3100
3100
|
this.h4q().d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
3101
|
-
this.
|
|
3101
|
+
this.j9u_1.v6r(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
3102
3102
|
};
|
|
3103
3103
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
3104
3104
|
this.h4q().d('GameEngine_API', 'playerLive: ' + playerId);
|
|
3105
|
-
this.
|
|
3105
|
+
this.j9u_1.v6r(GameServer$playerLive$slambda_0(this, playerId, null));
|
|
3106
3106
|
};
|
|
3107
|
-
protoOf(GameServer).
|
|
3107
|
+
protoOf(GameServer).ya3 = function (playerId, permanently) {
|
|
3108
3108
|
this.h4q().d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
3109
|
-
this.
|
|
3109
|
+
this.j9u_1.v6r(GameServer$playerLeft$slambda_0(this, playerId, permanently, null));
|
|
3110
3110
|
};
|
|
3111
|
-
protoOf(GameServer).
|
|
3111
|
+
protoOf(GameServer).za3 = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
3112
3112
|
this.h4q().d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
3113
|
-
this.
|
|
3113
|
+
this.j9u_1.v6r(GameServer$roomOnCreate$slambda_0(usersArray, config, this, roomId, transition, gameCreatorId, spectators, null));
|
|
3114
3114
|
};
|
|
3115
3115
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
3116
3116
|
this.h4q().d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
3117
|
-
var isCreated = this.
|
|
3118
|
-
this.
|
|
3117
|
+
var isCreated = this.j9u_1.w6r(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
3118
|
+
this.j9u_1.v6r(GameServer$roomOnContinueFromState$slambda_2(isCreated, state, null));
|
|
3119
3119
|
};
|
|
3120
3120
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
3121
3121
|
this.h4q().d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
3122
|
-
this.
|
|
3123
|
-
this.
|
|
3122
|
+
this.j9u_1.v6r(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
3123
|
+
this.j9u_1.v6r(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
3124
3124
|
};
|
|
3125
3125
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
3126
|
-
this.
|
|
3126
|
+
this.j9u_1.v6r(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
3127
3127
|
};
|
|
3128
3128
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
3129
|
-
this.
|
|
3129
|
+
this.j9u_1.v6r(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
3130
3130
|
};
|
|
3131
3131
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
3132
3132
|
this.h4q().d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
3133
|
-
this.
|
|
3133
|
+
this.j9u_1.v6r(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
3134
3134
|
};
|
|
3135
|
-
protoOf(GameServer).
|
|
3135
|
+
protoOf(GameServer).aa4 = function (newRid) {
|
|
3136
3136
|
this.h4q().d('GameEngine_API', 'roomOnDelete: newRid = ' + newRid);
|
|
3137
|
-
this.
|
|
3137
|
+
this.j9u_1.v6r(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
3138
3138
|
};
|
|
3139
3139
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
3140
3140
|
this.h4q().d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
3141
|
-
this.
|
|
3141
|
+
this.j9u_1.v6r(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
3142
3142
|
};
|
|
3143
|
-
protoOf(GameServer).
|
|
3143
|
+
protoOf(GameServer).ba4 = function (reason, roomId) {
|
|
3144
3144
|
this.h4q().d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
3145
|
-
this.
|
|
3145
|
+
this.j9u_1.v6r(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
3146
3146
|
};
|
|
3147
3147
|
protoOf(GameServer).clear = function () {
|
|
3148
3148
|
return this.i2();
|
|
@@ -3196,13 +3196,13 @@
|
|
|
3196
3196
|
this.shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy;
|
|
3197
3197
|
this.shouldFinishGameWithBots = shouldFinishGameWithBots;
|
|
3198
3198
|
}
|
|
3199
|
-
protoOf(ServerConfig).
|
|
3199
|
+
protoOf(ServerConfig).ca4 = function () {
|
|
3200
3200
|
return this.fromRound;
|
|
3201
3201
|
};
|
|
3202
|
-
protoOf(ServerConfig).
|
|
3202
|
+
protoOf(ServerConfig).da4 = function () {
|
|
3203
3203
|
return this.shouldFinishGameWhenDeploy;
|
|
3204
3204
|
};
|
|
3205
|
-
protoOf(ServerConfig).
|
|
3205
|
+
protoOf(ServerConfig).ea4 = function () {
|
|
3206
3206
|
return this.shouldFinishGameWithBots;
|
|
3207
3207
|
};
|
|
3208
3208
|
protoOf(ServerConfig).oe = function () {
|
|
@@ -3214,14 +3214,14 @@
|
|
|
3214
3214
|
protoOf(ServerConfig).xl = function () {
|
|
3215
3215
|
return this.shouldFinishGameWithBots;
|
|
3216
3216
|
};
|
|
3217
|
-
protoOf(ServerConfig).
|
|
3217
|
+
protoOf(ServerConfig).fa4 = function (fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) {
|
|
3218
3218
|
return new ServerConfig(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots);
|
|
3219
3219
|
};
|
|
3220
3220
|
protoOf(ServerConfig).copy = function (fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots, $super) {
|
|
3221
3221
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
3222
3222
|
shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy === VOID ? this.shouldFinishGameWhenDeploy : shouldFinishGameWhenDeploy;
|
|
3223
3223
|
shouldFinishGameWithBots = shouldFinishGameWithBots === VOID ? this.shouldFinishGameWithBots : shouldFinishGameWithBots;
|
|
3224
|
-
return $super === VOID ? this.
|
|
3224
|
+
return $super === VOID ? this.fa4(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) : $super.fa4.call(this, fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots);
|
|
3225
3225
|
};
|
|
3226
3226
|
protoOf(ServerConfig).toString = function () {
|
|
3227
3227
|
return 'ServerConfig(fromRound=' + this.fromRound + ', shouldFinishGameWhenDeploy=' + this.shouldFinishGameWhenDeploy + ', shouldFinishGameWithBots=' + this.shouldFinishGameWithBots + ')';
|
|
@@ -3286,20 +3286,20 @@
|
|
|
3286
3286
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 2);
|
|
3287
3287
|
tmp0_serialDesc.gz('roomId', false);
|
|
3288
3288
|
tmp0_serialDesc.gz('table', false);
|
|
3289
|
-
this.
|
|
3289
|
+
this.ga4_1 = tmp0_serialDesc;
|
|
3290
3290
|
}
|
|
3291
|
-
protoOf($serializer).
|
|
3292
|
-
var tmp0_desc = this.
|
|
3291
|
+
protoOf($serializer).ha4 = function (encoder, value) {
|
|
3292
|
+
var tmp0_desc = this.ga4_1;
|
|
3293
3293
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3294
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3294
|
+
tmp1_output.dt(tmp0_desc, 0, value.ia4_1);
|
|
3295
3295
|
tmp1_output.dt(tmp0_desc, 1, value.table);
|
|
3296
3296
|
tmp1_output.pr(tmp0_desc);
|
|
3297
3297
|
};
|
|
3298
3298
|
protoOf($serializer).co = function (encoder, value) {
|
|
3299
|
-
return this.
|
|
3299
|
+
return this.ha4(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3300
3300
|
};
|
|
3301
3301
|
protoOf($serializer).do = function (decoder) {
|
|
3302
|
-
var tmp0_desc = this.
|
|
3302
|
+
var tmp0_desc = this.ga4_1;
|
|
3303
3303
|
var tmp1_flag = true;
|
|
3304
3304
|
var tmp2_index = 0;
|
|
3305
3305
|
var tmp3_bitMask0 = 0;
|
|
@@ -3334,7 +3334,7 @@
|
|
|
3334
3334
|
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3335
3335
|
};
|
|
3336
3336
|
protoOf($serializer).bo = function () {
|
|
3337
|
-
return this.
|
|
3337
|
+
return this.ga4_1;
|
|
3338
3338
|
};
|
|
3339
3339
|
protoOf($serializer).vz = function () {
|
|
3340
3340
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3350,9 +3350,9 @@
|
|
|
3350
3350
|
}
|
|
3351
3351
|
function TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, $this) {
|
|
3352
3352
|
if (!(3 === (3 & seen0))) {
|
|
3353
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance().
|
|
3353
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance().ga4_1);
|
|
3354
3354
|
}
|
|
3355
|
-
$this.
|
|
3355
|
+
$this.ia4_1 = roomId;
|
|
3356
3356
|
$this.table = table;
|
|
3357
3357
|
return $this;
|
|
3358
3358
|
}
|
|
@@ -3360,17 +3360,17 @@
|
|
|
3360
3360
|
return TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, objectCreate(protoOf(TableStateUpdateDto)));
|
|
3361
3361
|
}
|
|
3362
3362
|
function TableStateUpdateDto(roomId, table) {
|
|
3363
|
-
this.
|
|
3363
|
+
this.ia4_1 = roomId;
|
|
3364
3364
|
this.table = table;
|
|
3365
3365
|
}
|
|
3366
|
-
protoOf(TableStateUpdateDto).
|
|
3367
|
-
return this.
|
|
3366
|
+
protoOf(TableStateUpdateDto).c8g = function () {
|
|
3367
|
+
return this.ia4_1;
|
|
3368
3368
|
};
|
|
3369
3369
|
protoOf(TableStateUpdateDto).x6r = function () {
|
|
3370
3370
|
return this.table;
|
|
3371
3371
|
};
|
|
3372
3372
|
protoOf(TableStateUpdateDto).oe = function () {
|
|
3373
|
-
return this.
|
|
3373
|
+
return this.ia4_1;
|
|
3374
3374
|
};
|
|
3375
3375
|
protoOf(TableStateUpdateDto).pe = function () {
|
|
3376
3376
|
return this.table;
|
|
@@ -3379,15 +3379,15 @@
|
|
|
3379
3379
|
return new TableStateUpdateDto(roomId, table);
|
|
3380
3380
|
};
|
|
3381
3381
|
protoOf(TableStateUpdateDto).copy = function (roomId, table, $super) {
|
|
3382
|
-
roomId = roomId === VOID ? this.
|
|
3382
|
+
roomId = roomId === VOID ? this.ia4_1 : roomId;
|
|
3383
3383
|
table = table === VOID ? this.table : table;
|
|
3384
3384
|
return $super === VOID ? this.e54(roomId, table) : $super.e54.call(this, roomId, table);
|
|
3385
3385
|
};
|
|
3386
3386
|
protoOf(TableStateUpdateDto).toString = function () {
|
|
3387
|
-
return 'TableStateUpdateDto(roomId=' + this.
|
|
3387
|
+
return 'TableStateUpdateDto(roomId=' + this.ia4_1 + ', table=' + this.table + ')';
|
|
3388
3388
|
};
|
|
3389
3389
|
protoOf(TableStateUpdateDto).hashCode = function () {
|
|
3390
|
-
var result = getStringHashCode(this.
|
|
3390
|
+
var result = getStringHashCode(this.ia4_1);
|
|
3391
3391
|
result = imul(result, 31) + getStringHashCode(this.table) | 0;
|
|
3392
3392
|
return result;
|
|
3393
3393
|
};
|
|
@@ -3396,7 +3396,7 @@
|
|
|
3396
3396
|
return true;
|
|
3397
3397
|
if (!(other instanceof TableStateUpdateDto))
|
|
3398
3398
|
return false;
|
|
3399
|
-
if (!(this.
|
|
3399
|
+
if (!(this.ia4_1 === other.ia4_1))
|
|
3400
3400
|
return false;
|
|
3401
3401
|
if (!(this.table === other.table))
|
|
3402
3402
|
return false;
|
|
@@ -3416,20 +3416,20 @@
|
|
|
3416
3416
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 2);
|
|
3417
3417
|
tmp0_serialDesc.gz('roomId', false);
|
|
3418
3418
|
tmp0_serialDesc.gz('actions', false);
|
|
3419
|
-
this.
|
|
3419
|
+
this.ja4_1 = tmp0_serialDesc;
|
|
3420
3420
|
}
|
|
3421
|
-
protoOf($serializer_0).
|
|
3422
|
-
var tmp0_desc = this.
|
|
3421
|
+
protoOf($serializer_0).ka4 = function (encoder, value) {
|
|
3422
|
+
var tmp0_desc = this.ja4_1;
|
|
3423
3423
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3424
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3424
|
+
tmp1_output.dt(tmp0_desc, 0, value.la4_1);
|
|
3425
3425
|
tmp1_output.dt(tmp0_desc, 1, value.actions);
|
|
3426
3426
|
tmp1_output.pr(tmp0_desc);
|
|
3427
3427
|
};
|
|
3428
3428
|
protoOf($serializer_0).co = function (encoder, value) {
|
|
3429
|
-
return this.
|
|
3429
|
+
return this.ka4(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
|
|
3430
3430
|
};
|
|
3431
3431
|
protoOf($serializer_0).do = function (decoder) {
|
|
3432
|
-
var tmp0_desc = this.
|
|
3432
|
+
var tmp0_desc = this.ja4_1;
|
|
3433
3433
|
var tmp1_flag = true;
|
|
3434
3434
|
var tmp2_index = 0;
|
|
3435
3435
|
var tmp3_bitMask0 = 0;
|
|
@@ -3464,7 +3464,7 @@
|
|
|
3464
3464
|
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3465
3465
|
};
|
|
3466
3466
|
protoOf($serializer_0).bo = function () {
|
|
3467
|
-
return this.
|
|
3467
|
+
return this.ja4_1;
|
|
3468
3468
|
};
|
|
3469
3469
|
protoOf($serializer_0).vz = function () {
|
|
3470
3470
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3480,9 +3480,9 @@
|
|
|
3480
3480
|
}
|
|
3481
3481
|
function ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, $this) {
|
|
3482
3482
|
if (!(3 === (3 & seen0))) {
|
|
3483
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().
|
|
3483
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().ja4_1);
|
|
3484
3484
|
}
|
|
3485
|
-
$this.
|
|
3485
|
+
$this.la4_1 = roomId;
|
|
3486
3486
|
$this.actions = actions;
|
|
3487
3487
|
return $this;
|
|
3488
3488
|
}
|
|
@@ -3490,17 +3490,17 @@
|
|
|
3490
3490
|
return ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, objectCreate(protoOf(ActionsStateUpdateDto)));
|
|
3491
3491
|
}
|
|
3492
3492
|
function ActionsStateUpdateDto(roomId, actions) {
|
|
3493
|
-
this.
|
|
3493
|
+
this.la4_1 = roomId;
|
|
3494
3494
|
this.actions = actions;
|
|
3495
3495
|
}
|
|
3496
|
-
protoOf(ActionsStateUpdateDto).
|
|
3497
|
-
return this.
|
|
3496
|
+
protoOf(ActionsStateUpdateDto).c8g = function () {
|
|
3497
|
+
return this.la4_1;
|
|
3498
3498
|
};
|
|
3499
|
-
protoOf(ActionsStateUpdateDto).
|
|
3499
|
+
protoOf(ActionsStateUpdateDto).q8g = function () {
|
|
3500
3500
|
return this.actions;
|
|
3501
3501
|
};
|
|
3502
3502
|
protoOf(ActionsStateUpdateDto).oe = function () {
|
|
3503
|
-
return this.
|
|
3503
|
+
return this.la4_1;
|
|
3504
3504
|
};
|
|
3505
3505
|
protoOf(ActionsStateUpdateDto).pe = function () {
|
|
3506
3506
|
return this.actions;
|
|
@@ -3509,15 +3509,15 @@
|
|
|
3509
3509
|
return new ActionsStateUpdateDto(roomId, actions);
|
|
3510
3510
|
};
|
|
3511
3511
|
protoOf(ActionsStateUpdateDto).copy = function (roomId, actions, $super) {
|
|
3512
|
-
roomId = roomId === VOID ? this.
|
|
3512
|
+
roomId = roomId === VOID ? this.la4_1 : roomId;
|
|
3513
3513
|
actions = actions === VOID ? this.actions : actions;
|
|
3514
3514
|
return $super === VOID ? this.e54(roomId, actions) : $super.e54.call(this, roomId, actions);
|
|
3515
3515
|
};
|
|
3516
3516
|
protoOf(ActionsStateUpdateDto).toString = function () {
|
|
3517
|
-
return 'ActionsStateUpdateDto(roomId=' + this.
|
|
3517
|
+
return 'ActionsStateUpdateDto(roomId=' + this.la4_1 + ', actions=' + this.actions + ')';
|
|
3518
3518
|
};
|
|
3519
3519
|
protoOf(ActionsStateUpdateDto).hashCode = function () {
|
|
3520
|
-
var result = getStringHashCode(this.
|
|
3520
|
+
var result = getStringHashCode(this.la4_1);
|
|
3521
3521
|
result = imul(result, 31) + getStringHashCode(this.actions) | 0;
|
|
3522
3522
|
return result;
|
|
3523
3523
|
};
|
|
@@ -3526,7 +3526,7 @@
|
|
|
3526
3526
|
return true;
|
|
3527
3527
|
if (!(other instanceof ActionsStateUpdateDto))
|
|
3528
3528
|
return false;
|
|
3529
|
-
if (!(this.
|
|
3529
|
+
if (!(this.la4_1 === other.la4_1))
|
|
3530
3530
|
return false;
|
|
3531
3531
|
if (!(this.actions === other.actions))
|
|
3532
3532
|
return false;
|
|
@@ -3556,42 +3556,42 @@
|
|
|
3556
3556
|
var tmp$ret$0 = mapToDto(item);
|
|
3557
3557
|
destination.j(tmp$ret$0);
|
|
3558
3558
|
}
|
|
3559
|
-
return new ActionsStateUpdateDto(_this__u8e3s4.
|
|
3559
|
+
return new ActionsStateUpdateDto(_this__u8e3s4.ma4_1, encoderDecoderProvider.j8n(destination));
|
|
3560
3560
|
}
|
|
3561
3561
|
function mapToDto_3(_this__u8e3s4, encoderDecoderProvider) {
|
|
3562
|
-
return new TableStateUpdateDto(_this__u8e3s4.
|
|
3562
|
+
return new TableStateUpdateDto(_this__u8e3s4.na4_1, encoderDecoderProvider.h8n(mapToDto_0(_this__u8e3s4.table)));
|
|
3563
3563
|
}
|
|
3564
3564
|
function ServerStateUpdate() {
|
|
3565
3565
|
}
|
|
3566
3566
|
function TableStateUpdate(roomId, table) {
|
|
3567
|
-
this.
|
|
3567
|
+
this.na4_1 = roomId;
|
|
3568
3568
|
this.table = table;
|
|
3569
3569
|
}
|
|
3570
|
-
protoOf(TableStateUpdate).
|
|
3571
|
-
return this.
|
|
3570
|
+
protoOf(TableStateUpdate).c8g = function () {
|
|
3571
|
+
return this.na4_1;
|
|
3572
3572
|
};
|
|
3573
3573
|
protoOf(TableStateUpdate).x6r = function () {
|
|
3574
3574
|
return this.table;
|
|
3575
3575
|
};
|
|
3576
3576
|
protoOf(TableStateUpdate).oe = function () {
|
|
3577
|
-
return this.
|
|
3577
|
+
return this.na4_1;
|
|
3578
3578
|
};
|
|
3579
3579
|
protoOf(TableStateUpdate).pe = function () {
|
|
3580
3580
|
return this.table;
|
|
3581
3581
|
};
|
|
3582
|
-
protoOf(TableStateUpdate).
|
|
3582
|
+
protoOf(TableStateUpdate).oa4 = function (roomId, table) {
|
|
3583
3583
|
return new TableStateUpdate(roomId, table);
|
|
3584
3584
|
};
|
|
3585
3585
|
protoOf(TableStateUpdate).copy = function (roomId, table, $super) {
|
|
3586
|
-
roomId = roomId === VOID ? this.
|
|
3586
|
+
roomId = roomId === VOID ? this.na4_1 : roomId;
|
|
3587
3587
|
table = table === VOID ? this.table : table;
|
|
3588
|
-
return $super === VOID ? this.
|
|
3588
|
+
return $super === VOID ? this.oa4(roomId, table) : $super.oa4.call(this, roomId, table);
|
|
3589
3589
|
};
|
|
3590
3590
|
protoOf(TableStateUpdate).toString = function () {
|
|
3591
|
-
return 'TableStateUpdate(roomId=' + this.
|
|
3591
|
+
return 'TableStateUpdate(roomId=' + this.na4_1 + ', table=' + this.table.toString() + ')';
|
|
3592
3592
|
};
|
|
3593
3593
|
protoOf(TableStateUpdate).hashCode = function () {
|
|
3594
|
-
var result = getStringHashCode(this.
|
|
3594
|
+
var result = getStringHashCode(this.na4_1);
|
|
3595
3595
|
result = imul(result, 31) + this.table.hashCode() | 0;
|
|
3596
3596
|
return result;
|
|
3597
3597
|
};
|
|
@@ -3600,41 +3600,41 @@
|
|
|
3600
3600
|
return true;
|
|
3601
3601
|
if (!(other instanceof TableStateUpdate))
|
|
3602
3602
|
return false;
|
|
3603
|
-
if (!(this.
|
|
3603
|
+
if (!(this.na4_1 === other.na4_1))
|
|
3604
3604
|
return false;
|
|
3605
3605
|
if (!this.table.equals(other.table))
|
|
3606
3606
|
return false;
|
|
3607
3607
|
return true;
|
|
3608
3608
|
};
|
|
3609
3609
|
function ActionsStateUpdate(roomId, actions) {
|
|
3610
|
-
this.
|
|
3610
|
+
this.ma4_1 = roomId;
|
|
3611
3611
|
this.actions = actions;
|
|
3612
3612
|
}
|
|
3613
|
-
protoOf(ActionsStateUpdate).
|
|
3614
|
-
return this.
|
|
3613
|
+
protoOf(ActionsStateUpdate).c8g = function () {
|
|
3614
|
+
return this.ma4_1;
|
|
3615
3615
|
};
|
|
3616
|
-
protoOf(ActionsStateUpdate).
|
|
3616
|
+
protoOf(ActionsStateUpdate).q8g = function () {
|
|
3617
3617
|
return this.actions;
|
|
3618
3618
|
};
|
|
3619
3619
|
protoOf(ActionsStateUpdate).oe = function () {
|
|
3620
|
-
return this.
|
|
3620
|
+
return this.ma4_1;
|
|
3621
3621
|
};
|
|
3622
3622
|
protoOf(ActionsStateUpdate).pe = function () {
|
|
3623
3623
|
return this.actions;
|
|
3624
3624
|
};
|
|
3625
|
-
protoOf(ActionsStateUpdate).
|
|
3625
|
+
protoOf(ActionsStateUpdate).pa4 = function (roomId, actions) {
|
|
3626
3626
|
return new ActionsStateUpdate(roomId, actions);
|
|
3627
3627
|
};
|
|
3628
3628
|
protoOf(ActionsStateUpdate).copy = function (roomId, actions, $super) {
|
|
3629
|
-
roomId = roomId === VOID ? this.
|
|
3629
|
+
roomId = roomId === VOID ? this.ma4_1 : roomId;
|
|
3630
3630
|
actions = actions === VOID ? this.actions : actions;
|
|
3631
|
-
return $super === VOID ? this.
|
|
3631
|
+
return $super === VOID ? this.pa4(roomId, actions) : $super.pa4.call(this, roomId, actions);
|
|
3632
3632
|
};
|
|
3633
3633
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
3634
|
-
return 'ActionsStateUpdate(roomId=' + this.
|
|
3634
|
+
return 'ActionsStateUpdate(roomId=' + this.ma4_1 + ', actions=' + toString(this.actions) + ')';
|
|
3635
3635
|
};
|
|
3636
3636
|
protoOf(ActionsStateUpdate).hashCode = function () {
|
|
3637
|
-
var result = getStringHashCode(this.
|
|
3637
|
+
var result = getStringHashCode(this.ma4_1);
|
|
3638
3638
|
result = imul(result, 31) + hashCode(this.actions) | 0;
|
|
3639
3639
|
return result;
|
|
3640
3640
|
};
|
|
@@ -3643,7 +3643,7 @@
|
|
|
3643
3643
|
return true;
|
|
3644
3644
|
if (!(other instanceof ActionsStateUpdate))
|
|
3645
3645
|
return false;
|
|
3646
|
-
if (!(this.
|
|
3646
|
+
if (!(this.ma4_1 === other.ma4_1))
|
|
3647
3647
|
return false;
|
|
3648
3648
|
if (!equals(this.actions, other.actions))
|
|
3649
3649
|
return false;
|
|
@@ -3877,18 +3877,18 @@
|
|
|
3877
3877
|
function ToClientEventsObserver() {
|
|
3878
3878
|
}
|
|
3879
3879
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
3880
|
-
this.
|
|
3881
|
-
this.
|
|
3880
|
+
this.za4_1 = this$0;
|
|
3881
|
+
this.aa5_1 = $actions;
|
|
3882
3882
|
CoroutineImpl.call(this, resultContinuation);
|
|
3883
3883
|
}
|
|
3884
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3885
|
-
var tmp = this.
|
|
3884
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).da5 = function ($this$flow, $completion) {
|
|
3885
|
+
var tmp = this.ea5($this$flow, $completion);
|
|
3886
3886
|
tmp.u8_1 = Unit_instance;
|
|
3887
3887
|
tmp.v8_1 = null;
|
|
3888
3888
|
return tmp.a9();
|
|
3889
3889
|
};
|
|
3890
3890
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).i9 = function (p1, $completion) {
|
|
3891
|
-
return this.
|
|
3891
|
+
return this.da5((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
3892
3892
|
};
|
|
3893
3893
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).a9 = function () {
|
|
3894
3894
|
var suspendResult = this.u8_1;
|
|
@@ -3898,19 +3898,19 @@
|
|
|
3898
3898
|
switch (tmp) {
|
|
3899
3899
|
case 0:
|
|
3900
3900
|
this.t8_1 = 4;
|
|
3901
|
-
this.
|
|
3902
|
-
this.
|
|
3901
|
+
this.za4_1.ja5_1;
|
|
3902
|
+
this.ca5_1 = transformToEmits(this.za4_1, this.aa5_1).l();
|
|
3903
3903
|
this.s8_1 = 1;
|
|
3904
3904
|
continue $sm;
|
|
3905
3905
|
case 1:
|
|
3906
|
-
if (!this.
|
|
3906
|
+
if (!this.ca5_1.m()) {
|
|
3907
3907
|
this.s8_1 = 3;
|
|
3908
3908
|
continue $sm;
|
|
3909
3909
|
}
|
|
3910
3910
|
|
|
3911
|
-
var element = this.
|
|
3911
|
+
var element = this.ca5_1.n();
|
|
3912
3912
|
this.s8_1 = 2;
|
|
3913
|
-
suspendResult = this.
|
|
3913
|
+
suspendResult = this.ba5_1.n28(element, this);
|
|
3914
3914
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3915
3915
|
return suspendResult;
|
|
3916
3916
|
}
|
|
@@ -3920,11 +3920,11 @@
|
|
|
3920
3920
|
this.s8_1 = 1;
|
|
3921
3921
|
continue $sm;
|
|
3922
3922
|
case 3:
|
|
3923
|
-
var tmp0 = this.
|
|
3923
|
+
var tmp0 = this.za4_1.ia5_1;
|
|
3924
3924
|
l$ret$1: do {
|
|
3925
3925
|
while (true) {
|
|
3926
3926
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
3927
|
-
var upd = cur - this.
|
|
3927
|
+
var upd = cur - this.aa5_1.o() | 0;
|
|
3928
3928
|
if (tmp0.atomicfu$compareAndSet(cur, upd)) {
|
|
3929
3929
|
break l$ret$1;
|
|
3930
3930
|
}
|
|
@@ -3946,15 +3946,15 @@
|
|
|
3946
3946
|
}
|
|
3947
3947
|
while (true);
|
|
3948
3948
|
};
|
|
3949
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3950
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
3951
|
-
i.
|
|
3949
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).ea5 = function ($this$flow, completion) {
|
|
3950
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.za4_1, this.aa5_1, completion);
|
|
3951
|
+
i.ba5_1 = $this$flow;
|
|
3952
3952
|
return i;
|
|
3953
3953
|
};
|
|
3954
3954
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
3955
3955
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
3956
3956
|
var l = function ($this$flow, $completion) {
|
|
3957
|
-
return i.
|
|
3957
|
+
return i.da5($this$flow, $completion);
|
|
3958
3958
|
};
|
|
3959
3959
|
l.$arity = 1;
|
|
3960
3960
|
return l;
|
|
@@ -4024,29 +4024,29 @@
|
|
|
4024
4024
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
4025
4025
|
}
|
|
4026
4026
|
function mapFromGroupKey($this, _this__u8e3s4) {
|
|
4027
|
-
var tmp = $this.
|
|
4027
|
+
var tmp = $this.ha5_1.d6e();
|
|
4028
4028
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4029
|
-
var this_0 = _this__u8e3s4.
|
|
4029
|
+
var this_0 = _this__u8e3s4.ma5_1;
|
|
4030
4030
|
var tmp_0 = copyToArray(this_0);
|
|
4031
4031
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4032
|
-
var this_1 = _this__u8e3s4.
|
|
4032
|
+
var this_1 = _this__u8e3s4.na5_1;
|
|
4033
4033
|
var tmp$ret$1 = copyToArray(this_1);
|
|
4034
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
4034
|
+
return new ActionDeliveryPayload(_this__u8e3s4.la5_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.oa5_1);
|
|
4035
4035
|
}
|
|
4036
4036
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
4037
|
-
this.
|
|
4038
|
-
this.
|
|
4039
|
-
this.
|
|
4040
|
-
this.
|
|
4037
|
+
this.la5_1 = tableId;
|
|
4038
|
+
this.ma5_1 = includePlayers;
|
|
4039
|
+
this.na5_1 = excludePlayers;
|
|
4040
|
+
this.oa5_1 = deliveryType;
|
|
4041
4041
|
}
|
|
4042
4042
|
protoOf(GroupKey).toString = function () {
|
|
4043
|
-
return 'GroupKey(tableId=' + this.
|
|
4043
|
+
return 'GroupKey(tableId=' + this.la5_1 + ', includePlayers=' + toString(this.ma5_1) + ', excludePlayers=' + toString(this.na5_1) + ', deliveryType=' + this.oa5_1.toString() + ')';
|
|
4044
4044
|
};
|
|
4045
4045
|
protoOf(GroupKey).hashCode = function () {
|
|
4046
|
-
var result = getStringHashCode(this.
|
|
4047
|
-
result = imul(result, 31) + hashCode(this.la5_1) | 0;
|
|
4046
|
+
var result = getStringHashCode(this.la5_1);
|
|
4048
4047
|
result = imul(result, 31) + hashCode(this.ma5_1) | 0;
|
|
4049
|
-
result = imul(result, 31) + this.na5_1
|
|
4048
|
+
result = imul(result, 31) + hashCode(this.na5_1) | 0;
|
|
4049
|
+
result = imul(result, 31) + this.oa5_1.hashCode() | 0;
|
|
4050
4050
|
return result;
|
|
4051
4051
|
};
|
|
4052
4052
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -4054,35 +4054,35 @@
|
|
|
4054
4054
|
return true;
|
|
4055
4055
|
if (!(other instanceof GroupKey))
|
|
4056
4056
|
return false;
|
|
4057
|
-
if (!(this.
|
|
4058
|
-
return false;
|
|
4059
|
-
if (!equals(this.la5_1, other.la5_1))
|
|
4057
|
+
if (!(this.la5_1 === other.la5_1))
|
|
4060
4058
|
return false;
|
|
4061
4059
|
if (!equals(this.ma5_1, other.ma5_1))
|
|
4062
4060
|
return false;
|
|
4063
|
-
if (!this.na5_1
|
|
4061
|
+
if (!equals(this.na5_1, other.na5_1))
|
|
4062
|
+
return false;
|
|
4063
|
+
if (!this.oa5_1.equals(other.oa5_1))
|
|
4064
4064
|
return false;
|
|
4065
4065
|
return true;
|
|
4066
4066
|
};
|
|
4067
4067
|
function Companion_4() {
|
|
4068
|
-
this.
|
|
4068
|
+
this.pa5_1 = 6;
|
|
4069
4069
|
}
|
|
4070
4070
|
var Companion_instance_12;
|
|
4071
4071
|
function Companion_getInstance_5() {
|
|
4072
4072
|
return Companion_instance_12;
|
|
4073
4073
|
}
|
|
4074
4074
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
4075
|
-
this.
|
|
4075
|
+
this.ya5_1 = this$0;
|
|
4076
4076
|
CoroutineImpl.call(this, resultContinuation);
|
|
4077
4077
|
}
|
|
4078
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4079
|
-
var tmp = this.
|
|
4078
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).aa6 = function (actions, $completion) {
|
|
4079
|
+
var tmp = this.ba6(actions, $completion);
|
|
4080
4080
|
tmp.u8_1 = Unit_instance;
|
|
4081
4081
|
tmp.v8_1 = null;
|
|
4082
4082
|
return tmp.a9();
|
|
4083
4083
|
};
|
|
4084
4084
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).i9 = function (p1, $completion) {
|
|
4085
|
-
return this.
|
|
4085
|
+
return this.aa6((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
4086
4086
|
};
|
|
4087
4087
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).a9 = function () {
|
|
4088
4088
|
var suspendResult = this.u8_1;
|
|
@@ -4091,7 +4091,7 @@
|
|
|
4091
4091
|
var tmp = this.s8_1;
|
|
4092
4092
|
if (tmp === 0) {
|
|
4093
4093
|
this.t8_1 = 1;
|
|
4094
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
4094
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.ya5_1, this.za5_1, null));
|
|
4095
4095
|
} else if (tmp === 1) {
|
|
4096
4096
|
throw this.v8_1;
|
|
4097
4097
|
}
|
|
@@ -4101,23 +4101,23 @@
|
|
|
4101
4101
|
}
|
|
4102
4102
|
while (true);
|
|
4103
4103
|
};
|
|
4104
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4105
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
4106
|
-
i.
|
|
4104
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).ba6 = function (actions, completion) {
|
|
4105
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.ya5_1, completion);
|
|
4106
|
+
i.za5_1 = actions;
|
|
4107
4107
|
return i;
|
|
4108
4108
|
};
|
|
4109
4109
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
4110
4110
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
4111
4111
|
var l = function (actions, $completion) {
|
|
4112
|
-
return i.
|
|
4112
|
+
return i.aa6(actions, $completion);
|
|
4113
4113
|
};
|
|
4114
4114
|
l.$arity = 1;
|
|
4115
4115
|
return l;
|
|
4116
4116
|
}
|
|
4117
4117
|
function $sentEventCOROUTINE$(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
4118
4118
|
CoroutineImpl.call(this, resultContinuation);
|
|
4119
|
-
this.
|
|
4120
|
-
this.
|
|
4119
|
+
this.ka6_1 = _this__u8e3s4;
|
|
4120
|
+
this.la6_1 = fromEvent;
|
|
4121
4121
|
}
|
|
4122
4122
|
protoOf($sentEventCOROUTINE$).a9 = function () {
|
|
4123
4123
|
var suspendResult = this.u8_1;
|
|
@@ -4127,8 +4127,8 @@
|
|
|
4127
4127
|
switch (tmp) {
|
|
4128
4128
|
case 0:
|
|
4129
4129
|
this.t8_1 = 2;
|
|
4130
|
-
this.
|
|
4131
|
-
var tmp0 = this.
|
|
4130
|
+
this.ka6_1.ja5_1;
|
|
4131
|
+
var tmp0 = this.ka6_1.ia5_1;
|
|
4132
4132
|
l$ret$1: do {
|
|
4133
4133
|
while (true) {
|
|
4134
4134
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
@@ -4140,7 +4140,7 @@
|
|
|
4140
4140
|
}
|
|
4141
4141
|
while (false);
|
|
4142
4142
|
this.s8_1 = 1;
|
|
4143
|
-
suspendResult = this.
|
|
4143
|
+
suspendResult = this.ka6_1.ka5_1.n28(this.la6_1, this);
|
|
4144
4144
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4145
4145
|
return suspendResult;
|
|
4146
4146
|
}
|
|
@@ -4164,7 +4164,7 @@
|
|
|
4164
4164
|
};
|
|
4165
4165
|
function $waitForCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
4166
4166
|
CoroutineImpl.call(this, resultContinuation);
|
|
4167
|
-
this.
|
|
4167
|
+
this.ua6_1 = _this__u8e3s4;
|
|
4168
4168
|
}
|
|
4169
4169
|
protoOf($waitForCOROUTINE$).a9 = function () {
|
|
4170
4170
|
var suspendResult = this.u8_1;
|
|
@@ -4174,12 +4174,12 @@
|
|
|
4174
4174
|
switch (tmp) {
|
|
4175
4175
|
case 0:
|
|
4176
4176
|
this.t8_1 = 5;
|
|
4177
|
-
this.
|
|
4178
|
-
this.
|
|
4177
|
+
this.ua6_1.ja5_1;
|
|
4178
|
+
this.va6_1 = 0;
|
|
4179
4179
|
this.s8_1 = 1;
|
|
4180
4180
|
continue $sm;
|
|
4181
4181
|
case 1:
|
|
4182
|
-
if (!!(this.
|
|
4182
|
+
if (!!(this.ua6_1.ia5_1.kotlinx$atomicfu$value === 0)) {
|
|
4183
4183
|
this.s8_1 = 4;
|
|
4184
4184
|
continue $sm;
|
|
4185
4185
|
}
|
|
@@ -4192,9 +4192,9 @@
|
|
|
4192
4192
|
|
|
4193
4193
|
continue $sm;
|
|
4194
4194
|
case 2:
|
|
4195
|
-
this.
|
|
4196
|
-
if (this.
|
|
4197
|
-
this.
|
|
4195
|
+
this.va6_1 = this.va6_1 + 1 | 0;
|
|
4196
|
+
if (this.va6_1 > 6) {
|
|
4197
|
+
this.ua6_1.ga5_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.ua6_1.ia5_1.kotlinx$atomicfu$value);
|
|
4198
4198
|
this.s8_1 = 4;
|
|
4199
4199
|
continue $sm;
|
|
4200
4200
|
} else {
|
|
@@ -4222,183 +4222,183 @@
|
|
|
4222
4222
|
while (true);
|
|
4223
4223
|
};
|
|
4224
4224
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
4225
|
-
this.
|
|
4226
|
-
this.
|
|
4227
|
-
this.
|
|
4228
|
-
this.
|
|
4225
|
+
this.fa5_1 = serverReduxConfig;
|
|
4226
|
+
this.ga5_1 = logger;
|
|
4227
|
+
this.ha5_1 = idsProvider;
|
|
4228
|
+
this.ia5_1 = atomic$ref$1(0);
|
|
4229
4229
|
var tmp = this;
|
|
4230
4230
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
4231
|
-
tmp.
|
|
4232
|
-
this.
|
|
4231
|
+
tmp.ja5_1 = get_atomicfu$reentrantLock();
|
|
4232
|
+
this.ka5_1 = MutableSharedFlow();
|
|
4233
4233
|
}
|
|
4234
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4234
|
+
protoOf(ToClientEventsObserverImpl).qa4 = function (fromEvent, $completion) {
|
|
4235
4235
|
var tmp = new $sentEventCOROUTINE$(this, fromEvent, $completion);
|
|
4236
4236
|
tmp.u8_1 = Unit_instance;
|
|
4237
4237
|
tmp.v8_1 = null;
|
|
4238
4238
|
return tmp.a9();
|
|
4239
4239
|
};
|
|
4240
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4240
|
+
protoOf(ToClientEventsObserverImpl).j9e = function ($completion) {
|
|
4241
4241
|
var tmp = new $waitForCOROUTINE$(this, $completion);
|
|
4242
4242
|
tmp.u8_1 = Unit_instance;
|
|
4243
4243
|
tmp.v8_1 = null;
|
|
4244
4244
|
return tmp.a9();
|
|
4245
4245
|
};
|
|
4246
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4247
|
-
if (!this.
|
|
4248
|
-
return this.
|
|
4246
|
+
protoOf(ToClientEventsObserverImpl).c9v = function () {
|
|
4247
|
+
if (!this.fa5_1.enabledCombinedEvents) {
|
|
4248
|
+
return this.ka5_1;
|
|
4249
4249
|
}
|
|
4250
|
-
var tmp = windowedByInterval(this.
|
|
4250
|
+
var tmp = windowedByInterval(this.ka5_1, fromInt(this.fa5_1.combinedEventsIntervalMillis));
|
|
4251
4251
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
4252
4252
|
};
|
|
4253
4253
|
function UpdateServerConfigAction(serverConfig) {
|
|
4254
|
-
this.
|
|
4254
|
+
this.wa6_1 = serverConfig;
|
|
4255
4255
|
}
|
|
4256
4256
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
4257
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
4257
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.wa6_1.toString() + ')';
|
|
4258
4258
|
};
|
|
4259
4259
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
4260
|
-
return this.
|
|
4260
|
+
return this.wa6_1.hashCode();
|
|
4261
4261
|
};
|
|
4262
4262
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
4263
4263
|
if (this === other)
|
|
4264
4264
|
return true;
|
|
4265
4265
|
if (!(other instanceof UpdateServerConfigAction))
|
|
4266
4266
|
return false;
|
|
4267
|
-
if (!this.
|
|
4267
|
+
if (!this.wa6_1.equals(other.wa6_1))
|
|
4268
4268
|
return false;
|
|
4269
4269
|
return true;
|
|
4270
4270
|
};
|
|
4271
4271
|
function SpectatorsAction() {
|
|
4272
4272
|
}
|
|
4273
4273
|
function AddSpectatorsAction(spectators) {
|
|
4274
|
-
this.
|
|
4274
|
+
this.xa6_1 = spectators;
|
|
4275
4275
|
}
|
|
4276
4276
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
4277
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
4277
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.xa6_1) + ')';
|
|
4278
4278
|
};
|
|
4279
4279
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
4280
|
-
return hashCode(this.
|
|
4280
|
+
return hashCode(this.xa6_1);
|
|
4281
4281
|
};
|
|
4282
4282
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
4283
4283
|
if (this === other)
|
|
4284
4284
|
return true;
|
|
4285
4285
|
if (!(other instanceof AddSpectatorsAction))
|
|
4286
4286
|
return false;
|
|
4287
|
-
if (!equals(this.
|
|
4287
|
+
if (!equals(this.xa6_1, other.xa6_1))
|
|
4288
4288
|
return false;
|
|
4289
4289
|
return true;
|
|
4290
4290
|
};
|
|
4291
4291
|
function RemoveSpectatorsAction(spectators) {
|
|
4292
|
-
this.
|
|
4292
|
+
this.ya6_1 = spectators;
|
|
4293
4293
|
}
|
|
4294
4294
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
4295
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
4295
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.ya6_1) + ')';
|
|
4296
4296
|
};
|
|
4297
4297
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
4298
|
-
return hashCode(this.
|
|
4298
|
+
return hashCode(this.ya6_1);
|
|
4299
4299
|
};
|
|
4300
4300
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
4301
4301
|
if (this === other)
|
|
4302
4302
|
return true;
|
|
4303
4303
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
4304
4304
|
return false;
|
|
4305
|
-
if (!equals(this.
|
|
4305
|
+
if (!equals(this.ya6_1, other.ya6_1))
|
|
4306
4306
|
return false;
|
|
4307
4307
|
return true;
|
|
4308
4308
|
};
|
|
4309
4309
|
function _get_asyncProvider__jbpyhw($this) {
|
|
4310
|
-
var tmp0 = $this.
|
|
4310
|
+
var tmp0 = $this.ea7_1;
|
|
4311
4311
|
var tmp = KProperty1;
|
|
4312
4312
|
// Inline function 'kotlin.getValue' call
|
|
4313
4313
|
getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
|
|
4314
4314
|
return tmp0.x();
|
|
4315
4315
|
}
|
|
4316
4316
|
function _get_logger__rkp4sl($this) {
|
|
4317
|
-
var tmp0 = $this.
|
|
4317
|
+
var tmp0 = $this.fa7_1;
|
|
4318
4318
|
var tmp = KProperty1;
|
|
4319
4319
|
// Inline function 'kotlin.getValue' call
|
|
4320
4320
|
getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
|
|
4321
4321
|
return tmp0.x();
|
|
4322
4322
|
}
|
|
4323
4323
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
4324
|
-
var tmp0 = $this.
|
|
4324
|
+
var tmp0 = $this.ga7_1;
|
|
4325
4325
|
var tmp = KProperty1;
|
|
4326
4326
|
// Inline function 'kotlin.getValue' call
|
|
4327
4327
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
|
|
4328
4328
|
return tmp0.x();
|
|
4329
4329
|
}
|
|
4330
4330
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
4331
|
-
var tmp0 = $this.
|
|
4331
|
+
var tmp0 = $this.ha7_1;
|
|
4332
4332
|
var tmp = KProperty1;
|
|
4333
4333
|
// Inline function 'kotlin.getValue' call
|
|
4334
4334
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
|
|
4335
4335
|
return tmp0.x();
|
|
4336
4336
|
}
|
|
4337
4337
|
function _get_serverConfig__rk2g06($this) {
|
|
4338
|
-
var tmp0 = $this.
|
|
4338
|
+
var tmp0 = $this.ia7_1;
|
|
4339
4339
|
var tmp = KProperty1;
|
|
4340
4340
|
// Inline function 'kotlin.getValue' call
|
|
4341
4341
|
getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
|
|
4342
4342
|
return tmp0.x();
|
|
4343
4343
|
}
|
|
4344
4344
|
function _get_logicConfig__52ww9d($this) {
|
|
4345
|
-
var tmp0 = $this.
|
|
4345
|
+
var tmp0 = $this.ja7_1;
|
|
4346
4346
|
var tmp = KProperty1;
|
|
4347
4347
|
// Inline function 'kotlin.getValue' call
|
|
4348
4348
|
getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
|
|
4349
4349
|
return tmp0.x();
|
|
4350
4350
|
}
|
|
4351
4351
|
function _get_idsProvider__fnfajc_0($this) {
|
|
4352
|
-
var tmp0 = $this.
|
|
4352
|
+
var tmp0 = $this.ka7_1;
|
|
4353
4353
|
var tmp = KProperty1;
|
|
4354
4354
|
// Inline function 'kotlin.getValue' call
|
|
4355
4355
|
getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
|
|
4356
4356
|
return tmp0.x();
|
|
4357
4357
|
}
|
|
4358
4358
|
function _get_botConfig__cpaxzc($this) {
|
|
4359
|
-
var tmp0 = $this.
|
|
4359
|
+
var tmp0 = $this.la7_1;
|
|
4360
4360
|
var tmp = KProperty1;
|
|
4361
4361
|
// Inline function 'kotlin.getValue' call
|
|
4362
4362
|
getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
|
|
4363
4363
|
return tmp0.x();
|
|
4364
4364
|
}
|
|
4365
4365
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
4366
|
-
var tmp0 = $this.
|
|
4366
|
+
var tmp0 = $this.ma7_1;
|
|
4367
4367
|
var tmp = KProperty1;
|
|
4368
4368
|
// Inline function 'kotlin.getValue' call
|
|
4369
4369
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
|
|
4370
4370
|
return tmp0.x();
|
|
4371
4371
|
}
|
|
4372
4372
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
4373
|
-
var tmp0 = $this.
|
|
4373
|
+
var tmp0 = $this.na7_1;
|
|
4374
4374
|
var tmp = KProperty1;
|
|
4375
4375
|
// Inline function 'kotlin.getValue' call
|
|
4376
4376
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
|
|
4377
4377
|
return tmp0.x();
|
|
4378
4378
|
}
|
|
4379
4379
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
4380
|
-
var tmp0 = $this.
|
|
4380
|
+
var tmp0 = $this.oa7_1;
|
|
4381
4381
|
var tmp = KProperty1;
|
|
4382
4382
|
// Inline function 'kotlin.getValue' call
|
|
4383
4383
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
|
|
4384
4384
|
return tmp0.x();
|
|
4385
4385
|
}
|
|
4386
4386
|
function _get_dealerConfig__183ci8($this) {
|
|
4387
|
-
var tmp0 = $this.
|
|
4387
|
+
var tmp0 = $this.pa7_1;
|
|
4388
4388
|
var tmp = KProperty1;
|
|
4389
4389
|
// Inline function 'kotlin.getValue' call
|
|
4390
4390
|
getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
|
|
4391
4391
|
return tmp0.x();
|
|
4392
4392
|
}
|
|
4393
4393
|
function _get_poolProvider__tqti6a($this) {
|
|
4394
|
-
var tmp0 = $this.
|
|
4394
|
+
var tmp0 = $this.qa7_1;
|
|
4395
4395
|
var tmp = KProperty1;
|
|
4396
4396
|
// Inline function 'kotlin.getValue' call
|
|
4397
4397
|
getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
|
|
4398
4398
|
return tmp0.x();
|
|
4399
4399
|
}
|
|
4400
4400
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
4401
|
-
var tmp0 = $this.
|
|
4401
|
+
var tmp0 = $this.ra7_1;
|
|
4402
4402
|
var tmp = KProperty1;
|
|
4403
4403
|
// Inline function 'kotlin.getValue' call
|
|
4404
4404
|
getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
|
|
@@ -4562,11 +4562,11 @@
|
|
|
4562
4562
|
tmp = fileLoggerStoreContract;
|
|
4563
4563
|
}
|
|
4564
4564
|
fileLoggerStoreContract = tmp;
|
|
4565
|
-
this.
|
|
4566
|
-
this.
|
|
4567
|
-
this.
|
|
4568
|
-
this.
|
|
4569
|
-
this.
|
|
4565
|
+
this.za6_1 = validationStoreContract;
|
|
4566
|
+
this.aa7_1 = timersStoreContract;
|
|
4567
|
+
this.ba7_1 = botGameStoreContract;
|
|
4568
|
+
this.ca7_1 = gameMechanicStoreContract;
|
|
4569
|
+
this.da7_1 = fileLoggerStoreContract;
|
|
4570
4570
|
var tmp_0 = this;
|
|
4571
4571
|
// Inline function 'org.kodein.di.instance' call
|
|
4572
4572
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4574,7 +4574,7 @@
|
|
|
4574
4574
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
4575
4575
|
var tmp_2 = Instance(di, tmp$ret$0, null);
|
|
4576
4576
|
var tmp_3 = KProperty1;
|
|
4577
|
-
tmp_0.
|
|
4577
|
+
tmp_0.ea7_1 = tmp_2.w64(this, getPropertyCallableRef('asyncProvider', 1, tmp_3, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
|
|
4578
4578
|
var tmp_4 = this;
|
|
4579
4579
|
// Inline function 'org.kodein.di.instance' call
|
|
4580
4580
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4582,7 +4582,7 @@
|
|
|
4582
4582
|
var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
4583
4583
|
var tmp_6 = Instance(di, tmp$ret$2, null);
|
|
4584
4584
|
var tmp_7 = KProperty1;
|
|
4585
|
-
tmp_4.
|
|
4585
|
+
tmp_4.fa7_1 = tmp_6.w64(this, getPropertyCallableRef('logger', 1, tmp_7, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
|
|
4586
4586
|
var tmp_8 = this;
|
|
4587
4587
|
// Inline function 'org.kodein.di.instance' call
|
|
4588
4588
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4590,7 +4590,7 @@
|
|
|
4590
4590
|
var tmp$ret$4 = isInterface(tmp_9, TypeToken) ? tmp_9 : THROW_CCE();
|
|
4591
4591
|
var tmp_10 = Instance(di, tmp$ret$4, null);
|
|
4592
4592
|
var tmp_11 = KProperty1;
|
|
4593
|
-
tmp_8.
|
|
4593
|
+
tmp_8.ga7_1 = tmp_10.w64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_11, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
|
|
4594
4594
|
var tmp_12 = this;
|
|
4595
4595
|
// Inline function 'org.kodein.di.instance' call
|
|
4596
4596
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4598,7 +4598,7 @@
|
|
|
4598
4598
|
var tmp$ret$6 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
4599
4599
|
var tmp_14 = Instance(di, tmp$ret$6, null);
|
|
4600
4600
|
var tmp_15 = KProperty1;
|
|
4601
|
-
tmp_12.
|
|
4601
|
+
tmp_12.ha7_1 = tmp_14.w64(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_15, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
|
|
4602
4602
|
var tmp_16 = this;
|
|
4603
4603
|
// Inline function 'org.kodein.di.instance' call
|
|
4604
4604
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4606,7 +4606,7 @@
|
|
|
4606
4606
|
var tmp$ret$8 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
4607
4607
|
var tmp_18 = Instance(di, tmp$ret$8, null);
|
|
4608
4608
|
var tmp_19 = KProperty1;
|
|
4609
|
-
tmp_16.
|
|
4609
|
+
tmp_16.ia7_1 = tmp_18.w64(this, getPropertyCallableRef('serverConfig', 1, tmp_19, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
|
|
4610
4610
|
var tmp_20 = this;
|
|
4611
4611
|
// Inline function 'org.kodein.di.instance' call
|
|
4612
4612
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4614,7 +4614,7 @@
|
|
|
4614
4614
|
var tmp$ret$10 = isInterface(tmp_21, TypeToken) ? tmp_21 : THROW_CCE();
|
|
4615
4615
|
var tmp_22 = Instance(di, tmp$ret$10, null);
|
|
4616
4616
|
var tmp_23 = KProperty1;
|
|
4617
|
-
tmp_20.
|
|
4617
|
+
tmp_20.ja7_1 = tmp_22.w64(this, getPropertyCallableRef('logicConfig', 1, tmp_23, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
|
|
4618
4618
|
var tmp_24 = this;
|
|
4619
4619
|
// Inline function 'org.kodein.di.instance' call
|
|
4620
4620
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4622,7 +4622,7 @@
|
|
|
4622
4622
|
var tmp$ret$12 = isInterface(tmp_25, TypeToken) ? tmp_25 : THROW_CCE();
|
|
4623
4623
|
var tmp_26 = Instance(di, tmp$ret$12, null);
|
|
4624
4624
|
var tmp_27 = KProperty1;
|
|
4625
|
-
tmp_24.
|
|
4625
|
+
tmp_24.ka7_1 = tmp_26.w64(this, getPropertyCallableRef('idsProvider', 1, tmp_27, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
|
|
4626
4626
|
var tmp_28 = this;
|
|
4627
4627
|
// Inline function 'org.kodein.di.instance' call
|
|
4628
4628
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4630,7 +4630,7 @@
|
|
|
4630
4630
|
var tmp$ret$14 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
|
|
4631
4631
|
var tmp_30 = Instance(di, tmp$ret$14, null);
|
|
4632
4632
|
var tmp_31 = KProperty1;
|
|
4633
|
-
tmp_28.
|
|
4633
|
+
tmp_28.la7_1 = tmp_30.w64(this, getPropertyCallableRef('botConfig', 1, tmp_31, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
|
|
4634
4634
|
var tmp_32 = this;
|
|
4635
4635
|
// Inline function 'org.kodein.di.instance' call
|
|
4636
4636
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4638,7 +4638,7 @@
|
|
|
4638
4638
|
var tmp$ret$16 = isInterface(tmp_33, TypeToken) ? tmp_33 : THROW_CCE();
|
|
4639
4639
|
var tmp_34 = Instance(di, tmp$ret$16, null);
|
|
4640
4640
|
var tmp_35 = KProperty1;
|
|
4641
|
-
tmp_32.
|
|
4641
|
+
tmp_32.ma7_1 = tmp_34.w64(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_35, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
|
|
4642
4642
|
var tmp_36 = this;
|
|
4643
4643
|
// Inline function 'org.kodein.di.instance' call
|
|
4644
4644
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4646,7 +4646,7 @@
|
|
|
4646
4646
|
var tmp$ret$18 = isInterface(tmp_37, TypeToken) ? tmp_37 : THROW_CCE();
|
|
4647
4647
|
var tmp_38 = Instance(di, tmp$ret$18, null);
|
|
4648
4648
|
var tmp_39 = KProperty1;
|
|
4649
|
-
tmp_36.
|
|
4649
|
+
tmp_36.na7_1 = tmp_38.w64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_39, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
|
|
4650
4650
|
var tmp_40 = this;
|
|
4651
4651
|
// Inline function 'org.kodein.di.instance' call
|
|
4652
4652
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4654,7 +4654,7 @@
|
|
|
4654
4654
|
var tmp$ret$20 = isInterface(tmp_41, TypeToken) ? tmp_41 : THROW_CCE();
|
|
4655
4655
|
var tmp_42 = Instance(di, tmp$ret$20, null);
|
|
4656
4656
|
var tmp_43 = KProperty1;
|
|
4657
|
-
tmp_40.
|
|
4657
|
+
tmp_40.oa7_1 = tmp_42.w64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_43, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
|
|
4658
4658
|
var tmp_44 = this;
|
|
4659
4659
|
// Inline function 'org.kodein.di.instance' call
|
|
4660
4660
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4662,7 +4662,7 @@
|
|
|
4662
4662
|
var tmp$ret$22 = isInterface(tmp_45, TypeToken) ? tmp_45 : THROW_CCE();
|
|
4663
4663
|
var tmp_46 = Instance(di, tmp$ret$22, null);
|
|
4664
4664
|
var tmp_47 = KProperty1;
|
|
4665
|
-
tmp_44.
|
|
4665
|
+
tmp_44.pa7_1 = tmp_46.w64(this, getPropertyCallableRef('dealerConfig', 1, tmp_47, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
|
|
4666
4666
|
var tmp_48 = this;
|
|
4667
4667
|
// Inline function 'org.kodein.di.instance' call
|
|
4668
4668
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4670,7 +4670,7 @@
|
|
|
4670
4670
|
var tmp$ret$24 = isInterface(tmp_49, TypeToken) ? tmp_49 : THROW_CCE();
|
|
4671
4671
|
var tmp_50 = Instance(di, tmp$ret$24, null);
|
|
4672
4672
|
var tmp_51 = KProperty1;
|
|
4673
|
-
tmp_48.
|
|
4673
|
+
tmp_48.qa7_1 = tmp_50.w64(this, getPropertyCallableRef('poolProvider', 1, tmp_51, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
|
|
4674
4674
|
var tmp_52 = this;
|
|
4675
4675
|
// Inline function 'org.kodein.di.instance' call
|
|
4676
4676
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4678,20 +4678,20 @@
|
|
|
4678
4678
|
var tmp$ret$26 = isInterface(tmp_53, TypeToken) ? tmp_53 : THROW_CCE();
|
|
4679
4679
|
var tmp_54 = Instance(di, tmp$ret$26, null);
|
|
4680
4680
|
var tmp_55 = KProperty1;
|
|
4681
|
-
tmp_52.
|
|
4681
|
+
tmp_52.ra7_1 = tmp_54.w64(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_55, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
|
|
4682
4682
|
}
|
|
4683
|
-
protoOf(ServerGameStoreContract).f93 = function () {
|
|
4684
|
-
return plus(plus(plus(plus(plus(this.ya6_1.f93(), this.ba7_1.f93()), this.za6_1.f93()), this.aa7_1.f93()), this.ca7_1.f93()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl(this))]));
|
|
4685
|
-
};
|
|
4686
4683
|
protoOf(ServerGameStoreContract).g93 = function () {
|
|
4687
|
-
|
|
4684
|
+
return plus(plus(plus(plus(plus(this.za6_1.g93(), this.ca7_1.g93()), this.aa7_1.g93()), this.ba7_1.g93()), this.da7_1.g93()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl(this))]));
|
|
4685
|
+
};
|
|
4686
|
+
protoOf(ServerGameStoreContract).h93 = function () {
|
|
4687
|
+
var tmp = this.za6_1.h93();
|
|
4688
4688
|
var tmp_0;
|
|
4689
4689
|
if (_get_serverConfig__rk2g06(this).finishGameWhenNotLiveStrategy.equals(FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance())) {
|
|
4690
4690
|
tmp_0 = checkBotsMiddleware(_get_logger__rkp4sl(this));
|
|
4691
4691
|
} else {
|
|
4692
4692
|
tmp_0 = null;
|
|
4693
4693
|
}
|
|
4694
|
-
var tmp_1 = plus(plus(plus(plus(plus(plus(plus(tmp, listOfNotNull(tmp_0)), this.
|
|
4694
|
+
var tmp_1 = plus(plus(plus(plus(plus(plus(plus(tmp, listOfNotNull(tmp_0)), this.ca7_1.h93()), this.aa7_1.h93()), this.ba7_1.h93()), this.da7_1.h93()), 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))).n95(), finishingGameWhenCantStartNewMiddleware()]));
|
|
4695
4695
|
var tmp_2 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this), _get_logger__rkp4sl(this));
|
|
4696
4696
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
4697
4697
|
var tmp1_logger = _get_logger__rkp4sl(this);
|
|
@@ -4742,7 +4742,7 @@
|
|
|
4742
4742
|
return this.q6h(store, next, action);
|
|
4743
4743
|
};
|
|
4744
4744
|
function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
|
|
4745
|
-
this.
|
|
4745
|
+
this.ua7_1 = this$0;
|
|
4746
4746
|
}
|
|
4747
4747
|
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).b6g = function (action) {
|
|
4748
4748
|
return action instanceof MechanicAction;
|
|
@@ -4753,11 +4753,11 @@
|
|
|
4753
4753
|
// Inline function 'kotlin.with' call
|
|
4754
4754
|
var tmp;
|
|
4755
4755
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
4756
|
-
var tmp0 = this.
|
|
4757
|
-
var tmp2 = action_0.
|
|
4758
|
-
var tmp4 = action_0.
|
|
4756
|
+
var tmp0 = this.ua7_1;
|
|
4757
|
+
var tmp2 = action_0.o8z_1;
|
|
4758
|
+
var tmp4 = action_0.q8z_1;
|
|
4759
4759
|
// Inline function 'kotlin.collections.map' call
|
|
4760
|
-
var this_0 = action_0.
|
|
4760
|
+
var this_0 = action_0.r8z_1;
|
|
4761
4761
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4762
4762
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
4763
4763
|
var _iterator__ex2g4s = this_0.l();
|
|
@@ -4793,7 +4793,7 @@
|
|
|
4793
4793
|
var _iterator__ex2g4s_2 = destination_1.l();
|
|
4794
4794
|
while (_iterator__ex2g4s_2.m()) {
|
|
4795
4795
|
var element_0 = _iterator__ex2g4s_2.n();
|
|
4796
|
-
var tmp0_aid = tmp0.
|
|
4796
|
+
var tmp0_aid = tmp0.ta7_1.d6e();
|
|
4797
4797
|
// Inline function 'kotlin.collections.map' call
|
|
4798
4798
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4799
4799
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -4815,16 +4815,16 @@
|
|
|
4815
4815
|
tmp = destination_2;
|
|
4816
4816
|
} else {
|
|
4817
4817
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
4818
|
-
var tmp0_0 = this.
|
|
4818
|
+
var tmp0_0 = this.ua7_1;
|
|
4819
4819
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4820
4820
|
var table = state.x6r();
|
|
4821
|
-
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.
|
|
4821
|
+
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.ta7_1.d6e(), table.id, null);
|
|
4822
4822
|
var tmp$ret$21 = mapToClient_16(action_0, sendToPlayer_0);
|
|
4823
4823
|
tmp = listOfNotNull(tmp$ret$21);
|
|
4824
4824
|
} else {
|
|
4825
4825
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
4826
|
-
var tmp0_1 = this.
|
|
4827
|
-
var tmp2_0 = action_0.
|
|
4826
|
+
var tmp0_1 = this.ua7_1;
|
|
4827
|
+
var tmp2_0 = action_0.u8z_1.id;
|
|
4828
4828
|
var tmp4_0 = action_0.gameCreatorPlayerId;
|
|
4829
4829
|
// Inline function 'kotlin.collections.map' call
|
|
4830
4830
|
var this_1 = action_0.users;
|
|
@@ -4863,7 +4863,7 @@
|
|
|
4863
4863
|
var _iterator__ex2g4s_7 = destination_6.l();
|
|
4864
4864
|
while (_iterator__ex2g4s_7.m()) {
|
|
4865
4865
|
var element_2 = _iterator__ex2g4s_7.n();
|
|
4866
|
-
var tmp0_aid_0 = tmp0_1.
|
|
4866
|
+
var tmp0_aid_0 = tmp0_1.ta7_1.d6e();
|
|
4867
4867
|
// Inline function 'kotlin.collections.map' call
|
|
4868
4868
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4869
4869
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -4885,39 +4885,39 @@
|
|
|
4885
4885
|
tmp = destination_7;
|
|
4886
4886
|
} else {
|
|
4887
4887
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
4888
|
-
var tmp0_2 = this.
|
|
4888
|
+
var tmp0_2 = this.ua7_1;
|
|
4889
4889
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4890
4890
|
var table_0 = state.x6r();
|
|
4891
|
-
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.
|
|
4891
|
+
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.ta7_1.d6e(), table_0.id, null);
|
|
4892
4892
|
var tmp$ret$44 = mapToClient_14(action_0, sendToPlayer_2);
|
|
4893
4893
|
tmp = listOfNotNull(tmp$ret$44);
|
|
4894
4894
|
} else {
|
|
4895
4895
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
4896
|
-
var tmp0_3 = this.
|
|
4896
|
+
var tmp0_3 = this.ua7_1;
|
|
4897
4897
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4898
4898
|
var table_1 = state.x6r();
|
|
4899
|
-
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.
|
|
4899
|
+
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.ta7_1.d6e(), table_1.id, null);
|
|
4900
4900
|
var tmp$ret$46 = mapToClient_13(action_0, sendToPlayer_3);
|
|
4901
4901
|
tmp = listOfNotNull(tmp$ret$46);
|
|
4902
4902
|
} else {
|
|
4903
4903
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
4904
|
-
var tmp0_4 = this.
|
|
4904
|
+
var tmp0_4 = this.ua7_1;
|
|
4905
4905
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4906
4906
|
var table_2 = state.x6r();
|
|
4907
|
-
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.
|
|
4907
|
+
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.ta7_1.d6e(), table_2.id, null);
|
|
4908
4908
|
var tmp$ret$48 = mapToClient_12(action_0, sendToPlayer_4);
|
|
4909
4909
|
tmp = listOfNotNull(tmp$ret$48);
|
|
4910
4910
|
} else {
|
|
4911
4911
|
if (action_0 instanceof ErrorAction) {
|
|
4912
|
-
var tmp0_5 = this.
|
|
4912
|
+
var tmp0_5 = this.ua7_1;
|
|
4913
4913
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4914
4914
|
var table_3 = state.x6r();
|
|
4915
|
-
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.
|
|
4915
|
+
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.ta7_1.d6e(), table_3.id, null);
|
|
4916
4916
|
var tmp$ret$50 = mapToClient_11(action_0, sendToPlayer_5);
|
|
4917
4917
|
tmp = listOfNotNull(tmp$ret$50);
|
|
4918
4918
|
} else {
|
|
4919
4919
|
if (action_0 instanceof SceneMechanicAction) {
|
|
4920
|
-
var tmp0_6 = this.
|
|
4920
|
+
var tmp0_6 = this.ua7_1;
|
|
4921
4921
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4922
4922
|
var table_4 = state.x6r();
|
|
4923
4923
|
var tmp2_1 = table_4.id;
|
|
@@ -4950,7 +4950,7 @@
|
|
|
4950
4950
|
var _iterator__ex2g4s_11 = destination_10.l();
|
|
4951
4951
|
while (_iterator__ex2g4s_11.m()) {
|
|
4952
4952
|
var element_4 = _iterator__ex2g4s_11.n();
|
|
4953
|
-
var tmp0_aid_1 = tmp0_6.
|
|
4953
|
+
var tmp0_aid_1 = tmp0_6.ta7_1.d6e();
|
|
4954
4954
|
// Inline function 'kotlin.collections.map' call
|
|
4955
4955
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4956
4956
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -4972,7 +4972,7 @@
|
|
|
4972
4972
|
tmp = destination_11;
|
|
4973
4973
|
} else {
|
|
4974
4974
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
4975
|
-
var tmp0_7 = this.
|
|
4975
|
+
var tmp0_7 = this.ua7_1;
|
|
4976
4976
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4977
4977
|
var table_5 = state.x6r();
|
|
4978
4978
|
var tmp2_2 = table_5.id;
|
|
@@ -5005,7 +5005,7 @@
|
|
|
5005
5005
|
var _iterator__ex2g4s_15 = destination_14.l();
|
|
5006
5006
|
while (_iterator__ex2g4s_15.m()) {
|
|
5007
5007
|
var element_6 = _iterator__ex2g4s_15.n();
|
|
5008
|
-
var tmp0_aid_2 = tmp0_7.
|
|
5008
|
+
var tmp0_aid_2 = tmp0_7.ta7_1.d6e();
|
|
5009
5009
|
// Inline function 'kotlin.collections.map' call
|
|
5010
5010
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5011
5011
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -5027,7 +5027,7 @@
|
|
|
5027
5027
|
tmp = destination_15;
|
|
5028
5028
|
} else {
|
|
5029
5029
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
5030
|
-
var tmp0_8 = this.
|
|
5030
|
+
var tmp0_8 = this.ua7_1;
|
|
5031
5031
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
5032
5032
|
var table_6 = state.x6r();
|
|
5033
5033
|
var tmp2_3 = table_6.id;
|
|
@@ -5060,7 +5060,7 @@
|
|
|
5060
5060
|
var _iterator__ex2g4s_19 = destination_18.l();
|
|
5061
5061
|
while (_iterator__ex2g4s_19.m()) {
|
|
5062
5062
|
var element_8 = _iterator__ex2g4s_19.n();
|
|
5063
|
-
var tmp0_aid_3 = tmp0_8.
|
|
5063
|
+
var tmp0_aid_3 = tmp0_8.ta7_1.d6e();
|
|
5064
5064
|
// Inline function 'kotlin.collections.map' call
|
|
5065
5065
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5066
5066
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -5072,7 +5072,7 @@
|
|
|
5072
5072
|
}
|
|
5073
5073
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_3, tmp4_3, element_8, destination_20);
|
|
5074
5074
|
var tmp_0;
|
|
5075
|
-
if (this.
|
|
5075
|
+
if (this.ua7_1.sa7_1.supportBackwardActions && getPlayer(state.x6r().players, sendToPlayer_8.x7f_1).h6v_1.c6z_1) {
|
|
5076
5076
|
tmp_0 = null;
|
|
5077
5077
|
} else {
|
|
5078
5078
|
tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
|
|
@@ -5088,72 +5088,72 @@
|
|
|
5088
5088
|
tmp = destination_19;
|
|
5089
5089
|
} else {
|
|
5090
5090
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
5091
|
-
var tmp0_9 = this.
|
|
5091
|
+
var tmp0_9 = this.ua7_1;
|
|
5092
5092
|
var tmp2_4 = state.x6r();
|
|
5093
5093
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5094
|
-
var exceptPlayerId = this.
|
|
5095
|
-
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.
|
|
5094
|
+
var exceptPlayerId = this.ua7_1.sa7_1.supportBackwardActions ? action_0.p90_1 : null;
|
|
5095
|
+
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.ta7_1.d6e(), tmp2_4.id, exceptPlayerId);
|
|
5096
5096
|
var tmp$ret$109 = mapToClient_7(action_0, sendToPlayer_9);
|
|
5097
5097
|
tmp = listOfNotNull(tmp$ret$109);
|
|
5098
5098
|
} else {
|
|
5099
5099
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
5100
|
-
var tmp0_10 = this.
|
|
5100
|
+
var tmp0_10 = this.ua7_1;
|
|
5101
5101
|
var tmp2_5 = state.x6r();
|
|
5102
5102
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5103
|
-
var exceptPlayerId_0 = this.
|
|
5104
|
-
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.
|
|
5103
|
+
var exceptPlayerId_0 = this.ua7_1.sa7_1.supportBackwardActions ? action_0.r8v_1 : null;
|
|
5104
|
+
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.ta7_1.d6e(), tmp2_5.id, exceptPlayerId_0);
|
|
5105
5105
|
var tmp$ret$111 = mapToClient_6(action_0, sendToPlayer_10);
|
|
5106
5106
|
tmp = listOfNotNull(tmp$ret$111);
|
|
5107
5107
|
} else {
|
|
5108
5108
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
5109
|
-
var tmp0_11 = this.
|
|
5109
|
+
var tmp0_11 = this.ua7_1;
|
|
5110
5110
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5111
5111
|
var table_7 = state.x6r();
|
|
5112
|
-
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.
|
|
5112
|
+
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.ta7_1.d6e(), table_7.id, null);
|
|
5113
5113
|
var tmp$ret$113 = mapToClient_5(action_0, sendToPlayer_11);
|
|
5114
5114
|
tmp = listOfNotNull(tmp$ret$113);
|
|
5115
5115
|
} else {
|
|
5116
5116
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
5117
|
-
var tmp0_12 = this.
|
|
5117
|
+
var tmp0_12 = this.ua7_1;
|
|
5118
5118
|
var tmp2_6 = state.x6r();
|
|
5119
5119
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5120
|
-
var exceptPlayerId_1 = this.
|
|
5121
|
-
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.
|
|
5120
|
+
var exceptPlayerId_1 = this.ua7_1.sa7_1.supportBackwardActions ? action_0.v90_1 : null;
|
|
5121
|
+
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.ta7_1.d6e(), tmp2_6.id, exceptPlayerId_1);
|
|
5122
5122
|
var tmp$ret$115 = mapToClient_4(action_0, sendToPlayer_12);
|
|
5123
5123
|
tmp = listOfNotNull(tmp$ret$115);
|
|
5124
5124
|
} else {
|
|
5125
5125
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
5126
|
-
var tmp0_13 = this.
|
|
5126
|
+
var tmp0_13 = this.ua7_1;
|
|
5127
5127
|
var tmp2_7 = state.x6r();
|
|
5128
5128
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5129
|
-
var exceptPlayerId_2 = this.
|
|
5130
|
-
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.
|
|
5129
|
+
var exceptPlayerId_2 = this.ua7_1.sa7_1.supportBackwardActions ? action_0.w8v_1 : null;
|
|
5130
|
+
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.ta7_1.d6e(), tmp2_7.id, exceptPlayerId_2);
|
|
5131
5131
|
var tmp$ret$117 = mapToClient_3(action_0, sendToPlayer_13);
|
|
5132
5132
|
tmp = listOfNotNull(tmp$ret$117);
|
|
5133
5133
|
} else {
|
|
5134
5134
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
5135
|
-
var tmp0_14 = this.
|
|
5135
|
+
var tmp0_14 = this.ua7_1;
|
|
5136
5136
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5137
5137
|
var table_8 = state.x6r();
|
|
5138
|
-
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.
|
|
5138
|
+
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.ta7_1.d6e(), table_8.id, null);
|
|
5139
5139
|
var tmp$ret$119 = mapToClient_2(action_0, sendToPlayer_14);
|
|
5140
5140
|
tmp = listOfNotNull(tmp$ret$119);
|
|
5141
5141
|
} else {
|
|
5142
5142
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
5143
|
-
var tmp0_15 = this.
|
|
5143
|
+
var tmp0_15 = this.ua7_1;
|
|
5144
5144
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5145
5145
|
var table_9 = state.x6r();
|
|
5146
|
-
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.
|
|
5146
|
+
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.ta7_1.d6e(), table_9.id, null);
|
|
5147
5147
|
var tmp$ret$121 = mapToClient_1(action_0, sendToPlayer_15);
|
|
5148
5148
|
tmp = listOfNotNull(tmp$ret$121);
|
|
5149
5149
|
} else {
|
|
5150
5150
|
if (action_0 instanceof MessageMechanicAction) {
|
|
5151
|
-
var message = action_0.
|
|
5152
|
-
var tmp0_16 = this.
|
|
5151
|
+
var message = action_0.z90_1;
|
|
5152
|
+
var tmp0_16 = this.ua7_1;
|
|
5153
5153
|
var tmp2_8 = state.x6r();
|
|
5154
5154
|
var tmp_1;
|
|
5155
5155
|
var tmp_2;
|
|
5156
|
-
if (this.
|
|
5156
|
+
if (this.ua7_1.sa7_1.supportBackwardActions) {
|
|
5157
5157
|
tmp_2 = isInterface(message, UserMessage);
|
|
5158
5158
|
} else {
|
|
5159
5159
|
tmp_2 = false;
|
|
@@ -5165,16 +5165,16 @@
|
|
|
5165
5165
|
}
|
|
5166
5166
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5167
5167
|
var exceptPlayerId_3 = tmp_1;
|
|
5168
|
-
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.
|
|
5168
|
+
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.ta7_1.d6e(), tmp2_8.id, exceptPlayerId_3);
|
|
5169
5169
|
var tmp$ret$123 = mapToClient_0(action_0, sendToPlayer_16);
|
|
5170
5170
|
tmp = listOfNotNull(tmp$ret$123);
|
|
5171
5171
|
} else {
|
|
5172
5172
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
5173
|
-
var tmp0_17 = this.
|
|
5173
|
+
var tmp0_17 = this.ua7_1;
|
|
5174
5174
|
var tmp2_9 = state.x6r();
|
|
5175
5175
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5176
5176
|
var exceptPlayerId_4 = action_0.playerId;
|
|
5177
|
-
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.
|
|
5177
|
+
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.ta7_1.d6e(), tmp2_9.id, exceptPlayerId_4);
|
|
5178
5178
|
var tmp$ret$125 = mapToClient(action_0, sendToPlayer_17);
|
|
5179
5179
|
tmp = listOfNotNull(tmp$ret$125);
|
|
5180
5180
|
} else {
|
|
@@ -5211,10 +5211,10 @@
|
|
|
5211
5211
|
return this.q6h(store, next, action);
|
|
5212
5212
|
};
|
|
5213
5213
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
5214
|
-
this.
|
|
5215
|
-
this.
|
|
5214
|
+
this.sa7_1 = logicConfig;
|
|
5215
|
+
this.ta7_1 = idsProvider;
|
|
5216
5216
|
}
|
|
5217
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
5217
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).n95 = function () {
|
|
5218
5218
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
5219
5219
|
return new ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this);
|
|
5220
5220
|
};
|
|
@@ -5223,8 +5223,8 @@
|
|
|
5223
5223
|
return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
|
|
5224
5224
|
}
|
|
5225
5225
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
5226
|
-
this.
|
|
5227
|
-
this.
|
|
5226
|
+
this.da8_1 = $provider;
|
|
5227
|
+
this.ea8_1 = $action;
|
|
5228
5228
|
CoroutineImpl.call(this, resultContinuation);
|
|
5229
5229
|
}
|
|
5230
5230
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -5245,7 +5245,7 @@
|
|
|
5245
5245
|
case 0:
|
|
5246
5246
|
this.t8_1 = 2;
|
|
5247
5247
|
this.s8_1 = 1;
|
|
5248
|
-
suspendResult = this.
|
|
5248
|
+
suspendResult = this.da8_1.qa4(this.ea8_1, this);
|
|
5249
5249
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5250
5250
|
return suspendResult;
|
|
5251
5251
|
}
|
|
@@ -5268,8 +5268,8 @@
|
|
|
5268
5268
|
while (true);
|
|
5269
5269
|
};
|
|
5270
5270
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).c2d = function ($this$launchDefault, completion) {
|
|
5271
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
5272
|
-
i.
|
|
5271
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.da8_1, this.ea8_1, completion);
|
|
5272
|
+
i.fa8_1 = $this$launchDefault;
|
|
5273
5273
|
return i;
|
|
5274
5274
|
};
|
|
5275
5275
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -5281,15 +5281,15 @@
|
|
|
5281
5281
|
return l;
|
|
5282
5282
|
}
|
|
5283
5283
|
function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
|
|
5284
|
-
this.
|
|
5285
|
-
this.
|
|
5284
|
+
this.ga8_1 = $asyncProvider;
|
|
5285
|
+
this.ha8_1 = $provider;
|
|
5286
5286
|
}
|
|
5287
5287
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).b6g = function (action) {
|
|
5288
5288
|
return action instanceof ToClientAction;
|
|
5289
5289
|
};
|
|
5290
5290
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).q6h = function (store, next, action) {
|
|
5291
5291
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
5292
|
-
this.
|
|
5292
|
+
this.ga8_1.i6c(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.ha8_1, action_0, null));
|
|
5293
5293
|
next(action_0);
|
|
5294
5294
|
};
|
|
5295
5295
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).a6g = function (store, next, action) {
|
|
@@ -5304,19 +5304,19 @@
|
|
|
5304
5304
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).b6g = function (action) {
|
|
5305
5305
|
return action instanceof UpdateServerConfigAction;
|
|
5306
5306
|
};
|
|
5307
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
5307
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).a9g = function (state, action) {
|
|
5308
5308
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
5309
|
-
return state.
|
|
5309
|
+
return state.p8y(VOID, get_serverStatePayload_0(state).copy(action_0.wa6_1));
|
|
5310
5310
|
};
|
|
5311
5311
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).r6h = function (state, action) {
|
|
5312
|
-
return this.
|
|
5312
|
+
return this.a9g((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5313
5313
|
};
|
|
5314
5314
|
function addRoomMetadata($this, _this__u8e3s4, gameId) {
|
|
5315
5315
|
_this__u8e3s4.metadata.addGame(gameId, new GameMetadata(gameId));
|
|
5316
5316
|
return _this__u8e3s4.metadata;
|
|
5317
5317
|
}
|
|
5318
5318
|
function Companion_5() {
|
|
5319
|
-
this.
|
|
5319
|
+
this.ia8_1 = 'ServerMechanicLifecycleReducer';
|
|
5320
5320
|
}
|
|
5321
5321
|
var Companion_instance_13;
|
|
5322
5322
|
function Companion_getInstance_6() {
|
|
@@ -5333,7 +5333,7 @@
|
|
|
5333
5333
|
var tmp_2 = PlayerConnectionState_LIVE_getInstance();
|
|
5334
5334
|
Companion_getInstance();
|
|
5335
5335
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
5336
|
-
var this_0 = $action.
|
|
5336
|
+
var this_0 = $action.n8z_1.timeoutTimeMillis;
|
|
5337
5337
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
5338
5338
|
tmp_0 = tmp_1.k67(tmp_2, tmp$ret$0);
|
|
5339
5339
|
}
|
|
@@ -5342,65 +5342,65 @@
|
|
|
5342
5342
|
}
|
|
5343
5343
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
5344
5344
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
5345
|
-
this.
|
|
5345
|
+
this.la8_1 = logger;
|
|
5346
5346
|
}
|
|
5347
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5348
|
-
this.
|
|
5347
|
+
protoOf(ServerMechanicLifecycleReducer).m9h = function (state, action) {
|
|
5348
|
+
this.la8_1.d('ServerMechanicLifecycleReducer', 'onStart ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
5349
5349
|
var serverState = get_serverStatePayloadOrNull(state.payload);
|
|
5350
|
-
var tableId = action.
|
|
5350
|
+
var tableId = action.o8z_1;
|
|
5351
5351
|
var tmp6_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5352
|
-
var tmp0_$this = this.
|
|
5353
|
-
var tmp1_version = action.
|
|
5354
|
-
var tmp2_config = action.
|
|
5355
|
-
var tmp3_users = action.
|
|
5352
|
+
var tmp0_$this = this.n9h_1;
|
|
5353
|
+
var tmp1_version = action.p8z_1;
|
|
5354
|
+
var tmp2_config = action.n8z_1;
|
|
5355
|
+
var tmp3_users = action.r8z_1;
|
|
5356
5356
|
var tmp4_spectators = action.spectators;
|
|
5357
|
-
var tmp5_gameCreatorPlayerId = action.
|
|
5358
|
-
var tmp7_tableOrNull = tmp0_$this.
|
|
5357
|
+
var tmp5_gameCreatorPlayerId = action.q8z_1;
|
|
5358
|
+
var tmp7_tableOrNull = tmp0_$this.t9i(tableId, tableId, tmp2_config, tmp1_version, tmp3_users, tmp4_spectators, tmp5_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
|
|
5359
5359
|
var tmp;
|
|
5360
5360
|
if (serverState == null) {
|
|
5361
|
-
this.
|
|
5361
|
+
this.la8_1.w(VOID, 'ServerPayload is not onStart');
|
|
5362
5362
|
tmp = Companion_instance_14.initial(VOID, addRoomMetadata(this, get_serverStatePayload_0(state), tableId));
|
|
5363
5363
|
} else {
|
|
5364
5364
|
tmp = serverState.copy(VOID, addRoomMetadata(this, get_serverStatePayload_0(state), tableId));
|
|
5365
5365
|
}
|
|
5366
5366
|
var tmp8_payload = tmp;
|
|
5367
|
-
return state.
|
|
5367
|
+
return state.p8y(tmp7_tableOrNull, tmp8_payload, tmp6_gameLifecycleState);
|
|
5368
5368
|
};
|
|
5369
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5370
|
-
this.
|
|
5369
|
+
protoOf(ServerMechanicLifecycleReducer).k9h = function (state, action) {
|
|
5370
|
+
this.la8_1.d('ServerMechanicLifecycleReducer', 'onContinue ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
5371
5371
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5372
|
-
var tmp2_tableOrNull = action.
|
|
5372
|
+
var tmp2_tableOrNull = action.u8z_1;
|
|
5373
5373
|
var tmp = Companion_instance_14;
|
|
5374
5374
|
var tmp_0 = get_serverStatePayload_0(state).config;
|
|
5375
|
-
var tmp_1 = action.
|
|
5375
|
+
var tmp_1 = action.v8z_1;
|
|
5376
5376
|
var tmp0_safe_receiver = tmp_1 instanceof RestartRoundReason ? tmp_1 : null;
|
|
5377
|
-
var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.f65_1), addRoomMetadata(this, get_serverStatePayload_0(state), action.
|
|
5378
|
-
return state.
|
|
5377
|
+
var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.f65_1), addRoomMetadata(this, get_serverStatePayload_0(state), action.u8z_1.gameId));
|
|
5378
|
+
return state.p8y(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
|
|
5379
5379
|
};
|
|
5380
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5381
|
-
this.
|
|
5380
|
+
protoOf(ServerMechanicLifecycleReducer).l9h = function (state, action) {
|
|
5381
|
+
this.o9h_1.n58(action.previousGameId);
|
|
5382
5382
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5383
|
-
var tmp1_tableOrNull = this.
|
|
5383
|
+
var tmp1_tableOrNull = this.n9h_1.u9i(state.x6r(), action.gameId);
|
|
5384
5384
|
var tmp2_payload = get_serverStatePayload_0(state).copy(VOID, addRoomMetadata(this, get_serverStatePayload_0(state), action.gameId));
|
|
5385
|
-
return state.
|
|
5385
|
+
return state.p8y(tmp1_tableOrNull, tmp2_payload, tmp0_gameLifecycleState);
|
|
5386
5386
|
};
|
|
5387
5387
|
function spectatorsReducer(logger) {
|
|
5388
5388
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
5389
5389
|
return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
|
|
5390
5390
|
}
|
|
5391
5391
|
function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
|
|
5392
|
-
this.
|
|
5392
|
+
this.ma8_1 = $logger;
|
|
5393
5393
|
}
|
|
5394
5394
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).b6g = function (action) {
|
|
5395
5395
|
return isInterface(action, SpectatorsAction);
|
|
5396
5396
|
};
|
|
5397
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
5397
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).a9g = function (state, action) {
|
|
5398
5398
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
5399
5399
|
var table = state.x6r();
|
|
5400
5400
|
var tmp;
|
|
5401
5401
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
5402
5402
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5403
|
-
var tmp0 = action_0.
|
|
5403
|
+
var tmp0 = action_0.xa6_1;
|
|
5404
5404
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5405
5405
|
var destination = ArrayList_init_$Create$_0();
|
|
5406
5406
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5419,9 +5419,9 @@
|
|
|
5419
5419
|
var tmp_0;
|
|
5420
5420
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5421
5421
|
if (!sameSpectators.r()) {
|
|
5422
|
-
this.
|
|
5422
|
+
this.ma8_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
5423
5423
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5424
|
-
var tmp0_0 = action_0.
|
|
5424
|
+
var tmp0_0 = action_0.xa6_1;
|
|
5425
5425
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5426
5426
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
5427
5427
|
var _iterator__ex2g4s_0 = tmp0_0.l();
|
|
@@ -5456,7 +5456,7 @@
|
|
|
5456
5456
|
}
|
|
5457
5457
|
tmp_0 = destination_0;
|
|
5458
5458
|
} else {
|
|
5459
|
-
tmp_0 = action_0.
|
|
5459
|
+
tmp_0 = action_0.xa6_1;
|
|
5460
5460
|
}
|
|
5461
5461
|
// Inline function 'kotlin.collections.map' call
|
|
5462
5462
|
var this_0 = tmp_0;
|
|
@@ -5469,11 +5469,11 @@
|
|
|
5469
5469
|
destination_1.j(tmp$ret$13);
|
|
5470
5470
|
}
|
|
5471
5471
|
var spectatorsToAdd = toSet(destination_1);
|
|
5472
|
-
tmp = state.
|
|
5472
|
+
tmp = state.p8y(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
|
|
5473
5473
|
} else {
|
|
5474
5474
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
5475
5475
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5476
|
-
var tmp0_1 = action_0.
|
|
5476
|
+
var tmp0_1 = action_0.ya6_1;
|
|
5477
5477
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5478
5478
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
5479
5479
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5492,9 +5492,9 @@
|
|
|
5492
5492
|
var tmp_2;
|
|
5493
5493
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5494
5494
|
if (!sameSpectators_0.r()) {
|
|
5495
|
-
this.
|
|
5495
|
+
this.ma8_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
5496
5496
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5497
|
-
var tmp0_2 = action_0.
|
|
5497
|
+
var tmp0_2 = action_0.ya6_1;
|
|
5498
5498
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5499
5499
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
5500
5500
|
var _iterator__ex2g4s_4 = tmp0_2.l();
|
|
@@ -5529,7 +5529,7 @@
|
|
|
5529
5529
|
}
|
|
5530
5530
|
tmp_2 = destination_3;
|
|
5531
5531
|
} else {
|
|
5532
|
-
tmp_2 = action_0.
|
|
5532
|
+
tmp_2 = action_0.ya6_1;
|
|
5533
5533
|
}
|
|
5534
5534
|
var spectatorsToRemove = toSet(tmp_2);
|
|
5535
5535
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -5566,7 +5566,7 @@
|
|
|
5566
5566
|
destination_4.j(element_5);
|
|
5567
5567
|
}
|
|
5568
5568
|
}
|
|
5569
|
-
tmp = state.
|
|
5569
|
+
tmp = state.p8y(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
|
|
5570
5570
|
} else {
|
|
5571
5571
|
noWhenBranchMatchedException();
|
|
5572
5572
|
}
|
|
@@ -5574,17 +5574,17 @@
|
|
|
5574
5574
|
return tmp;
|
|
5575
5575
|
};
|
|
5576
5576
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).r6h = function (state, action) {
|
|
5577
|
-
return this.
|
|
5577
|
+
return this.a9g((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5578
5578
|
};
|
|
5579
5579
|
function Companion_6() {
|
|
5580
5580
|
}
|
|
5581
|
-
protoOf(Companion_6).
|
|
5581
|
+
protoOf(Companion_6).na8 = function (config, metadata) {
|
|
5582
5582
|
return new ServerStatePayload(config, metadata);
|
|
5583
5583
|
};
|
|
5584
5584
|
protoOf(Companion_6).initial = function (config, metadata, $super) {
|
|
5585
5585
|
config = config === VOID ? Companion_instance_8.initial(null) : config;
|
|
5586
5586
|
metadata = metadata === VOID ? new RoomMetadata() : metadata;
|
|
5587
|
-
return $super === VOID ? this.
|
|
5587
|
+
return $super === VOID ? this.na8(config, metadata) : $super.na8.call(this, config, metadata);
|
|
5588
5588
|
};
|
|
5589
5589
|
var Companion_instance_14;
|
|
5590
5590
|
function Companion_getInstance_7() {
|
|
@@ -5597,7 +5597,7 @@
|
|
|
5597
5597
|
protoOf(ServerStatePayload).z3s = function () {
|
|
5598
5598
|
return this.config;
|
|
5599
5599
|
};
|
|
5600
|
-
protoOf(ServerStatePayload).
|
|
5600
|
+
protoOf(ServerStatePayload).j8j = function () {
|
|
5601
5601
|
return this.metadata;
|
|
5602
5602
|
};
|
|
5603
5603
|
protoOf(ServerStatePayload).oe = function () {
|
|
@@ -5606,13 +5606,13 @@
|
|
|
5606
5606
|
protoOf(ServerStatePayload).pe = function () {
|
|
5607
5607
|
return this.metadata;
|
|
5608
5608
|
};
|
|
5609
|
-
protoOf(ServerStatePayload).
|
|
5609
|
+
protoOf(ServerStatePayload).oa8 = function (config, metadata) {
|
|
5610
5610
|
return new ServerStatePayload(config, metadata);
|
|
5611
5611
|
};
|
|
5612
5612
|
protoOf(ServerStatePayload).copy = function (config, metadata, $super) {
|
|
5613
5613
|
config = config === VOID ? this.config : config;
|
|
5614
5614
|
metadata = metadata === VOID ? this.metadata : metadata;
|
|
5615
|
-
return $super === VOID ? this.
|
|
5615
|
+
return $super === VOID ? this.oa8(config, metadata) : $super.oa8.call(this, config, metadata);
|
|
5616
5616
|
};
|
|
5617
5617
|
protoOf(ServerStatePayload).toString = function () {
|
|
5618
5618
|
return 'ServerStatePayload(config=' + this.config.toString() + ', metadata=' + toString(this.metadata) + ')';
|
|
@@ -5660,7 +5660,7 @@
|
|
|
5660
5660
|
return new ServerLoggerKey(_this__u8e3s4.gameId);
|
|
5661
5661
|
}
|
|
5662
5662
|
function serverLoggerKeyFromPayload(_this__u8e3s4, payload) {
|
|
5663
|
-
var gameId = Companion_instance_3.
|
|
5663
|
+
var gameId = Companion_instance_3.v9k(payload);
|
|
5664
5664
|
var tmp;
|
|
5665
5665
|
if (!(gameId == null)) {
|
|
5666
5666
|
tmp = new ServerLoggerKey(gameId);
|
|
@@ -5677,14 +5677,14 @@
|
|
|
5677
5677
|
return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
|
|
5678
5678
|
}
|
|
5679
5679
|
function _get_logger__rkp4sl_0($this) {
|
|
5680
|
-
var tmp0 = $this.
|
|
5680
|
+
var tmp0 = $this.ya8_1;
|
|
5681
5681
|
var tmp = KProperty1;
|
|
5682
5682
|
// Inline function 'kotlin.getValue' call
|
|
5683
5683
|
getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
|
|
5684
5684
|
return tmp0.x();
|
|
5685
5685
|
}
|
|
5686
5686
|
function _get_di__ndbzja($this) {
|
|
5687
|
-
var tmp0 = $this.
|
|
5687
|
+
var tmp0 = $this.za8_1;
|
|
5688
5688
|
var tmp = KProperty1;
|
|
5689
5689
|
// Inline function 'kotlin.getValue' call
|
|
5690
5690
|
getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
|
|
@@ -5701,8 +5701,8 @@
|
|
|
5701
5701
|
}
|
|
5702
5702
|
function createCallbackOutput($this, gameServer) {
|
|
5703
5703
|
var tmp;
|
|
5704
|
-
if (!($this.
|
|
5705
|
-
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.
|
|
5704
|
+
if (!($this.wa8_1 == null)) {
|
|
5705
|
+
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.wa8_1);
|
|
5706
5706
|
tmp = new CallbackWrapperLoggerOutput(tmp_0, GameServerEngineControllerImpl$createCallbackOutput$lambda(gameServer));
|
|
5707
5707
|
} else {
|
|
5708
5708
|
tmp = null;
|
|
@@ -5716,11 +5716,11 @@
|
|
|
5716
5716
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
5717
5717
|
return function () {
|
|
5718
5718
|
var tmp;
|
|
5719
|
-
if (this$0.
|
|
5719
|
+
if (this$0.wa8_1 == null) {
|
|
5720
5720
|
tmp = null;
|
|
5721
5721
|
} else {
|
|
5722
5722
|
// Inline function 'kotlin.let' call
|
|
5723
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
5723
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.wa8_1)]));
|
|
5724
5724
|
}
|
|
5725
5725
|
var tmp1_elvis_lhs = tmp;
|
|
5726
5726
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -5753,7 +5753,7 @@
|
|
|
5753
5753
|
tmp_0.z62(tmp$ret$3);
|
|
5754
5754
|
$this$DI.d5z(jsonModule());
|
|
5755
5755
|
$this$DI.d5z(serverHelpersModule());
|
|
5756
|
-
$this$DI.d5z(randomOrgModule(this$0.
|
|
5756
|
+
$this$DI.d5z(randomOrgModule(this$0.xa8_1));
|
|
5757
5757
|
return Unit_instance;
|
|
5758
5758
|
};
|
|
5759
5759
|
}
|
|
@@ -5829,16 +5829,16 @@
|
|
|
5829
5829
|
};
|
|
5830
5830
|
}
|
|
5831
5831
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
5832
|
-
this.
|
|
5832
|
+
this.ga9_1 = $reducer;
|
|
5833
5833
|
}
|
|
5834
5834
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).b6g = function (action) {
|
|
5835
5835
|
return isInterface(action, Action);
|
|
5836
5836
|
};
|
|
5837
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
5838
|
-
return this.
|
|
5837
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).a9g = function (state, action) {
|
|
5838
|
+
return this.ga9_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
5839
5839
|
};
|
|
5840
5840
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).r6h = function (state, action) {
|
|
5841
|
-
return this.
|
|
5841
|
+
return this.a9g((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5842
5842
|
};
|
|
5843
5843
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($gameServer) {
|
|
5844
5844
|
return function () {
|
|
@@ -5918,7 +5918,7 @@
|
|
|
5918
5918
|
}
|
|
5919
5919
|
function GameServerEngineControllerImpl$createCallbackOutput$lambda($gameServer) {
|
|
5920
5920
|
return function (it) {
|
|
5921
|
-
var payload = Companion_instance_5.
|
|
5921
|
+
var payload = Companion_instance_5.h9j(it);
|
|
5922
5922
|
var tmp;
|
|
5923
5923
|
if (!(payload == null)) {
|
|
5924
5924
|
return payload;
|
|
@@ -5939,7 +5939,7 @@
|
|
|
5939
5939
|
// Inline function 'kotlin.let' call
|
|
5940
5940
|
$this$DI.d5z(tmp0_safe_receiver);
|
|
5941
5941
|
}
|
|
5942
|
-
$this$DI.d5z(dealerModule(this$0.randomPoolProvider, this$0.
|
|
5942
|
+
$this$DI.d5z(dealerModule(this$0.randomPoolProvider, this$0.xa8_1));
|
|
5943
5943
|
$this$DI.d5z(coreModule($coreConfig));
|
|
5944
5944
|
$this$DI.d5z(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $ratingConfig, $externalReducers, $externalMiddlewares));
|
|
5945
5945
|
return Unit_instance;
|
|
@@ -5948,8 +5948,8 @@
|
|
|
5948
5948
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
5949
5949
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
5950
5950
|
production = production === VOID ? true : production;
|
|
5951
|
-
this.
|
|
5952
|
-
this.
|
|
5951
|
+
this.wa8_1 = loggerCallback;
|
|
5952
|
+
this.xa8_1 = randomOrgConfig;
|
|
5953
5953
|
var tmp = AppEnvironment_getInstance();
|
|
5954
5954
|
var tmp_0;
|
|
5955
5955
|
if (production) {
|
|
@@ -5959,9 +5959,9 @@
|
|
|
5959
5959
|
}
|
|
5960
5960
|
tmp.y6l(tmp_0);
|
|
5961
5961
|
var tmp_1 = this;
|
|
5962
|
-
tmp_1.
|
|
5962
|
+
tmp_1.ya8_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
5963
5963
|
var tmp_2 = this;
|
|
5964
|
-
tmp_2.
|
|
5964
|
+
tmp_2.za8_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
5965
5965
|
var tmp_3 = this;
|
|
5966
5966
|
// Inline function 'org.kodein.di.instance' call
|
|
5967
5967
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -5970,7 +5970,7 @@
|
|
|
5970
5970
|
var tmp$ret$0 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
5971
5971
|
var tmp_5 = Instance(this_0, tmp$ret$0, null);
|
|
5972
5972
|
var tmp_6 = KProperty1;
|
|
5973
|
-
tmp_3.
|
|
5973
|
+
tmp_3.aa9_1 = tmp_5.w64(this, getPropertyCallableRef('parser', 1, tmp_6, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
|
|
5974
5974
|
var tmp_7 = this;
|
|
5975
5975
|
// Inline function 'org.kodein.di.instance' call
|
|
5976
5976
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -5979,7 +5979,7 @@
|
|
|
5979
5979
|
var tmp$ret$2 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
5980
5980
|
var tmp_9 = Instance(this_1, tmp$ret$2, null);
|
|
5981
5981
|
var tmp_10 = KProperty1;
|
|
5982
|
-
tmp_7.
|
|
5982
|
+
tmp_7.ba9_1 = tmp_9.w64(this, getPropertyCallableRef('helper', 1, tmp_10, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
|
|
5983
5983
|
var tmp_11 = this;
|
|
5984
5984
|
// Inline function 'org.kodein.di.instance' call
|
|
5985
5985
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -5988,7 +5988,7 @@
|
|
|
5988
5988
|
var tmp$ret$4 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
5989
5989
|
var tmp_13 = Instance(this_2, tmp$ret$4, null);
|
|
5990
5990
|
var tmp_14 = KProperty1;
|
|
5991
|
-
tmp_11.
|
|
5991
|
+
tmp_11.ca9_1 = tmp_13.w64(this, getPropertyCallableRef('serverHelper', 1, tmp_14, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
|
|
5992
5992
|
var tmp_15 = this;
|
|
5993
5993
|
// Inline function 'org.kodein.di.instance' call
|
|
5994
5994
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -5997,7 +5997,7 @@
|
|
|
5997
5997
|
var tmp$ret$6 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
5998
5998
|
var tmp_17 = Instance(this_3, tmp$ret$6, null);
|
|
5999
5999
|
var tmp_18 = KProperty1;
|
|
6000
|
-
tmp_15.
|
|
6000
|
+
tmp_15.da9_1 = tmp_17.w64(this, getPropertyCallableRef('resources', 1, tmp_18, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
|
|
6001
6001
|
var tmp_19 = this;
|
|
6002
6002
|
// Inline function 'org.kodein.di.instance' call
|
|
6003
6003
|
var this_4 = _get_di__ndbzja(this);
|
|
@@ -6006,7 +6006,7 @@
|
|
|
6006
6006
|
var tmp$ret$8 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
6007
6007
|
var tmp_21 = Instance(this_4, tmp$ret$8, null);
|
|
6008
6008
|
var tmp_22 = KProperty1;
|
|
6009
|
-
tmp_19.
|
|
6009
|
+
tmp_19.ea9_1 = tmp_21.w64(this, getPropertyCallableRef('test', 1, tmp_22, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
|
|
6010
6010
|
var tmp_23 = this;
|
|
6011
6011
|
// Inline function 'org.kodein.di.instance' call
|
|
6012
6012
|
var this_5 = _get_di__ndbzja(this);
|
|
@@ -6015,45 +6015,45 @@
|
|
|
6015
6015
|
var tmp$ret$10 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
6016
6016
|
var tmp_25 = Instance(this_5, tmp$ret$10, null);
|
|
6017
6017
|
var tmp_26 = KProperty1;
|
|
6018
|
-
tmp_23.
|
|
6018
|
+
tmp_23.fa9_1 = tmp_25.w64(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_26, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
|
|
6019
6019
|
}
|
|
6020
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6021
|
-
var tmp0 = this.
|
|
6020
|
+
protoOf(GameServerEngineControllerImpl).pa8 = function () {
|
|
6021
|
+
var tmp0 = this.aa9_1;
|
|
6022
6022
|
var tmp = KProperty1;
|
|
6023
6023
|
// Inline function 'kotlin.getValue' call
|
|
6024
6024
|
getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
|
|
6025
6025
|
return tmp0.x();
|
|
6026
6026
|
};
|
|
6027
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6028
|
-
var tmp0 = this.
|
|
6027
|
+
protoOf(GameServerEngineControllerImpl).ra8 = function () {
|
|
6028
|
+
var tmp0 = this.ba9_1;
|
|
6029
6029
|
var tmp = KProperty1;
|
|
6030
6030
|
// Inline function 'kotlin.getValue' call
|
|
6031
6031
|
getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
|
|
6032
6032
|
return tmp0.x();
|
|
6033
6033
|
};
|
|
6034
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6035
|
-
var tmp0 = this.
|
|
6034
|
+
protoOf(GameServerEngineControllerImpl).sa8 = function () {
|
|
6035
|
+
var tmp0 = this.ca9_1;
|
|
6036
6036
|
var tmp = KProperty1;
|
|
6037
6037
|
// Inline function 'kotlin.getValue' call
|
|
6038
6038
|
getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
|
|
6039
6039
|
return tmp0.x();
|
|
6040
6040
|
};
|
|
6041
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6042
|
-
var tmp0 = this.
|
|
6041
|
+
protoOf(GameServerEngineControllerImpl).ta8 = function () {
|
|
6042
|
+
var tmp0 = this.da9_1;
|
|
6043
6043
|
var tmp = KProperty1;
|
|
6044
6044
|
// Inline function 'kotlin.getValue' call
|
|
6045
6045
|
getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
|
|
6046
6046
|
return tmp0.x();
|
|
6047
6047
|
};
|
|
6048
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6049
|
-
var tmp0 = this.
|
|
6048
|
+
protoOf(GameServerEngineControllerImpl).qa8 = function () {
|
|
6049
|
+
var tmp0 = this.ea9_1;
|
|
6050
6050
|
var tmp = KProperty1;
|
|
6051
6051
|
// Inline function 'kotlin.getValue' call
|
|
6052
6052
|
getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
|
|
6053
6053
|
return tmp0.x();
|
|
6054
6054
|
};
|
|
6055
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6056
|
-
var tmp0 = this.
|
|
6055
|
+
protoOf(GameServerEngineControllerImpl).ua8 = function () {
|
|
6056
|
+
var tmp0 = this.fa9_1;
|
|
6057
6057
|
var tmp = KProperty1;
|
|
6058
6058
|
// Inline function 'kotlin.getValue' call
|
|
6059
6059
|
getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
|
|
@@ -6065,7 +6065,7 @@
|
|
|
6065
6065
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
6066
6066
|
return this.createGameEngineWithLogic();
|
|
6067
6067
|
};
|
|
6068
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6068
|
+
protoOf(GameServerEngineControllerImpl).va8 = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, botConfig) {
|
|
6069
6069
|
var combinedLogger = Companion_instance_6.mx();
|
|
6070
6070
|
var gameServer = {_v: null};
|
|
6071
6071
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -6113,7 +6113,7 @@
|
|
|
6113
6113
|
function TestHelper() {
|
|
6114
6114
|
}
|
|
6115
6115
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
6116
|
-
var tmp0 = $this.
|
|
6116
|
+
var tmp0 = $this.ja9_1;
|
|
6117
6117
|
var tmp = KProperty1;
|
|
6118
6118
|
// Inline function 'kotlin.getValue' call
|
|
6119
6119
|
getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
|
|
@@ -6121,7 +6121,7 @@
|
|
|
6121
6121
|
}
|
|
6122
6122
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
6123
6123
|
return function ($this$singleton) {
|
|
6124
|
-
return this$0.
|
|
6124
|
+
return this$0.ha9_1;
|
|
6125
6125
|
};
|
|
6126
6126
|
}
|
|
6127
6127
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -6160,27 +6160,27 @@
|
|
|
6160
6160
|
return emptyMap();
|
|
6161
6161
|
}
|
|
6162
6162
|
function TestHelperImpl(logger) {
|
|
6163
|
-
this.
|
|
6163
|
+
this.ha9_1 = logger;
|
|
6164
6164
|
var tmp = this;
|
|
6165
6165
|
var tmp_0 = Companion_instance_4;
|
|
6166
|
-
tmp.
|
|
6166
|
+
tmp.ia9_1 = tmp_0.k5z(VOID, TestHelperImpl$di$lambda(this));
|
|
6167
6167
|
var tmp_1 = this;
|
|
6168
6168
|
// Inline function 'org.kodein.di.instance' call
|
|
6169
|
-
var this_0 = this.
|
|
6169
|
+
var this_0 = this.ia9_1;
|
|
6170
6170
|
// Inline function 'org.kodein.type.generic' call
|
|
6171
6171
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
6172
6172
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
6173
6173
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
6174
6174
|
var tmp_4 = KProperty1;
|
|
6175
|
-
tmp_1.
|
|
6175
|
+
tmp_1.ja9_1 = tmp_3.w64(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
6176
6176
|
}
|
|
6177
6177
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
6178
|
-
return _get_playerAnswerInteractor__msggz1(this).
|
|
6178
|
+
return _get_playerAnswerInteractor__msggz1(this).z8o(playerId, table, botConfig);
|
|
6179
6179
|
};
|
|
6180
6180
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
6181
6181
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
6182
6182
|
if (isInterface(mechanicAction, NextPlayerTurnAction)) {
|
|
6183
|
-
var tmp0 = mechanicAction.
|
|
6183
|
+
var tmp0 = mechanicAction.i92();
|
|
6184
6184
|
var tmp$ret$0;
|
|
6185
6185
|
$l$block_0: {
|
|
6186
6186
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -6212,7 +6212,7 @@
|
|
|
6212
6212
|
};
|
|
6213
6213
|
protoOf(TestHelperImpl).getPlayerAnswerFromMechanicAction = function (table, currentPlayerId, action, botConfig) {
|
|
6214
6214
|
if (isInterface(action, NextPlayerTurnAction)) {
|
|
6215
|
-
var tmp0 = action.
|
|
6215
|
+
var tmp0 = action.i92();
|
|
6216
6216
|
var tmp$ret$0;
|
|
6217
6217
|
$l$block_0: {
|
|
6218
6218
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -6245,14 +6245,14 @@
|
|
|
6245
6245
|
function RoomMetadata() {
|
|
6246
6246
|
var tmp = this;
|
|
6247
6247
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
6248
|
-
tmp.
|
|
6248
|
+
tmp.ka9_1 = LinkedHashMap_init_$Create$();
|
|
6249
6249
|
this.extras = {};
|
|
6250
|
-
this.extras = this.
|
|
6250
|
+
this.extras = this.ka9_1;
|
|
6251
6251
|
}
|
|
6252
|
-
protoOf(RoomMetadata).
|
|
6252
|
+
protoOf(RoomMetadata).la9 = function () {
|
|
6253
6253
|
return this.extras;
|
|
6254
6254
|
};
|
|
6255
|
-
protoOf(RoomMetadata).
|
|
6255
|
+
protoOf(RoomMetadata).la9 = function () {
|
|
6256
6256
|
return this.extras;
|
|
6257
6257
|
};
|
|
6258
6258
|
protoOf(RoomMetadata).getGame = function (gameId) {
|
|
@@ -6270,7 +6270,7 @@
|
|
|
6270
6270
|
};
|
|
6271
6271
|
protoOf(RoomMetadata).addGame = function (gameId, game) {
|
|
6272
6272
|
// Inline function 'kotlin.collections.set' call
|
|
6273
|
-
this.
|
|
6273
|
+
this.ka9_1.f2(gameId, game);
|
|
6274
6274
|
};
|
|
6275
6275
|
function GameMetadata(gameId) {
|
|
6276
6276
|
this.gameId = gameId;
|
|
@@ -6279,7 +6279,7 @@
|
|
|
6279
6279
|
protoOf(GameMetadata).c54 = function () {
|
|
6280
6280
|
return this.gameId;
|
|
6281
6281
|
};
|
|
6282
|
-
protoOf(GameMetadata).
|
|
6282
|
+
protoOf(GameMetadata).la9 = function () {
|
|
6283
6283
|
return this.extras;
|
|
6284
6284
|
};
|
|
6285
6285
|
function serverHelpersModule() {
|
|
@@ -6341,7 +6341,7 @@
|
|
|
6341
6341
|
protoOf(GameServer).roomOnDelete = roomOnDelete;
|
|
6342
6342
|
protoOf(GameServer).shutdown = shutdown;
|
|
6343
6343
|
defineProp(protoOf(GameServer), 'metadata', function () {
|
|
6344
|
-
return this.
|
|
6344
|
+
return this.j8j();
|
|
6345
6345
|
});
|
|
6346
6346
|
defineProp(protoOf(GameServer), 'id', function () {
|
|
6347
6347
|
return this.y53();
|
|
@@ -6357,17 +6357,17 @@
|
|
|
6357
6357
|
});
|
|
6358
6358
|
protoOf($serializer).wz = typeParametersSerializers;
|
|
6359
6359
|
defineProp(protoOf(TableStateUpdateDto), 'roomId', function () {
|
|
6360
|
-
return this.
|
|
6360
|
+
return this.c8g();
|
|
6361
6361
|
});
|
|
6362
6362
|
protoOf($serializer_0).wz = typeParametersSerializers;
|
|
6363
6363
|
defineProp(protoOf(ActionsStateUpdateDto), 'roomId', function () {
|
|
6364
|
-
return this.
|
|
6364
|
+
return this.c8g();
|
|
6365
6365
|
});
|
|
6366
6366
|
defineProp(protoOf(TableStateUpdate), 'roomId', function () {
|
|
6367
|
-
return this.
|
|
6367
|
+
return this.c8g();
|
|
6368
6368
|
});
|
|
6369
6369
|
defineProp(protoOf(ActionsStateUpdate), 'roomId', function () {
|
|
6370
|
-
return this.
|
|
6370
|
+
return this.c8g();
|
|
6371
6371
|
});
|
|
6372
6372
|
protoOf(UpdateServerConfigAction).r6f = get_actionTag;
|
|
6373
6373
|
defineProp(protoOf(UpdateServerConfigAction), 'actionTag', function () {
|
|
@@ -6383,22 +6383,22 @@
|
|
|
6383
6383
|
});
|
|
6384
6384
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
6385
6385
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
6386
|
-
return this.
|
|
6386
|
+
return this.pa8();
|
|
6387
6387
|
});
|
|
6388
6388
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
6389
|
-
return this.
|
|
6389
|
+
return this.ra8();
|
|
6390
6390
|
});
|
|
6391
6391
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
6392
|
-
return this.
|
|
6392
|
+
return this.sa8();
|
|
6393
6393
|
});
|
|
6394
6394
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
6395
|
-
return this.
|
|
6395
|
+
return this.ta8();
|
|
6396
6396
|
});
|
|
6397
6397
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
6398
|
-
return this.
|
|
6398
|
+
return this.qa8();
|
|
6399
6399
|
});
|
|
6400
6400
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
6401
|
-
return this.
|
|
6401
|
+
return this.ua8();
|
|
6402
6402
|
});
|
|
6403
6403
|
//endregion
|
|
6404
6404
|
//region block: init
|