raspberry_games_server_game_logic 1.8.399 → 1.8.401
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 +809 -801
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +7 -7
- 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,63 @@
|
|
|
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.
|
|
3142
|
-
};
|
|
3143
|
-
protoOf(GameServer).
|
|
3144
|
-
|
|
3145
|
-
|
|
3141
|
+
this.j9u_1.v6r(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
3142
|
+
};
|
|
3143
|
+
protoOf(GameServer).ba4 = function (reason, roomId) {
|
|
3144
|
+
try {
|
|
3145
|
+
this.h4q().d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
3146
|
+
this.j9u_1.v6r(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
3147
|
+
} catch ($p) {
|
|
3148
|
+
if ($p instanceof Error) {
|
|
3149
|
+
var e = $p;
|
|
3150
|
+
} else {
|
|
3151
|
+
throw $p;
|
|
3152
|
+
}
|
|
3153
|
+
}
|
|
3146
3154
|
};
|
|
3147
3155
|
protoOf(GameServer).clear = function () {
|
|
3148
3156
|
return this.i2();
|
|
@@ -3196,13 +3204,13 @@
|
|
|
3196
3204
|
this.shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy;
|
|
3197
3205
|
this.shouldFinishGameWithBots = shouldFinishGameWithBots;
|
|
3198
3206
|
}
|
|
3199
|
-
protoOf(ServerConfig).
|
|
3207
|
+
protoOf(ServerConfig).ca4 = function () {
|
|
3200
3208
|
return this.fromRound;
|
|
3201
3209
|
};
|
|
3202
|
-
protoOf(ServerConfig).
|
|
3210
|
+
protoOf(ServerConfig).da4 = function () {
|
|
3203
3211
|
return this.shouldFinishGameWhenDeploy;
|
|
3204
3212
|
};
|
|
3205
|
-
protoOf(ServerConfig).
|
|
3213
|
+
protoOf(ServerConfig).ea4 = function () {
|
|
3206
3214
|
return this.shouldFinishGameWithBots;
|
|
3207
3215
|
};
|
|
3208
3216
|
protoOf(ServerConfig).oe = function () {
|
|
@@ -3214,14 +3222,14 @@
|
|
|
3214
3222
|
protoOf(ServerConfig).xl = function () {
|
|
3215
3223
|
return this.shouldFinishGameWithBots;
|
|
3216
3224
|
};
|
|
3217
|
-
protoOf(ServerConfig).
|
|
3225
|
+
protoOf(ServerConfig).fa4 = function (fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) {
|
|
3218
3226
|
return new ServerConfig(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots);
|
|
3219
3227
|
};
|
|
3220
3228
|
protoOf(ServerConfig).copy = function (fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots, $super) {
|
|
3221
3229
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
3222
3230
|
shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy === VOID ? this.shouldFinishGameWhenDeploy : shouldFinishGameWhenDeploy;
|
|
3223
3231
|
shouldFinishGameWithBots = shouldFinishGameWithBots === VOID ? this.shouldFinishGameWithBots : shouldFinishGameWithBots;
|
|
3224
|
-
return $super === VOID ? this.
|
|
3232
|
+
return $super === VOID ? this.fa4(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) : $super.fa4.call(this, fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots);
|
|
3225
3233
|
};
|
|
3226
3234
|
protoOf(ServerConfig).toString = function () {
|
|
3227
3235
|
return 'ServerConfig(fromRound=' + this.fromRound + ', shouldFinishGameWhenDeploy=' + this.shouldFinishGameWhenDeploy + ', shouldFinishGameWithBots=' + this.shouldFinishGameWithBots + ')';
|
|
@@ -3286,20 +3294,20 @@
|
|
|
3286
3294
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 2);
|
|
3287
3295
|
tmp0_serialDesc.gz('roomId', false);
|
|
3288
3296
|
tmp0_serialDesc.gz('table', false);
|
|
3289
|
-
this.
|
|
3297
|
+
this.ga4_1 = tmp0_serialDesc;
|
|
3290
3298
|
}
|
|
3291
|
-
protoOf($serializer).
|
|
3292
|
-
var tmp0_desc = this.
|
|
3299
|
+
protoOf($serializer).ha4 = function (encoder, value) {
|
|
3300
|
+
var tmp0_desc = this.ga4_1;
|
|
3293
3301
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3294
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3302
|
+
tmp1_output.dt(tmp0_desc, 0, value.ia4_1);
|
|
3295
3303
|
tmp1_output.dt(tmp0_desc, 1, value.table);
|
|
3296
3304
|
tmp1_output.pr(tmp0_desc);
|
|
3297
3305
|
};
|
|
3298
3306
|
protoOf($serializer).co = function (encoder, value) {
|
|
3299
|
-
return this.
|
|
3307
|
+
return this.ha4(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3300
3308
|
};
|
|
3301
3309
|
protoOf($serializer).do = function (decoder) {
|
|
3302
|
-
var tmp0_desc = this.
|
|
3310
|
+
var tmp0_desc = this.ga4_1;
|
|
3303
3311
|
var tmp1_flag = true;
|
|
3304
3312
|
var tmp2_index = 0;
|
|
3305
3313
|
var tmp3_bitMask0 = 0;
|
|
@@ -3334,7 +3342,7 @@
|
|
|
3334
3342
|
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3335
3343
|
};
|
|
3336
3344
|
protoOf($serializer).bo = function () {
|
|
3337
|
-
return this.
|
|
3345
|
+
return this.ga4_1;
|
|
3338
3346
|
};
|
|
3339
3347
|
protoOf($serializer).vz = function () {
|
|
3340
3348
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3350,9 +3358,9 @@
|
|
|
3350
3358
|
}
|
|
3351
3359
|
function TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, $this) {
|
|
3352
3360
|
if (!(3 === (3 & seen0))) {
|
|
3353
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance().
|
|
3361
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance().ga4_1);
|
|
3354
3362
|
}
|
|
3355
|
-
$this.
|
|
3363
|
+
$this.ia4_1 = roomId;
|
|
3356
3364
|
$this.table = table;
|
|
3357
3365
|
return $this;
|
|
3358
3366
|
}
|
|
@@ -3360,17 +3368,17 @@
|
|
|
3360
3368
|
return TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, objectCreate(protoOf(TableStateUpdateDto)));
|
|
3361
3369
|
}
|
|
3362
3370
|
function TableStateUpdateDto(roomId, table) {
|
|
3363
|
-
this.
|
|
3371
|
+
this.ia4_1 = roomId;
|
|
3364
3372
|
this.table = table;
|
|
3365
3373
|
}
|
|
3366
|
-
protoOf(TableStateUpdateDto).
|
|
3367
|
-
return this.
|
|
3374
|
+
protoOf(TableStateUpdateDto).c8g = function () {
|
|
3375
|
+
return this.ia4_1;
|
|
3368
3376
|
};
|
|
3369
3377
|
protoOf(TableStateUpdateDto).x6r = function () {
|
|
3370
3378
|
return this.table;
|
|
3371
3379
|
};
|
|
3372
3380
|
protoOf(TableStateUpdateDto).oe = function () {
|
|
3373
|
-
return this.
|
|
3381
|
+
return this.ia4_1;
|
|
3374
3382
|
};
|
|
3375
3383
|
protoOf(TableStateUpdateDto).pe = function () {
|
|
3376
3384
|
return this.table;
|
|
@@ -3379,15 +3387,15 @@
|
|
|
3379
3387
|
return new TableStateUpdateDto(roomId, table);
|
|
3380
3388
|
};
|
|
3381
3389
|
protoOf(TableStateUpdateDto).copy = function (roomId, table, $super) {
|
|
3382
|
-
roomId = roomId === VOID ? this.
|
|
3390
|
+
roomId = roomId === VOID ? this.ia4_1 : roomId;
|
|
3383
3391
|
table = table === VOID ? this.table : table;
|
|
3384
3392
|
return $super === VOID ? this.e54(roomId, table) : $super.e54.call(this, roomId, table);
|
|
3385
3393
|
};
|
|
3386
3394
|
protoOf(TableStateUpdateDto).toString = function () {
|
|
3387
|
-
return 'TableStateUpdateDto(roomId=' + this.
|
|
3395
|
+
return 'TableStateUpdateDto(roomId=' + this.ia4_1 + ', table=' + this.table + ')';
|
|
3388
3396
|
};
|
|
3389
3397
|
protoOf(TableStateUpdateDto).hashCode = function () {
|
|
3390
|
-
var result = getStringHashCode(this.
|
|
3398
|
+
var result = getStringHashCode(this.ia4_1);
|
|
3391
3399
|
result = imul(result, 31) + getStringHashCode(this.table) | 0;
|
|
3392
3400
|
return result;
|
|
3393
3401
|
};
|
|
@@ -3396,7 +3404,7 @@
|
|
|
3396
3404
|
return true;
|
|
3397
3405
|
if (!(other instanceof TableStateUpdateDto))
|
|
3398
3406
|
return false;
|
|
3399
|
-
if (!(this.
|
|
3407
|
+
if (!(this.ia4_1 === other.ia4_1))
|
|
3400
3408
|
return false;
|
|
3401
3409
|
if (!(this.table === other.table))
|
|
3402
3410
|
return false;
|
|
@@ -3416,20 +3424,20 @@
|
|
|
3416
3424
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 2);
|
|
3417
3425
|
tmp0_serialDesc.gz('roomId', false);
|
|
3418
3426
|
tmp0_serialDesc.gz('actions', false);
|
|
3419
|
-
this.
|
|
3427
|
+
this.ja4_1 = tmp0_serialDesc;
|
|
3420
3428
|
}
|
|
3421
|
-
protoOf($serializer_0).
|
|
3422
|
-
var tmp0_desc = this.
|
|
3429
|
+
protoOf($serializer_0).ka4 = function (encoder, value) {
|
|
3430
|
+
var tmp0_desc = this.ja4_1;
|
|
3423
3431
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3424
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3432
|
+
tmp1_output.dt(tmp0_desc, 0, value.la4_1);
|
|
3425
3433
|
tmp1_output.dt(tmp0_desc, 1, value.actions);
|
|
3426
3434
|
tmp1_output.pr(tmp0_desc);
|
|
3427
3435
|
};
|
|
3428
3436
|
protoOf($serializer_0).co = function (encoder, value) {
|
|
3429
|
-
return this.
|
|
3437
|
+
return this.ka4(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
|
|
3430
3438
|
};
|
|
3431
3439
|
protoOf($serializer_0).do = function (decoder) {
|
|
3432
|
-
var tmp0_desc = this.
|
|
3440
|
+
var tmp0_desc = this.ja4_1;
|
|
3433
3441
|
var tmp1_flag = true;
|
|
3434
3442
|
var tmp2_index = 0;
|
|
3435
3443
|
var tmp3_bitMask0 = 0;
|
|
@@ -3464,7 +3472,7 @@
|
|
|
3464
3472
|
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3465
3473
|
};
|
|
3466
3474
|
protoOf($serializer_0).bo = function () {
|
|
3467
|
-
return this.
|
|
3475
|
+
return this.ja4_1;
|
|
3468
3476
|
};
|
|
3469
3477
|
protoOf($serializer_0).vz = function () {
|
|
3470
3478
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3480,9 +3488,9 @@
|
|
|
3480
3488
|
}
|
|
3481
3489
|
function ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, $this) {
|
|
3482
3490
|
if (!(3 === (3 & seen0))) {
|
|
3483
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().
|
|
3491
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().ja4_1);
|
|
3484
3492
|
}
|
|
3485
|
-
$this.
|
|
3493
|
+
$this.la4_1 = roomId;
|
|
3486
3494
|
$this.actions = actions;
|
|
3487
3495
|
return $this;
|
|
3488
3496
|
}
|
|
@@ -3490,17 +3498,17 @@
|
|
|
3490
3498
|
return ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, objectCreate(protoOf(ActionsStateUpdateDto)));
|
|
3491
3499
|
}
|
|
3492
3500
|
function ActionsStateUpdateDto(roomId, actions) {
|
|
3493
|
-
this.
|
|
3501
|
+
this.la4_1 = roomId;
|
|
3494
3502
|
this.actions = actions;
|
|
3495
3503
|
}
|
|
3496
|
-
protoOf(ActionsStateUpdateDto).
|
|
3497
|
-
return this.
|
|
3504
|
+
protoOf(ActionsStateUpdateDto).c8g = function () {
|
|
3505
|
+
return this.la4_1;
|
|
3498
3506
|
};
|
|
3499
|
-
protoOf(ActionsStateUpdateDto).
|
|
3507
|
+
protoOf(ActionsStateUpdateDto).q8g = function () {
|
|
3500
3508
|
return this.actions;
|
|
3501
3509
|
};
|
|
3502
3510
|
protoOf(ActionsStateUpdateDto).oe = function () {
|
|
3503
|
-
return this.
|
|
3511
|
+
return this.la4_1;
|
|
3504
3512
|
};
|
|
3505
3513
|
protoOf(ActionsStateUpdateDto).pe = function () {
|
|
3506
3514
|
return this.actions;
|
|
@@ -3509,15 +3517,15 @@
|
|
|
3509
3517
|
return new ActionsStateUpdateDto(roomId, actions);
|
|
3510
3518
|
};
|
|
3511
3519
|
protoOf(ActionsStateUpdateDto).copy = function (roomId, actions, $super) {
|
|
3512
|
-
roomId = roomId === VOID ? this.
|
|
3520
|
+
roomId = roomId === VOID ? this.la4_1 : roomId;
|
|
3513
3521
|
actions = actions === VOID ? this.actions : actions;
|
|
3514
3522
|
return $super === VOID ? this.e54(roomId, actions) : $super.e54.call(this, roomId, actions);
|
|
3515
3523
|
};
|
|
3516
3524
|
protoOf(ActionsStateUpdateDto).toString = function () {
|
|
3517
|
-
return 'ActionsStateUpdateDto(roomId=' + this.
|
|
3525
|
+
return 'ActionsStateUpdateDto(roomId=' + this.la4_1 + ', actions=' + this.actions + ')';
|
|
3518
3526
|
};
|
|
3519
3527
|
protoOf(ActionsStateUpdateDto).hashCode = function () {
|
|
3520
|
-
var result = getStringHashCode(this.
|
|
3528
|
+
var result = getStringHashCode(this.la4_1);
|
|
3521
3529
|
result = imul(result, 31) + getStringHashCode(this.actions) | 0;
|
|
3522
3530
|
return result;
|
|
3523
3531
|
};
|
|
@@ -3526,7 +3534,7 @@
|
|
|
3526
3534
|
return true;
|
|
3527
3535
|
if (!(other instanceof ActionsStateUpdateDto))
|
|
3528
3536
|
return false;
|
|
3529
|
-
if (!(this.
|
|
3537
|
+
if (!(this.la4_1 === other.la4_1))
|
|
3530
3538
|
return false;
|
|
3531
3539
|
if (!(this.actions === other.actions))
|
|
3532
3540
|
return false;
|
|
@@ -3556,42 +3564,42 @@
|
|
|
3556
3564
|
var tmp$ret$0 = mapToDto(item);
|
|
3557
3565
|
destination.j(tmp$ret$0);
|
|
3558
3566
|
}
|
|
3559
|
-
return new ActionsStateUpdateDto(_this__u8e3s4.
|
|
3567
|
+
return new ActionsStateUpdateDto(_this__u8e3s4.ma4_1, encoderDecoderProvider.j8n(destination));
|
|
3560
3568
|
}
|
|
3561
3569
|
function mapToDto_3(_this__u8e3s4, encoderDecoderProvider) {
|
|
3562
|
-
return new TableStateUpdateDto(_this__u8e3s4.
|
|
3570
|
+
return new TableStateUpdateDto(_this__u8e3s4.na4_1, encoderDecoderProvider.h8n(mapToDto_0(_this__u8e3s4.table)));
|
|
3563
3571
|
}
|
|
3564
3572
|
function ServerStateUpdate() {
|
|
3565
3573
|
}
|
|
3566
3574
|
function TableStateUpdate(roomId, table) {
|
|
3567
|
-
this.
|
|
3575
|
+
this.na4_1 = roomId;
|
|
3568
3576
|
this.table = table;
|
|
3569
3577
|
}
|
|
3570
|
-
protoOf(TableStateUpdate).
|
|
3571
|
-
return this.
|
|
3578
|
+
protoOf(TableStateUpdate).c8g = function () {
|
|
3579
|
+
return this.na4_1;
|
|
3572
3580
|
};
|
|
3573
3581
|
protoOf(TableStateUpdate).x6r = function () {
|
|
3574
3582
|
return this.table;
|
|
3575
3583
|
};
|
|
3576
3584
|
protoOf(TableStateUpdate).oe = function () {
|
|
3577
|
-
return this.
|
|
3585
|
+
return this.na4_1;
|
|
3578
3586
|
};
|
|
3579
3587
|
protoOf(TableStateUpdate).pe = function () {
|
|
3580
3588
|
return this.table;
|
|
3581
3589
|
};
|
|
3582
|
-
protoOf(TableStateUpdate).
|
|
3590
|
+
protoOf(TableStateUpdate).oa4 = function (roomId, table) {
|
|
3583
3591
|
return new TableStateUpdate(roomId, table);
|
|
3584
3592
|
};
|
|
3585
3593
|
protoOf(TableStateUpdate).copy = function (roomId, table, $super) {
|
|
3586
|
-
roomId = roomId === VOID ? this.
|
|
3594
|
+
roomId = roomId === VOID ? this.na4_1 : roomId;
|
|
3587
3595
|
table = table === VOID ? this.table : table;
|
|
3588
|
-
return $super === VOID ? this.
|
|
3596
|
+
return $super === VOID ? this.oa4(roomId, table) : $super.oa4.call(this, roomId, table);
|
|
3589
3597
|
};
|
|
3590
3598
|
protoOf(TableStateUpdate).toString = function () {
|
|
3591
|
-
return 'TableStateUpdate(roomId=' + this.
|
|
3599
|
+
return 'TableStateUpdate(roomId=' + this.na4_1 + ', table=' + this.table.toString() + ')';
|
|
3592
3600
|
};
|
|
3593
3601
|
protoOf(TableStateUpdate).hashCode = function () {
|
|
3594
|
-
var result = getStringHashCode(this.
|
|
3602
|
+
var result = getStringHashCode(this.na4_1);
|
|
3595
3603
|
result = imul(result, 31) + this.table.hashCode() | 0;
|
|
3596
3604
|
return result;
|
|
3597
3605
|
};
|
|
@@ -3600,41 +3608,41 @@
|
|
|
3600
3608
|
return true;
|
|
3601
3609
|
if (!(other instanceof TableStateUpdate))
|
|
3602
3610
|
return false;
|
|
3603
|
-
if (!(this.
|
|
3611
|
+
if (!(this.na4_1 === other.na4_1))
|
|
3604
3612
|
return false;
|
|
3605
3613
|
if (!this.table.equals(other.table))
|
|
3606
3614
|
return false;
|
|
3607
3615
|
return true;
|
|
3608
3616
|
};
|
|
3609
3617
|
function ActionsStateUpdate(roomId, actions) {
|
|
3610
|
-
this.
|
|
3618
|
+
this.ma4_1 = roomId;
|
|
3611
3619
|
this.actions = actions;
|
|
3612
3620
|
}
|
|
3613
|
-
protoOf(ActionsStateUpdate).
|
|
3614
|
-
return this.
|
|
3621
|
+
protoOf(ActionsStateUpdate).c8g = function () {
|
|
3622
|
+
return this.ma4_1;
|
|
3615
3623
|
};
|
|
3616
|
-
protoOf(ActionsStateUpdate).
|
|
3624
|
+
protoOf(ActionsStateUpdate).q8g = function () {
|
|
3617
3625
|
return this.actions;
|
|
3618
3626
|
};
|
|
3619
3627
|
protoOf(ActionsStateUpdate).oe = function () {
|
|
3620
|
-
return this.
|
|
3628
|
+
return this.ma4_1;
|
|
3621
3629
|
};
|
|
3622
3630
|
protoOf(ActionsStateUpdate).pe = function () {
|
|
3623
3631
|
return this.actions;
|
|
3624
3632
|
};
|
|
3625
|
-
protoOf(ActionsStateUpdate).
|
|
3633
|
+
protoOf(ActionsStateUpdate).pa4 = function (roomId, actions) {
|
|
3626
3634
|
return new ActionsStateUpdate(roomId, actions);
|
|
3627
3635
|
};
|
|
3628
3636
|
protoOf(ActionsStateUpdate).copy = function (roomId, actions, $super) {
|
|
3629
|
-
roomId = roomId === VOID ? this.
|
|
3637
|
+
roomId = roomId === VOID ? this.ma4_1 : roomId;
|
|
3630
3638
|
actions = actions === VOID ? this.actions : actions;
|
|
3631
|
-
return $super === VOID ? this.
|
|
3639
|
+
return $super === VOID ? this.pa4(roomId, actions) : $super.pa4.call(this, roomId, actions);
|
|
3632
3640
|
};
|
|
3633
3641
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
3634
|
-
return 'ActionsStateUpdate(roomId=' + this.
|
|
3642
|
+
return 'ActionsStateUpdate(roomId=' + this.ma4_1 + ', actions=' + toString(this.actions) + ')';
|
|
3635
3643
|
};
|
|
3636
3644
|
protoOf(ActionsStateUpdate).hashCode = function () {
|
|
3637
|
-
var result = getStringHashCode(this.
|
|
3645
|
+
var result = getStringHashCode(this.ma4_1);
|
|
3638
3646
|
result = imul(result, 31) + hashCode(this.actions) | 0;
|
|
3639
3647
|
return result;
|
|
3640
3648
|
};
|
|
@@ -3643,7 +3651,7 @@
|
|
|
3643
3651
|
return true;
|
|
3644
3652
|
if (!(other instanceof ActionsStateUpdate))
|
|
3645
3653
|
return false;
|
|
3646
|
-
if (!(this.
|
|
3654
|
+
if (!(this.ma4_1 === other.ma4_1))
|
|
3647
3655
|
return false;
|
|
3648
3656
|
if (!equals(this.actions, other.actions))
|
|
3649
3657
|
return false;
|
|
@@ -3877,18 +3885,18 @@
|
|
|
3877
3885
|
function ToClientEventsObserver() {
|
|
3878
3886
|
}
|
|
3879
3887
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
3880
|
-
this.
|
|
3881
|
-
this.
|
|
3888
|
+
this.za4_1 = this$0;
|
|
3889
|
+
this.aa5_1 = $actions;
|
|
3882
3890
|
CoroutineImpl.call(this, resultContinuation);
|
|
3883
3891
|
}
|
|
3884
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3885
|
-
var tmp = this.
|
|
3892
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).da5 = function ($this$flow, $completion) {
|
|
3893
|
+
var tmp = this.ea5($this$flow, $completion);
|
|
3886
3894
|
tmp.u8_1 = Unit_instance;
|
|
3887
3895
|
tmp.v8_1 = null;
|
|
3888
3896
|
return tmp.a9();
|
|
3889
3897
|
};
|
|
3890
3898
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).i9 = function (p1, $completion) {
|
|
3891
|
-
return this.
|
|
3899
|
+
return this.da5((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
3892
3900
|
};
|
|
3893
3901
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).a9 = function () {
|
|
3894
3902
|
var suspendResult = this.u8_1;
|
|
@@ -3898,19 +3906,19 @@
|
|
|
3898
3906
|
switch (tmp) {
|
|
3899
3907
|
case 0:
|
|
3900
3908
|
this.t8_1 = 4;
|
|
3901
|
-
this.
|
|
3902
|
-
this.
|
|
3909
|
+
this.za4_1.ja5_1;
|
|
3910
|
+
this.ca5_1 = transformToEmits(this.za4_1, this.aa5_1).l();
|
|
3903
3911
|
this.s8_1 = 1;
|
|
3904
3912
|
continue $sm;
|
|
3905
3913
|
case 1:
|
|
3906
|
-
if (!this.
|
|
3914
|
+
if (!this.ca5_1.m()) {
|
|
3907
3915
|
this.s8_1 = 3;
|
|
3908
3916
|
continue $sm;
|
|
3909
3917
|
}
|
|
3910
3918
|
|
|
3911
|
-
var element = this.
|
|
3919
|
+
var element = this.ca5_1.n();
|
|
3912
3920
|
this.s8_1 = 2;
|
|
3913
|
-
suspendResult = this.
|
|
3921
|
+
suspendResult = this.ba5_1.n28(element, this);
|
|
3914
3922
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3915
3923
|
return suspendResult;
|
|
3916
3924
|
}
|
|
@@ -3920,11 +3928,11 @@
|
|
|
3920
3928
|
this.s8_1 = 1;
|
|
3921
3929
|
continue $sm;
|
|
3922
3930
|
case 3:
|
|
3923
|
-
var tmp0 = this.
|
|
3931
|
+
var tmp0 = this.za4_1.ia5_1;
|
|
3924
3932
|
l$ret$1: do {
|
|
3925
3933
|
while (true) {
|
|
3926
3934
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
3927
|
-
var upd = cur - this.
|
|
3935
|
+
var upd = cur - this.aa5_1.o() | 0;
|
|
3928
3936
|
if (tmp0.atomicfu$compareAndSet(cur, upd)) {
|
|
3929
3937
|
break l$ret$1;
|
|
3930
3938
|
}
|
|
@@ -3946,15 +3954,15 @@
|
|
|
3946
3954
|
}
|
|
3947
3955
|
while (true);
|
|
3948
3956
|
};
|
|
3949
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3950
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
3951
|
-
i.
|
|
3957
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).ea5 = function ($this$flow, completion) {
|
|
3958
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.za4_1, this.aa5_1, completion);
|
|
3959
|
+
i.ba5_1 = $this$flow;
|
|
3952
3960
|
return i;
|
|
3953
3961
|
};
|
|
3954
3962
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
3955
3963
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
3956
3964
|
var l = function ($this$flow, $completion) {
|
|
3957
|
-
return i.
|
|
3965
|
+
return i.da5($this$flow, $completion);
|
|
3958
3966
|
};
|
|
3959
3967
|
l.$arity = 1;
|
|
3960
3968
|
return l;
|
|
@@ -4024,29 +4032,29 @@
|
|
|
4024
4032
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
4025
4033
|
}
|
|
4026
4034
|
function mapFromGroupKey($this, _this__u8e3s4) {
|
|
4027
|
-
var tmp = $this.
|
|
4035
|
+
var tmp = $this.ha5_1.d6e();
|
|
4028
4036
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4029
|
-
var this_0 = _this__u8e3s4.
|
|
4037
|
+
var this_0 = _this__u8e3s4.ma5_1;
|
|
4030
4038
|
var tmp_0 = copyToArray(this_0);
|
|
4031
4039
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4032
|
-
var this_1 = _this__u8e3s4.
|
|
4040
|
+
var this_1 = _this__u8e3s4.na5_1;
|
|
4033
4041
|
var tmp$ret$1 = copyToArray(this_1);
|
|
4034
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
4042
|
+
return new ActionDeliveryPayload(_this__u8e3s4.la5_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.oa5_1);
|
|
4035
4043
|
}
|
|
4036
4044
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
4037
|
-
this.
|
|
4038
|
-
this.
|
|
4039
|
-
this.
|
|
4040
|
-
this.
|
|
4045
|
+
this.la5_1 = tableId;
|
|
4046
|
+
this.ma5_1 = includePlayers;
|
|
4047
|
+
this.na5_1 = excludePlayers;
|
|
4048
|
+
this.oa5_1 = deliveryType;
|
|
4041
4049
|
}
|
|
4042
4050
|
protoOf(GroupKey).toString = function () {
|
|
4043
|
-
return 'GroupKey(tableId=' + this.
|
|
4051
|
+
return 'GroupKey(tableId=' + this.la5_1 + ', includePlayers=' + toString(this.ma5_1) + ', excludePlayers=' + toString(this.na5_1) + ', deliveryType=' + this.oa5_1.toString() + ')';
|
|
4044
4052
|
};
|
|
4045
4053
|
protoOf(GroupKey).hashCode = function () {
|
|
4046
|
-
var result = getStringHashCode(this.
|
|
4047
|
-
result = imul(result, 31) + hashCode(this.la5_1) | 0;
|
|
4054
|
+
var result = getStringHashCode(this.la5_1);
|
|
4048
4055
|
result = imul(result, 31) + hashCode(this.ma5_1) | 0;
|
|
4049
|
-
result = imul(result, 31) + this.na5_1
|
|
4056
|
+
result = imul(result, 31) + hashCode(this.na5_1) | 0;
|
|
4057
|
+
result = imul(result, 31) + this.oa5_1.hashCode() | 0;
|
|
4050
4058
|
return result;
|
|
4051
4059
|
};
|
|
4052
4060
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -4054,35 +4062,35 @@
|
|
|
4054
4062
|
return true;
|
|
4055
4063
|
if (!(other instanceof GroupKey))
|
|
4056
4064
|
return false;
|
|
4057
|
-
if (!(this.
|
|
4058
|
-
return false;
|
|
4059
|
-
if (!equals(this.la5_1, other.la5_1))
|
|
4065
|
+
if (!(this.la5_1 === other.la5_1))
|
|
4060
4066
|
return false;
|
|
4061
4067
|
if (!equals(this.ma5_1, other.ma5_1))
|
|
4062
4068
|
return false;
|
|
4063
|
-
if (!this.na5_1
|
|
4069
|
+
if (!equals(this.na5_1, other.na5_1))
|
|
4070
|
+
return false;
|
|
4071
|
+
if (!this.oa5_1.equals(other.oa5_1))
|
|
4064
4072
|
return false;
|
|
4065
4073
|
return true;
|
|
4066
4074
|
};
|
|
4067
4075
|
function Companion_4() {
|
|
4068
|
-
this.
|
|
4076
|
+
this.pa5_1 = 6;
|
|
4069
4077
|
}
|
|
4070
4078
|
var Companion_instance_12;
|
|
4071
4079
|
function Companion_getInstance_5() {
|
|
4072
4080
|
return Companion_instance_12;
|
|
4073
4081
|
}
|
|
4074
4082
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
4075
|
-
this.
|
|
4083
|
+
this.ya5_1 = this$0;
|
|
4076
4084
|
CoroutineImpl.call(this, resultContinuation);
|
|
4077
4085
|
}
|
|
4078
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4079
|
-
var tmp = this.
|
|
4086
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).aa6 = function (actions, $completion) {
|
|
4087
|
+
var tmp = this.ba6(actions, $completion);
|
|
4080
4088
|
tmp.u8_1 = Unit_instance;
|
|
4081
4089
|
tmp.v8_1 = null;
|
|
4082
4090
|
return tmp.a9();
|
|
4083
4091
|
};
|
|
4084
4092
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).i9 = function (p1, $completion) {
|
|
4085
|
-
return this.
|
|
4093
|
+
return this.aa6((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
4086
4094
|
};
|
|
4087
4095
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).a9 = function () {
|
|
4088
4096
|
var suspendResult = this.u8_1;
|
|
@@ -4091,7 +4099,7 @@
|
|
|
4091
4099
|
var tmp = this.s8_1;
|
|
4092
4100
|
if (tmp === 0) {
|
|
4093
4101
|
this.t8_1 = 1;
|
|
4094
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
4102
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.ya5_1, this.za5_1, null));
|
|
4095
4103
|
} else if (tmp === 1) {
|
|
4096
4104
|
throw this.v8_1;
|
|
4097
4105
|
}
|
|
@@ -4101,23 +4109,23 @@
|
|
|
4101
4109
|
}
|
|
4102
4110
|
while (true);
|
|
4103
4111
|
};
|
|
4104
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4105
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
4106
|
-
i.
|
|
4112
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).ba6 = function (actions, completion) {
|
|
4113
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.ya5_1, completion);
|
|
4114
|
+
i.za5_1 = actions;
|
|
4107
4115
|
return i;
|
|
4108
4116
|
};
|
|
4109
4117
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
4110
4118
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
4111
4119
|
var l = function (actions, $completion) {
|
|
4112
|
-
return i.
|
|
4120
|
+
return i.aa6(actions, $completion);
|
|
4113
4121
|
};
|
|
4114
4122
|
l.$arity = 1;
|
|
4115
4123
|
return l;
|
|
4116
4124
|
}
|
|
4117
4125
|
function $sentEventCOROUTINE$(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
4118
4126
|
CoroutineImpl.call(this, resultContinuation);
|
|
4119
|
-
this.
|
|
4120
|
-
this.
|
|
4127
|
+
this.ka6_1 = _this__u8e3s4;
|
|
4128
|
+
this.la6_1 = fromEvent;
|
|
4121
4129
|
}
|
|
4122
4130
|
protoOf($sentEventCOROUTINE$).a9 = function () {
|
|
4123
4131
|
var suspendResult = this.u8_1;
|
|
@@ -4127,8 +4135,8 @@
|
|
|
4127
4135
|
switch (tmp) {
|
|
4128
4136
|
case 0:
|
|
4129
4137
|
this.t8_1 = 2;
|
|
4130
|
-
this.
|
|
4131
|
-
var tmp0 = this.
|
|
4138
|
+
this.ka6_1.ja5_1;
|
|
4139
|
+
var tmp0 = this.ka6_1.ia5_1;
|
|
4132
4140
|
l$ret$1: do {
|
|
4133
4141
|
while (true) {
|
|
4134
4142
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
@@ -4140,7 +4148,7 @@
|
|
|
4140
4148
|
}
|
|
4141
4149
|
while (false);
|
|
4142
4150
|
this.s8_1 = 1;
|
|
4143
|
-
suspendResult = this.
|
|
4151
|
+
suspendResult = this.ka6_1.ka5_1.n28(this.la6_1, this);
|
|
4144
4152
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4145
4153
|
return suspendResult;
|
|
4146
4154
|
}
|
|
@@ -4164,7 +4172,7 @@
|
|
|
4164
4172
|
};
|
|
4165
4173
|
function $waitForCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
4166
4174
|
CoroutineImpl.call(this, resultContinuation);
|
|
4167
|
-
this.
|
|
4175
|
+
this.ua6_1 = _this__u8e3s4;
|
|
4168
4176
|
}
|
|
4169
4177
|
protoOf($waitForCOROUTINE$).a9 = function () {
|
|
4170
4178
|
var suspendResult = this.u8_1;
|
|
@@ -4174,12 +4182,12 @@
|
|
|
4174
4182
|
switch (tmp) {
|
|
4175
4183
|
case 0:
|
|
4176
4184
|
this.t8_1 = 5;
|
|
4177
|
-
this.
|
|
4178
|
-
this.
|
|
4185
|
+
this.ua6_1.ja5_1;
|
|
4186
|
+
this.va6_1 = 0;
|
|
4179
4187
|
this.s8_1 = 1;
|
|
4180
4188
|
continue $sm;
|
|
4181
4189
|
case 1:
|
|
4182
|
-
if (!!(this.
|
|
4190
|
+
if (!!(this.ua6_1.ia5_1.kotlinx$atomicfu$value === 0)) {
|
|
4183
4191
|
this.s8_1 = 4;
|
|
4184
4192
|
continue $sm;
|
|
4185
4193
|
}
|
|
@@ -4192,9 +4200,9 @@
|
|
|
4192
4200
|
|
|
4193
4201
|
continue $sm;
|
|
4194
4202
|
case 2:
|
|
4195
|
-
this.
|
|
4196
|
-
if (this.
|
|
4197
|
-
this.
|
|
4203
|
+
this.va6_1 = this.va6_1 + 1 | 0;
|
|
4204
|
+
if (this.va6_1 > 6) {
|
|
4205
|
+
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
4206
|
this.s8_1 = 4;
|
|
4199
4207
|
continue $sm;
|
|
4200
4208
|
} else {
|
|
@@ -4222,183 +4230,183 @@
|
|
|
4222
4230
|
while (true);
|
|
4223
4231
|
};
|
|
4224
4232
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
4225
|
-
this.
|
|
4226
|
-
this.
|
|
4227
|
-
this.
|
|
4228
|
-
this.
|
|
4233
|
+
this.fa5_1 = serverReduxConfig;
|
|
4234
|
+
this.ga5_1 = logger;
|
|
4235
|
+
this.ha5_1 = idsProvider;
|
|
4236
|
+
this.ia5_1 = atomic$ref$1(0);
|
|
4229
4237
|
var tmp = this;
|
|
4230
4238
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
4231
|
-
tmp.
|
|
4232
|
-
this.
|
|
4239
|
+
tmp.ja5_1 = get_atomicfu$reentrantLock();
|
|
4240
|
+
this.ka5_1 = MutableSharedFlow();
|
|
4233
4241
|
}
|
|
4234
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4242
|
+
protoOf(ToClientEventsObserverImpl).qa4 = function (fromEvent, $completion) {
|
|
4235
4243
|
var tmp = new $sentEventCOROUTINE$(this, fromEvent, $completion);
|
|
4236
4244
|
tmp.u8_1 = Unit_instance;
|
|
4237
4245
|
tmp.v8_1 = null;
|
|
4238
4246
|
return tmp.a9();
|
|
4239
4247
|
};
|
|
4240
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4248
|
+
protoOf(ToClientEventsObserverImpl).j9e = function ($completion) {
|
|
4241
4249
|
var tmp = new $waitForCOROUTINE$(this, $completion);
|
|
4242
4250
|
tmp.u8_1 = Unit_instance;
|
|
4243
4251
|
tmp.v8_1 = null;
|
|
4244
4252
|
return tmp.a9();
|
|
4245
4253
|
};
|
|
4246
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4247
|
-
if (!this.
|
|
4248
|
-
return this.
|
|
4254
|
+
protoOf(ToClientEventsObserverImpl).c9v = function () {
|
|
4255
|
+
if (!this.fa5_1.enabledCombinedEvents) {
|
|
4256
|
+
return this.ka5_1;
|
|
4249
4257
|
}
|
|
4250
|
-
var tmp = windowedByInterval(this.
|
|
4258
|
+
var tmp = windowedByInterval(this.ka5_1, fromInt(this.fa5_1.combinedEventsIntervalMillis));
|
|
4251
4259
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
4252
4260
|
};
|
|
4253
4261
|
function UpdateServerConfigAction(serverConfig) {
|
|
4254
|
-
this.
|
|
4262
|
+
this.wa6_1 = serverConfig;
|
|
4255
4263
|
}
|
|
4256
4264
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
4257
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
4265
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.wa6_1.toString() + ')';
|
|
4258
4266
|
};
|
|
4259
4267
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
4260
|
-
return this.
|
|
4268
|
+
return this.wa6_1.hashCode();
|
|
4261
4269
|
};
|
|
4262
4270
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
4263
4271
|
if (this === other)
|
|
4264
4272
|
return true;
|
|
4265
4273
|
if (!(other instanceof UpdateServerConfigAction))
|
|
4266
4274
|
return false;
|
|
4267
|
-
if (!this.
|
|
4275
|
+
if (!this.wa6_1.equals(other.wa6_1))
|
|
4268
4276
|
return false;
|
|
4269
4277
|
return true;
|
|
4270
4278
|
};
|
|
4271
4279
|
function SpectatorsAction() {
|
|
4272
4280
|
}
|
|
4273
4281
|
function AddSpectatorsAction(spectators) {
|
|
4274
|
-
this.
|
|
4282
|
+
this.xa6_1 = spectators;
|
|
4275
4283
|
}
|
|
4276
4284
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
4277
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
4285
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.xa6_1) + ')';
|
|
4278
4286
|
};
|
|
4279
4287
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
4280
|
-
return hashCode(this.
|
|
4288
|
+
return hashCode(this.xa6_1);
|
|
4281
4289
|
};
|
|
4282
4290
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
4283
4291
|
if (this === other)
|
|
4284
4292
|
return true;
|
|
4285
4293
|
if (!(other instanceof AddSpectatorsAction))
|
|
4286
4294
|
return false;
|
|
4287
|
-
if (!equals(this.
|
|
4295
|
+
if (!equals(this.xa6_1, other.xa6_1))
|
|
4288
4296
|
return false;
|
|
4289
4297
|
return true;
|
|
4290
4298
|
};
|
|
4291
4299
|
function RemoveSpectatorsAction(spectators) {
|
|
4292
|
-
this.
|
|
4300
|
+
this.ya6_1 = spectators;
|
|
4293
4301
|
}
|
|
4294
4302
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
4295
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
4303
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.ya6_1) + ')';
|
|
4296
4304
|
};
|
|
4297
4305
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
4298
|
-
return hashCode(this.
|
|
4306
|
+
return hashCode(this.ya6_1);
|
|
4299
4307
|
};
|
|
4300
4308
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
4301
4309
|
if (this === other)
|
|
4302
4310
|
return true;
|
|
4303
4311
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
4304
4312
|
return false;
|
|
4305
|
-
if (!equals(this.
|
|
4313
|
+
if (!equals(this.ya6_1, other.ya6_1))
|
|
4306
4314
|
return false;
|
|
4307
4315
|
return true;
|
|
4308
4316
|
};
|
|
4309
4317
|
function _get_asyncProvider__jbpyhw($this) {
|
|
4310
|
-
var tmp0 = $this.
|
|
4318
|
+
var tmp0 = $this.ea7_1;
|
|
4311
4319
|
var tmp = KProperty1;
|
|
4312
4320
|
// Inline function 'kotlin.getValue' call
|
|
4313
4321
|
getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
|
|
4314
4322
|
return tmp0.x();
|
|
4315
4323
|
}
|
|
4316
4324
|
function _get_logger__rkp4sl($this) {
|
|
4317
|
-
var tmp0 = $this.
|
|
4325
|
+
var tmp0 = $this.fa7_1;
|
|
4318
4326
|
var tmp = KProperty1;
|
|
4319
4327
|
// Inline function 'kotlin.getValue' call
|
|
4320
4328
|
getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
|
|
4321
4329
|
return tmp0.x();
|
|
4322
4330
|
}
|
|
4323
4331
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
4324
|
-
var tmp0 = $this.
|
|
4332
|
+
var tmp0 = $this.ga7_1;
|
|
4325
4333
|
var tmp = KProperty1;
|
|
4326
4334
|
// Inline function 'kotlin.getValue' call
|
|
4327
4335
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
|
|
4328
4336
|
return tmp0.x();
|
|
4329
4337
|
}
|
|
4330
4338
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
4331
|
-
var tmp0 = $this.
|
|
4339
|
+
var tmp0 = $this.ha7_1;
|
|
4332
4340
|
var tmp = KProperty1;
|
|
4333
4341
|
// Inline function 'kotlin.getValue' call
|
|
4334
4342
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
|
|
4335
4343
|
return tmp0.x();
|
|
4336
4344
|
}
|
|
4337
4345
|
function _get_serverConfig__rk2g06($this) {
|
|
4338
|
-
var tmp0 = $this.
|
|
4346
|
+
var tmp0 = $this.ia7_1;
|
|
4339
4347
|
var tmp = KProperty1;
|
|
4340
4348
|
// Inline function 'kotlin.getValue' call
|
|
4341
4349
|
getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
|
|
4342
4350
|
return tmp0.x();
|
|
4343
4351
|
}
|
|
4344
4352
|
function _get_logicConfig__52ww9d($this) {
|
|
4345
|
-
var tmp0 = $this.
|
|
4353
|
+
var tmp0 = $this.ja7_1;
|
|
4346
4354
|
var tmp = KProperty1;
|
|
4347
4355
|
// Inline function 'kotlin.getValue' call
|
|
4348
4356
|
getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
|
|
4349
4357
|
return tmp0.x();
|
|
4350
4358
|
}
|
|
4351
4359
|
function _get_idsProvider__fnfajc_0($this) {
|
|
4352
|
-
var tmp0 = $this.
|
|
4360
|
+
var tmp0 = $this.ka7_1;
|
|
4353
4361
|
var tmp = KProperty1;
|
|
4354
4362
|
// Inline function 'kotlin.getValue' call
|
|
4355
4363
|
getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
|
|
4356
4364
|
return tmp0.x();
|
|
4357
4365
|
}
|
|
4358
4366
|
function _get_botConfig__cpaxzc($this) {
|
|
4359
|
-
var tmp0 = $this.
|
|
4367
|
+
var tmp0 = $this.la7_1;
|
|
4360
4368
|
var tmp = KProperty1;
|
|
4361
4369
|
// Inline function 'kotlin.getValue' call
|
|
4362
4370
|
getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
|
|
4363
4371
|
return tmp0.x();
|
|
4364
4372
|
}
|
|
4365
4373
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
4366
|
-
var tmp0 = $this.
|
|
4374
|
+
var tmp0 = $this.ma7_1;
|
|
4367
4375
|
var tmp = KProperty1;
|
|
4368
4376
|
// Inline function 'kotlin.getValue' call
|
|
4369
4377
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
|
|
4370
4378
|
return tmp0.x();
|
|
4371
4379
|
}
|
|
4372
4380
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
4373
|
-
var tmp0 = $this.
|
|
4381
|
+
var tmp0 = $this.na7_1;
|
|
4374
4382
|
var tmp = KProperty1;
|
|
4375
4383
|
// Inline function 'kotlin.getValue' call
|
|
4376
4384
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
|
|
4377
4385
|
return tmp0.x();
|
|
4378
4386
|
}
|
|
4379
4387
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
4380
|
-
var tmp0 = $this.
|
|
4388
|
+
var tmp0 = $this.oa7_1;
|
|
4381
4389
|
var tmp = KProperty1;
|
|
4382
4390
|
// Inline function 'kotlin.getValue' call
|
|
4383
4391
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
|
|
4384
4392
|
return tmp0.x();
|
|
4385
4393
|
}
|
|
4386
4394
|
function _get_dealerConfig__183ci8($this) {
|
|
4387
|
-
var tmp0 = $this.
|
|
4395
|
+
var tmp0 = $this.pa7_1;
|
|
4388
4396
|
var tmp = KProperty1;
|
|
4389
4397
|
// Inline function 'kotlin.getValue' call
|
|
4390
4398
|
getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
|
|
4391
4399
|
return tmp0.x();
|
|
4392
4400
|
}
|
|
4393
4401
|
function _get_poolProvider__tqti6a($this) {
|
|
4394
|
-
var tmp0 = $this.
|
|
4402
|
+
var tmp0 = $this.qa7_1;
|
|
4395
4403
|
var tmp = KProperty1;
|
|
4396
4404
|
// Inline function 'kotlin.getValue' call
|
|
4397
4405
|
getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
|
|
4398
4406
|
return tmp0.x();
|
|
4399
4407
|
}
|
|
4400
4408
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
4401
|
-
var tmp0 = $this.
|
|
4409
|
+
var tmp0 = $this.ra7_1;
|
|
4402
4410
|
var tmp = KProperty1;
|
|
4403
4411
|
// Inline function 'kotlin.getValue' call
|
|
4404
4412
|
getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
|
|
@@ -4562,11 +4570,11 @@
|
|
|
4562
4570
|
tmp = fileLoggerStoreContract;
|
|
4563
4571
|
}
|
|
4564
4572
|
fileLoggerStoreContract = tmp;
|
|
4565
|
-
this.
|
|
4566
|
-
this.
|
|
4567
|
-
this.
|
|
4568
|
-
this.
|
|
4569
|
-
this.
|
|
4573
|
+
this.za6_1 = validationStoreContract;
|
|
4574
|
+
this.aa7_1 = timersStoreContract;
|
|
4575
|
+
this.ba7_1 = botGameStoreContract;
|
|
4576
|
+
this.ca7_1 = gameMechanicStoreContract;
|
|
4577
|
+
this.da7_1 = fileLoggerStoreContract;
|
|
4570
4578
|
var tmp_0 = this;
|
|
4571
4579
|
// Inline function 'org.kodein.di.instance' call
|
|
4572
4580
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4574,7 +4582,7 @@
|
|
|
4574
4582
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
4575
4583
|
var tmp_2 = Instance(di, tmp$ret$0, null);
|
|
4576
4584
|
var tmp_3 = KProperty1;
|
|
4577
|
-
tmp_0.
|
|
4585
|
+
tmp_0.ea7_1 = tmp_2.w64(this, getPropertyCallableRef('asyncProvider', 1, tmp_3, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
|
|
4578
4586
|
var tmp_4 = this;
|
|
4579
4587
|
// Inline function 'org.kodein.di.instance' call
|
|
4580
4588
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4582,7 +4590,7 @@
|
|
|
4582
4590
|
var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
4583
4591
|
var tmp_6 = Instance(di, tmp$ret$2, null);
|
|
4584
4592
|
var tmp_7 = KProperty1;
|
|
4585
|
-
tmp_4.
|
|
4593
|
+
tmp_4.fa7_1 = tmp_6.w64(this, getPropertyCallableRef('logger', 1, tmp_7, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
|
|
4586
4594
|
var tmp_8 = this;
|
|
4587
4595
|
// Inline function 'org.kodein.di.instance' call
|
|
4588
4596
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4590,7 +4598,7 @@
|
|
|
4590
4598
|
var tmp$ret$4 = isInterface(tmp_9, TypeToken) ? tmp_9 : THROW_CCE();
|
|
4591
4599
|
var tmp_10 = Instance(di, tmp$ret$4, null);
|
|
4592
4600
|
var tmp_11 = KProperty1;
|
|
4593
|
-
tmp_8.
|
|
4601
|
+
tmp_8.ga7_1 = tmp_10.w64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_11, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
|
|
4594
4602
|
var tmp_12 = this;
|
|
4595
4603
|
// Inline function 'org.kodein.di.instance' call
|
|
4596
4604
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4598,7 +4606,7 @@
|
|
|
4598
4606
|
var tmp$ret$6 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
4599
4607
|
var tmp_14 = Instance(di, tmp$ret$6, null);
|
|
4600
4608
|
var tmp_15 = KProperty1;
|
|
4601
|
-
tmp_12.
|
|
4609
|
+
tmp_12.ha7_1 = tmp_14.w64(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_15, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
|
|
4602
4610
|
var tmp_16 = this;
|
|
4603
4611
|
// Inline function 'org.kodein.di.instance' call
|
|
4604
4612
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4606,7 +4614,7 @@
|
|
|
4606
4614
|
var tmp$ret$8 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
4607
4615
|
var tmp_18 = Instance(di, tmp$ret$8, null);
|
|
4608
4616
|
var tmp_19 = KProperty1;
|
|
4609
|
-
tmp_16.
|
|
4617
|
+
tmp_16.ia7_1 = tmp_18.w64(this, getPropertyCallableRef('serverConfig', 1, tmp_19, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
|
|
4610
4618
|
var tmp_20 = this;
|
|
4611
4619
|
// Inline function 'org.kodein.di.instance' call
|
|
4612
4620
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4614,7 +4622,7 @@
|
|
|
4614
4622
|
var tmp$ret$10 = isInterface(tmp_21, TypeToken) ? tmp_21 : THROW_CCE();
|
|
4615
4623
|
var tmp_22 = Instance(di, tmp$ret$10, null);
|
|
4616
4624
|
var tmp_23 = KProperty1;
|
|
4617
|
-
tmp_20.
|
|
4625
|
+
tmp_20.ja7_1 = tmp_22.w64(this, getPropertyCallableRef('logicConfig', 1, tmp_23, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
|
|
4618
4626
|
var tmp_24 = this;
|
|
4619
4627
|
// Inline function 'org.kodein.di.instance' call
|
|
4620
4628
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4622,7 +4630,7 @@
|
|
|
4622
4630
|
var tmp$ret$12 = isInterface(tmp_25, TypeToken) ? tmp_25 : THROW_CCE();
|
|
4623
4631
|
var tmp_26 = Instance(di, tmp$ret$12, null);
|
|
4624
4632
|
var tmp_27 = KProperty1;
|
|
4625
|
-
tmp_24.
|
|
4633
|
+
tmp_24.ka7_1 = tmp_26.w64(this, getPropertyCallableRef('idsProvider', 1, tmp_27, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
|
|
4626
4634
|
var tmp_28 = this;
|
|
4627
4635
|
// Inline function 'org.kodein.di.instance' call
|
|
4628
4636
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4630,7 +4638,7 @@
|
|
|
4630
4638
|
var tmp$ret$14 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
|
|
4631
4639
|
var tmp_30 = Instance(di, tmp$ret$14, null);
|
|
4632
4640
|
var tmp_31 = KProperty1;
|
|
4633
|
-
tmp_28.
|
|
4641
|
+
tmp_28.la7_1 = tmp_30.w64(this, getPropertyCallableRef('botConfig', 1, tmp_31, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
|
|
4634
4642
|
var tmp_32 = this;
|
|
4635
4643
|
// Inline function 'org.kodein.di.instance' call
|
|
4636
4644
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4638,7 +4646,7 @@
|
|
|
4638
4646
|
var tmp$ret$16 = isInterface(tmp_33, TypeToken) ? tmp_33 : THROW_CCE();
|
|
4639
4647
|
var tmp_34 = Instance(di, tmp$ret$16, null);
|
|
4640
4648
|
var tmp_35 = KProperty1;
|
|
4641
|
-
tmp_32.
|
|
4649
|
+
tmp_32.ma7_1 = tmp_34.w64(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_35, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
|
|
4642
4650
|
var tmp_36 = this;
|
|
4643
4651
|
// Inline function 'org.kodein.di.instance' call
|
|
4644
4652
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4646,7 +4654,7 @@
|
|
|
4646
4654
|
var tmp$ret$18 = isInterface(tmp_37, TypeToken) ? tmp_37 : THROW_CCE();
|
|
4647
4655
|
var tmp_38 = Instance(di, tmp$ret$18, null);
|
|
4648
4656
|
var tmp_39 = KProperty1;
|
|
4649
|
-
tmp_36.
|
|
4657
|
+
tmp_36.na7_1 = tmp_38.w64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_39, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
|
|
4650
4658
|
var tmp_40 = this;
|
|
4651
4659
|
// Inline function 'org.kodein.di.instance' call
|
|
4652
4660
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4654,7 +4662,7 @@
|
|
|
4654
4662
|
var tmp$ret$20 = isInterface(tmp_41, TypeToken) ? tmp_41 : THROW_CCE();
|
|
4655
4663
|
var tmp_42 = Instance(di, tmp$ret$20, null);
|
|
4656
4664
|
var tmp_43 = KProperty1;
|
|
4657
|
-
tmp_40.
|
|
4665
|
+
tmp_40.oa7_1 = tmp_42.w64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_43, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
|
|
4658
4666
|
var tmp_44 = this;
|
|
4659
4667
|
// Inline function 'org.kodein.di.instance' call
|
|
4660
4668
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4662,7 +4670,7 @@
|
|
|
4662
4670
|
var tmp$ret$22 = isInterface(tmp_45, TypeToken) ? tmp_45 : THROW_CCE();
|
|
4663
4671
|
var tmp_46 = Instance(di, tmp$ret$22, null);
|
|
4664
4672
|
var tmp_47 = KProperty1;
|
|
4665
|
-
tmp_44.
|
|
4673
|
+
tmp_44.pa7_1 = tmp_46.w64(this, getPropertyCallableRef('dealerConfig', 1, tmp_47, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
|
|
4666
4674
|
var tmp_48 = this;
|
|
4667
4675
|
// Inline function 'org.kodein.di.instance' call
|
|
4668
4676
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4670,7 +4678,7 @@
|
|
|
4670
4678
|
var tmp$ret$24 = isInterface(tmp_49, TypeToken) ? tmp_49 : THROW_CCE();
|
|
4671
4679
|
var tmp_50 = Instance(di, tmp$ret$24, null);
|
|
4672
4680
|
var tmp_51 = KProperty1;
|
|
4673
|
-
tmp_48.
|
|
4681
|
+
tmp_48.qa7_1 = tmp_50.w64(this, getPropertyCallableRef('poolProvider', 1, tmp_51, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
|
|
4674
4682
|
var tmp_52 = this;
|
|
4675
4683
|
// Inline function 'org.kodein.di.instance' call
|
|
4676
4684
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4678,20 +4686,20 @@
|
|
|
4678
4686
|
var tmp$ret$26 = isInterface(tmp_53, TypeToken) ? tmp_53 : THROW_CCE();
|
|
4679
4687
|
var tmp_54 = Instance(di, tmp$ret$26, null);
|
|
4680
4688
|
var tmp_55 = KProperty1;
|
|
4681
|
-
tmp_52.
|
|
4689
|
+
tmp_52.ra7_1 = tmp_54.w64(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_55, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
|
|
4682
4690
|
}
|
|
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
4691
|
protoOf(ServerGameStoreContract).g93 = function () {
|
|
4687
|
-
|
|
4692
|
+
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))]));
|
|
4693
|
+
};
|
|
4694
|
+
protoOf(ServerGameStoreContract).h93 = function () {
|
|
4695
|
+
var tmp = this.za6_1.h93();
|
|
4688
4696
|
var tmp_0;
|
|
4689
4697
|
if (_get_serverConfig__rk2g06(this).finishGameWhenNotLiveStrategy.equals(FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance())) {
|
|
4690
4698
|
tmp_0 = checkBotsMiddleware(_get_logger__rkp4sl(this));
|
|
4691
4699
|
} else {
|
|
4692
4700
|
tmp_0 = null;
|
|
4693
4701
|
}
|
|
4694
|
-
var tmp_1 = plus(plus(plus(plus(plus(plus(plus(tmp, listOfNotNull(tmp_0)), this.
|
|
4702
|
+
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
4703
|
var tmp_2 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this), _get_logger__rkp4sl(this));
|
|
4696
4704
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
4697
4705
|
var tmp1_logger = _get_logger__rkp4sl(this);
|
|
@@ -4742,7 +4750,7 @@
|
|
|
4742
4750
|
return this.q6h(store, next, action);
|
|
4743
4751
|
};
|
|
4744
4752
|
function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
|
|
4745
|
-
this.
|
|
4753
|
+
this.ua7_1 = this$0;
|
|
4746
4754
|
}
|
|
4747
4755
|
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).b6g = function (action) {
|
|
4748
4756
|
return action instanceof MechanicAction;
|
|
@@ -4753,11 +4761,11 @@
|
|
|
4753
4761
|
// Inline function 'kotlin.with' call
|
|
4754
4762
|
var tmp;
|
|
4755
4763
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
4756
|
-
var tmp0 = this.
|
|
4757
|
-
var tmp2 = action_0.
|
|
4758
|
-
var tmp4 = action_0.
|
|
4764
|
+
var tmp0 = this.ua7_1;
|
|
4765
|
+
var tmp2 = action_0.o8z_1;
|
|
4766
|
+
var tmp4 = action_0.q8z_1;
|
|
4759
4767
|
// Inline function 'kotlin.collections.map' call
|
|
4760
|
-
var this_0 = action_0.
|
|
4768
|
+
var this_0 = action_0.r8z_1;
|
|
4761
4769
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4762
4770
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
4763
4771
|
var _iterator__ex2g4s = this_0.l();
|
|
@@ -4793,7 +4801,7 @@
|
|
|
4793
4801
|
var _iterator__ex2g4s_2 = destination_1.l();
|
|
4794
4802
|
while (_iterator__ex2g4s_2.m()) {
|
|
4795
4803
|
var element_0 = _iterator__ex2g4s_2.n();
|
|
4796
|
-
var tmp0_aid = tmp0.
|
|
4804
|
+
var tmp0_aid = tmp0.ta7_1.d6e();
|
|
4797
4805
|
// Inline function 'kotlin.collections.map' call
|
|
4798
4806
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4799
4807
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -4815,16 +4823,16 @@
|
|
|
4815
4823
|
tmp = destination_2;
|
|
4816
4824
|
} else {
|
|
4817
4825
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
4818
|
-
var tmp0_0 = this.
|
|
4826
|
+
var tmp0_0 = this.ua7_1;
|
|
4819
4827
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4820
4828
|
var table = state.x6r();
|
|
4821
|
-
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.
|
|
4829
|
+
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.ta7_1.d6e(), table.id, null);
|
|
4822
4830
|
var tmp$ret$21 = mapToClient_16(action_0, sendToPlayer_0);
|
|
4823
4831
|
tmp = listOfNotNull(tmp$ret$21);
|
|
4824
4832
|
} else {
|
|
4825
4833
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
4826
|
-
var tmp0_1 = this.
|
|
4827
|
-
var tmp2_0 = action_0.
|
|
4834
|
+
var tmp0_1 = this.ua7_1;
|
|
4835
|
+
var tmp2_0 = action_0.u8z_1.id;
|
|
4828
4836
|
var tmp4_0 = action_0.gameCreatorPlayerId;
|
|
4829
4837
|
// Inline function 'kotlin.collections.map' call
|
|
4830
4838
|
var this_1 = action_0.users;
|
|
@@ -4863,7 +4871,7 @@
|
|
|
4863
4871
|
var _iterator__ex2g4s_7 = destination_6.l();
|
|
4864
4872
|
while (_iterator__ex2g4s_7.m()) {
|
|
4865
4873
|
var element_2 = _iterator__ex2g4s_7.n();
|
|
4866
|
-
var tmp0_aid_0 = tmp0_1.
|
|
4874
|
+
var tmp0_aid_0 = tmp0_1.ta7_1.d6e();
|
|
4867
4875
|
// Inline function 'kotlin.collections.map' call
|
|
4868
4876
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4869
4877
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -4885,39 +4893,39 @@
|
|
|
4885
4893
|
tmp = destination_7;
|
|
4886
4894
|
} else {
|
|
4887
4895
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
4888
|
-
var tmp0_2 = this.
|
|
4896
|
+
var tmp0_2 = this.ua7_1;
|
|
4889
4897
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4890
4898
|
var table_0 = state.x6r();
|
|
4891
|
-
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.
|
|
4899
|
+
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.ta7_1.d6e(), table_0.id, null);
|
|
4892
4900
|
var tmp$ret$44 = mapToClient_14(action_0, sendToPlayer_2);
|
|
4893
4901
|
tmp = listOfNotNull(tmp$ret$44);
|
|
4894
4902
|
} else {
|
|
4895
4903
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
4896
|
-
var tmp0_3 = this.
|
|
4904
|
+
var tmp0_3 = this.ua7_1;
|
|
4897
4905
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4898
4906
|
var table_1 = state.x6r();
|
|
4899
|
-
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.
|
|
4907
|
+
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.ta7_1.d6e(), table_1.id, null);
|
|
4900
4908
|
var tmp$ret$46 = mapToClient_13(action_0, sendToPlayer_3);
|
|
4901
4909
|
tmp = listOfNotNull(tmp$ret$46);
|
|
4902
4910
|
} else {
|
|
4903
4911
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
4904
|
-
var tmp0_4 = this.
|
|
4912
|
+
var tmp0_4 = this.ua7_1;
|
|
4905
4913
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4906
4914
|
var table_2 = state.x6r();
|
|
4907
|
-
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.
|
|
4915
|
+
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.ta7_1.d6e(), table_2.id, null);
|
|
4908
4916
|
var tmp$ret$48 = mapToClient_12(action_0, sendToPlayer_4);
|
|
4909
4917
|
tmp = listOfNotNull(tmp$ret$48);
|
|
4910
4918
|
} else {
|
|
4911
4919
|
if (action_0 instanceof ErrorAction) {
|
|
4912
|
-
var tmp0_5 = this.
|
|
4920
|
+
var tmp0_5 = this.ua7_1;
|
|
4913
4921
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4914
4922
|
var table_3 = state.x6r();
|
|
4915
|
-
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.
|
|
4923
|
+
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.ta7_1.d6e(), table_3.id, null);
|
|
4916
4924
|
var tmp$ret$50 = mapToClient_11(action_0, sendToPlayer_5);
|
|
4917
4925
|
tmp = listOfNotNull(tmp$ret$50);
|
|
4918
4926
|
} else {
|
|
4919
4927
|
if (action_0 instanceof SceneMechanicAction) {
|
|
4920
|
-
var tmp0_6 = this.
|
|
4928
|
+
var tmp0_6 = this.ua7_1;
|
|
4921
4929
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4922
4930
|
var table_4 = state.x6r();
|
|
4923
4931
|
var tmp2_1 = table_4.id;
|
|
@@ -4950,7 +4958,7 @@
|
|
|
4950
4958
|
var _iterator__ex2g4s_11 = destination_10.l();
|
|
4951
4959
|
while (_iterator__ex2g4s_11.m()) {
|
|
4952
4960
|
var element_4 = _iterator__ex2g4s_11.n();
|
|
4953
|
-
var tmp0_aid_1 = tmp0_6.
|
|
4961
|
+
var tmp0_aid_1 = tmp0_6.ta7_1.d6e();
|
|
4954
4962
|
// Inline function 'kotlin.collections.map' call
|
|
4955
4963
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4956
4964
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -4972,7 +4980,7 @@
|
|
|
4972
4980
|
tmp = destination_11;
|
|
4973
4981
|
} else {
|
|
4974
4982
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
4975
|
-
var tmp0_7 = this.
|
|
4983
|
+
var tmp0_7 = this.ua7_1;
|
|
4976
4984
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4977
4985
|
var table_5 = state.x6r();
|
|
4978
4986
|
var tmp2_2 = table_5.id;
|
|
@@ -5005,7 +5013,7 @@
|
|
|
5005
5013
|
var _iterator__ex2g4s_15 = destination_14.l();
|
|
5006
5014
|
while (_iterator__ex2g4s_15.m()) {
|
|
5007
5015
|
var element_6 = _iterator__ex2g4s_15.n();
|
|
5008
|
-
var tmp0_aid_2 = tmp0_7.
|
|
5016
|
+
var tmp0_aid_2 = tmp0_7.ta7_1.d6e();
|
|
5009
5017
|
// Inline function 'kotlin.collections.map' call
|
|
5010
5018
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5011
5019
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -5027,7 +5035,7 @@
|
|
|
5027
5035
|
tmp = destination_15;
|
|
5028
5036
|
} else {
|
|
5029
5037
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
5030
|
-
var tmp0_8 = this.
|
|
5038
|
+
var tmp0_8 = this.ua7_1;
|
|
5031
5039
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
5032
5040
|
var table_6 = state.x6r();
|
|
5033
5041
|
var tmp2_3 = table_6.id;
|
|
@@ -5060,7 +5068,7 @@
|
|
|
5060
5068
|
var _iterator__ex2g4s_19 = destination_18.l();
|
|
5061
5069
|
while (_iterator__ex2g4s_19.m()) {
|
|
5062
5070
|
var element_8 = _iterator__ex2g4s_19.n();
|
|
5063
|
-
var tmp0_aid_3 = tmp0_8.
|
|
5071
|
+
var tmp0_aid_3 = tmp0_8.ta7_1.d6e();
|
|
5064
5072
|
// Inline function 'kotlin.collections.map' call
|
|
5065
5073
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5066
5074
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -5072,7 +5080,7 @@
|
|
|
5072
5080
|
}
|
|
5073
5081
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_3, tmp4_3, element_8, destination_20);
|
|
5074
5082
|
var tmp_0;
|
|
5075
|
-
if (this.
|
|
5083
|
+
if (this.ua7_1.sa7_1.supportBackwardActions && getPlayer(state.x6r().players, sendToPlayer_8.x7f_1).h6v_1.c6z_1) {
|
|
5076
5084
|
tmp_0 = null;
|
|
5077
5085
|
} else {
|
|
5078
5086
|
tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
|
|
@@ -5088,72 +5096,72 @@
|
|
|
5088
5096
|
tmp = destination_19;
|
|
5089
5097
|
} else {
|
|
5090
5098
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
5091
|
-
var tmp0_9 = this.
|
|
5099
|
+
var tmp0_9 = this.ua7_1;
|
|
5092
5100
|
var tmp2_4 = state.x6r();
|
|
5093
5101
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5094
|
-
var exceptPlayerId = this.
|
|
5095
|
-
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.
|
|
5102
|
+
var exceptPlayerId = this.ua7_1.sa7_1.supportBackwardActions ? action_0.p90_1 : null;
|
|
5103
|
+
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.ta7_1.d6e(), tmp2_4.id, exceptPlayerId);
|
|
5096
5104
|
var tmp$ret$109 = mapToClient_7(action_0, sendToPlayer_9);
|
|
5097
5105
|
tmp = listOfNotNull(tmp$ret$109);
|
|
5098
5106
|
} else {
|
|
5099
5107
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
5100
|
-
var tmp0_10 = this.
|
|
5108
|
+
var tmp0_10 = this.ua7_1;
|
|
5101
5109
|
var tmp2_5 = state.x6r();
|
|
5102
5110
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5103
|
-
var exceptPlayerId_0 = this.
|
|
5104
|
-
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.
|
|
5111
|
+
var exceptPlayerId_0 = this.ua7_1.sa7_1.supportBackwardActions ? action_0.r8v_1 : null;
|
|
5112
|
+
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.ta7_1.d6e(), tmp2_5.id, exceptPlayerId_0);
|
|
5105
5113
|
var tmp$ret$111 = mapToClient_6(action_0, sendToPlayer_10);
|
|
5106
5114
|
tmp = listOfNotNull(tmp$ret$111);
|
|
5107
5115
|
} else {
|
|
5108
5116
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
5109
|
-
var tmp0_11 = this.
|
|
5117
|
+
var tmp0_11 = this.ua7_1;
|
|
5110
5118
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5111
5119
|
var table_7 = state.x6r();
|
|
5112
|
-
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.
|
|
5120
|
+
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.ta7_1.d6e(), table_7.id, null);
|
|
5113
5121
|
var tmp$ret$113 = mapToClient_5(action_0, sendToPlayer_11);
|
|
5114
5122
|
tmp = listOfNotNull(tmp$ret$113);
|
|
5115
5123
|
} else {
|
|
5116
5124
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
5117
|
-
var tmp0_12 = this.
|
|
5125
|
+
var tmp0_12 = this.ua7_1;
|
|
5118
5126
|
var tmp2_6 = state.x6r();
|
|
5119
5127
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5120
|
-
var exceptPlayerId_1 = this.
|
|
5121
|
-
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.
|
|
5128
|
+
var exceptPlayerId_1 = this.ua7_1.sa7_1.supportBackwardActions ? action_0.v90_1 : null;
|
|
5129
|
+
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.ta7_1.d6e(), tmp2_6.id, exceptPlayerId_1);
|
|
5122
5130
|
var tmp$ret$115 = mapToClient_4(action_0, sendToPlayer_12);
|
|
5123
5131
|
tmp = listOfNotNull(tmp$ret$115);
|
|
5124
5132
|
} else {
|
|
5125
5133
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
5126
|
-
var tmp0_13 = this.
|
|
5134
|
+
var tmp0_13 = this.ua7_1;
|
|
5127
5135
|
var tmp2_7 = state.x6r();
|
|
5128
5136
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5129
|
-
var exceptPlayerId_2 = this.
|
|
5130
|
-
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.
|
|
5137
|
+
var exceptPlayerId_2 = this.ua7_1.sa7_1.supportBackwardActions ? action_0.w8v_1 : null;
|
|
5138
|
+
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.ta7_1.d6e(), tmp2_7.id, exceptPlayerId_2);
|
|
5131
5139
|
var tmp$ret$117 = mapToClient_3(action_0, sendToPlayer_13);
|
|
5132
5140
|
tmp = listOfNotNull(tmp$ret$117);
|
|
5133
5141
|
} else {
|
|
5134
5142
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
5135
|
-
var tmp0_14 = this.
|
|
5143
|
+
var tmp0_14 = this.ua7_1;
|
|
5136
5144
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5137
5145
|
var table_8 = state.x6r();
|
|
5138
|
-
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.
|
|
5146
|
+
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.ta7_1.d6e(), table_8.id, null);
|
|
5139
5147
|
var tmp$ret$119 = mapToClient_2(action_0, sendToPlayer_14);
|
|
5140
5148
|
tmp = listOfNotNull(tmp$ret$119);
|
|
5141
5149
|
} else {
|
|
5142
5150
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
5143
|
-
var tmp0_15 = this.
|
|
5151
|
+
var tmp0_15 = this.ua7_1;
|
|
5144
5152
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5145
5153
|
var table_9 = state.x6r();
|
|
5146
|
-
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.
|
|
5154
|
+
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.ta7_1.d6e(), table_9.id, null);
|
|
5147
5155
|
var tmp$ret$121 = mapToClient_1(action_0, sendToPlayer_15);
|
|
5148
5156
|
tmp = listOfNotNull(tmp$ret$121);
|
|
5149
5157
|
} else {
|
|
5150
5158
|
if (action_0 instanceof MessageMechanicAction) {
|
|
5151
|
-
var message = action_0.
|
|
5152
|
-
var tmp0_16 = this.
|
|
5159
|
+
var message = action_0.z90_1;
|
|
5160
|
+
var tmp0_16 = this.ua7_1;
|
|
5153
5161
|
var tmp2_8 = state.x6r();
|
|
5154
5162
|
var tmp_1;
|
|
5155
5163
|
var tmp_2;
|
|
5156
|
-
if (this.
|
|
5164
|
+
if (this.ua7_1.sa7_1.supportBackwardActions) {
|
|
5157
5165
|
tmp_2 = isInterface(message, UserMessage);
|
|
5158
5166
|
} else {
|
|
5159
5167
|
tmp_2 = false;
|
|
@@ -5165,16 +5173,16 @@
|
|
|
5165
5173
|
}
|
|
5166
5174
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5167
5175
|
var exceptPlayerId_3 = tmp_1;
|
|
5168
|
-
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.
|
|
5176
|
+
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.ta7_1.d6e(), tmp2_8.id, exceptPlayerId_3);
|
|
5169
5177
|
var tmp$ret$123 = mapToClient_0(action_0, sendToPlayer_16);
|
|
5170
5178
|
tmp = listOfNotNull(tmp$ret$123);
|
|
5171
5179
|
} else {
|
|
5172
5180
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
5173
|
-
var tmp0_17 = this.
|
|
5181
|
+
var tmp0_17 = this.ua7_1;
|
|
5174
5182
|
var tmp2_9 = state.x6r();
|
|
5175
5183
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5176
5184
|
var exceptPlayerId_4 = action_0.playerId;
|
|
5177
|
-
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.
|
|
5185
|
+
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.ta7_1.d6e(), tmp2_9.id, exceptPlayerId_4);
|
|
5178
5186
|
var tmp$ret$125 = mapToClient(action_0, sendToPlayer_17);
|
|
5179
5187
|
tmp = listOfNotNull(tmp$ret$125);
|
|
5180
5188
|
} else {
|
|
@@ -5211,10 +5219,10 @@
|
|
|
5211
5219
|
return this.q6h(store, next, action);
|
|
5212
5220
|
};
|
|
5213
5221
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
5214
|
-
this.
|
|
5215
|
-
this.
|
|
5222
|
+
this.sa7_1 = logicConfig;
|
|
5223
|
+
this.ta7_1 = idsProvider;
|
|
5216
5224
|
}
|
|
5217
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
5225
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).n95 = function () {
|
|
5218
5226
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
5219
5227
|
return new ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this);
|
|
5220
5228
|
};
|
|
@@ -5223,8 +5231,8 @@
|
|
|
5223
5231
|
return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
|
|
5224
5232
|
}
|
|
5225
5233
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
5226
|
-
this.
|
|
5227
|
-
this.
|
|
5234
|
+
this.da8_1 = $provider;
|
|
5235
|
+
this.ea8_1 = $action;
|
|
5228
5236
|
CoroutineImpl.call(this, resultContinuation);
|
|
5229
5237
|
}
|
|
5230
5238
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -5245,7 +5253,7 @@
|
|
|
5245
5253
|
case 0:
|
|
5246
5254
|
this.t8_1 = 2;
|
|
5247
5255
|
this.s8_1 = 1;
|
|
5248
|
-
suspendResult = this.
|
|
5256
|
+
suspendResult = this.da8_1.qa4(this.ea8_1, this);
|
|
5249
5257
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5250
5258
|
return suspendResult;
|
|
5251
5259
|
}
|
|
@@ -5268,8 +5276,8 @@
|
|
|
5268
5276
|
while (true);
|
|
5269
5277
|
};
|
|
5270
5278
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).c2d = function ($this$launchDefault, completion) {
|
|
5271
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
5272
|
-
i.
|
|
5279
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.da8_1, this.ea8_1, completion);
|
|
5280
|
+
i.fa8_1 = $this$launchDefault;
|
|
5273
5281
|
return i;
|
|
5274
5282
|
};
|
|
5275
5283
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -5281,15 +5289,15 @@
|
|
|
5281
5289
|
return l;
|
|
5282
5290
|
}
|
|
5283
5291
|
function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
|
|
5284
|
-
this.
|
|
5285
|
-
this.
|
|
5292
|
+
this.ga8_1 = $asyncProvider;
|
|
5293
|
+
this.ha8_1 = $provider;
|
|
5286
5294
|
}
|
|
5287
5295
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).b6g = function (action) {
|
|
5288
5296
|
return action instanceof ToClientAction;
|
|
5289
5297
|
};
|
|
5290
5298
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).q6h = function (store, next, action) {
|
|
5291
5299
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
5292
|
-
this.
|
|
5300
|
+
this.ga8_1.i6c(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.ha8_1, action_0, null));
|
|
5293
5301
|
next(action_0);
|
|
5294
5302
|
};
|
|
5295
5303
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).a6g = function (store, next, action) {
|
|
@@ -5304,19 +5312,19 @@
|
|
|
5304
5312
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).b6g = function (action) {
|
|
5305
5313
|
return action instanceof UpdateServerConfigAction;
|
|
5306
5314
|
};
|
|
5307
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
5315
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).a9g = function (state, action) {
|
|
5308
5316
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
5309
|
-
return state.
|
|
5317
|
+
return state.p8y(VOID, get_serverStatePayload_0(state).copy(action_0.wa6_1));
|
|
5310
5318
|
};
|
|
5311
5319
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).r6h = function (state, action) {
|
|
5312
|
-
return this.
|
|
5320
|
+
return this.a9g((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5313
5321
|
};
|
|
5314
5322
|
function addRoomMetadata($this, _this__u8e3s4, gameId) {
|
|
5315
5323
|
_this__u8e3s4.metadata.addGame(gameId, new GameMetadata(gameId));
|
|
5316
5324
|
return _this__u8e3s4.metadata;
|
|
5317
5325
|
}
|
|
5318
5326
|
function Companion_5() {
|
|
5319
|
-
this.
|
|
5327
|
+
this.ia8_1 = 'ServerMechanicLifecycleReducer';
|
|
5320
5328
|
}
|
|
5321
5329
|
var Companion_instance_13;
|
|
5322
5330
|
function Companion_getInstance_6() {
|
|
@@ -5333,7 +5341,7 @@
|
|
|
5333
5341
|
var tmp_2 = PlayerConnectionState_LIVE_getInstance();
|
|
5334
5342
|
Companion_getInstance();
|
|
5335
5343
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
5336
|
-
var this_0 = $action.
|
|
5344
|
+
var this_0 = $action.n8z_1.timeoutTimeMillis;
|
|
5337
5345
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
5338
5346
|
tmp_0 = tmp_1.k67(tmp_2, tmp$ret$0);
|
|
5339
5347
|
}
|
|
@@ -5342,65 +5350,65 @@
|
|
|
5342
5350
|
}
|
|
5343
5351
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
5344
5352
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
5345
|
-
this.
|
|
5353
|
+
this.la8_1 = logger;
|
|
5346
5354
|
}
|
|
5347
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5348
|
-
this.
|
|
5355
|
+
protoOf(ServerMechanicLifecycleReducer).m9h = function (state, action) {
|
|
5356
|
+
this.la8_1.d('ServerMechanicLifecycleReducer', 'onStart ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
5349
5357
|
var serverState = get_serverStatePayloadOrNull(state.payload);
|
|
5350
|
-
var tableId = action.
|
|
5358
|
+
var tableId = action.o8z_1;
|
|
5351
5359
|
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.
|
|
5360
|
+
var tmp0_$this = this.n9h_1;
|
|
5361
|
+
var tmp1_version = action.p8z_1;
|
|
5362
|
+
var tmp2_config = action.n8z_1;
|
|
5363
|
+
var tmp3_users = action.r8z_1;
|
|
5356
5364
|
var tmp4_spectators = action.spectators;
|
|
5357
|
-
var tmp5_gameCreatorPlayerId = action.
|
|
5358
|
-
var tmp7_tableOrNull = tmp0_$this.
|
|
5365
|
+
var tmp5_gameCreatorPlayerId = action.q8z_1;
|
|
5366
|
+
var tmp7_tableOrNull = tmp0_$this.t9i(tableId, tableId, tmp2_config, tmp1_version, tmp3_users, tmp4_spectators, tmp5_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
|
|
5359
5367
|
var tmp;
|
|
5360
5368
|
if (serverState == null) {
|
|
5361
|
-
this.
|
|
5369
|
+
this.la8_1.w(VOID, 'ServerPayload is not onStart');
|
|
5362
5370
|
tmp = Companion_instance_14.initial(VOID, addRoomMetadata(this, get_serverStatePayload_0(state), tableId));
|
|
5363
5371
|
} else {
|
|
5364
5372
|
tmp = serverState.copy(VOID, addRoomMetadata(this, get_serverStatePayload_0(state), tableId));
|
|
5365
5373
|
}
|
|
5366
5374
|
var tmp8_payload = tmp;
|
|
5367
|
-
return state.
|
|
5375
|
+
return state.p8y(tmp7_tableOrNull, tmp8_payload, tmp6_gameLifecycleState);
|
|
5368
5376
|
};
|
|
5369
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5370
|
-
this.
|
|
5377
|
+
protoOf(ServerMechanicLifecycleReducer).k9h = function (state, action) {
|
|
5378
|
+
this.la8_1.d('ServerMechanicLifecycleReducer', 'onContinue ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
5371
5379
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5372
|
-
var tmp2_tableOrNull = action.
|
|
5380
|
+
var tmp2_tableOrNull = action.u8z_1;
|
|
5373
5381
|
var tmp = Companion_instance_14;
|
|
5374
5382
|
var tmp_0 = get_serverStatePayload_0(state).config;
|
|
5375
|
-
var tmp_1 = action.
|
|
5383
|
+
var tmp_1 = action.v8z_1;
|
|
5376
5384
|
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.
|
|
5385
|
+
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));
|
|
5386
|
+
return state.p8y(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
|
|
5379
5387
|
};
|
|
5380
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5381
|
-
this.
|
|
5388
|
+
protoOf(ServerMechanicLifecycleReducer).l9h = function (state, action) {
|
|
5389
|
+
this.o9h_1.n58(action.previousGameId);
|
|
5382
5390
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5383
|
-
var tmp1_tableOrNull = this.
|
|
5391
|
+
var tmp1_tableOrNull = this.n9h_1.u9i(state.x6r(), action.gameId);
|
|
5384
5392
|
var tmp2_payload = get_serverStatePayload_0(state).copy(VOID, addRoomMetadata(this, get_serverStatePayload_0(state), action.gameId));
|
|
5385
|
-
return state.
|
|
5393
|
+
return state.p8y(tmp1_tableOrNull, tmp2_payload, tmp0_gameLifecycleState);
|
|
5386
5394
|
};
|
|
5387
5395
|
function spectatorsReducer(logger) {
|
|
5388
5396
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
5389
5397
|
return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
|
|
5390
5398
|
}
|
|
5391
5399
|
function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
|
|
5392
|
-
this.
|
|
5400
|
+
this.ma8_1 = $logger;
|
|
5393
5401
|
}
|
|
5394
5402
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).b6g = function (action) {
|
|
5395
5403
|
return isInterface(action, SpectatorsAction);
|
|
5396
5404
|
};
|
|
5397
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
5405
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).a9g = function (state, action) {
|
|
5398
5406
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
5399
5407
|
var table = state.x6r();
|
|
5400
5408
|
var tmp;
|
|
5401
5409
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
5402
5410
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5403
|
-
var tmp0 = action_0.
|
|
5411
|
+
var tmp0 = action_0.xa6_1;
|
|
5404
5412
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5405
5413
|
var destination = ArrayList_init_$Create$_0();
|
|
5406
5414
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5419,9 +5427,9 @@
|
|
|
5419
5427
|
var tmp_0;
|
|
5420
5428
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5421
5429
|
if (!sameSpectators.r()) {
|
|
5422
|
-
this.
|
|
5430
|
+
this.ma8_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
5423
5431
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5424
|
-
var tmp0_0 = action_0.
|
|
5432
|
+
var tmp0_0 = action_0.xa6_1;
|
|
5425
5433
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5426
5434
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
5427
5435
|
var _iterator__ex2g4s_0 = tmp0_0.l();
|
|
@@ -5456,7 +5464,7 @@
|
|
|
5456
5464
|
}
|
|
5457
5465
|
tmp_0 = destination_0;
|
|
5458
5466
|
} else {
|
|
5459
|
-
tmp_0 = action_0.
|
|
5467
|
+
tmp_0 = action_0.xa6_1;
|
|
5460
5468
|
}
|
|
5461
5469
|
// Inline function 'kotlin.collections.map' call
|
|
5462
5470
|
var this_0 = tmp_0;
|
|
@@ -5469,11 +5477,11 @@
|
|
|
5469
5477
|
destination_1.j(tmp$ret$13);
|
|
5470
5478
|
}
|
|
5471
5479
|
var spectatorsToAdd = toSet(destination_1);
|
|
5472
|
-
tmp = state.
|
|
5480
|
+
tmp = state.p8y(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
|
|
5473
5481
|
} else {
|
|
5474
5482
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
5475
5483
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5476
|
-
var tmp0_1 = action_0.
|
|
5484
|
+
var tmp0_1 = action_0.ya6_1;
|
|
5477
5485
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5478
5486
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
5479
5487
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5492,9 +5500,9 @@
|
|
|
5492
5500
|
var tmp_2;
|
|
5493
5501
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5494
5502
|
if (!sameSpectators_0.r()) {
|
|
5495
|
-
this.
|
|
5503
|
+
this.ma8_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
5496
5504
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5497
|
-
var tmp0_2 = action_0.
|
|
5505
|
+
var tmp0_2 = action_0.ya6_1;
|
|
5498
5506
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5499
5507
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
5500
5508
|
var _iterator__ex2g4s_4 = tmp0_2.l();
|
|
@@ -5529,7 +5537,7 @@
|
|
|
5529
5537
|
}
|
|
5530
5538
|
tmp_2 = destination_3;
|
|
5531
5539
|
} else {
|
|
5532
|
-
tmp_2 = action_0.
|
|
5540
|
+
tmp_2 = action_0.ya6_1;
|
|
5533
5541
|
}
|
|
5534
5542
|
var spectatorsToRemove = toSet(tmp_2);
|
|
5535
5543
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -5566,7 +5574,7 @@
|
|
|
5566
5574
|
destination_4.j(element_5);
|
|
5567
5575
|
}
|
|
5568
5576
|
}
|
|
5569
|
-
tmp = state.
|
|
5577
|
+
tmp = state.p8y(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
|
|
5570
5578
|
} else {
|
|
5571
5579
|
noWhenBranchMatchedException();
|
|
5572
5580
|
}
|
|
@@ -5574,17 +5582,17 @@
|
|
|
5574
5582
|
return tmp;
|
|
5575
5583
|
};
|
|
5576
5584
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).r6h = function (state, action) {
|
|
5577
|
-
return this.
|
|
5585
|
+
return this.a9g((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5578
5586
|
};
|
|
5579
5587
|
function Companion_6() {
|
|
5580
5588
|
}
|
|
5581
|
-
protoOf(Companion_6).
|
|
5589
|
+
protoOf(Companion_6).na8 = function (config, metadata) {
|
|
5582
5590
|
return new ServerStatePayload(config, metadata);
|
|
5583
5591
|
};
|
|
5584
5592
|
protoOf(Companion_6).initial = function (config, metadata, $super) {
|
|
5585
5593
|
config = config === VOID ? Companion_instance_8.initial(null) : config;
|
|
5586
5594
|
metadata = metadata === VOID ? new RoomMetadata() : metadata;
|
|
5587
|
-
return $super === VOID ? this.
|
|
5595
|
+
return $super === VOID ? this.na8(config, metadata) : $super.na8.call(this, config, metadata);
|
|
5588
5596
|
};
|
|
5589
5597
|
var Companion_instance_14;
|
|
5590
5598
|
function Companion_getInstance_7() {
|
|
@@ -5597,7 +5605,7 @@
|
|
|
5597
5605
|
protoOf(ServerStatePayload).z3s = function () {
|
|
5598
5606
|
return this.config;
|
|
5599
5607
|
};
|
|
5600
|
-
protoOf(ServerStatePayload).
|
|
5608
|
+
protoOf(ServerStatePayload).j8j = function () {
|
|
5601
5609
|
return this.metadata;
|
|
5602
5610
|
};
|
|
5603
5611
|
protoOf(ServerStatePayload).oe = function () {
|
|
@@ -5606,13 +5614,13 @@
|
|
|
5606
5614
|
protoOf(ServerStatePayload).pe = function () {
|
|
5607
5615
|
return this.metadata;
|
|
5608
5616
|
};
|
|
5609
|
-
protoOf(ServerStatePayload).
|
|
5617
|
+
protoOf(ServerStatePayload).oa8 = function (config, metadata) {
|
|
5610
5618
|
return new ServerStatePayload(config, metadata);
|
|
5611
5619
|
};
|
|
5612
5620
|
protoOf(ServerStatePayload).copy = function (config, metadata, $super) {
|
|
5613
5621
|
config = config === VOID ? this.config : config;
|
|
5614
5622
|
metadata = metadata === VOID ? this.metadata : metadata;
|
|
5615
|
-
return $super === VOID ? this.
|
|
5623
|
+
return $super === VOID ? this.oa8(config, metadata) : $super.oa8.call(this, config, metadata);
|
|
5616
5624
|
};
|
|
5617
5625
|
protoOf(ServerStatePayload).toString = function () {
|
|
5618
5626
|
return 'ServerStatePayload(config=' + this.config.toString() + ', metadata=' + toString(this.metadata) + ')';
|
|
@@ -5660,7 +5668,7 @@
|
|
|
5660
5668
|
return new ServerLoggerKey(_this__u8e3s4.gameId);
|
|
5661
5669
|
}
|
|
5662
5670
|
function serverLoggerKeyFromPayload(_this__u8e3s4, payload) {
|
|
5663
|
-
var gameId = Companion_instance_3.
|
|
5671
|
+
var gameId = Companion_instance_3.v9k(payload);
|
|
5664
5672
|
var tmp;
|
|
5665
5673
|
if (!(gameId == null)) {
|
|
5666
5674
|
tmp = new ServerLoggerKey(gameId);
|
|
@@ -5677,14 +5685,14 @@
|
|
|
5677
5685
|
return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
|
|
5678
5686
|
}
|
|
5679
5687
|
function _get_logger__rkp4sl_0($this) {
|
|
5680
|
-
var tmp0 = $this.
|
|
5688
|
+
var tmp0 = $this.ya8_1;
|
|
5681
5689
|
var tmp = KProperty1;
|
|
5682
5690
|
// Inline function 'kotlin.getValue' call
|
|
5683
5691
|
getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
|
|
5684
5692
|
return tmp0.x();
|
|
5685
5693
|
}
|
|
5686
5694
|
function _get_di__ndbzja($this) {
|
|
5687
|
-
var tmp0 = $this.
|
|
5695
|
+
var tmp0 = $this.za8_1;
|
|
5688
5696
|
var tmp = KProperty1;
|
|
5689
5697
|
// Inline function 'kotlin.getValue' call
|
|
5690
5698
|
getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
|
|
@@ -5701,8 +5709,8 @@
|
|
|
5701
5709
|
}
|
|
5702
5710
|
function createCallbackOutput($this, gameServer) {
|
|
5703
5711
|
var tmp;
|
|
5704
|
-
if (!($this.
|
|
5705
|
-
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.
|
|
5712
|
+
if (!($this.wa8_1 == null)) {
|
|
5713
|
+
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.wa8_1);
|
|
5706
5714
|
tmp = new CallbackWrapperLoggerOutput(tmp_0, GameServerEngineControllerImpl$createCallbackOutput$lambda(gameServer));
|
|
5707
5715
|
} else {
|
|
5708
5716
|
tmp = null;
|
|
@@ -5716,11 +5724,11 @@
|
|
|
5716
5724
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
5717
5725
|
return function () {
|
|
5718
5726
|
var tmp;
|
|
5719
|
-
if (this$0.
|
|
5727
|
+
if (this$0.wa8_1 == null) {
|
|
5720
5728
|
tmp = null;
|
|
5721
5729
|
} else {
|
|
5722
5730
|
// Inline function 'kotlin.let' call
|
|
5723
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
5731
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.wa8_1)]));
|
|
5724
5732
|
}
|
|
5725
5733
|
var tmp1_elvis_lhs = tmp;
|
|
5726
5734
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -5753,7 +5761,7 @@
|
|
|
5753
5761
|
tmp_0.z62(tmp$ret$3);
|
|
5754
5762
|
$this$DI.d5z(jsonModule());
|
|
5755
5763
|
$this$DI.d5z(serverHelpersModule());
|
|
5756
|
-
$this$DI.d5z(randomOrgModule(this$0.
|
|
5764
|
+
$this$DI.d5z(randomOrgModule(this$0.xa8_1));
|
|
5757
5765
|
return Unit_instance;
|
|
5758
5766
|
};
|
|
5759
5767
|
}
|
|
@@ -5829,16 +5837,16 @@
|
|
|
5829
5837
|
};
|
|
5830
5838
|
}
|
|
5831
5839
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
5832
|
-
this.
|
|
5840
|
+
this.ga9_1 = $reducer;
|
|
5833
5841
|
}
|
|
5834
5842
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).b6g = function (action) {
|
|
5835
5843
|
return isInterface(action, Action);
|
|
5836
5844
|
};
|
|
5837
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
5838
|
-
return this.
|
|
5845
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).a9g = function (state, action) {
|
|
5846
|
+
return this.ga9_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
5839
5847
|
};
|
|
5840
5848
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).r6h = function (state, action) {
|
|
5841
|
-
return this.
|
|
5849
|
+
return this.a9g((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5842
5850
|
};
|
|
5843
5851
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($gameServer) {
|
|
5844
5852
|
return function () {
|
|
@@ -5918,7 +5926,7 @@
|
|
|
5918
5926
|
}
|
|
5919
5927
|
function GameServerEngineControllerImpl$createCallbackOutput$lambda($gameServer) {
|
|
5920
5928
|
return function (it) {
|
|
5921
|
-
var payload = Companion_instance_5.
|
|
5929
|
+
var payload = Companion_instance_5.h9j(it);
|
|
5922
5930
|
var tmp;
|
|
5923
5931
|
if (!(payload == null)) {
|
|
5924
5932
|
return payload;
|
|
@@ -5939,7 +5947,7 @@
|
|
|
5939
5947
|
// Inline function 'kotlin.let' call
|
|
5940
5948
|
$this$DI.d5z(tmp0_safe_receiver);
|
|
5941
5949
|
}
|
|
5942
|
-
$this$DI.d5z(dealerModule(this$0.randomPoolProvider, this$0.
|
|
5950
|
+
$this$DI.d5z(dealerModule(this$0.randomPoolProvider, this$0.xa8_1));
|
|
5943
5951
|
$this$DI.d5z(coreModule($coreConfig));
|
|
5944
5952
|
$this$DI.d5z(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $ratingConfig, $externalReducers, $externalMiddlewares));
|
|
5945
5953
|
return Unit_instance;
|
|
@@ -5948,8 +5956,8 @@
|
|
|
5948
5956
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
5949
5957
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
5950
5958
|
production = production === VOID ? true : production;
|
|
5951
|
-
this.
|
|
5952
|
-
this.
|
|
5959
|
+
this.wa8_1 = loggerCallback;
|
|
5960
|
+
this.xa8_1 = randomOrgConfig;
|
|
5953
5961
|
var tmp = AppEnvironment_getInstance();
|
|
5954
5962
|
var tmp_0;
|
|
5955
5963
|
if (production) {
|
|
@@ -5959,9 +5967,9 @@
|
|
|
5959
5967
|
}
|
|
5960
5968
|
tmp.y6l(tmp_0);
|
|
5961
5969
|
var tmp_1 = this;
|
|
5962
|
-
tmp_1.
|
|
5970
|
+
tmp_1.ya8_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
5963
5971
|
var tmp_2 = this;
|
|
5964
|
-
tmp_2.
|
|
5972
|
+
tmp_2.za8_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
5965
5973
|
var tmp_3 = this;
|
|
5966
5974
|
// Inline function 'org.kodein.di.instance' call
|
|
5967
5975
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -5970,7 +5978,7 @@
|
|
|
5970
5978
|
var tmp$ret$0 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
5971
5979
|
var tmp_5 = Instance(this_0, tmp$ret$0, null);
|
|
5972
5980
|
var tmp_6 = KProperty1;
|
|
5973
|
-
tmp_3.
|
|
5981
|
+
tmp_3.aa9_1 = tmp_5.w64(this, getPropertyCallableRef('parser', 1, tmp_6, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
|
|
5974
5982
|
var tmp_7 = this;
|
|
5975
5983
|
// Inline function 'org.kodein.di.instance' call
|
|
5976
5984
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -5979,7 +5987,7 @@
|
|
|
5979
5987
|
var tmp$ret$2 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
5980
5988
|
var tmp_9 = Instance(this_1, tmp$ret$2, null);
|
|
5981
5989
|
var tmp_10 = KProperty1;
|
|
5982
|
-
tmp_7.
|
|
5990
|
+
tmp_7.ba9_1 = tmp_9.w64(this, getPropertyCallableRef('helper', 1, tmp_10, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
|
|
5983
5991
|
var tmp_11 = this;
|
|
5984
5992
|
// Inline function 'org.kodein.di.instance' call
|
|
5985
5993
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -5988,7 +5996,7 @@
|
|
|
5988
5996
|
var tmp$ret$4 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
5989
5997
|
var tmp_13 = Instance(this_2, tmp$ret$4, null);
|
|
5990
5998
|
var tmp_14 = KProperty1;
|
|
5991
|
-
tmp_11.
|
|
5999
|
+
tmp_11.ca9_1 = tmp_13.w64(this, getPropertyCallableRef('serverHelper', 1, tmp_14, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
|
|
5992
6000
|
var tmp_15 = this;
|
|
5993
6001
|
// Inline function 'org.kodein.di.instance' call
|
|
5994
6002
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -5997,7 +6005,7 @@
|
|
|
5997
6005
|
var tmp$ret$6 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
5998
6006
|
var tmp_17 = Instance(this_3, tmp$ret$6, null);
|
|
5999
6007
|
var tmp_18 = KProperty1;
|
|
6000
|
-
tmp_15.
|
|
6008
|
+
tmp_15.da9_1 = tmp_17.w64(this, getPropertyCallableRef('resources', 1, tmp_18, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
|
|
6001
6009
|
var tmp_19 = this;
|
|
6002
6010
|
// Inline function 'org.kodein.di.instance' call
|
|
6003
6011
|
var this_4 = _get_di__ndbzja(this);
|
|
@@ -6006,7 +6014,7 @@
|
|
|
6006
6014
|
var tmp$ret$8 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
6007
6015
|
var tmp_21 = Instance(this_4, tmp$ret$8, null);
|
|
6008
6016
|
var tmp_22 = KProperty1;
|
|
6009
|
-
tmp_19.
|
|
6017
|
+
tmp_19.ea9_1 = tmp_21.w64(this, getPropertyCallableRef('test', 1, tmp_22, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
|
|
6010
6018
|
var tmp_23 = this;
|
|
6011
6019
|
// Inline function 'org.kodein.di.instance' call
|
|
6012
6020
|
var this_5 = _get_di__ndbzja(this);
|
|
@@ -6015,45 +6023,45 @@
|
|
|
6015
6023
|
var tmp$ret$10 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
6016
6024
|
var tmp_25 = Instance(this_5, tmp$ret$10, null);
|
|
6017
6025
|
var tmp_26 = KProperty1;
|
|
6018
|
-
tmp_23.
|
|
6026
|
+
tmp_23.fa9_1 = tmp_25.w64(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_26, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
|
|
6019
6027
|
}
|
|
6020
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6021
|
-
var tmp0 = this.
|
|
6028
|
+
protoOf(GameServerEngineControllerImpl).pa8 = function () {
|
|
6029
|
+
var tmp0 = this.aa9_1;
|
|
6022
6030
|
var tmp = KProperty1;
|
|
6023
6031
|
// Inline function 'kotlin.getValue' call
|
|
6024
6032
|
getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
|
|
6025
6033
|
return tmp0.x();
|
|
6026
6034
|
};
|
|
6027
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6028
|
-
var tmp0 = this.
|
|
6035
|
+
protoOf(GameServerEngineControllerImpl).ra8 = function () {
|
|
6036
|
+
var tmp0 = this.ba9_1;
|
|
6029
6037
|
var tmp = KProperty1;
|
|
6030
6038
|
// Inline function 'kotlin.getValue' call
|
|
6031
6039
|
getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
|
|
6032
6040
|
return tmp0.x();
|
|
6033
6041
|
};
|
|
6034
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6035
|
-
var tmp0 = this.
|
|
6042
|
+
protoOf(GameServerEngineControllerImpl).sa8 = function () {
|
|
6043
|
+
var tmp0 = this.ca9_1;
|
|
6036
6044
|
var tmp = KProperty1;
|
|
6037
6045
|
// Inline function 'kotlin.getValue' call
|
|
6038
6046
|
getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
|
|
6039
6047
|
return tmp0.x();
|
|
6040
6048
|
};
|
|
6041
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6042
|
-
var tmp0 = this.
|
|
6049
|
+
protoOf(GameServerEngineControllerImpl).ta8 = function () {
|
|
6050
|
+
var tmp0 = this.da9_1;
|
|
6043
6051
|
var tmp = KProperty1;
|
|
6044
6052
|
// Inline function 'kotlin.getValue' call
|
|
6045
6053
|
getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
|
|
6046
6054
|
return tmp0.x();
|
|
6047
6055
|
};
|
|
6048
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6049
|
-
var tmp0 = this.
|
|
6056
|
+
protoOf(GameServerEngineControllerImpl).qa8 = function () {
|
|
6057
|
+
var tmp0 = this.ea9_1;
|
|
6050
6058
|
var tmp = KProperty1;
|
|
6051
6059
|
// Inline function 'kotlin.getValue' call
|
|
6052
6060
|
getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
|
|
6053
6061
|
return tmp0.x();
|
|
6054
6062
|
};
|
|
6055
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6056
|
-
var tmp0 = this.
|
|
6063
|
+
protoOf(GameServerEngineControllerImpl).ua8 = function () {
|
|
6064
|
+
var tmp0 = this.fa9_1;
|
|
6057
6065
|
var tmp = KProperty1;
|
|
6058
6066
|
// Inline function 'kotlin.getValue' call
|
|
6059
6067
|
getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
|
|
@@ -6065,7 +6073,7 @@
|
|
|
6065
6073
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
6066
6074
|
return this.createGameEngineWithLogic();
|
|
6067
6075
|
};
|
|
6068
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6076
|
+
protoOf(GameServerEngineControllerImpl).va8 = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, botConfig) {
|
|
6069
6077
|
var combinedLogger = Companion_instance_6.mx();
|
|
6070
6078
|
var gameServer = {_v: null};
|
|
6071
6079
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -6113,7 +6121,7 @@
|
|
|
6113
6121
|
function TestHelper() {
|
|
6114
6122
|
}
|
|
6115
6123
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
6116
|
-
var tmp0 = $this.
|
|
6124
|
+
var tmp0 = $this.ja9_1;
|
|
6117
6125
|
var tmp = KProperty1;
|
|
6118
6126
|
// Inline function 'kotlin.getValue' call
|
|
6119
6127
|
getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
|
|
@@ -6121,7 +6129,7 @@
|
|
|
6121
6129
|
}
|
|
6122
6130
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
6123
6131
|
return function ($this$singleton) {
|
|
6124
|
-
return this$0.
|
|
6132
|
+
return this$0.ha9_1;
|
|
6125
6133
|
};
|
|
6126
6134
|
}
|
|
6127
6135
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -6160,27 +6168,27 @@
|
|
|
6160
6168
|
return emptyMap();
|
|
6161
6169
|
}
|
|
6162
6170
|
function TestHelperImpl(logger) {
|
|
6163
|
-
this.
|
|
6171
|
+
this.ha9_1 = logger;
|
|
6164
6172
|
var tmp = this;
|
|
6165
6173
|
var tmp_0 = Companion_instance_4;
|
|
6166
|
-
tmp.
|
|
6174
|
+
tmp.ia9_1 = tmp_0.k5z(VOID, TestHelperImpl$di$lambda(this));
|
|
6167
6175
|
var tmp_1 = this;
|
|
6168
6176
|
// Inline function 'org.kodein.di.instance' call
|
|
6169
|
-
var this_0 = this.
|
|
6177
|
+
var this_0 = this.ia9_1;
|
|
6170
6178
|
// Inline function 'org.kodein.type.generic' call
|
|
6171
6179
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
6172
6180
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
6173
6181
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
6174
6182
|
var tmp_4 = KProperty1;
|
|
6175
|
-
tmp_1.
|
|
6183
|
+
tmp_1.ja9_1 = tmp_3.w64(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
6176
6184
|
}
|
|
6177
6185
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
6178
|
-
return _get_playerAnswerInteractor__msggz1(this).
|
|
6186
|
+
return _get_playerAnswerInteractor__msggz1(this).z8o(playerId, table, botConfig);
|
|
6179
6187
|
};
|
|
6180
6188
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
6181
6189
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
6182
6190
|
if (isInterface(mechanicAction, NextPlayerTurnAction)) {
|
|
6183
|
-
var tmp0 = mechanicAction.
|
|
6191
|
+
var tmp0 = mechanicAction.i92();
|
|
6184
6192
|
var tmp$ret$0;
|
|
6185
6193
|
$l$block_0: {
|
|
6186
6194
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -6212,7 +6220,7 @@
|
|
|
6212
6220
|
};
|
|
6213
6221
|
protoOf(TestHelperImpl).getPlayerAnswerFromMechanicAction = function (table, currentPlayerId, action, botConfig) {
|
|
6214
6222
|
if (isInterface(action, NextPlayerTurnAction)) {
|
|
6215
|
-
var tmp0 = action.
|
|
6223
|
+
var tmp0 = action.i92();
|
|
6216
6224
|
var tmp$ret$0;
|
|
6217
6225
|
$l$block_0: {
|
|
6218
6226
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -6245,14 +6253,14 @@
|
|
|
6245
6253
|
function RoomMetadata() {
|
|
6246
6254
|
var tmp = this;
|
|
6247
6255
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
6248
|
-
tmp.
|
|
6256
|
+
tmp.ka9_1 = LinkedHashMap_init_$Create$();
|
|
6249
6257
|
this.extras = {};
|
|
6250
|
-
this.extras = this.
|
|
6258
|
+
this.extras = this.ka9_1;
|
|
6251
6259
|
}
|
|
6252
|
-
protoOf(RoomMetadata).
|
|
6260
|
+
protoOf(RoomMetadata).la9 = function () {
|
|
6253
6261
|
return this.extras;
|
|
6254
6262
|
};
|
|
6255
|
-
protoOf(RoomMetadata).
|
|
6263
|
+
protoOf(RoomMetadata).la9 = function () {
|
|
6256
6264
|
return this.extras;
|
|
6257
6265
|
};
|
|
6258
6266
|
protoOf(RoomMetadata).getGame = function (gameId) {
|
|
@@ -6270,7 +6278,7 @@
|
|
|
6270
6278
|
};
|
|
6271
6279
|
protoOf(RoomMetadata).addGame = function (gameId, game) {
|
|
6272
6280
|
// Inline function 'kotlin.collections.set' call
|
|
6273
|
-
this.
|
|
6281
|
+
this.ka9_1.f2(gameId, game);
|
|
6274
6282
|
};
|
|
6275
6283
|
function GameMetadata(gameId) {
|
|
6276
6284
|
this.gameId = gameId;
|
|
@@ -6279,7 +6287,7 @@
|
|
|
6279
6287
|
protoOf(GameMetadata).c54 = function () {
|
|
6280
6288
|
return this.gameId;
|
|
6281
6289
|
};
|
|
6282
|
-
protoOf(GameMetadata).
|
|
6290
|
+
protoOf(GameMetadata).la9 = function () {
|
|
6283
6291
|
return this.extras;
|
|
6284
6292
|
};
|
|
6285
6293
|
function serverHelpersModule() {
|
|
@@ -6341,7 +6349,7 @@
|
|
|
6341
6349
|
protoOf(GameServer).roomOnDelete = roomOnDelete;
|
|
6342
6350
|
protoOf(GameServer).shutdown = shutdown;
|
|
6343
6351
|
defineProp(protoOf(GameServer), 'metadata', function () {
|
|
6344
|
-
return this.
|
|
6352
|
+
return this.j8j();
|
|
6345
6353
|
});
|
|
6346
6354
|
defineProp(protoOf(GameServer), 'id', function () {
|
|
6347
6355
|
return this.y53();
|
|
@@ -6357,17 +6365,17 @@
|
|
|
6357
6365
|
});
|
|
6358
6366
|
protoOf($serializer).wz = typeParametersSerializers;
|
|
6359
6367
|
defineProp(protoOf(TableStateUpdateDto), 'roomId', function () {
|
|
6360
|
-
return this.
|
|
6368
|
+
return this.c8g();
|
|
6361
6369
|
});
|
|
6362
6370
|
protoOf($serializer_0).wz = typeParametersSerializers;
|
|
6363
6371
|
defineProp(protoOf(ActionsStateUpdateDto), 'roomId', function () {
|
|
6364
|
-
return this.
|
|
6372
|
+
return this.c8g();
|
|
6365
6373
|
});
|
|
6366
6374
|
defineProp(protoOf(TableStateUpdate), 'roomId', function () {
|
|
6367
|
-
return this.
|
|
6375
|
+
return this.c8g();
|
|
6368
6376
|
});
|
|
6369
6377
|
defineProp(protoOf(ActionsStateUpdate), 'roomId', function () {
|
|
6370
|
-
return this.
|
|
6378
|
+
return this.c8g();
|
|
6371
6379
|
});
|
|
6372
6380
|
protoOf(UpdateServerConfigAction).r6f = get_actionTag;
|
|
6373
6381
|
defineProp(protoOf(UpdateServerConfigAction), 'actionTag', function () {
|
|
@@ -6383,22 +6391,22 @@
|
|
|
6383
6391
|
});
|
|
6384
6392
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
6385
6393
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
6386
|
-
return this.
|
|
6394
|
+
return this.pa8();
|
|
6387
6395
|
});
|
|
6388
6396
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
6389
|
-
return this.
|
|
6397
|
+
return this.ra8();
|
|
6390
6398
|
});
|
|
6391
6399
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
6392
|
-
return this.
|
|
6400
|
+
return this.sa8();
|
|
6393
6401
|
});
|
|
6394
6402
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
6395
|
-
return this.
|
|
6403
|
+
return this.ta8();
|
|
6396
6404
|
});
|
|
6397
6405
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
6398
|
-
return this.
|
|
6406
|
+
return this.qa8();
|
|
6399
6407
|
});
|
|
6400
6408
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
6401
|
-
return this.
|
|
6409
|
+
return this.ua8();
|
|
6402
6410
|
});
|
|
6403
6411
|
//endregion
|
|
6404
6412
|
//region block: init
|