raspberry_games_server_game_logic 1.8.383 → 1.8.385
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1 -1
- package/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-engine.js +1151 -1172
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.d.ts +9 -12
- package/Logic_Debertz-game_server.js +595 -627
- 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 +2 -2
- package/package.json +1 -1
|
@@ -348,9 +348,8 @@
|
|
|
348
348
|
initMetadataForLambda(GameServer$roomOnDelete$slambda, CoroutineImpl, VOID, [2]);
|
|
349
349
|
initMetadataForLambda(GameServer$setCanStartNewGameEnabled$slambda, CoroutineImpl, VOID, [2]);
|
|
350
350
|
initMetadataForLambda(GameServer$shutdown$slambda, CoroutineImpl, VOID, [2]);
|
|
351
|
-
function roomOnCreate(roomId, gameCreatorId, config, usersArray, transition,
|
|
351
|
+
function roomOnCreate(roomId, gameCreatorId, config, usersArray, transition, spectators, $super) {
|
|
352
352
|
transition = transition === VOID ? null : transition;
|
|
353
|
-
metadata = metadata === VOID ? null : metadata;
|
|
354
353
|
var tmp;
|
|
355
354
|
if (spectators === VOID) {
|
|
356
355
|
// Inline function 'kotlin.emptyArray' call
|
|
@@ -361,43 +360,21 @@
|
|
|
361
360
|
spectators = tmp;
|
|
362
361
|
var tmp_0;
|
|
363
362
|
if ($super === VOID) {
|
|
364
|
-
this.
|
|
363
|
+
this.e9v(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
365
364
|
tmp_0 = Unit_instance;
|
|
366
365
|
} else {
|
|
367
|
-
tmp_0 = $super.
|
|
366
|
+
tmp_0 = $super.e9v.call(this, roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
368
367
|
}
|
|
369
368
|
return tmp_0;
|
|
370
369
|
}
|
|
371
|
-
function roomOnContinueFromState(roomId, state, metadata, $super) {
|
|
372
|
-
metadata = metadata === VOID ? null : metadata;
|
|
373
|
-
var tmp;
|
|
374
|
-
if ($super === VOID) {
|
|
375
|
-
this.i9v(roomId, state, metadata);
|
|
376
|
-
tmp = Unit_instance;
|
|
377
|
-
} else {
|
|
378
|
-
tmp = $super.i9v.call(this, roomId, state, metadata);
|
|
379
|
-
}
|
|
380
|
-
return tmp;
|
|
381
|
-
}
|
|
382
|
-
function roomOnContinueFromRound(roomId, tableLite, metadata, $super) {
|
|
383
|
-
metadata = metadata === VOID ? null : metadata;
|
|
384
|
-
var tmp;
|
|
385
|
-
if ($super === VOID) {
|
|
386
|
-
this.j9v(roomId, tableLite, metadata);
|
|
387
|
-
tmp = Unit_instance;
|
|
388
|
-
} else {
|
|
389
|
-
tmp = $super.j9v.call(this, roomId, tableLite, metadata);
|
|
390
|
-
}
|
|
391
|
-
return tmp;
|
|
392
|
-
}
|
|
393
370
|
function roomOnDelete(newRid, $super) {
|
|
394
371
|
newRid = newRid === VOID ? null : newRid;
|
|
395
372
|
var tmp;
|
|
396
373
|
if ($super === VOID) {
|
|
397
|
-
this.
|
|
374
|
+
this.f9v(newRid);
|
|
398
375
|
tmp = Unit_instance;
|
|
399
376
|
} else {
|
|
400
|
-
tmp = $super.
|
|
377
|
+
tmp = $super.f9v.call(this, newRid);
|
|
401
378
|
}
|
|
402
379
|
return tmp;
|
|
403
380
|
}
|
|
@@ -405,10 +382,10 @@
|
|
|
405
382
|
roomId = roomId === VOID ? null : roomId;
|
|
406
383
|
var tmp;
|
|
407
384
|
if ($super === VOID) {
|
|
408
|
-
this.
|
|
385
|
+
this.g9v(reason, roomId);
|
|
409
386
|
tmp = Unit_instance;
|
|
410
387
|
} else {
|
|
411
|
-
tmp = $super.
|
|
388
|
+
tmp = $super.g9v.call(this, reason, roomId);
|
|
412
389
|
}
|
|
413
390
|
return tmp;
|
|
414
391
|
}
|
|
@@ -473,7 +450,7 @@
|
|
|
473
450
|
dealerConfig = dealerConfig === VOID ? new DealerConfig() : dealerConfig;
|
|
474
451
|
ratingConfig = ratingConfig === VOID ? new RatingConfig() : ratingConfig;
|
|
475
452
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
476
|
-
return $super === VOID ? this.
|
|
453
|
+
return $super === VOID ? this.y9z(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig) : $super.y9z.call(this, reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig);
|
|
477
454
|
}
|
|
478
455
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
479
456
|
initMetadataForClass(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1, VOID, VOID, VOID, [Reducer]);
|
|
@@ -484,17 +461,17 @@
|
|
|
484
461
|
initMetadataForClass(TestHelperImpl, 'TestHelperImpl', VOID, VOID, [TestHelper]);
|
|
485
462
|
//endregion
|
|
486
463
|
function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
|
|
487
|
-
this.
|
|
464
|
+
this.s9e_1 = $subscriber;
|
|
488
465
|
CoroutineImpl.call(this, resultContinuation);
|
|
489
466
|
}
|
|
490
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
491
|
-
var tmp = this.
|
|
467
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).u9e = function (it, $completion) {
|
|
468
|
+
var tmp = this.v9e(it, $completion);
|
|
492
469
|
tmp.t8_1 = Unit_instance;
|
|
493
470
|
tmp.u8_1 = null;
|
|
494
471
|
return tmp.z8();
|
|
495
472
|
};
|
|
496
473
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).h9 = function (p1, $completion) {
|
|
497
|
-
return this.
|
|
474
|
+
return this.u9e(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
498
475
|
};
|
|
499
476
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).z8 = function () {
|
|
500
477
|
var suspendResult = this.t8_1;
|
|
@@ -503,7 +480,7 @@
|
|
|
503
480
|
var tmp = this.r8_1;
|
|
504
481
|
if (tmp === 0) {
|
|
505
482
|
this.s8_1 = 1;
|
|
506
|
-
this.
|
|
483
|
+
this.s9e_1(this.t9e_1);
|
|
507
484
|
return Unit_instance;
|
|
508
485
|
} else if (tmp === 1) {
|
|
509
486
|
throw this.u8_1;
|
|
@@ -514,31 +491,31 @@
|
|
|
514
491
|
}
|
|
515
492
|
while (true);
|
|
516
493
|
};
|
|
517
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
518
|
-
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.
|
|
519
|
-
i.
|
|
494
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).v9e = function (it, completion) {
|
|
495
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.s9e_1, completion);
|
|
496
|
+
i.t9e_1 = it;
|
|
520
497
|
return i;
|
|
521
498
|
};
|
|
522
499
|
function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
|
|
523
500
|
var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
|
|
524
501
|
var l = function (it, $completion) {
|
|
525
|
-
return i.
|
|
502
|
+
return i.u9e(it, $completion);
|
|
526
503
|
};
|
|
527
504
|
l.$arity = 1;
|
|
528
505
|
return l;
|
|
529
506
|
}
|
|
530
507
|
function GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation) {
|
|
531
|
-
this.
|
|
508
|
+
this.e9f_1 = $subscriber;
|
|
532
509
|
CoroutineImpl.call(this, resultContinuation);
|
|
533
510
|
}
|
|
534
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
535
|
-
var tmp = this.
|
|
511
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).g9f = function (it, $completion) {
|
|
512
|
+
var tmp = this.h9f(it, $completion);
|
|
536
513
|
tmp.t8_1 = Unit_instance;
|
|
537
514
|
tmp.u8_1 = null;
|
|
538
515
|
return tmp.z8();
|
|
539
516
|
};
|
|
540
517
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).h9 = function (p1, $completion) {
|
|
541
|
-
return this.
|
|
518
|
+
return this.g9f((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
|
|
542
519
|
};
|
|
543
520
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).z8 = function () {
|
|
544
521
|
var suspendResult = this.t8_1;
|
|
@@ -547,7 +524,7 @@
|
|
|
547
524
|
var tmp = this.r8_1;
|
|
548
525
|
if (tmp === 0) {
|
|
549
526
|
this.s8_1 = 1;
|
|
550
|
-
this.
|
|
527
|
+
this.e9f_1(this.f9f_1);
|
|
551
528
|
return Unit_instance;
|
|
552
529
|
} else if (tmp === 1) {
|
|
553
530
|
throw this.u8_1;
|
|
@@ -558,22 +535,22 @@
|
|
|
558
535
|
}
|
|
559
536
|
while (true);
|
|
560
537
|
};
|
|
561
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
562
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.
|
|
563
|
-
i.
|
|
538
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).h9f = function (it, completion) {
|
|
539
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.e9f_1, completion);
|
|
540
|
+
i.f9f_1 = it;
|
|
564
541
|
return i;
|
|
565
542
|
};
|
|
566
543
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_0($subscriber, resultContinuation) {
|
|
567
544
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation);
|
|
568
545
|
var l = function (it, $completion) {
|
|
569
|
-
return i.
|
|
546
|
+
return i.g9f(it, $completion);
|
|
570
547
|
};
|
|
571
548
|
l.$arity = 1;
|
|
572
549
|
return l;
|
|
573
550
|
}
|
|
574
551
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
575
|
-
this.
|
|
576
|
-
this.
|
|
552
|
+
this.q9f_1 = $$this$unsafeFlow;
|
|
553
|
+
this.r9f_1 = this$0;
|
|
577
554
|
CoroutineImpl.call(this, resultContinuation);
|
|
578
555
|
}
|
|
579
556
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).u2h = function (value, $completion) {
|
|
@@ -593,10 +570,10 @@
|
|
|
593
570
|
switch (tmp) {
|
|
594
571
|
case 0:
|
|
595
572
|
this.s8_1 = 2;
|
|
596
|
-
var tmp0 = this.
|
|
597
|
-
var value = this.
|
|
573
|
+
var tmp0 = this.q9f_1;
|
|
574
|
+
var value = this.s9f_1;
|
|
598
575
|
this.r8_1 = 1;
|
|
599
|
-
suspendResult = tmp0.l28(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.
|
|
576
|
+
suspendResult = tmp0.l28(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.r9f_1)), this);
|
|
600
577
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
601
578
|
return suspendResult;
|
|
602
579
|
}
|
|
@@ -619,8 +596,8 @@
|
|
|
619
596
|
while (true);
|
|
620
597
|
};
|
|
621
598
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).v2h = function (value, completion) {
|
|
622
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.
|
|
623
|
-
i.
|
|
599
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.q9f_1, this.r9f_1, completion);
|
|
600
|
+
i.s9f_1 = value;
|
|
624
601
|
return i;
|
|
625
602
|
};
|
|
626
603
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
@@ -633,8 +610,8 @@
|
|
|
633
610
|
}
|
|
634
611
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
635
612
|
CoroutineImpl.call(this, resultContinuation);
|
|
636
|
-
this.
|
|
637
|
-
this.
|
|
613
|
+
this.b9g_1 = _this__u8e3s4;
|
|
614
|
+
this.c9g_1 = collector;
|
|
638
615
|
}
|
|
639
616
|
protoOf($collectCOROUTINE$).z8 = function () {
|
|
640
617
|
var suspendResult = this.t8_1;
|
|
@@ -644,10 +621,10 @@
|
|
|
644
621
|
switch (tmp) {
|
|
645
622
|
case 0:
|
|
646
623
|
this.s8_1 = 2;
|
|
647
|
-
var $this$unsafeFlow = this.
|
|
624
|
+
var $this$unsafeFlow = this.c9g_1;
|
|
648
625
|
this.r8_1 = 1;
|
|
649
|
-
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
650
|
-
suspendResult = this.
|
|
626
|
+
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.b9g_1.e9g_1, null);
|
|
627
|
+
suspendResult = this.b9g_1.d9g_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_0), this);
|
|
651
628
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
652
629
|
return suspendResult;
|
|
653
630
|
}
|
|
@@ -670,8 +647,8 @@
|
|
|
670
647
|
while (true);
|
|
671
648
|
};
|
|
672
649
|
function GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1($this, this$0) {
|
|
673
|
-
this.
|
|
674
|
-
this.
|
|
650
|
+
this.d9g_1 = $this;
|
|
651
|
+
this.e9g_1 = this$0;
|
|
675
652
|
}
|
|
676
653
|
protoOf(GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1).m28 = function (collector, $completion) {
|
|
677
654
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
@@ -683,17 +660,17 @@
|
|
|
683
660
|
return this.m28(collector, $completion);
|
|
684
661
|
};
|
|
685
662
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation) {
|
|
686
|
-
this.
|
|
663
|
+
this.n9g_1 = $subscriber;
|
|
687
664
|
CoroutineImpl.call(this, resultContinuation);
|
|
688
665
|
}
|
|
689
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
690
|
-
var tmp = this.
|
|
666
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).p9g = function (it, $completion) {
|
|
667
|
+
var tmp = this.q9g(it, $completion);
|
|
691
668
|
tmp.t8_1 = Unit_instance;
|
|
692
669
|
tmp.u8_1 = null;
|
|
693
670
|
return tmp.z8();
|
|
694
671
|
};
|
|
695
672
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).h9 = function (p1, $completion) {
|
|
696
|
-
return this.
|
|
673
|
+
return this.p9g((!(p1 == null) ? isInterface(p1, ServerStateUpdateDto) : false) ? p1 : THROW_CCE(), $completion);
|
|
697
674
|
};
|
|
698
675
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).z8 = function () {
|
|
699
676
|
var suspendResult = this.t8_1;
|
|
@@ -702,7 +679,7 @@
|
|
|
702
679
|
var tmp = this.r8_1;
|
|
703
680
|
if (tmp === 0) {
|
|
704
681
|
this.s8_1 = 1;
|
|
705
|
-
this.
|
|
682
|
+
this.n9g_1(this.o9g_1);
|
|
706
683
|
return Unit_instance;
|
|
707
684
|
} else if (tmp === 1) {
|
|
708
685
|
throw this.u8_1;
|
|
@@ -713,22 +690,22 @@
|
|
|
713
690
|
}
|
|
714
691
|
while (true);
|
|
715
692
|
};
|
|
716
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
717
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.
|
|
718
|
-
i.
|
|
693
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).q9g = function (it, completion) {
|
|
694
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.n9g_1, completion);
|
|
695
|
+
i.o9g_1 = it;
|
|
719
696
|
return i;
|
|
720
697
|
};
|
|
721
698
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda_0($subscriber, resultContinuation) {
|
|
722
699
|
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation);
|
|
723
700
|
var l = function (it, $completion) {
|
|
724
|
-
return i.
|
|
701
|
+
return i.p9g(it, $completion);
|
|
725
702
|
};
|
|
726
703
|
l.$arity = 1;
|
|
727
704
|
return l;
|
|
728
705
|
}
|
|
729
706
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, $table, resultContinuation) {
|
|
730
|
-
this.
|
|
731
|
-
this.
|
|
707
|
+
this.z9g_1 = $$this$unsafeFlow;
|
|
708
|
+
this.a9h_1 = $table;
|
|
732
709
|
CoroutineImpl.call(this, resultContinuation);
|
|
733
710
|
}
|
|
734
711
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).u2h = function (value, $completion) {
|
|
@@ -748,10 +725,10 @@
|
|
|
748
725
|
switch (tmp) {
|
|
749
726
|
case 0:
|
|
750
727
|
this.s8_1 = 2;
|
|
751
|
-
var tmp0 = this.
|
|
752
|
-
var value = this.
|
|
728
|
+
var tmp0 = this.z9g_1;
|
|
729
|
+
var value = this.b9h_1;
|
|
753
730
|
this.r8_1 = 1;
|
|
754
|
-
suspendResult = tmp0.l28(new ActionsStateUpdate(this.
|
|
731
|
+
suspendResult = tmp0.l28(new ActionsStateUpdate(this.a9h_1.id, value), this);
|
|
755
732
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
756
733
|
return suspendResult;
|
|
757
734
|
}
|
|
@@ -774,8 +751,8 @@
|
|
|
774
751
|
while (true);
|
|
775
752
|
};
|
|
776
753
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).v2h = function (value, completion) {
|
|
777
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.
|
|
778
|
-
i.
|
|
754
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.z9g_1, this.a9h_1, completion);
|
|
755
|
+
i.b9h_1 = value;
|
|
779
756
|
return i;
|
|
780
757
|
};
|
|
781
758
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, $table, resultContinuation) {
|
|
@@ -788,8 +765,8 @@
|
|
|
788
765
|
}
|
|
789
766
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
790
767
|
CoroutineImpl.call(this, resultContinuation);
|
|
791
|
-
this.
|
|
792
|
-
this.
|
|
768
|
+
this.k9h_1 = _this__u8e3s4;
|
|
769
|
+
this.l9h_1 = collector;
|
|
793
770
|
}
|
|
794
771
|
protoOf($collectCOROUTINE$_0).z8 = function () {
|
|
795
772
|
var suspendResult = this.t8_1;
|
|
@@ -799,10 +776,10 @@
|
|
|
799
776
|
switch (tmp) {
|
|
800
777
|
case 0:
|
|
801
778
|
this.s8_1 = 2;
|
|
802
|
-
var $this$unsafeFlow = this.
|
|
779
|
+
var $this$unsafeFlow = this.l9h_1;
|
|
803
780
|
this.r8_1 = 1;
|
|
804
|
-
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
805
|
-
suspendResult = this.
|
|
781
|
+
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.k9h_1.n9h_1, null);
|
|
782
|
+
suspendResult = this.k9h_1.m9h_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
806
783
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
807
784
|
return suspendResult;
|
|
808
785
|
}
|
|
@@ -825,8 +802,8 @@
|
|
|
825
802
|
while (true);
|
|
826
803
|
};
|
|
827
804
|
function _no_name_provided__qut3iv($this, $table) {
|
|
828
|
-
this.
|
|
829
|
-
this.
|
|
805
|
+
this.m9h_1 = $this;
|
|
806
|
+
this.n9h_1 = $table;
|
|
830
807
|
}
|
|
831
808
|
protoOf(_no_name_provided__qut3iv).m28 = function (collector, $completion) {
|
|
832
809
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
@@ -838,18 +815,18 @@
|
|
|
838
815
|
return this.m28(collector, $completion);
|
|
839
816
|
};
|
|
840
817
|
function GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation) {
|
|
841
|
-
this.
|
|
842
|
-
this.
|
|
818
|
+
this.w9h_1 = $table;
|
|
819
|
+
this.x9h_1 = this$0;
|
|
843
820
|
CoroutineImpl.call(this, resultContinuation);
|
|
844
821
|
}
|
|
845
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
846
|
-
var tmp = this.
|
|
822
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).z9h = function ($this$flow, $completion) {
|
|
823
|
+
var tmp = this.a9i($this$flow, $completion);
|
|
847
824
|
tmp.t8_1 = Unit_instance;
|
|
848
825
|
tmp.u8_1 = null;
|
|
849
826
|
return tmp.z8();
|
|
850
827
|
};
|
|
851
828
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).h9 = function (p1, $completion) {
|
|
852
|
-
return this.
|
|
829
|
+
return this.z9h((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
853
830
|
};
|
|
854
831
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).z8 = function () {
|
|
855
832
|
var suspendResult = this.t8_1;
|
|
@@ -860,7 +837,7 @@
|
|
|
860
837
|
case 0:
|
|
861
838
|
this.s8_1 = 3;
|
|
862
839
|
this.r8_1 = 1;
|
|
863
|
-
suspendResult = this.
|
|
840
|
+
suspendResult = this.y9h_1.l28(new TableStateUpdate(this.w9h_1.id, this.w9h_1), this);
|
|
864
841
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
865
842
|
return suspendResult;
|
|
866
843
|
}
|
|
@@ -868,8 +845,8 @@
|
|
|
868
845
|
continue $sm;
|
|
869
846
|
case 1:
|
|
870
847
|
this.r8_1 = 2;
|
|
871
|
-
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.
|
|
872
|
-
suspendResult = emitAll(this.
|
|
848
|
+
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.x9h_1).k8j(), fromInt(_get_serverReduxConfig__rprcrm(this.x9h_1).serverStateUpdateIntervalMillis));
|
|
849
|
+
suspendResult = emitAll(this.y9h_1, new _no_name_provided__qut3iv(this_0, this.w9h_1), this);
|
|
873
850
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
874
851
|
return suspendResult;
|
|
875
852
|
}
|
|
@@ -891,21 +868,21 @@
|
|
|
891
868
|
}
|
|
892
869
|
while (true);
|
|
893
870
|
};
|
|
894
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
895
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.
|
|
896
|
-
i.
|
|
871
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).a9i = function ($this$flow, completion) {
|
|
872
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.w9h_1, this.x9h_1, completion);
|
|
873
|
+
i.y9h_1 = $this$flow;
|
|
897
874
|
return i;
|
|
898
875
|
};
|
|
899
876
|
function GameServer$observeTableStateUpdates$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
900
877
|
var i = new GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation);
|
|
901
878
|
var l = function ($this$flow, $completion) {
|
|
902
|
-
return i.
|
|
879
|
+
return i.z9h($this$flow, $completion);
|
|
903
880
|
};
|
|
904
881
|
l.$arity = 1;
|
|
905
882
|
return l;
|
|
906
883
|
}
|
|
907
884
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
908
|
-
this.
|
|
885
|
+
this.j9i_1 = $$this$unsafeFlow;
|
|
909
886
|
CoroutineImpl.call(this, resultContinuation);
|
|
910
887
|
}
|
|
911
888
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).u2h = function (value, $completion) {
|
|
@@ -926,28 +903,28 @@
|
|
|
926
903
|
case 0:
|
|
927
904
|
this.s8_1 = 5;
|
|
928
905
|
var tmp_0 = this;
|
|
929
|
-
tmp_0.
|
|
906
|
+
tmp_0.o9i_1 = this.j9i_1;
|
|
930
907
|
var tmp_1 = this;
|
|
931
|
-
tmp_1.
|
|
908
|
+
tmp_1.n9i_1 = this.k9i_1;
|
|
932
909
|
this.r8_1 = 1;
|
|
933
910
|
continue $sm;
|
|
934
911
|
case 1:
|
|
935
|
-
this.
|
|
936
|
-
var tmp0_elvis_lhs = this.
|
|
912
|
+
this.l9i_1 = this.o9i_1;
|
|
913
|
+
var tmp0_elvis_lhs = this.n9i_1.l6m_1;
|
|
937
914
|
if (tmp0_elvis_lhs == null) {
|
|
938
915
|
this.r8_1 = 4;
|
|
939
916
|
var tmp_2 = this;
|
|
940
917
|
continue $sm;
|
|
941
918
|
} else {
|
|
942
|
-
this.
|
|
919
|
+
this.m9i_1 = tmp0_elvis_lhs;
|
|
943
920
|
this.r8_1 = 2;
|
|
944
921
|
continue $sm;
|
|
945
922
|
}
|
|
946
923
|
|
|
947
924
|
case 2:
|
|
948
|
-
var transformed = this.
|
|
925
|
+
var transformed = this.m9i_1;
|
|
949
926
|
this.r8_1 = 3;
|
|
950
|
-
suspendResult = this.
|
|
927
|
+
suspendResult = this.l9i_1.l28(transformed, this);
|
|
951
928
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
952
929
|
return suspendResult;
|
|
953
930
|
}
|
|
@@ -978,8 +955,8 @@
|
|
|
978
955
|
while (true);
|
|
979
956
|
};
|
|
980
957
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).v2h = function (value, completion) {
|
|
981
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
982
|
-
i.
|
|
958
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.j9i_1, completion);
|
|
959
|
+
i.k9i_1 = value;
|
|
983
960
|
return i;
|
|
984
961
|
};
|
|
985
962
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -992,8 +969,8 @@
|
|
|
992
969
|
}
|
|
993
970
|
function $collectCOROUTINE$_1(_this__u8e3s4, collector, resultContinuation) {
|
|
994
971
|
CoroutineImpl.call(this, resultContinuation);
|
|
995
|
-
this.
|
|
996
|
-
this.
|
|
972
|
+
this.x9i_1 = _this__u8e3s4;
|
|
973
|
+
this.y9i_1 = collector;
|
|
997
974
|
}
|
|
998
975
|
protoOf($collectCOROUTINE$_1).z8 = function () {
|
|
999
976
|
var suspendResult = this.t8_1;
|
|
@@ -1003,10 +980,10 @@
|
|
|
1003
980
|
switch (tmp) {
|
|
1004
981
|
case 0:
|
|
1005
982
|
this.s8_1 = 2;
|
|
1006
|
-
var $this$unsafeFlow = this.
|
|
983
|
+
var $this$unsafeFlow = this.y9i_1;
|
|
1007
984
|
this.r8_1 = 1;
|
|
1008
985
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($this$unsafeFlow, null);
|
|
1009
|
-
suspendResult = this.
|
|
986
|
+
suspendResult = this.x9i_1.z9i_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1010
987
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1011
988
|
return suspendResult;
|
|
1012
989
|
}
|
|
@@ -1029,7 +1006,7 @@
|
|
|
1029
1006
|
while (true);
|
|
1030
1007
|
};
|
|
1031
1008
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_1($$this$unsafeFlow, resultContinuation) {
|
|
1032
|
-
this.
|
|
1009
|
+
this.i9j_1 = $$this$unsafeFlow;
|
|
1033
1010
|
CoroutineImpl.call(this, resultContinuation);
|
|
1034
1011
|
}
|
|
1035
1012
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).u2h = function (value, $completion) {
|
|
@@ -1049,8 +1026,8 @@
|
|
|
1049
1026
|
switch (tmp) {
|
|
1050
1027
|
case 0:
|
|
1051
1028
|
this.s8_1 = 2;
|
|
1052
|
-
var tmp0 = this.
|
|
1053
|
-
var value = this.
|
|
1029
|
+
var tmp0 = this.i9j_1;
|
|
1030
|
+
var value = this.j9j_1;
|
|
1054
1031
|
this.r8_1 = 1;
|
|
1055
1032
|
suspendResult = tmp0.l28(to(value.gameInfo.roundNumberTotal, value), this);
|
|
1056
1033
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1075,8 +1052,8 @@
|
|
|
1075
1052
|
while (true);
|
|
1076
1053
|
};
|
|
1077
1054
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).v2h = function (value, completion) {
|
|
1078
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.
|
|
1079
|
-
i.
|
|
1055
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.i9j_1, completion);
|
|
1056
|
+
i.j9j_1 = value;
|
|
1080
1057
|
return i;
|
|
1081
1058
|
};
|
|
1082
1059
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1089,8 +1066,8 @@
|
|
|
1089
1066
|
}
|
|
1090
1067
|
function $collectCOROUTINE$_2(_this__u8e3s4, collector, resultContinuation) {
|
|
1091
1068
|
CoroutineImpl.call(this, resultContinuation);
|
|
1092
|
-
this.
|
|
1093
|
-
this.
|
|
1069
|
+
this.s9j_1 = _this__u8e3s4;
|
|
1070
|
+
this.t9j_1 = collector;
|
|
1094
1071
|
}
|
|
1095
1072
|
protoOf($collectCOROUTINE$_2).z8 = function () {
|
|
1096
1073
|
var suspendResult = this.t8_1;
|
|
@@ -1100,10 +1077,10 @@
|
|
|
1100
1077
|
switch (tmp) {
|
|
1101
1078
|
case 0:
|
|
1102
1079
|
this.s8_1 = 2;
|
|
1103
|
-
var $this$unsafeFlow = this.
|
|
1080
|
+
var $this$unsafeFlow = this.t9j_1;
|
|
1104
1081
|
this.r8_1 = 1;
|
|
1105
1082
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($this$unsafeFlow, null);
|
|
1106
|
-
suspendResult = this.
|
|
1083
|
+
suspendResult = this.s9j_1.u9j_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1107
1084
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1108
1085
|
return suspendResult;
|
|
1109
1086
|
}
|
|
@@ -1126,7 +1103,7 @@
|
|
|
1126
1103
|
while (true);
|
|
1127
1104
|
};
|
|
1128
1105
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_3($$this$unsafeFlow, resultContinuation) {
|
|
1129
|
-
this.
|
|
1106
|
+
this.d9k_1 = $$this$unsafeFlow;
|
|
1130
1107
|
CoroutineImpl.call(this, resultContinuation);
|
|
1131
1108
|
}
|
|
1132
1109
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).u2h = function (value, $completion) {
|
|
@@ -1146,8 +1123,8 @@
|
|
|
1146
1123
|
switch (tmp) {
|
|
1147
1124
|
case 0:
|
|
1148
1125
|
this.s8_1 = 2;
|
|
1149
|
-
var tmp0 = this.
|
|
1150
|
-
var value = this.
|
|
1126
|
+
var tmp0 = this.d9k_1;
|
|
1127
|
+
var value = this.e9k_1;
|
|
1151
1128
|
this.r8_1 = 1;
|
|
1152
1129
|
suspendResult = tmp0.l28(value.me_1, this);
|
|
1153
1130
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1172,8 +1149,8 @@
|
|
|
1172
1149
|
while (true);
|
|
1173
1150
|
};
|
|
1174
1151
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).v2h = function (value, completion) {
|
|
1175
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.
|
|
1176
|
-
i.
|
|
1152
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.d9k_1, completion);
|
|
1153
|
+
i.e9k_1 = value;
|
|
1177
1154
|
return i;
|
|
1178
1155
|
};
|
|
1179
1156
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1186,8 +1163,8 @@
|
|
|
1186
1163
|
}
|
|
1187
1164
|
function $collectCOROUTINE$_3(_this__u8e3s4, collector, resultContinuation) {
|
|
1188
1165
|
CoroutineImpl.call(this, resultContinuation);
|
|
1189
|
-
this.
|
|
1190
|
-
this.
|
|
1166
|
+
this.n9k_1 = _this__u8e3s4;
|
|
1167
|
+
this.o9k_1 = collector;
|
|
1191
1168
|
}
|
|
1192
1169
|
protoOf($collectCOROUTINE$_3).z8 = function () {
|
|
1193
1170
|
var suspendResult = this.t8_1;
|
|
@@ -1197,10 +1174,10 @@
|
|
|
1197
1174
|
switch (tmp) {
|
|
1198
1175
|
case 0:
|
|
1199
1176
|
this.s8_1 = 2;
|
|
1200
|
-
var $this$unsafeFlow = this.
|
|
1177
|
+
var $this$unsafeFlow = this.o9k_1;
|
|
1201
1178
|
this.r8_1 = 1;
|
|
1202
1179
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($this$unsafeFlow, null);
|
|
1203
|
-
suspendResult = this.
|
|
1180
|
+
suspendResult = this.n9k_1.p9k_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1204
1181
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1205
1182
|
return suspendResult;
|
|
1206
1183
|
}
|
|
@@ -1223,17 +1200,17 @@
|
|
|
1223
1200
|
while (true);
|
|
1224
1201
|
};
|
|
1225
1202
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
1226
|
-
this.
|
|
1203
|
+
this.y9k_1 = $subscriber;
|
|
1227
1204
|
CoroutineImpl.call(this, resultContinuation);
|
|
1228
1205
|
}
|
|
1229
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1230
|
-
var tmp = this.
|
|
1206
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).a9l = function (it, $completion) {
|
|
1207
|
+
var tmp = this.b9l(it, $completion);
|
|
1231
1208
|
tmp.t8_1 = Unit_instance;
|
|
1232
1209
|
tmp.u8_1 = null;
|
|
1233
1210
|
return tmp.z8();
|
|
1234
1211
|
};
|
|
1235
1212
|
protoOf(GameServer$subscribeWith$slambda$slambda).h9 = function (p1, $completion) {
|
|
1236
|
-
return this.
|
|
1213
|
+
return this.a9l(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
1237
1214
|
};
|
|
1238
1215
|
protoOf(GameServer$subscribeWith$slambda$slambda).z8 = function () {
|
|
1239
1216
|
var suspendResult = this.t8_1;
|
|
@@ -1242,7 +1219,7 @@
|
|
|
1242
1219
|
var tmp = this.r8_1;
|
|
1243
1220
|
if (tmp === 0) {
|
|
1244
1221
|
this.s8_1 = 1;
|
|
1245
|
-
this.
|
|
1222
|
+
this.y9k_1(this.z9k_1);
|
|
1246
1223
|
return Unit_instance;
|
|
1247
1224
|
} else if (tmp === 1) {
|
|
1248
1225
|
throw this.u8_1;
|
|
@@ -1253,83 +1230,83 @@
|
|
|
1253
1230
|
}
|
|
1254
1231
|
while (true);
|
|
1255
1232
|
};
|
|
1256
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1257
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
1258
|
-
i.
|
|
1233
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).b9l = function (it, completion) {
|
|
1234
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.y9k_1, completion);
|
|
1235
|
+
i.z9k_1 = it;
|
|
1259
1236
|
return i;
|
|
1260
1237
|
};
|
|
1261
1238
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
1262
1239
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
1263
1240
|
var l = function (it, $completion) {
|
|
1264
|
-
return i.
|
|
1241
|
+
return i.a9l(it, $completion);
|
|
1265
1242
|
};
|
|
1266
1243
|
l.$arity = 1;
|
|
1267
1244
|
return l;
|
|
1268
1245
|
}
|
|
1269
1246
|
function GameServer$roomOnCreate$2$updatedUsers$previousTeams$1($playerId) {
|
|
1270
|
-
this.
|
|
1247
|
+
this.c9l_1 = $playerId;
|
|
1271
1248
|
}
|
|
1272
1249
|
protoOf(GameServer$roomOnCreate$2$updatedUsers$previousTeams$1).t65 = function () {
|
|
1273
|
-
return this.
|
|
1250
|
+
return this.c9l_1;
|
|
1274
1251
|
};
|
|
1275
1252
|
function _get_logger__rkp4sl($this) {
|
|
1276
|
-
var tmp0 = $this.
|
|
1253
|
+
var tmp0 = $this.f9l_1;
|
|
1277
1254
|
var tmp = KProperty1;
|
|
1278
1255
|
// Inline function 'kotlin.getValue' call
|
|
1279
1256
|
getPropertyCallableRef('logger', 1, tmp, GameServer$_get_logger_$ref_fogce1_0(), null);
|
|
1280
1257
|
return tmp0.w();
|
|
1281
1258
|
}
|
|
1282
1259
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
1283
|
-
var tmp0 = $this.
|
|
1260
|
+
var tmp0 = $this.g9l_1;
|
|
1284
1261
|
var tmp = KProperty1;
|
|
1285
1262
|
// Inline function 'kotlin.getValue' call
|
|
1286
1263
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, GameServer$_get_toClientEventsObserver_$ref_utir8s_0(), null);
|
|
1287
1264
|
return tmp0.w();
|
|
1288
1265
|
}
|
|
1289
1266
|
function _get_fromClientEventsObserver__a7vzd3($this) {
|
|
1290
|
-
var tmp0 = $this.
|
|
1267
|
+
var tmp0 = $this.h9l_1;
|
|
1291
1268
|
var tmp = KProperty1;
|
|
1292
1269
|
// Inline function 'kotlin.getValue' call
|
|
1293
1270
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, GameServer$_get_fromClientEventsObserver_$ref_nf1g79_0(), null);
|
|
1294
1271
|
return tmp0.w();
|
|
1295
1272
|
}
|
|
1296
1273
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
1297
|
-
var tmp0 = $this.
|
|
1274
|
+
var tmp0 = $this.i9l_1;
|
|
1298
1275
|
var tmp = KProperty1;
|
|
1299
1276
|
// Inline function 'kotlin.getValue' call
|
|
1300
1277
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, GameServer$_get_playerConnectionInteractor_$ref_of8tan_0(), null);
|
|
1301
1278
|
return tmp0.w();
|
|
1302
1279
|
}
|
|
1303
1280
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
1304
|
-
var tmp0 = $this.
|
|
1281
|
+
var tmp0 = $this.j9l_1;
|
|
1305
1282
|
var tmp = KProperty1;
|
|
1306
1283
|
// Inline function 'kotlin.getValue' call
|
|
1307
1284
|
getPropertyCallableRef('teamsLogicProvider', 1, tmp, GameServer$_get_teamsLogicProvider_$ref_b7y54g_0(), null);
|
|
1308
1285
|
return tmp0.w();
|
|
1309
1286
|
}
|
|
1310
1287
|
function _get_random__h29cgo($this) {
|
|
1311
|
-
var tmp0 = $this.
|
|
1288
|
+
var tmp0 = $this.k9l_1;
|
|
1312
1289
|
var tmp = KProperty1;
|
|
1313
1290
|
// Inline function 'kotlin.getValue' call
|
|
1314
1291
|
getPropertyCallableRef('random', 1, tmp, GameServer$_get_random_$ref_fottnq(), null);
|
|
1315
1292
|
return tmp0.w();
|
|
1316
1293
|
}
|
|
1317
1294
|
function _get_idsProvider__fnfajc($this) {
|
|
1318
|
-
var tmp0 = $this.
|
|
1295
|
+
var tmp0 = $this.l9l_1;
|
|
1319
1296
|
var tmp = KProperty1;
|
|
1320
1297
|
// Inline function 'kotlin.getValue' call
|
|
1321
1298
|
getPropertyCallableRef('idsProvider', 1, tmp, GameServer$_get_idsProvider_$ref_89s908_0(), null);
|
|
1322
1299
|
return tmp0.w();
|
|
1323
1300
|
}
|
|
1324
1301
|
function _get_serverReduxConfig__rprcrm($this) {
|
|
1325
|
-
var tmp0 = $this.
|
|
1302
|
+
var tmp0 = $this.m9l_1;
|
|
1326
1303
|
var tmp = KProperty1;
|
|
1327
1304
|
// Inline function 'kotlin.getValue' call
|
|
1328
1305
|
getPropertyCallableRef('serverReduxConfig', 1, tmp, GameServer$_get_serverReduxConfig_$ref_7h6jq6_0(), null);
|
|
1329
1306
|
return tmp0.w();
|
|
1330
1307
|
}
|
|
1331
1308
|
function _get_encoderDecoderProvider__qqgrji($this) {
|
|
1332
|
-
var tmp0 = $this.
|
|
1309
|
+
var tmp0 = $this.n9l_1;
|
|
1333
1310
|
var tmp = KProperty1;
|
|
1334
1311
|
// Inline function 'kotlin.getValue' call
|
|
1335
1312
|
getPropertyCallableRef('encoderDecoderProvider', 1, tmp, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8_0(), null);
|
|
@@ -1857,7 +1834,7 @@
|
|
|
1857
1834
|
return l;
|
|
1858
1835
|
}
|
|
1859
1836
|
function GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1($this) {
|
|
1860
|
-
this.
|
|
1837
|
+
this.z9i_1 = $this;
|
|
1861
1838
|
}
|
|
1862
1839
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).m28 = function (collector, $completion) {
|
|
1863
1840
|
var tmp = new $collectCOROUTINE$_1(this, collector, $completion);
|
|
@@ -1869,7 +1846,7 @@
|
|
|
1869
1846
|
return this.m28(collector, $completion);
|
|
1870
1847
|
};
|
|
1871
1848
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$1($this) {
|
|
1872
|
-
this.
|
|
1849
|
+
this.u9j_1 = $this;
|
|
1873
1850
|
}
|
|
1874
1851
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).m28 = function (collector, $completion) {
|
|
1875
1852
|
var tmp = new $collectCOROUTINE$_2(this, collector, $completion);
|
|
@@ -1884,7 +1861,7 @@
|
|
|
1884
1861
|
return old.le_1 === new_0.le_1;
|
|
1885
1862
|
}
|
|
1886
1863
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$2($this) {
|
|
1887
|
-
this.
|
|
1864
|
+
this.p9k_1 = $this;
|
|
1888
1865
|
}
|
|
1889
1866
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).m28 = function (collector, $completion) {
|
|
1890
1867
|
var tmp = new $collectCOROUTINE$_3(this, collector, $completion);
|
|
@@ -2168,7 +2145,7 @@
|
|
|
2168
2145
|
l.$arity = 2;
|
|
2169
2146
|
return l;
|
|
2170
2147
|
}
|
|
2171
|
-
function GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators,
|
|
2148
|
+
function GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2172
2149
|
this.h9q_1 = $usersArray;
|
|
2173
2150
|
this.i9q_1 = $config;
|
|
2174
2151
|
this.j9q_1 = this$0;
|
|
@@ -2176,7 +2153,6 @@
|
|
|
2176
2153
|
this.l9q_1 = $transition;
|
|
2177
2154
|
this.m9q_1 = $gameCreatorId;
|
|
2178
2155
|
this.n9q_1 = $spectators;
|
|
2179
|
-
this.o9q_1 = $metadata;
|
|
2180
2156
|
CoroutineImpl.call(this, resultContinuation);
|
|
2181
2157
|
}
|
|
2182
2158
|
protoOf(GameServer$roomOnCreate$slambda).o9o = function ($this$dispatchAsync, store, $completion) {
|
|
@@ -2199,7 +2175,7 @@
|
|
|
2199
2175
|
var users = toList(this.h9q_1);
|
|
2200
2176
|
if (!(this.i9q_1.playersMode.count === users.o())) {
|
|
2201
2177
|
_get_logger__rkp4sl(this.j9q_1).w('GameEngine_API', 'roomOnCreate: wrong player count for game ' + this.k9q_1 + ', config = ' + this.i9q_1.toString() + ', users = ' + toString(users));
|
|
2202
|
-
this.
|
|
2178
|
+
this.p9q_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.j9q_1.table.isGameFinished, this.j9q_1.table));
|
|
2203
2179
|
return Unit_instance;
|
|
2204
2180
|
}
|
|
2205
2181
|
var tmp_0;
|
|
@@ -2249,11 +2225,11 @@
|
|
|
2249
2225
|
}
|
|
2250
2226
|
var updatedUsers = tmp_0;
|
|
2251
2227
|
var gameCreatorUser = getPlayer(users, this.m9q_1);
|
|
2252
|
-
var tmp_3 = this.
|
|
2228
|
+
var tmp_3 = this.p9q_1.dispatch;
|
|
2253
2229
|
var tmp1_version = get_versionOrDefault(GameEngineConfig_instance);
|
|
2254
2230
|
var tmp2_users = sortWithItem(updatedUsers, gameCreatorUser);
|
|
2255
2231
|
var tmp3_spectators = toList(this.n9q_1);
|
|
2256
|
-
tmp_3(new StartGameMechanicAction(this.i9q_1, this.k9q_1, tmp1_version, this.m9q_1, tmp2_users, VOID, tmp3_spectators
|
|
2232
|
+
tmp_3(new StartGameMechanicAction(this.i9q_1, this.k9q_1, tmp1_version, this.m9q_1, tmp2_users, VOID, tmp3_spectators));
|
|
2257
2233
|
return Unit_instance;
|
|
2258
2234
|
} else if (tmp === 1) {
|
|
2259
2235
|
throw this.u8_1;
|
|
@@ -2265,25 +2241,24 @@
|
|
|
2265
2241
|
while (true);
|
|
2266
2242
|
};
|
|
2267
2243
|
protoOf(GameServer$roomOnCreate$slambda).p9o = function ($this$dispatchAsync, store, completion) {
|
|
2268
|
-
var i = new GameServer$roomOnCreate$slambda(this.h9q_1, this.i9q_1, this.j9q_1, this.k9q_1, this.l9q_1, this.m9q_1, this.n9q_1,
|
|
2269
|
-
i.
|
|
2270
|
-
i.
|
|
2244
|
+
var i = new GameServer$roomOnCreate$slambda(this.h9q_1, this.i9q_1, this.j9q_1, this.k9q_1, this.l9q_1, this.m9q_1, this.n9q_1, completion);
|
|
2245
|
+
i.o9q_1 = $this$dispatchAsync;
|
|
2246
|
+
i.p9q_1 = store;
|
|
2271
2247
|
return i;
|
|
2272
2248
|
};
|
|
2273
|
-
function GameServer$roomOnCreate$slambda_0($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators,
|
|
2274
|
-
var i = new GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators,
|
|
2249
|
+
function GameServer$roomOnCreate$slambda_0($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2250
|
+
var i = new GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation);
|
|
2275
2251
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2276
2252
|
return i.o9o($this$dispatchAsync, store, $completion);
|
|
2277
2253
|
};
|
|
2278
2254
|
l.$arity = 2;
|
|
2279
2255
|
return l;
|
|
2280
2256
|
}
|
|
2281
|
-
function GameServer$roomOnContinueFromState$slambda($state,
|
|
2282
|
-
this.
|
|
2283
|
-
this.a9r_1 = $metadata;
|
|
2257
|
+
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
2258
|
+
this.y9q_1 = $state;
|
|
2284
2259
|
CoroutineImpl.call(this, resultContinuation);
|
|
2285
2260
|
}
|
|
2286
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2261
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).b9r = function ($this$dispatchAwait, store, $completion) {
|
|
2287
2262
|
var tmp = this.p9o($this$dispatchAwait, store, $completion);
|
|
2288
2263
|
tmp.t8_1 = Unit_instance;
|
|
2289
2264
|
tmp.u8_1 = null;
|
|
@@ -2291,7 +2266,7 @@
|
|
|
2291
2266
|
};
|
|
2292
2267
|
protoOf(GameServer$roomOnContinueFromState$slambda).i9 = function (p1, p2, $completion) {
|
|
2293
2268
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2294
|
-
return this.
|
|
2269
|
+
return this.b9r(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2295
2270
|
};
|
|
2296
2271
|
protoOf(GameServer$roomOnContinueFromState$slambda).z8 = function () {
|
|
2297
2272
|
var suspendResult = this.t8_1;
|
|
@@ -2300,11 +2275,11 @@
|
|
|
2300
2275
|
var tmp = this.r8_1;
|
|
2301
2276
|
if (tmp === 0) {
|
|
2302
2277
|
this.s8_1 = 1;
|
|
2303
|
-
if (get_isCreating(this.
|
|
2304
|
-
var tmp_0 = this.
|
|
2278
|
+
if (get_isCreating(this.a9r_1.state)) {
|
|
2279
|
+
var tmp_0 = this.a9r_1.dispatch;
|
|
2305
2280
|
var tmp0_reason = new RestartRoundReason(null);
|
|
2306
|
-
var tmp1_table = this.
|
|
2307
|
-
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason
|
|
2281
|
+
var tmp1_table = this.y9q_1.table;
|
|
2282
|
+
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2308
2283
|
return true;
|
|
2309
2284
|
}
|
|
2310
2285
|
return false;
|
|
@@ -2318,22 +2293,22 @@
|
|
|
2318
2293
|
while (true);
|
|
2319
2294
|
};
|
|
2320
2295
|
protoOf(GameServer$roomOnContinueFromState$slambda).p9o = function ($this$dispatchAwait, store, completion) {
|
|
2321
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
2322
|
-
i.
|
|
2323
|
-
i.
|
|
2296
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.y9q_1, completion);
|
|
2297
|
+
i.z9q_1 = $this$dispatchAwait;
|
|
2298
|
+
i.a9r_1 = store;
|
|
2324
2299
|
return i;
|
|
2325
2300
|
};
|
|
2326
|
-
function GameServer$roomOnContinueFromState$slambda_0($state,
|
|
2327
|
-
var i = new GameServer$roomOnContinueFromState$slambda($state,
|
|
2301
|
+
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
2302
|
+
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
2328
2303
|
var l = function ($this$dispatchAwait, store, $completion) {
|
|
2329
|
-
return i.
|
|
2304
|
+
return i.b9r($this$dispatchAwait, store, $completion);
|
|
2330
2305
|
};
|
|
2331
2306
|
l.$arity = 2;
|
|
2332
2307
|
return l;
|
|
2333
2308
|
}
|
|
2334
2309
|
function GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation) {
|
|
2335
|
-
this.
|
|
2336
|
-
this.
|
|
2310
|
+
this.k9r_1 = $isCreated;
|
|
2311
|
+
this.l9r_1 = $state;
|
|
2337
2312
|
CoroutineImpl.call(this, resultContinuation);
|
|
2338
2313
|
}
|
|
2339
2314
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).o9o = function ($this$dispatchAsync, store, $completion) {
|
|
@@ -2355,7 +2330,7 @@
|
|
|
2355
2330
|
case 0:
|
|
2356
2331
|
this.s8_1 = 3;
|
|
2357
2332
|
this.r8_1 = 1;
|
|
2358
|
-
suspendResult = this.
|
|
2333
|
+
suspendResult = this.k9r_1.z1t(this);
|
|
2359
2334
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2360
2335
|
return suspendResult;
|
|
2361
2336
|
}
|
|
@@ -2363,10 +2338,10 @@
|
|
|
2363
2338
|
continue $sm;
|
|
2364
2339
|
case 1:
|
|
2365
2340
|
if (suspendResult) {
|
|
2366
|
-
var _iterator__ex2g4s = this.
|
|
2341
|
+
var _iterator__ex2g4s = this.l9r_1.actions.l();
|
|
2367
2342
|
while (_iterator__ex2g4s.m()) {
|
|
2368
2343
|
var element = _iterator__ex2g4s.n();
|
|
2369
|
-
this.
|
|
2344
|
+
this.n9r_1.dispatch(element);
|
|
2370
2345
|
}
|
|
2371
2346
|
this.r8_1 = 2;
|
|
2372
2347
|
continue $sm;
|
|
@@ -2392,9 +2367,9 @@
|
|
|
2392
2367
|
while (true);
|
|
2393
2368
|
};
|
|
2394
2369
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).p9o = function ($this$dispatchAsync, store, completion) {
|
|
2395
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
2396
|
-
i.
|
|
2397
|
-
i.
|
|
2370
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.k9r_1, this.l9r_1, completion);
|
|
2371
|
+
i.m9r_1 = $this$dispatchAsync;
|
|
2372
|
+
i.n9r_1 = store;
|
|
2398
2373
|
return i;
|
|
2399
2374
|
};
|
|
2400
2375
|
function GameServer$roomOnContinueFromState$slambda_2($isCreated, $state, resultContinuation) {
|
|
@@ -2405,11 +2380,10 @@
|
|
|
2405
2380
|
l.$arity = 2;
|
|
2406
2381
|
return l;
|
|
2407
2382
|
}
|
|
2408
|
-
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0,
|
|
2409
|
-
this.
|
|
2410
|
-
this.
|
|
2411
|
-
this.
|
|
2412
|
-
this.b9s_1 = $metadata;
|
|
2383
|
+
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
2384
|
+
this.w9r_1 = $tableLite;
|
|
2385
|
+
this.x9r_1 = $roomId;
|
|
2386
|
+
this.y9r_1 = this$0;
|
|
2413
2387
|
CoroutineImpl.call(this, resultContinuation);
|
|
2414
2388
|
}
|
|
2415
2389
|
protoOf(GameServer$roomOnContinueFromRound$slambda).o9o = function ($this$dispatchAsync, store, $completion) {
|
|
@@ -2429,10 +2403,10 @@
|
|
|
2429
2403
|
var tmp = this.r8_1;
|
|
2430
2404
|
if (tmp === 0) {
|
|
2431
2405
|
this.s8_1 = 1;
|
|
2432
|
-
var tmp_0 = this.
|
|
2433
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
2434
|
-
var tmp1_table = Companion_instance_0.restartRound(this.
|
|
2435
|
-
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason
|
|
2406
|
+
var tmp_0 = this.a9s_1.dispatch;
|
|
2407
|
+
var tmp0_reason = new RestartRoundReason(this.w9r_1.gameInfo.round.roundNumber);
|
|
2408
|
+
var tmp1_table = Companion_instance_0.restartRound(this.x9r_1, _get_idsProvider__fnfajc(this.y9r_1).z6d(), get_versionOrDefault(GameEngineConfig_instance), this.w9r_1);
|
|
2409
|
+
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2436
2410
|
return Unit_instance;
|
|
2437
2411
|
} else if (tmp === 1) {
|
|
2438
2412
|
throw this.u8_1;
|
|
@@ -2444,13 +2418,13 @@
|
|
|
2444
2418
|
while (true);
|
|
2445
2419
|
};
|
|
2446
2420
|
protoOf(GameServer$roomOnContinueFromRound$slambda).p9o = function ($this$dispatchAsync, store, completion) {
|
|
2447
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
2448
|
-
i.
|
|
2449
|
-
i.
|
|
2421
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.w9r_1, this.x9r_1, this.y9r_1, completion);
|
|
2422
|
+
i.z9r_1 = $this$dispatchAsync;
|
|
2423
|
+
i.a9s_1 = store;
|
|
2450
2424
|
return i;
|
|
2451
2425
|
};
|
|
2452
|
-
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0,
|
|
2453
|
-
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0,
|
|
2426
|
+
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
2427
|
+
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
2454
2428
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2455
2429
|
return i.o9o($this$dispatchAsync, store, $completion);
|
|
2456
2430
|
};
|
|
@@ -2477,7 +2451,7 @@
|
|
|
2477
2451
|
var tmp = this.r8_1;
|
|
2478
2452
|
if (tmp === 0) {
|
|
2479
2453
|
this.s8_1 = 1;
|
|
2480
|
-
this.
|
|
2454
|
+
this.k9s_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
2481
2455
|
return Unit_instance;
|
|
2482
2456
|
} else if (tmp === 1) {
|
|
2483
2457
|
throw this.u8_1;
|
|
@@ -2490,8 +2464,8 @@
|
|
|
2490
2464
|
};
|
|
2491
2465
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).p9o = function ($this$dispatchAsync, store, completion) {
|
|
2492
2466
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
2493
|
-
i.
|
|
2494
|
-
i.
|
|
2467
|
+
i.j9s_1 = $this$dispatchAsync;
|
|
2468
|
+
i.k9s_1 = store;
|
|
2495
2469
|
return i;
|
|
2496
2470
|
};
|
|
2497
2471
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
@@ -2503,7 +2477,7 @@
|
|
|
2503
2477
|
return l;
|
|
2504
2478
|
}
|
|
2505
2479
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
2506
|
-
this.
|
|
2480
|
+
this.t9s_1 = $spectators;
|
|
2507
2481
|
CoroutineImpl.call(this, resultContinuation);
|
|
2508
2482
|
}
|
|
2509
2483
|
protoOf(GameServer$addSpectatorsToRoom$slambda).o9o = function ($this$dispatchAsync, store, $completion) {
|
|
@@ -2523,7 +2497,7 @@
|
|
|
2523
2497
|
var tmp = this.r8_1;
|
|
2524
2498
|
if (tmp === 0) {
|
|
2525
2499
|
this.s8_1 = 1;
|
|
2526
|
-
this.
|
|
2500
|
+
this.v9s_1.dispatch(new AddSpectatorsAction(toList(this.t9s_1)));
|
|
2527
2501
|
return Unit_instance;
|
|
2528
2502
|
} else if (tmp === 1) {
|
|
2529
2503
|
throw this.u8_1;
|
|
@@ -2535,9 +2509,9 @@
|
|
|
2535
2509
|
while (true);
|
|
2536
2510
|
};
|
|
2537
2511
|
protoOf(GameServer$addSpectatorsToRoom$slambda).p9o = function ($this$dispatchAsync, store, completion) {
|
|
2538
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
2539
|
-
i.
|
|
2540
|
-
i.
|
|
2512
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.t9s_1, completion);
|
|
2513
|
+
i.u9s_1 = $this$dispatchAsync;
|
|
2514
|
+
i.v9s_1 = store;
|
|
2541
2515
|
return i;
|
|
2542
2516
|
};
|
|
2543
2517
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
@@ -2549,7 +2523,7 @@
|
|
|
2549
2523
|
return l;
|
|
2550
2524
|
}
|
|
2551
2525
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
2552
|
-
this.
|
|
2526
|
+
this.e9t_1 = $spectators;
|
|
2553
2527
|
CoroutineImpl.call(this, resultContinuation);
|
|
2554
2528
|
}
|
|
2555
2529
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).o9o = function ($this$dispatchAsync, store, $completion) {
|
|
@@ -2569,7 +2543,7 @@
|
|
|
2569
2543
|
var tmp = this.r8_1;
|
|
2570
2544
|
if (tmp === 0) {
|
|
2571
2545
|
this.s8_1 = 1;
|
|
2572
|
-
this.
|
|
2546
|
+
this.g9t_1.dispatch(new RemoveSpectatorsAction(toList(this.e9t_1)));
|
|
2573
2547
|
return Unit_instance;
|
|
2574
2548
|
} else if (tmp === 1) {
|
|
2575
2549
|
throw this.u8_1;
|
|
@@ -2581,9 +2555,9 @@
|
|
|
2581
2555
|
while (true);
|
|
2582
2556
|
};
|
|
2583
2557
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).p9o = function ($this$dispatchAsync, store, completion) {
|
|
2584
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
2585
|
-
i.
|
|
2586
|
-
i.
|
|
2558
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.e9t_1, completion);
|
|
2559
|
+
i.f9t_1 = $this$dispatchAsync;
|
|
2560
|
+
i.g9t_1 = store;
|
|
2587
2561
|
return i;
|
|
2588
2562
|
};
|
|
2589
2563
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
@@ -2595,8 +2569,8 @@
|
|
|
2595
2569
|
return l;
|
|
2596
2570
|
}
|
|
2597
2571
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
2598
|
-
this.
|
|
2599
|
-
this.
|
|
2572
|
+
this.p9t_1 = $playerId;
|
|
2573
|
+
this.q9t_1 = this$0;
|
|
2600
2574
|
CoroutineImpl.call(this, resultContinuation);
|
|
2601
2575
|
}
|
|
2602
2576
|
protoOf(GameServer$roomRefreshPlayerState$slambda).o9o = function ($this$dispatchAsync, store, $completion) {
|
|
@@ -2616,14 +2590,14 @@
|
|
|
2616
2590
|
var tmp = this.r8_1;
|
|
2617
2591
|
if (tmp === 0) {
|
|
2618
2592
|
this.s8_1 = 1;
|
|
2619
|
-
var table = this.
|
|
2620
|
-
var player = getPlayer(table.players, this.
|
|
2593
|
+
var table = this.s9t_1.state.m6n();
|
|
2594
|
+
var player = getPlayer(table.players, this.p9t_1);
|
|
2621
2595
|
if (player.n6q_1.v68().m67_1.isLive) {
|
|
2622
|
-
this.
|
|
2596
|
+
this.s9t_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.q9t_1).v8p(player, table));
|
|
2623
2597
|
} else {
|
|
2624
|
-
var tmp_0 = this.
|
|
2598
|
+
var tmp_0 = this.s9t_1.dispatch;
|
|
2625
2599
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2626
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2600
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.p9t_1));
|
|
2627
2601
|
}
|
|
2628
2602
|
return Unit_instance;
|
|
2629
2603
|
} else if (tmp === 1) {
|
|
@@ -2636,9 +2610,9 @@
|
|
|
2636
2610
|
while (true);
|
|
2637
2611
|
};
|
|
2638
2612
|
protoOf(GameServer$roomRefreshPlayerState$slambda).p9o = function ($this$dispatchAsync, store, completion) {
|
|
2639
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
2640
|
-
i.
|
|
2641
|
-
i.
|
|
2613
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.p9t_1, this.q9t_1, completion);
|
|
2614
|
+
i.r9t_1 = $this$dispatchAsync;
|
|
2615
|
+
i.s9t_1 = store;
|
|
2642
2616
|
return i;
|
|
2643
2617
|
};
|
|
2644
2618
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
@@ -2650,8 +2624,8 @@
|
|
|
2650
2624
|
return l;
|
|
2651
2625
|
}
|
|
2652
2626
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
2653
|
-
this.
|
|
2654
|
-
this.
|
|
2627
|
+
this.b9u_1 = this$0;
|
|
2628
|
+
this.c9u_1 = $newRid;
|
|
2655
2629
|
CoroutineImpl.call(this, resultContinuation);
|
|
2656
2630
|
}
|
|
2657
2631
|
protoOf(GameServer$roomOnDelete$slambda).o9o = function ($this$dispatchAsync, store, $completion) {
|
|
@@ -2671,10 +2645,10 @@
|
|
|
2671
2645
|
var tmp = this.r8_1;
|
|
2672
2646
|
if (tmp === 0) {
|
|
2673
2647
|
this.s8_1 = 1;
|
|
2674
|
-
var it = this.
|
|
2648
|
+
var it = this.b9u_1.s66().m6m_1;
|
|
2675
2649
|
var tmp_0;
|
|
2676
2650
|
if (it == null) {
|
|
2677
|
-
_get_logger__rkp4sl(this.
|
|
2651
|
+
_get_logger__rkp4sl(this.b9u_1).w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
2678
2652
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
2679
2653
|
} else {
|
|
2680
2654
|
tmp_0 = it;
|
|
@@ -2683,15 +2657,15 @@
|
|
|
2683
2657
|
var gameTransition = terminationState.s8t_1;
|
|
2684
2658
|
var tmp_1;
|
|
2685
2659
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
2686
|
-
var tmp0_elvis_lhs = this.
|
|
2660
|
+
var tmp0_elvis_lhs = this.c9u_1;
|
|
2687
2661
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
2688
2662
|
} else {
|
|
2689
2663
|
tmp_1 = gameTransition;
|
|
2690
2664
|
}
|
|
2691
2665
|
var transition = tmp_1;
|
|
2692
|
-
var tmp_2 = this.
|
|
2666
|
+
var tmp_2 = this.e9u_1.dispatch;
|
|
2693
2667
|
var tmp0_reason = terminationState.r8t_1;
|
|
2694
|
-
var tmp1_isGameFinished = this.
|
|
2668
|
+
var tmp1_isGameFinished = this.b9u_1.s66().m6n().isGameFinished;
|
|
2695
2669
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
2696
2670
|
return Unit_instance;
|
|
2697
2671
|
} else if (tmp === 1) {
|
|
@@ -2704,9 +2678,9 @@
|
|
|
2704
2678
|
while (true);
|
|
2705
2679
|
};
|
|
2706
2680
|
protoOf(GameServer$roomOnDelete$slambda).p9o = function ($this$dispatchAsync, store, completion) {
|
|
2707
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
2708
|
-
i.
|
|
2709
|
-
i.
|
|
2681
|
+
var i = new GameServer$roomOnDelete$slambda(this.b9u_1, this.c9u_1, completion);
|
|
2682
|
+
i.d9u_1 = $this$dispatchAsync;
|
|
2683
|
+
i.e9u_1 = store;
|
|
2710
2684
|
return i;
|
|
2711
2685
|
};
|
|
2712
2686
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
@@ -2718,7 +2692,7 @@
|
|
|
2718
2692
|
return l;
|
|
2719
2693
|
}
|
|
2720
2694
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
2721
|
-
this.
|
|
2695
|
+
this.n9u_1 = $enabled;
|
|
2722
2696
|
CoroutineImpl.call(this, resultContinuation);
|
|
2723
2697
|
}
|
|
2724
2698
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).o9o = function ($this$dispatchAsync, store, $completion) {
|
|
@@ -2738,7 +2712,7 @@
|
|
|
2738
2712
|
var tmp = this.r8_1;
|
|
2739
2713
|
if (tmp === 0) {
|
|
2740
2714
|
this.s8_1 = 1;
|
|
2741
|
-
this.
|
|
2715
|
+
this.p9u_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload_0(this.p9u_1.state).config.copy(VOID, this.n9u_1)));
|
|
2742
2716
|
return Unit_instance;
|
|
2743
2717
|
} else if (tmp === 1) {
|
|
2744
2718
|
throw this.u8_1;
|
|
@@ -2750,9 +2724,9 @@
|
|
|
2750
2724
|
while (true);
|
|
2751
2725
|
};
|
|
2752
2726
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).p9o = function ($this$dispatchAsync, store, completion) {
|
|
2753
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
2754
|
-
i.
|
|
2755
|
-
i.
|
|
2727
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.n9u_1, completion);
|
|
2728
|
+
i.o9u_1 = $this$dispatchAsync;
|
|
2729
|
+
i.p9u_1 = store;
|
|
2756
2730
|
return i;
|
|
2757
2731
|
};
|
|
2758
2732
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
@@ -2764,9 +2738,9 @@
|
|
|
2764
2738
|
return l;
|
|
2765
2739
|
}
|
|
2766
2740
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
2767
|
-
this.
|
|
2768
|
-
this.
|
|
2769
|
-
this.
|
|
2741
|
+
this.y9u_1 = $reason;
|
|
2742
|
+
this.z9u_1 = this$0;
|
|
2743
|
+
this.a9v_1 = $roomId;
|
|
2770
2744
|
CoroutineImpl.call(this, resultContinuation);
|
|
2771
2745
|
}
|
|
2772
2746
|
protoOf(GameServer$shutdown$slambda).o9o = function ($this$dispatchAsync, store, $completion) {
|
|
@@ -2786,11 +2760,11 @@
|
|
|
2786
2760
|
var tmp = this.r8_1;
|
|
2787
2761
|
if (tmp === 0) {
|
|
2788
2762
|
this.s8_1 = 1;
|
|
2789
|
-
var state = this.
|
|
2763
|
+
var state = this.c9v_1.store.state;
|
|
2790
2764
|
if (state.n6n()) {
|
|
2791
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
2765
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.y9u_1, get_serverShutdownReasonMapping());
|
|
2792
2766
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
2793
|
-
var tmp_0 = this.
|
|
2767
|
+
var tmp_0 = this.c9v_1.dispatch;
|
|
2794
2768
|
var tmp_1 = Companion_instance;
|
|
2795
2769
|
var tmp_2;
|
|
2796
2770
|
switch (shutdownReason.p2_1) {
|
|
@@ -2804,10 +2778,10 @@
|
|
|
2804
2778
|
noWhenBranchMatchedException();
|
|
2805
2779
|
break;
|
|
2806
2780
|
}
|
|
2807
|
-
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.
|
|
2781
|
+
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.z9u_1.table.isGameFinished, this.z9u_1.table));
|
|
2808
2782
|
} else {
|
|
2809
|
-
_get_logger__rkp4sl(this.
|
|
2810
|
-
var tmp_3 = this.
|
|
2783
|
+
_get_logger__rkp4sl(this.z9u_1).w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.a9v_1);
|
|
2784
|
+
var tmp_3 = this.c9v_1.dispatch;
|
|
2811
2785
|
var tmp2_safe_receiver = state.m6m_1;
|
|
2812
2786
|
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.s8t_1));
|
|
2813
2787
|
}
|
|
@@ -2822,9 +2796,9 @@
|
|
|
2822
2796
|
while (true);
|
|
2823
2797
|
};
|
|
2824
2798
|
protoOf(GameServer$shutdown$slambda).p9o = function ($this$dispatchAsync, store, completion) {
|
|
2825
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
2826
|
-
i.
|
|
2827
|
-
i.
|
|
2799
|
+
var i = new GameServer$shutdown$slambda(this.y9u_1, this.z9u_1, this.a9v_1, completion);
|
|
2800
|
+
i.b9v_1 = $this$dispatchAsync;
|
|
2801
|
+
i.c9v_1 = store;
|
|
2828
2802
|
return i;
|
|
2829
2803
|
};
|
|
2830
2804
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
@@ -2861,7 +2835,7 @@
|
|
|
2861
2835
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
2862
2836
|
var tmp_3 = Instance(di, tmp$ret$2, null);
|
|
2863
2837
|
var tmp_4 = KProperty1;
|
|
2864
|
-
tmp_1.
|
|
2838
|
+
tmp_1.f9l_1 = tmp_3.u64(this, getPropertyCallableRef('logger', 1, tmp_4, GameServer$_get_logger_$ref_fogce1(), null));
|
|
2865
2839
|
var tmp_5 = this;
|
|
2866
2840
|
// Inline function 'org.kodein.di.instance' call
|
|
2867
2841
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2869,7 +2843,7 @@
|
|
|
2869
2843
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2870
2844
|
var tmp_7 = Instance(di, tmp$ret$4, null);
|
|
2871
2845
|
var tmp_8 = KProperty1;
|
|
2872
|
-
tmp_5.
|
|
2846
|
+
tmp_5.g9l_1 = tmp_7.u64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_8, GameServer$_get_toClientEventsObserver_$ref_utir8s(), null));
|
|
2873
2847
|
var tmp_9 = this;
|
|
2874
2848
|
// Inline function 'org.kodein.di.instance' call
|
|
2875
2849
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2877,7 +2851,7 @@
|
|
|
2877
2851
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
2878
2852
|
var tmp_11 = Instance(di, tmp$ret$6, null);
|
|
2879
2853
|
var tmp_12 = KProperty1;
|
|
2880
|
-
tmp_9.
|
|
2854
|
+
tmp_9.h9l_1 = tmp_11.u64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_12, GameServer$_get_fromClientEventsObserver_$ref_nf1g79(), null));
|
|
2881
2855
|
var tmp_13 = this;
|
|
2882
2856
|
// Inline function 'org.kodein.di.instance' call
|
|
2883
2857
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2885,7 +2859,7 @@
|
|
|
2885
2859
|
var tmp$ret$8 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
2886
2860
|
var tmp_15 = Instance(di, tmp$ret$8, null);
|
|
2887
2861
|
var tmp_16 = KProperty1;
|
|
2888
|
-
tmp_13.
|
|
2862
|
+
tmp_13.i9l_1 = tmp_15.u64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_16, GameServer$_get_playerConnectionInteractor_$ref_of8tan(), null));
|
|
2889
2863
|
var tmp_17 = this;
|
|
2890
2864
|
// Inline function 'org.kodein.di.instance' call
|
|
2891
2865
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2893,9 +2867,9 @@
|
|
|
2893
2867
|
var tmp$ret$10 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
2894
2868
|
var tmp_19 = Instance(di, tmp$ret$10, null);
|
|
2895
2869
|
var tmp_20 = KProperty1;
|
|
2896
|
-
tmp_17.
|
|
2870
|
+
tmp_17.j9l_1 = tmp_19.u64(this, getPropertyCallableRef('teamsLogicProvider', 1, tmp_20, GameServer$_get_teamsLogicProvider_$ref_b7y54g(), null));
|
|
2897
2871
|
var tmp_21 = this;
|
|
2898
|
-
tmp_21.
|
|
2872
|
+
tmp_21.k9l_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
2899
2873
|
var tmp_22 = this;
|
|
2900
2874
|
// Inline function 'org.kodein.di.instance' call
|
|
2901
2875
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2903,7 +2877,7 @@
|
|
|
2903
2877
|
var tmp$ret$12 = isInterface(tmp_23, TypeToken) ? tmp_23 : THROW_CCE();
|
|
2904
2878
|
var tmp_24 = Instance(di, tmp$ret$12, null);
|
|
2905
2879
|
var tmp_25 = KProperty1;
|
|
2906
|
-
tmp_22.
|
|
2880
|
+
tmp_22.l9l_1 = tmp_24.u64(this, getPropertyCallableRef('idsProvider', 1, tmp_25, GameServer$_get_idsProvider_$ref_89s908(), null));
|
|
2907
2881
|
var tmp_26 = this;
|
|
2908
2882
|
// Inline function 'org.kodein.di.instance' call
|
|
2909
2883
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2911,7 +2885,7 @@
|
|
|
2911
2885
|
var tmp$ret$14 = isInterface(tmp_27, TypeToken) ? tmp_27 : THROW_CCE();
|
|
2912
2886
|
var tmp_28 = Instance(di, tmp$ret$14, null);
|
|
2913
2887
|
var tmp_29 = KProperty1;
|
|
2914
|
-
tmp_26.
|
|
2888
|
+
tmp_26.m9l_1 = tmp_28.u64(this, getPropertyCallableRef('serverReduxConfig', 1, tmp_29, GameServer$_get_serverReduxConfig_$ref_7h6jq6(), null));
|
|
2915
2889
|
var tmp_30 = this;
|
|
2916
2890
|
// Inline function 'org.kodein.di.instance' call
|
|
2917
2891
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2919,13 +2893,20 @@
|
|
|
2919
2893
|
var tmp$ret$16 = isInterface(tmp_31, TypeToken) ? tmp_31 : THROW_CCE();
|
|
2920
2894
|
var tmp_32 = Instance(di, tmp$ret$16, null);
|
|
2921
2895
|
var tmp_33 = KProperty1;
|
|
2922
|
-
tmp_30.
|
|
2896
|
+
tmp_30.n9l_1 = tmp_32.u64(this, getPropertyCallableRef('encoderDecoderProvider', 1, tmp_33, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8(), null));
|
|
2923
2897
|
var tmp_34 = this;
|
|
2924
|
-
var tmp0_externalMiddlewares = plus(storeContract.
|
|
2925
|
-
var tmp1_externalReducers = plus(storeContract.
|
|
2926
|
-
tmp_34.
|
|
2898
|
+
var tmp0_externalMiddlewares = plus(storeContract.f8y(), externalMiddlewares);
|
|
2899
|
+
var tmp1_externalReducers = plus(storeContract.e8y(), externalReducers);
|
|
2900
|
+
tmp_34.o9l_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
2901
|
+
this.p9l_1 = new Object();
|
|
2927
2902
|
}
|
|
2928
2903
|
protoOf(GameServer).b6m = function () {
|
|
2904
|
+
return this.o9l_1;
|
|
2905
|
+
};
|
|
2906
|
+
protoOf(GameServer).d9v = function (_set____db54di) {
|
|
2907
|
+
this.p9l_1 = _set____db54di;
|
|
2908
|
+
};
|
|
2909
|
+
protoOf(GameServer).k8e = function () {
|
|
2929
2910
|
return this.p9l_1;
|
|
2930
2911
|
};
|
|
2931
2912
|
protoOf(GameServer).w53 = function () {
|
|
@@ -2958,55 +2939,55 @@
|
|
|
2958
2939
|
};
|
|
2959
2940
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
2960
2941
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
2961
|
-
this.
|
|
2942
|
+
this.o9l_1.k6n(GameServer$fromClientEvent$slambda_0(action, null));
|
|
2962
2943
|
};
|
|
2963
2944
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
2964
2945
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
2965
|
-
this.
|
|
2946
|
+
this.o9l_1.k6n(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
2966
2947
|
};
|
|
2967
2948
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
2968
2949
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLive: ' + playerId);
|
|
2969
|
-
this.
|
|
2950
|
+
this.o9l_1.k6n(GameServer$playerLive$slambda_0(this, playerId, null));
|
|
2970
2951
|
};
|
|
2971
2952
|
protoOf(GameServer).playerLeft = function (playerId) {
|
|
2972
2953
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
2973
|
-
this.
|
|
2954
|
+
this.o9l_1.k6n(GameServer$playerLeft$slambda_0(this, playerId, null));
|
|
2974
2955
|
};
|
|
2975
|
-
protoOf(GameServer).
|
|
2956
|
+
protoOf(GameServer).e9v = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
2976
2957
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
2977
|
-
this.
|
|
2958
|
+
this.o9l_1.k6n(GameServer$roomOnCreate$slambda_0(usersArray, config, this, roomId, transition, gameCreatorId, spectators, null));
|
|
2978
2959
|
};
|
|
2979
|
-
protoOf(GameServer).
|
|
2960
|
+
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
2980
2961
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
2981
|
-
var isCreated = this.
|
|
2982
|
-
this.
|
|
2962
|
+
var isCreated = this.o9l_1.l6n(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
2963
|
+
this.o9l_1.k6n(GameServer$roomOnContinueFromState$slambda_2(isCreated, state, null));
|
|
2983
2964
|
};
|
|
2984
|
-
protoOf(GameServer).
|
|
2965
|
+
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
2985
2966
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
2986
|
-
this.
|
|
2987
|
-
this.
|
|
2967
|
+
this.o9l_1.k6n(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
2968
|
+
this.o9l_1.k6n(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
2988
2969
|
};
|
|
2989
2970
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
2990
|
-
this.
|
|
2971
|
+
this.o9l_1.k6n(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
2991
2972
|
};
|
|
2992
2973
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
2993
|
-
this.
|
|
2974
|
+
this.o9l_1.k6n(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
2994
2975
|
};
|
|
2995
2976
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
2996
2977
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
2997
|
-
this.
|
|
2978
|
+
this.o9l_1.k6n(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
2998
2979
|
};
|
|
2999
|
-
protoOf(GameServer).
|
|
2980
|
+
protoOf(GameServer).f9v = function (newRid) {
|
|
3000
2981
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnDelete: ' + newRid);
|
|
3001
|
-
this.
|
|
2982
|
+
this.o9l_1.k6n(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
3002
2983
|
};
|
|
3003
2984
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
3004
2985
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
3005
|
-
this.
|
|
2986
|
+
this.o9l_1.k6n(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
3006
2987
|
};
|
|
3007
|
-
protoOf(GameServer).
|
|
2988
|
+
protoOf(GameServer).g9v = function (reason, roomId) {
|
|
3008
2989
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
3009
|
-
this.
|
|
2990
|
+
this.o9l_1.k6n(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
3010
2991
|
};
|
|
3011
2992
|
protoOf(GameServer).clear = function () {
|
|
3012
2993
|
return this.h2();
|
|
@@ -3057,10 +3038,10 @@
|
|
|
3057
3038
|
this.fromRound = fromRound;
|
|
3058
3039
|
this.canStartNewGame = canStartNewGame;
|
|
3059
3040
|
}
|
|
3060
|
-
protoOf(ServerConfig).
|
|
3041
|
+
protoOf(ServerConfig).h9v = function () {
|
|
3061
3042
|
return this.fromRound;
|
|
3062
3043
|
};
|
|
3063
|
-
protoOf(ServerConfig).
|
|
3044
|
+
protoOf(ServerConfig).i9v = function () {
|
|
3064
3045
|
return this.canStartNewGame;
|
|
3065
3046
|
};
|
|
3066
3047
|
protoOf(ServerConfig).ne = function () {
|
|
@@ -3069,13 +3050,13 @@
|
|
|
3069
3050
|
protoOf(ServerConfig).oe = function () {
|
|
3070
3051
|
return this.canStartNewGame;
|
|
3071
3052
|
};
|
|
3072
|
-
protoOf(ServerConfig).
|
|
3053
|
+
protoOf(ServerConfig).j9v = function (fromRound, canStartNewGame) {
|
|
3073
3054
|
return new ServerConfig(fromRound, canStartNewGame);
|
|
3074
3055
|
};
|
|
3075
3056
|
protoOf(ServerConfig).copy = function (fromRound, canStartNewGame, $super) {
|
|
3076
3057
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
3077
3058
|
canStartNewGame = canStartNewGame === VOID ? this.canStartNewGame : canStartNewGame;
|
|
3078
|
-
return $super === VOID ? this.
|
|
3059
|
+
return $super === VOID ? this.j9v(fromRound, canStartNewGame) : $super.j9v.call(this, fromRound, canStartNewGame);
|
|
3079
3060
|
};
|
|
3080
3061
|
protoOf(ServerConfig).toString = function () {
|
|
3081
3062
|
return 'ServerConfig(fromRound=' + this.fromRound + ', canStartNewGame=' + this.canStartNewGame + ')';
|
|
@@ -3137,20 +3118,20 @@
|
|
|
3137
3118
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 2);
|
|
3138
3119
|
tmp0_serialDesc.gz('roomId', false);
|
|
3139
3120
|
tmp0_serialDesc.gz('table', false);
|
|
3140
|
-
this.
|
|
3121
|
+
this.k9v_1 = tmp0_serialDesc;
|
|
3141
3122
|
}
|
|
3142
|
-
protoOf($serializer).
|
|
3143
|
-
var tmp0_desc = this.
|
|
3123
|
+
protoOf($serializer).l9v = function (encoder, value) {
|
|
3124
|
+
var tmp0_desc = this.k9v_1;
|
|
3144
3125
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3145
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3126
|
+
tmp1_output.dt(tmp0_desc, 0, value.m9v_1);
|
|
3146
3127
|
tmp1_output.dt(tmp0_desc, 1, value.table);
|
|
3147
3128
|
tmp1_output.pr(tmp0_desc);
|
|
3148
3129
|
};
|
|
3149
3130
|
protoOf($serializer).co = function (encoder, value) {
|
|
3150
|
-
return this.
|
|
3131
|
+
return this.l9v(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3151
3132
|
};
|
|
3152
3133
|
protoOf($serializer).do = function (decoder) {
|
|
3153
|
-
var tmp0_desc = this.
|
|
3134
|
+
var tmp0_desc = this.k9v_1;
|
|
3154
3135
|
var tmp1_flag = true;
|
|
3155
3136
|
var tmp2_index = 0;
|
|
3156
3137
|
var tmp3_bitMask0 = 0;
|
|
@@ -3185,7 +3166,7 @@
|
|
|
3185
3166
|
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3186
3167
|
};
|
|
3187
3168
|
protoOf($serializer).bo = function () {
|
|
3188
|
-
return this.
|
|
3169
|
+
return this.k9v_1;
|
|
3189
3170
|
};
|
|
3190
3171
|
protoOf($serializer).vz = function () {
|
|
3191
3172
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3201,9 +3182,9 @@
|
|
|
3201
3182
|
}
|
|
3202
3183
|
function TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, $this) {
|
|
3203
3184
|
if (!(3 === (3 & seen0))) {
|
|
3204
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance().
|
|
3185
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance().k9v_1);
|
|
3205
3186
|
}
|
|
3206
|
-
$this.
|
|
3187
|
+
$this.m9v_1 = roomId;
|
|
3207
3188
|
$this.table = table;
|
|
3208
3189
|
return $this;
|
|
3209
3190
|
}
|
|
@@ -3211,17 +3192,17 @@
|
|
|
3211
3192
|
return TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, objectCreate(protoOf(TableStateUpdateDto)));
|
|
3212
3193
|
}
|
|
3213
3194
|
function TableStateUpdateDto(roomId, table) {
|
|
3214
|
-
this.
|
|
3195
|
+
this.m9v_1 = roomId;
|
|
3215
3196
|
this.table = table;
|
|
3216
3197
|
}
|
|
3217
|
-
protoOf(TableStateUpdateDto).
|
|
3218
|
-
return this.
|
|
3198
|
+
protoOf(TableStateUpdateDto).u8w = function () {
|
|
3199
|
+
return this.m9v_1;
|
|
3219
3200
|
};
|
|
3220
3201
|
protoOf(TableStateUpdateDto).m6n = function () {
|
|
3221
3202
|
return this.table;
|
|
3222
3203
|
};
|
|
3223
3204
|
protoOf(TableStateUpdateDto).ne = function () {
|
|
3224
|
-
return this.
|
|
3205
|
+
return this.m9v_1;
|
|
3225
3206
|
};
|
|
3226
3207
|
protoOf(TableStateUpdateDto).oe = function () {
|
|
3227
3208
|
return this.table;
|
|
@@ -3230,15 +3211,15 @@
|
|
|
3230
3211
|
return new TableStateUpdateDto(roomId, table);
|
|
3231
3212
|
};
|
|
3232
3213
|
protoOf(TableStateUpdateDto).copy = function (roomId, table, $super) {
|
|
3233
|
-
roomId = roomId === VOID ? this.
|
|
3214
|
+
roomId = roomId === VOID ? this.m9v_1 : roomId;
|
|
3234
3215
|
table = table === VOID ? this.table : table;
|
|
3235
3216
|
return $super === VOID ? this.c54(roomId, table) : $super.c54.call(this, roomId, table);
|
|
3236
3217
|
};
|
|
3237
3218
|
protoOf(TableStateUpdateDto).toString = function () {
|
|
3238
|
-
return 'TableStateUpdateDto(roomId=' + this.
|
|
3219
|
+
return 'TableStateUpdateDto(roomId=' + this.m9v_1 + ', table=' + this.table + ')';
|
|
3239
3220
|
};
|
|
3240
3221
|
protoOf(TableStateUpdateDto).hashCode = function () {
|
|
3241
|
-
var result = getStringHashCode(this.
|
|
3222
|
+
var result = getStringHashCode(this.m9v_1);
|
|
3242
3223
|
result = imul(result, 31) + getStringHashCode(this.table) | 0;
|
|
3243
3224
|
return result;
|
|
3244
3225
|
};
|
|
@@ -3247,7 +3228,7 @@
|
|
|
3247
3228
|
return true;
|
|
3248
3229
|
if (!(other instanceof TableStateUpdateDto))
|
|
3249
3230
|
return false;
|
|
3250
|
-
if (!(this.
|
|
3231
|
+
if (!(this.m9v_1 === other.m9v_1))
|
|
3251
3232
|
return false;
|
|
3252
3233
|
if (!(this.table === other.table))
|
|
3253
3234
|
return false;
|
|
@@ -3267,20 +3248,20 @@
|
|
|
3267
3248
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 2);
|
|
3268
3249
|
tmp0_serialDesc.gz('roomId', false);
|
|
3269
3250
|
tmp0_serialDesc.gz('actions', false);
|
|
3270
|
-
this.
|
|
3251
|
+
this.n9v_1 = tmp0_serialDesc;
|
|
3271
3252
|
}
|
|
3272
|
-
protoOf($serializer_0).
|
|
3273
|
-
var tmp0_desc = this.
|
|
3253
|
+
protoOf($serializer_0).o9v = function (encoder, value) {
|
|
3254
|
+
var tmp0_desc = this.n9v_1;
|
|
3274
3255
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3275
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3256
|
+
tmp1_output.dt(tmp0_desc, 0, value.p9v_1);
|
|
3276
3257
|
tmp1_output.dt(tmp0_desc, 1, value.actions);
|
|
3277
3258
|
tmp1_output.pr(tmp0_desc);
|
|
3278
3259
|
};
|
|
3279
3260
|
protoOf($serializer_0).co = function (encoder, value) {
|
|
3280
|
-
return this.
|
|
3261
|
+
return this.o9v(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
|
|
3281
3262
|
};
|
|
3282
3263
|
protoOf($serializer_0).do = function (decoder) {
|
|
3283
|
-
var tmp0_desc = this.
|
|
3264
|
+
var tmp0_desc = this.n9v_1;
|
|
3284
3265
|
var tmp1_flag = true;
|
|
3285
3266
|
var tmp2_index = 0;
|
|
3286
3267
|
var tmp3_bitMask0 = 0;
|
|
@@ -3315,7 +3296,7 @@
|
|
|
3315
3296
|
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3316
3297
|
};
|
|
3317
3298
|
protoOf($serializer_0).bo = function () {
|
|
3318
|
-
return this.
|
|
3299
|
+
return this.n9v_1;
|
|
3319
3300
|
};
|
|
3320
3301
|
protoOf($serializer_0).vz = function () {
|
|
3321
3302
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3331,9 +3312,9 @@
|
|
|
3331
3312
|
}
|
|
3332
3313
|
function ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, $this) {
|
|
3333
3314
|
if (!(3 === (3 & seen0))) {
|
|
3334
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().
|
|
3315
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().n9v_1);
|
|
3335
3316
|
}
|
|
3336
|
-
$this.
|
|
3317
|
+
$this.p9v_1 = roomId;
|
|
3337
3318
|
$this.actions = actions;
|
|
3338
3319
|
return $this;
|
|
3339
3320
|
}
|
|
@@ -3341,17 +3322,17 @@
|
|
|
3341
3322
|
return ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, objectCreate(protoOf(ActionsStateUpdateDto)));
|
|
3342
3323
|
}
|
|
3343
3324
|
function ActionsStateUpdateDto(roomId, actions) {
|
|
3344
|
-
this.
|
|
3325
|
+
this.p9v_1 = roomId;
|
|
3345
3326
|
this.actions = actions;
|
|
3346
3327
|
}
|
|
3347
|
-
protoOf(ActionsStateUpdateDto).
|
|
3348
|
-
return this.
|
|
3328
|
+
protoOf(ActionsStateUpdateDto).u8w = function () {
|
|
3329
|
+
return this.p9v_1;
|
|
3349
3330
|
};
|
|
3350
3331
|
protoOf(ActionsStateUpdateDto).r8b = function () {
|
|
3351
3332
|
return this.actions;
|
|
3352
3333
|
};
|
|
3353
3334
|
protoOf(ActionsStateUpdateDto).ne = function () {
|
|
3354
|
-
return this.
|
|
3335
|
+
return this.p9v_1;
|
|
3355
3336
|
};
|
|
3356
3337
|
protoOf(ActionsStateUpdateDto).oe = function () {
|
|
3357
3338
|
return this.actions;
|
|
@@ -3360,15 +3341,15 @@
|
|
|
3360
3341
|
return new ActionsStateUpdateDto(roomId, actions);
|
|
3361
3342
|
};
|
|
3362
3343
|
protoOf(ActionsStateUpdateDto).copy = function (roomId, actions, $super) {
|
|
3363
|
-
roomId = roomId === VOID ? this.
|
|
3344
|
+
roomId = roomId === VOID ? this.p9v_1 : roomId;
|
|
3364
3345
|
actions = actions === VOID ? this.actions : actions;
|
|
3365
3346
|
return $super === VOID ? this.c54(roomId, actions) : $super.c54.call(this, roomId, actions);
|
|
3366
3347
|
};
|
|
3367
3348
|
protoOf(ActionsStateUpdateDto).toString = function () {
|
|
3368
|
-
return 'ActionsStateUpdateDto(roomId=' + this.
|
|
3349
|
+
return 'ActionsStateUpdateDto(roomId=' + this.p9v_1 + ', actions=' + this.actions + ')';
|
|
3369
3350
|
};
|
|
3370
3351
|
protoOf(ActionsStateUpdateDto).hashCode = function () {
|
|
3371
|
-
var result = getStringHashCode(this.
|
|
3352
|
+
var result = getStringHashCode(this.p9v_1);
|
|
3372
3353
|
result = imul(result, 31) + getStringHashCode(this.actions) | 0;
|
|
3373
3354
|
return result;
|
|
3374
3355
|
};
|
|
@@ -3377,7 +3358,7 @@
|
|
|
3377
3358
|
return true;
|
|
3378
3359
|
if (!(other instanceof ActionsStateUpdateDto))
|
|
3379
3360
|
return false;
|
|
3380
|
-
if (!(this.
|
|
3361
|
+
if (!(this.p9v_1 === other.p9v_1))
|
|
3381
3362
|
return false;
|
|
3382
3363
|
if (!(this.actions === other.actions))
|
|
3383
3364
|
return false;
|
|
@@ -3407,42 +3388,42 @@
|
|
|
3407
3388
|
var tmp$ret$0 = mapToDto(item);
|
|
3408
3389
|
destination.j(tmp$ret$0);
|
|
3409
3390
|
}
|
|
3410
|
-
return new ActionsStateUpdateDto(_this__u8e3s4.
|
|
3391
|
+
return new ActionsStateUpdateDto(_this__u8e3s4.q9v_1, encoderDecoderProvider.k8i(destination));
|
|
3411
3392
|
}
|
|
3412
3393
|
function mapToDto_3(_this__u8e3s4, encoderDecoderProvider) {
|
|
3413
|
-
return new TableStateUpdateDto(_this__u8e3s4.
|
|
3394
|
+
return new TableStateUpdateDto(_this__u8e3s4.r9v_1, encoderDecoderProvider.i8i(mapToDto_0(_this__u8e3s4.table)));
|
|
3414
3395
|
}
|
|
3415
3396
|
function ServerStateUpdate() {
|
|
3416
3397
|
}
|
|
3417
3398
|
function TableStateUpdate(roomId, table) {
|
|
3418
|
-
this.
|
|
3399
|
+
this.r9v_1 = roomId;
|
|
3419
3400
|
this.table = table;
|
|
3420
3401
|
}
|
|
3421
|
-
protoOf(TableStateUpdate).
|
|
3422
|
-
return this.
|
|
3402
|
+
protoOf(TableStateUpdate).u8w = function () {
|
|
3403
|
+
return this.r9v_1;
|
|
3423
3404
|
};
|
|
3424
3405
|
protoOf(TableStateUpdate).m6n = function () {
|
|
3425
3406
|
return this.table;
|
|
3426
3407
|
};
|
|
3427
3408
|
protoOf(TableStateUpdate).ne = function () {
|
|
3428
|
-
return this.
|
|
3409
|
+
return this.r9v_1;
|
|
3429
3410
|
};
|
|
3430
3411
|
protoOf(TableStateUpdate).oe = function () {
|
|
3431
3412
|
return this.table;
|
|
3432
3413
|
};
|
|
3433
|
-
protoOf(TableStateUpdate).
|
|
3414
|
+
protoOf(TableStateUpdate).s9v = function (roomId, table) {
|
|
3434
3415
|
return new TableStateUpdate(roomId, table);
|
|
3435
3416
|
};
|
|
3436
3417
|
protoOf(TableStateUpdate).copy = function (roomId, table, $super) {
|
|
3437
|
-
roomId = roomId === VOID ? this.
|
|
3418
|
+
roomId = roomId === VOID ? this.r9v_1 : roomId;
|
|
3438
3419
|
table = table === VOID ? this.table : table;
|
|
3439
|
-
return $super === VOID ? this.
|
|
3420
|
+
return $super === VOID ? this.s9v(roomId, table) : $super.s9v.call(this, roomId, table);
|
|
3440
3421
|
};
|
|
3441
3422
|
protoOf(TableStateUpdate).toString = function () {
|
|
3442
|
-
return 'TableStateUpdate(roomId=' + this.
|
|
3423
|
+
return 'TableStateUpdate(roomId=' + this.r9v_1 + ', table=' + this.table.toString() + ')';
|
|
3443
3424
|
};
|
|
3444
3425
|
protoOf(TableStateUpdate).hashCode = function () {
|
|
3445
|
-
var result = getStringHashCode(this.
|
|
3426
|
+
var result = getStringHashCode(this.r9v_1);
|
|
3446
3427
|
result = imul(result, 31) + this.table.hashCode() | 0;
|
|
3447
3428
|
return result;
|
|
3448
3429
|
};
|
|
@@ -3451,41 +3432,41 @@
|
|
|
3451
3432
|
return true;
|
|
3452
3433
|
if (!(other instanceof TableStateUpdate))
|
|
3453
3434
|
return false;
|
|
3454
|
-
if (!(this.
|
|
3435
|
+
if (!(this.r9v_1 === other.r9v_1))
|
|
3455
3436
|
return false;
|
|
3456
3437
|
if (!this.table.equals(other.table))
|
|
3457
3438
|
return false;
|
|
3458
3439
|
return true;
|
|
3459
3440
|
};
|
|
3460
3441
|
function ActionsStateUpdate(roomId, actions) {
|
|
3461
|
-
this.
|
|
3442
|
+
this.q9v_1 = roomId;
|
|
3462
3443
|
this.actions = actions;
|
|
3463
3444
|
}
|
|
3464
|
-
protoOf(ActionsStateUpdate).
|
|
3465
|
-
return this.
|
|
3445
|
+
protoOf(ActionsStateUpdate).u8w = function () {
|
|
3446
|
+
return this.q9v_1;
|
|
3466
3447
|
};
|
|
3467
3448
|
protoOf(ActionsStateUpdate).r8b = function () {
|
|
3468
3449
|
return this.actions;
|
|
3469
3450
|
};
|
|
3470
3451
|
protoOf(ActionsStateUpdate).ne = function () {
|
|
3471
|
-
return this.
|
|
3452
|
+
return this.q9v_1;
|
|
3472
3453
|
};
|
|
3473
3454
|
protoOf(ActionsStateUpdate).oe = function () {
|
|
3474
3455
|
return this.actions;
|
|
3475
3456
|
};
|
|
3476
|
-
protoOf(ActionsStateUpdate).
|
|
3457
|
+
protoOf(ActionsStateUpdate).t9v = function (roomId, actions) {
|
|
3477
3458
|
return new ActionsStateUpdate(roomId, actions);
|
|
3478
3459
|
};
|
|
3479
3460
|
protoOf(ActionsStateUpdate).copy = function (roomId, actions, $super) {
|
|
3480
|
-
roomId = roomId === VOID ? this.
|
|
3461
|
+
roomId = roomId === VOID ? this.q9v_1 : roomId;
|
|
3481
3462
|
actions = actions === VOID ? this.actions : actions;
|
|
3482
|
-
return $super === VOID ? this.
|
|
3463
|
+
return $super === VOID ? this.t9v(roomId, actions) : $super.t9v.call(this, roomId, actions);
|
|
3483
3464
|
};
|
|
3484
3465
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
3485
|
-
return 'ActionsStateUpdate(roomId=' + this.
|
|
3466
|
+
return 'ActionsStateUpdate(roomId=' + this.q9v_1 + ', actions=' + toString(this.actions) + ')';
|
|
3486
3467
|
};
|
|
3487
3468
|
protoOf(ActionsStateUpdate).hashCode = function () {
|
|
3488
|
-
var result = getStringHashCode(this.
|
|
3469
|
+
var result = getStringHashCode(this.q9v_1);
|
|
3489
3470
|
result = imul(result, 31) + hashCode(this.actions) | 0;
|
|
3490
3471
|
return result;
|
|
3491
3472
|
};
|
|
@@ -3494,7 +3475,7 @@
|
|
|
3494
3475
|
return true;
|
|
3495
3476
|
if (!(other instanceof ActionsStateUpdate))
|
|
3496
3477
|
return false;
|
|
3497
|
-
if (!(this.
|
|
3478
|
+
if (!(this.q9v_1 === other.q9v_1))
|
|
3498
3479
|
return false;
|
|
3499
3480
|
if (!equals(this.actions, other.actions))
|
|
3500
3481
|
return false;
|
|
@@ -3728,18 +3709,18 @@
|
|
|
3728
3709
|
function ToClientEventsObserver() {
|
|
3729
3710
|
}
|
|
3730
3711
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
3731
|
-
this.
|
|
3732
|
-
this.
|
|
3712
|
+
this.d9w_1 = this$0;
|
|
3713
|
+
this.e9w_1 = $actions;
|
|
3733
3714
|
CoroutineImpl.call(this, resultContinuation);
|
|
3734
3715
|
}
|
|
3735
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3736
|
-
var tmp = this.
|
|
3716
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).h9w = function ($this$flow, $completion) {
|
|
3717
|
+
var tmp = this.i9w($this$flow, $completion);
|
|
3737
3718
|
tmp.t8_1 = Unit_instance;
|
|
3738
3719
|
tmp.u8_1 = null;
|
|
3739
3720
|
return tmp.z8();
|
|
3740
3721
|
};
|
|
3741
3722
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).h9 = function (p1, $completion) {
|
|
3742
|
-
return this.
|
|
3723
|
+
return this.h9w((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
3743
3724
|
};
|
|
3744
3725
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).z8 = function () {
|
|
3745
3726
|
var suspendResult = this.t8_1;
|
|
@@ -3749,19 +3730,19 @@
|
|
|
3749
3730
|
switch (tmp) {
|
|
3750
3731
|
case 0:
|
|
3751
3732
|
this.s8_1 = 4;
|
|
3752
|
-
this.
|
|
3753
|
-
this.
|
|
3733
|
+
this.d9w_1.n9w_1;
|
|
3734
|
+
this.g9w_1 = transformToEmits(this.d9w_1, this.e9w_1).l();
|
|
3754
3735
|
this.r8_1 = 1;
|
|
3755
3736
|
continue $sm;
|
|
3756
3737
|
case 1:
|
|
3757
|
-
if (!this.
|
|
3738
|
+
if (!this.g9w_1.m()) {
|
|
3758
3739
|
this.r8_1 = 3;
|
|
3759
3740
|
continue $sm;
|
|
3760
3741
|
}
|
|
3761
3742
|
|
|
3762
|
-
var element = this.
|
|
3743
|
+
var element = this.g9w_1.n();
|
|
3763
3744
|
this.r8_1 = 2;
|
|
3764
|
-
suspendResult = this.
|
|
3745
|
+
suspendResult = this.f9w_1.l28(element, this);
|
|
3765
3746
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3766
3747
|
return suspendResult;
|
|
3767
3748
|
}
|
|
@@ -3771,11 +3752,11 @@
|
|
|
3771
3752
|
this.r8_1 = 1;
|
|
3772
3753
|
continue $sm;
|
|
3773
3754
|
case 3:
|
|
3774
|
-
var tmp0 = this.
|
|
3755
|
+
var tmp0 = this.d9w_1.m9w_1;
|
|
3775
3756
|
l$ret$1: do {
|
|
3776
3757
|
while (true) {
|
|
3777
3758
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
3778
|
-
var upd = cur - this.
|
|
3759
|
+
var upd = cur - this.e9w_1.o() | 0;
|
|
3779
3760
|
if (tmp0.atomicfu$compareAndSet(cur, upd)) {
|
|
3780
3761
|
break l$ret$1;
|
|
3781
3762
|
}
|
|
@@ -3797,15 +3778,15 @@
|
|
|
3797
3778
|
}
|
|
3798
3779
|
while (true);
|
|
3799
3780
|
};
|
|
3800
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3801
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
3802
|
-
i.
|
|
3781
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).i9w = function ($this$flow, completion) {
|
|
3782
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.d9w_1, this.e9w_1, completion);
|
|
3783
|
+
i.f9w_1 = $this$flow;
|
|
3803
3784
|
return i;
|
|
3804
3785
|
};
|
|
3805
3786
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
3806
3787
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
3807
3788
|
var l = function ($this$flow, $completion) {
|
|
3808
|
-
return i.
|
|
3789
|
+
return i.h9w($this$flow, $completion);
|
|
3809
3790
|
};
|
|
3810
3791
|
l.$arity = 1;
|
|
3811
3792
|
return l;
|
|
@@ -3875,29 +3856,29 @@
|
|
|
3875
3856
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
3876
3857
|
}
|
|
3877
3858
|
function mapFromGroupKey($this, _this__u8e3s4) {
|
|
3878
|
-
var tmp = $this.
|
|
3859
|
+
var tmp = $this.l9w_1.z6d();
|
|
3879
3860
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3880
|
-
var this_0 = _this__u8e3s4.
|
|
3861
|
+
var this_0 = _this__u8e3s4.q9w_1;
|
|
3881
3862
|
var tmp_0 = copyToArray(this_0);
|
|
3882
3863
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3883
|
-
var this_1 = _this__u8e3s4.
|
|
3864
|
+
var this_1 = _this__u8e3s4.r9w_1;
|
|
3884
3865
|
var tmp$ret$1 = copyToArray(this_1);
|
|
3885
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
3866
|
+
return new ActionDeliveryPayload(_this__u8e3s4.p9w_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.s9w_1);
|
|
3886
3867
|
}
|
|
3887
3868
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
3888
|
-
this.
|
|
3889
|
-
this.
|
|
3890
|
-
this.
|
|
3891
|
-
this.
|
|
3869
|
+
this.p9w_1 = tableId;
|
|
3870
|
+
this.q9w_1 = includePlayers;
|
|
3871
|
+
this.r9w_1 = excludePlayers;
|
|
3872
|
+
this.s9w_1 = deliveryType;
|
|
3892
3873
|
}
|
|
3893
3874
|
protoOf(GroupKey).toString = function () {
|
|
3894
|
-
return 'GroupKey(tableId=' + this.
|
|
3875
|
+
return 'GroupKey(tableId=' + this.p9w_1 + ', includePlayers=' + toString(this.q9w_1) + ', excludePlayers=' + toString(this.r9w_1) + ', deliveryType=' + this.s9w_1.toString() + ')';
|
|
3895
3876
|
};
|
|
3896
3877
|
protoOf(GroupKey).hashCode = function () {
|
|
3897
|
-
var result = getStringHashCode(this.
|
|
3898
|
-
result = imul(result, 31) + hashCode(this.
|
|
3899
|
-
result = imul(result, 31) + hashCode(this.
|
|
3900
|
-
result = imul(result, 31) + this.
|
|
3878
|
+
var result = getStringHashCode(this.p9w_1);
|
|
3879
|
+
result = imul(result, 31) + hashCode(this.q9w_1) | 0;
|
|
3880
|
+
result = imul(result, 31) + hashCode(this.r9w_1) | 0;
|
|
3881
|
+
result = imul(result, 31) + this.s9w_1.hashCode() | 0;
|
|
3901
3882
|
return result;
|
|
3902
3883
|
};
|
|
3903
3884
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -3905,35 +3886,35 @@
|
|
|
3905
3886
|
return true;
|
|
3906
3887
|
if (!(other instanceof GroupKey))
|
|
3907
3888
|
return false;
|
|
3908
|
-
if (!(this.
|
|
3889
|
+
if (!(this.p9w_1 === other.p9w_1))
|
|
3909
3890
|
return false;
|
|
3910
|
-
if (!equals(this.
|
|
3891
|
+
if (!equals(this.q9w_1, other.q9w_1))
|
|
3911
3892
|
return false;
|
|
3912
|
-
if (!equals(this.
|
|
3893
|
+
if (!equals(this.r9w_1, other.r9w_1))
|
|
3913
3894
|
return false;
|
|
3914
|
-
if (!this.
|
|
3895
|
+
if (!this.s9w_1.equals(other.s9w_1))
|
|
3915
3896
|
return false;
|
|
3916
3897
|
return true;
|
|
3917
3898
|
};
|
|
3918
3899
|
function Companion_4() {
|
|
3919
|
-
this.
|
|
3900
|
+
this.t9w_1 = 6;
|
|
3920
3901
|
}
|
|
3921
3902
|
var Companion_instance_12;
|
|
3922
3903
|
function Companion_getInstance_5() {
|
|
3923
3904
|
return Companion_instance_12;
|
|
3924
3905
|
}
|
|
3925
3906
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
3926
|
-
this.
|
|
3907
|
+
this.c9x_1 = this$0;
|
|
3927
3908
|
CoroutineImpl.call(this, resultContinuation);
|
|
3928
3909
|
}
|
|
3929
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3930
|
-
var tmp = this.
|
|
3910
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).e9x = function (actions, $completion) {
|
|
3911
|
+
var tmp = this.f9x(actions, $completion);
|
|
3931
3912
|
tmp.t8_1 = Unit_instance;
|
|
3932
3913
|
tmp.u8_1 = null;
|
|
3933
3914
|
return tmp.z8();
|
|
3934
3915
|
};
|
|
3935
3916
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).h9 = function (p1, $completion) {
|
|
3936
|
-
return this.
|
|
3917
|
+
return this.e9x((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
3937
3918
|
};
|
|
3938
3919
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).z8 = function () {
|
|
3939
3920
|
var suspendResult = this.t8_1;
|
|
@@ -3942,7 +3923,7 @@
|
|
|
3942
3923
|
var tmp = this.r8_1;
|
|
3943
3924
|
if (tmp === 0) {
|
|
3944
3925
|
this.s8_1 = 1;
|
|
3945
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
3926
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.c9x_1, this.d9x_1, null));
|
|
3946
3927
|
} else if (tmp === 1) {
|
|
3947
3928
|
throw this.u8_1;
|
|
3948
3929
|
}
|
|
@@ -3952,23 +3933,23 @@
|
|
|
3952
3933
|
}
|
|
3953
3934
|
while (true);
|
|
3954
3935
|
};
|
|
3955
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3956
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
3957
|
-
i.
|
|
3936
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).f9x = function (actions, completion) {
|
|
3937
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.c9x_1, completion);
|
|
3938
|
+
i.d9x_1 = actions;
|
|
3958
3939
|
return i;
|
|
3959
3940
|
};
|
|
3960
3941
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
3961
3942
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
3962
3943
|
var l = function (actions, $completion) {
|
|
3963
|
-
return i.
|
|
3944
|
+
return i.e9x(actions, $completion);
|
|
3964
3945
|
};
|
|
3965
3946
|
l.$arity = 1;
|
|
3966
3947
|
return l;
|
|
3967
3948
|
}
|
|
3968
3949
|
function $sentEventCOROUTINE$(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
3969
3950
|
CoroutineImpl.call(this, resultContinuation);
|
|
3970
|
-
this.
|
|
3971
|
-
this.
|
|
3951
|
+
this.o9x_1 = _this__u8e3s4;
|
|
3952
|
+
this.p9x_1 = fromEvent;
|
|
3972
3953
|
}
|
|
3973
3954
|
protoOf($sentEventCOROUTINE$).z8 = function () {
|
|
3974
3955
|
var suspendResult = this.t8_1;
|
|
@@ -3978,8 +3959,8 @@
|
|
|
3978
3959
|
switch (tmp) {
|
|
3979
3960
|
case 0:
|
|
3980
3961
|
this.s8_1 = 2;
|
|
3981
|
-
this.
|
|
3982
|
-
var tmp0 = this.
|
|
3962
|
+
this.o9x_1.n9w_1;
|
|
3963
|
+
var tmp0 = this.o9x_1.m9w_1;
|
|
3983
3964
|
l$ret$1: do {
|
|
3984
3965
|
while (true) {
|
|
3985
3966
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
@@ -3991,7 +3972,7 @@
|
|
|
3991
3972
|
}
|
|
3992
3973
|
while (false);
|
|
3993
3974
|
this.r8_1 = 1;
|
|
3994
|
-
suspendResult = this.
|
|
3975
|
+
suspendResult = this.o9x_1.o9w_1.l28(this.p9x_1, this);
|
|
3995
3976
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3996
3977
|
return suspendResult;
|
|
3997
3978
|
}
|
|
@@ -4015,7 +3996,7 @@
|
|
|
4015
3996
|
};
|
|
4016
3997
|
function $waitForCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
4017
3998
|
CoroutineImpl.call(this, resultContinuation);
|
|
4018
|
-
this.
|
|
3999
|
+
this.y9x_1 = _this__u8e3s4;
|
|
4019
4000
|
}
|
|
4020
4001
|
protoOf($waitForCOROUTINE$).z8 = function () {
|
|
4021
4002
|
var suspendResult = this.t8_1;
|
|
@@ -4025,12 +4006,12 @@
|
|
|
4025
4006
|
switch (tmp) {
|
|
4026
4007
|
case 0:
|
|
4027
4008
|
this.s8_1 = 5;
|
|
4028
|
-
this.
|
|
4029
|
-
this.
|
|
4009
|
+
this.y9x_1.n9w_1;
|
|
4010
|
+
this.z9x_1 = 0;
|
|
4030
4011
|
this.r8_1 = 1;
|
|
4031
4012
|
continue $sm;
|
|
4032
4013
|
case 1:
|
|
4033
|
-
if (!!(this.
|
|
4014
|
+
if (!!(this.y9x_1.m9w_1.kotlinx$atomicfu$value === 0)) {
|
|
4034
4015
|
this.r8_1 = 4;
|
|
4035
4016
|
continue $sm;
|
|
4036
4017
|
}
|
|
@@ -4043,9 +4024,9 @@
|
|
|
4043
4024
|
|
|
4044
4025
|
continue $sm;
|
|
4045
4026
|
case 2:
|
|
4046
|
-
this.
|
|
4047
|
-
if (this.
|
|
4048
|
-
this.
|
|
4027
|
+
this.z9x_1 = this.z9x_1 + 1 | 0;
|
|
4028
|
+
if (this.z9x_1 > 6) {
|
|
4029
|
+
this.y9x_1.k9w_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.y9x_1.m9w_1.kotlinx$atomicfu$value);
|
|
4049
4030
|
this.r8_1 = 4;
|
|
4050
4031
|
continue $sm;
|
|
4051
4032
|
} else {
|
|
@@ -4073,183 +4054,183 @@
|
|
|
4073
4054
|
while (true);
|
|
4074
4055
|
};
|
|
4075
4056
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
4076
|
-
this.
|
|
4077
|
-
this.
|
|
4078
|
-
this.
|
|
4079
|
-
this.
|
|
4057
|
+
this.j9w_1 = serverReduxConfig;
|
|
4058
|
+
this.k9w_1 = logger;
|
|
4059
|
+
this.l9w_1 = idsProvider;
|
|
4060
|
+
this.m9w_1 = atomic$ref$1(0);
|
|
4080
4061
|
var tmp = this;
|
|
4081
4062
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
4082
|
-
tmp.
|
|
4083
|
-
this.
|
|
4063
|
+
tmp.n9w_1 = get_atomicfu$reentrantLock();
|
|
4064
|
+
this.o9w_1 = MutableSharedFlow();
|
|
4084
4065
|
}
|
|
4085
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4066
|
+
protoOf(ToClientEventsObserverImpl).u9v = function (fromEvent, $completion) {
|
|
4086
4067
|
var tmp = new $sentEventCOROUTINE$(this, fromEvent, $completion);
|
|
4087
4068
|
tmp.t8_1 = Unit_instance;
|
|
4088
4069
|
tmp.u8_1 = null;
|
|
4089
4070
|
return tmp.z8();
|
|
4090
4071
|
};
|
|
4091
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4072
|
+
protoOf(ToClientEventsObserverImpl).q96 = function ($completion) {
|
|
4092
4073
|
var tmp = new $waitForCOROUTINE$(this, $completion);
|
|
4093
4074
|
tmp.t8_1 = Unit_instance;
|
|
4094
4075
|
tmp.u8_1 = null;
|
|
4095
4076
|
return tmp.z8();
|
|
4096
4077
|
};
|
|
4097
4078
|
protoOf(ToClientEventsObserverImpl).i9m = function () {
|
|
4098
|
-
if (!this.
|
|
4099
|
-
return this.
|
|
4079
|
+
if (!this.j9w_1.enabledCombinedEvents) {
|
|
4080
|
+
return this.o9w_1;
|
|
4100
4081
|
}
|
|
4101
|
-
var tmp = windowedByInterval(this.
|
|
4082
|
+
var tmp = windowedByInterval(this.o9w_1, fromInt(this.j9w_1.combinedEventsIntervalMillis));
|
|
4102
4083
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
4103
4084
|
};
|
|
4104
4085
|
function UpdateServerConfigAction(serverConfig) {
|
|
4105
|
-
this.
|
|
4086
|
+
this.a9y_1 = serverConfig;
|
|
4106
4087
|
}
|
|
4107
4088
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
4108
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
4089
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.a9y_1.toString() + ')';
|
|
4109
4090
|
};
|
|
4110
4091
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
4111
|
-
return this.
|
|
4092
|
+
return this.a9y_1.hashCode();
|
|
4112
4093
|
};
|
|
4113
4094
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
4114
4095
|
if (this === other)
|
|
4115
4096
|
return true;
|
|
4116
4097
|
if (!(other instanceof UpdateServerConfigAction))
|
|
4117
4098
|
return false;
|
|
4118
|
-
if (!this.
|
|
4099
|
+
if (!this.a9y_1.equals(other.a9y_1))
|
|
4119
4100
|
return false;
|
|
4120
4101
|
return true;
|
|
4121
4102
|
};
|
|
4122
4103
|
function SpectatorsAction() {
|
|
4123
4104
|
}
|
|
4124
4105
|
function AddSpectatorsAction(spectators) {
|
|
4125
|
-
this.
|
|
4106
|
+
this.b9y_1 = spectators;
|
|
4126
4107
|
}
|
|
4127
4108
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
4128
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
4109
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.b9y_1) + ')';
|
|
4129
4110
|
};
|
|
4130
4111
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
4131
|
-
return hashCode(this.
|
|
4112
|
+
return hashCode(this.b9y_1);
|
|
4132
4113
|
};
|
|
4133
4114
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
4134
4115
|
if (this === other)
|
|
4135
4116
|
return true;
|
|
4136
4117
|
if (!(other instanceof AddSpectatorsAction))
|
|
4137
4118
|
return false;
|
|
4138
|
-
if (!equals(this.
|
|
4119
|
+
if (!equals(this.b9y_1, other.b9y_1))
|
|
4139
4120
|
return false;
|
|
4140
4121
|
return true;
|
|
4141
4122
|
};
|
|
4142
4123
|
function RemoveSpectatorsAction(spectators) {
|
|
4143
|
-
this.
|
|
4124
|
+
this.c9y_1 = spectators;
|
|
4144
4125
|
}
|
|
4145
4126
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
4146
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
4127
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.c9y_1) + ')';
|
|
4147
4128
|
};
|
|
4148
4129
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
4149
|
-
return hashCode(this.
|
|
4130
|
+
return hashCode(this.c9y_1);
|
|
4150
4131
|
};
|
|
4151
4132
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
4152
4133
|
if (this === other)
|
|
4153
4134
|
return true;
|
|
4154
4135
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
4155
4136
|
return false;
|
|
4156
|
-
if (!equals(this.
|
|
4137
|
+
if (!equals(this.c9y_1, other.c9y_1))
|
|
4157
4138
|
return false;
|
|
4158
4139
|
return true;
|
|
4159
4140
|
};
|
|
4160
4141
|
function _get_asyncProvider__jbpyhw($this) {
|
|
4161
|
-
var tmp0 = $this.
|
|
4142
|
+
var tmp0 = $this.i9y_1;
|
|
4162
4143
|
var tmp = KProperty1;
|
|
4163
4144
|
// Inline function 'kotlin.getValue' call
|
|
4164
4145
|
getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
|
|
4165
4146
|
return tmp0.w();
|
|
4166
4147
|
}
|
|
4167
4148
|
function _get_logger__rkp4sl_0($this) {
|
|
4168
|
-
var tmp0 = $this.
|
|
4149
|
+
var tmp0 = $this.j9y_1;
|
|
4169
4150
|
var tmp = KProperty1;
|
|
4170
4151
|
// Inline function 'kotlin.getValue' call
|
|
4171
4152
|
getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
|
|
4172
4153
|
return tmp0.w();
|
|
4173
4154
|
}
|
|
4174
4155
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
4175
|
-
var tmp0 = $this.
|
|
4156
|
+
var tmp0 = $this.k9y_1;
|
|
4176
4157
|
var tmp = KProperty1;
|
|
4177
4158
|
// Inline function 'kotlin.getValue' call
|
|
4178
4159
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
|
|
4179
4160
|
return tmp0.w();
|
|
4180
4161
|
}
|
|
4181
4162
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
4182
|
-
var tmp0 = $this.
|
|
4163
|
+
var tmp0 = $this.l9y_1;
|
|
4183
4164
|
var tmp = KProperty1;
|
|
4184
4165
|
// Inline function 'kotlin.getValue' call
|
|
4185
4166
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
|
|
4186
4167
|
return tmp0.w();
|
|
4187
4168
|
}
|
|
4188
4169
|
function _get_serverConfig__rk2g06($this) {
|
|
4189
|
-
var tmp0 = $this.
|
|
4170
|
+
var tmp0 = $this.m9y_1;
|
|
4190
4171
|
var tmp = KProperty1;
|
|
4191
4172
|
// Inline function 'kotlin.getValue' call
|
|
4192
4173
|
getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
|
|
4193
4174
|
return tmp0.w();
|
|
4194
4175
|
}
|
|
4195
4176
|
function _get_logicConfig__52ww9d($this) {
|
|
4196
|
-
var tmp0 = $this.
|
|
4177
|
+
var tmp0 = $this.n9y_1;
|
|
4197
4178
|
var tmp = KProperty1;
|
|
4198
4179
|
// Inline function 'kotlin.getValue' call
|
|
4199
4180
|
getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
|
|
4200
4181
|
return tmp0.w();
|
|
4201
4182
|
}
|
|
4202
4183
|
function _get_idsProvider__fnfajc_0($this) {
|
|
4203
|
-
var tmp0 = $this.
|
|
4184
|
+
var tmp0 = $this.o9y_1;
|
|
4204
4185
|
var tmp = KProperty1;
|
|
4205
4186
|
// Inline function 'kotlin.getValue' call
|
|
4206
4187
|
getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
|
|
4207
4188
|
return tmp0.w();
|
|
4208
4189
|
}
|
|
4209
4190
|
function _get_botConfig__cpaxzc($this) {
|
|
4210
|
-
var tmp0 = $this.
|
|
4191
|
+
var tmp0 = $this.p9y_1;
|
|
4211
4192
|
var tmp = KProperty1;
|
|
4212
4193
|
// Inline function 'kotlin.getValue' call
|
|
4213
4194
|
getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
|
|
4214
4195
|
return tmp0.w();
|
|
4215
4196
|
}
|
|
4216
4197
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
4217
|
-
var tmp0 = $this.
|
|
4198
|
+
var tmp0 = $this.q9y_1;
|
|
4218
4199
|
var tmp = KProperty1;
|
|
4219
4200
|
// Inline function 'kotlin.getValue' call
|
|
4220
4201
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
|
|
4221
4202
|
return tmp0.w();
|
|
4222
4203
|
}
|
|
4223
4204
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
4224
|
-
var tmp0 = $this.
|
|
4205
|
+
var tmp0 = $this.r9y_1;
|
|
4225
4206
|
var tmp = KProperty1;
|
|
4226
4207
|
// Inline function 'kotlin.getValue' call
|
|
4227
4208
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
|
|
4228
4209
|
return tmp0.w();
|
|
4229
4210
|
}
|
|
4230
4211
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
4231
|
-
var tmp0 = $this.
|
|
4212
|
+
var tmp0 = $this.s9y_1;
|
|
4232
4213
|
var tmp = KProperty1;
|
|
4233
4214
|
// Inline function 'kotlin.getValue' call
|
|
4234
4215
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
|
|
4235
4216
|
return tmp0.w();
|
|
4236
4217
|
}
|
|
4237
4218
|
function _get_dealerConfig__183ci8($this) {
|
|
4238
|
-
var tmp0 = $this.
|
|
4219
|
+
var tmp0 = $this.t9y_1;
|
|
4239
4220
|
var tmp = KProperty1;
|
|
4240
4221
|
// Inline function 'kotlin.getValue' call
|
|
4241
4222
|
getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
|
|
4242
4223
|
return tmp0.w();
|
|
4243
4224
|
}
|
|
4244
4225
|
function _get_poolProvider__tqti6a($this) {
|
|
4245
|
-
var tmp0 = $this.
|
|
4226
|
+
var tmp0 = $this.u9y_1;
|
|
4246
4227
|
var tmp = KProperty1;
|
|
4247
4228
|
// Inline function 'kotlin.getValue' call
|
|
4248
4229
|
getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
|
|
4249
4230
|
return tmp0.w();
|
|
4250
4231
|
}
|
|
4251
4232
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
4252
|
-
var tmp0 = $this.
|
|
4233
|
+
var tmp0 = $this.v9y_1;
|
|
4253
4234
|
var tmp = KProperty1;
|
|
4254
4235
|
// Inline function 'kotlin.getValue' call
|
|
4255
4236
|
getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
|
|
@@ -4413,11 +4394,11 @@
|
|
|
4413
4394
|
tmp = fileLoggerStoreContract;
|
|
4414
4395
|
}
|
|
4415
4396
|
fileLoggerStoreContract = tmp;
|
|
4416
|
-
this.
|
|
4417
|
-
this.
|
|
4418
|
-
this.
|
|
4419
|
-
this.
|
|
4420
|
-
this.
|
|
4397
|
+
this.d9y_1 = validationStoreContract;
|
|
4398
|
+
this.e9y_1 = timersStoreContract;
|
|
4399
|
+
this.f9y_1 = botGameStoreContract;
|
|
4400
|
+
this.g9y_1 = gameMechanicStoreContract;
|
|
4401
|
+
this.h9y_1 = fileLoggerStoreContract;
|
|
4421
4402
|
var tmp_0 = this;
|
|
4422
4403
|
// Inline function 'org.kodein.di.instance' call
|
|
4423
4404
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4425,7 +4406,7 @@
|
|
|
4425
4406
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
4426
4407
|
var tmp_2 = Instance(di, tmp$ret$0, null);
|
|
4427
4408
|
var tmp_3 = KProperty1;
|
|
4428
|
-
tmp_0.
|
|
4409
|
+
tmp_0.i9y_1 = tmp_2.u64(this, getPropertyCallableRef('asyncProvider', 1, tmp_3, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
|
|
4429
4410
|
var tmp_4 = this;
|
|
4430
4411
|
// Inline function 'org.kodein.di.instance' call
|
|
4431
4412
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4433,7 +4414,7 @@
|
|
|
4433
4414
|
var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
4434
4415
|
var tmp_6 = Instance(di, tmp$ret$2, null);
|
|
4435
4416
|
var tmp_7 = KProperty1;
|
|
4436
|
-
tmp_4.
|
|
4417
|
+
tmp_4.j9y_1 = tmp_6.u64(this, getPropertyCallableRef('logger', 1, tmp_7, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
|
|
4437
4418
|
var tmp_8 = this;
|
|
4438
4419
|
// Inline function 'org.kodein.di.instance' call
|
|
4439
4420
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4441,7 +4422,7 @@
|
|
|
4441
4422
|
var tmp$ret$4 = isInterface(tmp_9, TypeToken) ? tmp_9 : THROW_CCE();
|
|
4442
4423
|
var tmp_10 = Instance(di, tmp$ret$4, null);
|
|
4443
4424
|
var tmp_11 = KProperty1;
|
|
4444
|
-
tmp_8.
|
|
4425
|
+
tmp_8.k9y_1 = tmp_10.u64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_11, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
|
|
4445
4426
|
var tmp_12 = this;
|
|
4446
4427
|
// Inline function 'org.kodein.di.instance' call
|
|
4447
4428
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4449,7 +4430,7 @@
|
|
|
4449
4430
|
var tmp$ret$6 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
4450
4431
|
var tmp_14 = Instance(di, tmp$ret$6, null);
|
|
4451
4432
|
var tmp_15 = KProperty1;
|
|
4452
|
-
tmp_12.
|
|
4433
|
+
tmp_12.l9y_1 = tmp_14.u64(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_15, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
|
|
4453
4434
|
var tmp_16 = this;
|
|
4454
4435
|
// Inline function 'org.kodein.di.instance' call
|
|
4455
4436
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4457,7 +4438,7 @@
|
|
|
4457
4438
|
var tmp$ret$8 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
4458
4439
|
var tmp_18 = Instance(di, tmp$ret$8, null);
|
|
4459
4440
|
var tmp_19 = KProperty1;
|
|
4460
|
-
tmp_16.
|
|
4441
|
+
tmp_16.m9y_1 = tmp_18.u64(this, getPropertyCallableRef('serverConfig', 1, tmp_19, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
|
|
4461
4442
|
var tmp_20 = this;
|
|
4462
4443
|
// Inline function 'org.kodein.di.instance' call
|
|
4463
4444
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4465,7 +4446,7 @@
|
|
|
4465
4446
|
var tmp$ret$10 = isInterface(tmp_21, TypeToken) ? tmp_21 : THROW_CCE();
|
|
4466
4447
|
var tmp_22 = Instance(di, tmp$ret$10, null);
|
|
4467
4448
|
var tmp_23 = KProperty1;
|
|
4468
|
-
tmp_20.
|
|
4449
|
+
tmp_20.n9y_1 = tmp_22.u64(this, getPropertyCallableRef('logicConfig', 1, tmp_23, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
|
|
4469
4450
|
var tmp_24 = this;
|
|
4470
4451
|
// Inline function 'org.kodein.di.instance' call
|
|
4471
4452
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4473,7 +4454,7 @@
|
|
|
4473
4454
|
var tmp$ret$12 = isInterface(tmp_25, TypeToken) ? tmp_25 : THROW_CCE();
|
|
4474
4455
|
var tmp_26 = Instance(di, tmp$ret$12, null);
|
|
4475
4456
|
var tmp_27 = KProperty1;
|
|
4476
|
-
tmp_24.
|
|
4457
|
+
tmp_24.o9y_1 = tmp_26.u64(this, getPropertyCallableRef('idsProvider', 1, tmp_27, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
|
|
4477
4458
|
var tmp_28 = this;
|
|
4478
4459
|
// Inline function 'org.kodein.di.instance' call
|
|
4479
4460
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4481,7 +4462,7 @@
|
|
|
4481
4462
|
var tmp$ret$14 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
|
|
4482
4463
|
var tmp_30 = Instance(di, tmp$ret$14, null);
|
|
4483
4464
|
var tmp_31 = KProperty1;
|
|
4484
|
-
tmp_28.
|
|
4465
|
+
tmp_28.p9y_1 = tmp_30.u64(this, getPropertyCallableRef('botConfig', 1, tmp_31, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
|
|
4485
4466
|
var tmp_32 = this;
|
|
4486
4467
|
// Inline function 'org.kodein.di.instance' call
|
|
4487
4468
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4489,7 +4470,7 @@
|
|
|
4489
4470
|
var tmp$ret$16 = isInterface(tmp_33, TypeToken) ? tmp_33 : THROW_CCE();
|
|
4490
4471
|
var tmp_34 = Instance(di, tmp$ret$16, null);
|
|
4491
4472
|
var tmp_35 = KProperty1;
|
|
4492
|
-
tmp_32.
|
|
4473
|
+
tmp_32.q9y_1 = tmp_34.u64(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_35, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
|
|
4493
4474
|
var tmp_36 = this;
|
|
4494
4475
|
// Inline function 'org.kodein.di.instance' call
|
|
4495
4476
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4497,7 +4478,7 @@
|
|
|
4497
4478
|
var tmp$ret$18 = isInterface(tmp_37, TypeToken) ? tmp_37 : THROW_CCE();
|
|
4498
4479
|
var tmp_38 = Instance(di, tmp$ret$18, null);
|
|
4499
4480
|
var tmp_39 = KProperty1;
|
|
4500
|
-
tmp_36.
|
|
4481
|
+
tmp_36.r9y_1 = tmp_38.u64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_39, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
|
|
4501
4482
|
var tmp_40 = this;
|
|
4502
4483
|
// Inline function 'org.kodein.di.instance' call
|
|
4503
4484
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4505,7 +4486,7 @@
|
|
|
4505
4486
|
var tmp$ret$20 = isInterface(tmp_41, TypeToken) ? tmp_41 : THROW_CCE();
|
|
4506
4487
|
var tmp_42 = Instance(di, tmp$ret$20, null);
|
|
4507
4488
|
var tmp_43 = KProperty1;
|
|
4508
|
-
tmp_40.
|
|
4489
|
+
tmp_40.s9y_1 = tmp_42.u64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_43, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
|
|
4509
4490
|
var tmp_44 = this;
|
|
4510
4491
|
// Inline function 'org.kodein.di.instance' call
|
|
4511
4492
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4513,7 +4494,7 @@
|
|
|
4513
4494
|
var tmp$ret$22 = isInterface(tmp_45, TypeToken) ? tmp_45 : THROW_CCE();
|
|
4514
4495
|
var tmp_46 = Instance(di, tmp$ret$22, null);
|
|
4515
4496
|
var tmp_47 = KProperty1;
|
|
4516
|
-
tmp_44.
|
|
4497
|
+
tmp_44.t9y_1 = tmp_46.u64(this, getPropertyCallableRef('dealerConfig', 1, tmp_47, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
|
|
4517
4498
|
var tmp_48 = this;
|
|
4518
4499
|
// Inline function 'org.kodein.di.instance' call
|
|
4519
4500
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4521,7 +4502,7 @@
|
|
|
4521
4502
|
var tmp$ret$24 = isInterface(tmp_49, TypeToken) ? tmp_49 : THROW_CCE();
|
|
4522
4503
|
var tmp_50 = Instance(di, tmp$ret$24, null);
|
|
4523
4504
|
var tmp_51 = KProperty1;
|
|
4524
|
-
tmp_48.
|
|
4505
|
+
tmp_48.u9y_1 = tmp_50.u64(this, getPropertyCallableRef('poolProvider', 1, tmp_51, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
|
|
4525
4506
|
var tmp_52 = this;
|
|
4526
4507
|
// Inline function 'org.kodein.di.instance' call
|
|
4527
4508
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4529,13 +4510,13 @@
|
|
|
4529
4510
|
var tmp$ret$26 = isInterface(tmp_53, TypeToken) ? tmp_53 : THROW_CCE();
|
|
4530
4511
|
var tmp_54 = Instance(di, tmp$ret$26, null);
|
|
4531
4512
|
var tmp_55 = KProperty1;
|
|
4532
|
-
tmp_52.
|
|
4513
|
+
tmp_52.v9y_1 = tmp_54.u64(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_55, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
|
|
4533
4514
|
}
|
|
4534
|
-
protoOf(ServerGameStoreContract).
|
|
4535
|
-
return plus(plus(plus(plus(plus(this.
|
|
4515
|
+
protoOf(ServerGameStoreContract).e8y = function () {
|
|
4516
|
+
return plus(plus(plus(plus(plus(this.d9y_1.e8y(), this.g9y_1.e8y()), this.e9y_1.e8y()), this.f9y_1.e8y()), this.h9y_1.e8y()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl_0(this))]));
|
|
4536
4517
|
};
|
|
4537
|
-
protoOf(ServerGameStoreContract).
|
|
4538
|
-
var tmp = plus(plus(plus(plus(plus(plus(plus(this.
|
|
4518
|
+
protoOf(ServerGameStoreContract).f8y = function () {
|
|
4519
|
+
var tmp = plus(plus(plus(plus(plus(plus(plus(this.d9y_1.f8y(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameWhenNotLiveStrategy.equals(FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance()) ? checkBotsMiddleware(_get_logger__rkp4sl_0(this)) : null)), this.g9y_1.f8y()), this.e9y_1.f8y()), this.f9y_1.f8y()), this.h9y_1.f8y()), listOfNotNull_0([playerConnectionUpdateMiddleware(_get_playerConnectionInteractor__si6cxf_0(this)), playerReconnectionWaitingTimerTickMiddleware(_get_playerConnectionInteractor__si6cxf_0(this))])), listOfNotNull_0([sendFromClientEventsMiddleware(_get_asyncProvider__jbpyhw(this), _get_fromClientEventsObserver__a7vzd3_0(this)), sendToClientActionMiddleware(_get_asyncProvider__jbpyhw(this), _get_toClientEventsObserver__6rp51y_0(this)), (new ServerMapMechanicToClientActionMiddleware(_get_logicConfig__52ww9d(this), _get_idsProvider__fnfajc_0(this))).l90(), finishingGameWhenCantStartNewMiddleware()]));
|
|
4539
4520
|
var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this), _get_logger__rkp4sl_0(this));
|
|
4540
4521
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
4541
4522
|
var tmp1_logger = _get_logger__rkp4sl_0(this);
|
|
@@ -4586,7 +4567,7 @@
|
|
|
4586
4567
|
return this.m6h(store, next, action);
|
|
4587
4568
|
};
|
|
4588
4569
|
function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
|
|
4589
|
-
this.
|
|
4570
|
+
this.y9y_1 = this$0;
|
|
4590
4571
|
}
|
|
4591
4572
|
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).x6f = function (action) {
|
|
4592
4573
|
return action instanceof MechanicAction;
|
|
@@ -4597,7 +4578,7 @@
|
|
|
4597
4578
|
// Inline function 'kotlin.with' call
|
|
4598
4579
|
var tmp;
|
|
4599
4580
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
4600
|
-
var tmp0 = this.
|
|
4581
|
+
var tmp0 = this.y9y_1;
|
|
4601
4582
|
var tmp2 = action_0.p8u_1;
|
|
4602
4583
|
var tmp4 = action_0.r8u_1;
|
|
4603
4584
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -4637,7 +4618,7 @@
|
|
|
4637
4618
|
var _iterator__ex2g4s_2 = destination_1.l();
|
|
4638
4619
|
while (_iterator__ex2g4s_2.m()) {
|
|
4639
4620
|
var element_0 = _iterator__ex2g4s_2.n();
|
|
4640
|
-
var tmp0_aid = tmp0.
|
|
4621
|
+
var tmp0_aid = tmp0.x9y_1.z6d();
|
|
4641
4622
|
// Inline function 'kotlin.collections.map' call
|
|
4642
4623
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4643
4624
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -4659,16 +4640,16 @@
|
|
|
4659
4640
|
tmp = destination_2;
|
|
4660
4641
|
} else {
|
|
4661
4642
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
4662
|
-
var tmp0_0 = this.
|
|
4643
|
+
var tmp0_0 = this.y9y_1;
|
|
4663
4644
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4664
4645
|
var table = state.m6n();
|
|
4665
|
-
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.
|
|
4646
|
+
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.x9y_1.z6d(), table.id, null);
|
|
4666
4647
|
var tmp$ret$21 = mapToClient_16(action_0, sendToPlayer_0);
|
|
4667
4648
|
tmp = listOfNotNull(tmp$ret$21);
|
|
4668
4649
|
} else {
|
|
4669
4650
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
4670
|
-
var tmp0_1 = this.
|
|
4671
|
-
var tmp2_0 = action_0.
|
|
4651
|
+
var tmp0_1 = this.y9y_1;
|
|
4652
|
+
var tmp2_0 = action_0.v8u_1.id;
|
|
4672
4653
|
var tmp4_0 = action_0.gameCreatorPlayerId;
|
|
4673
4654
|
// Inline function 'kotlin.collections.map' call
|
|
4674
4655
|
var this_1 = action_0.users;
|
|
@@ -4707,7 +4688,7 @@
|
|
|
4707
4688
|
var _iterator__ex2g4s_7 = destination_6.l();
|
|
4708
4689
|
while (_iterator__ex2g4s_7.m()) {
|
|
4709
4690
|
var element_2 = _iterator__ex2g4s_7.n();
|
|
4710
|
-
var tmp0_aid_0 = tmp0_1.
|
|
4691
|
+
var tmp0_aid_0 = tmp0_1.x9y_1.z6d();
|
|
4711
4692
|
// Inline function 'kotlin.collections.map' call
|
|
4712
4693
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4713
4694
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -4729,39 +4710,39 @@
|
|
|
4729
4710
|
tmp = destination_7;
|
|
4730
4711
|
} else {
|
|
4731
4712
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
4732
|
-
var tmp0_2 = this.
|
|
4713
|
+
var tmp0_2 = this.y9y_1;
|
|
4733
4714
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4734
4715
|
var table_0 = state.m6n();
|
|
4735
|
-
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.
|
|
4716
|
+
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.x9y_1.z6d(), table_0.id, null);
|
|
4736
4717
|
var tmp$ret$44 = mapToClient_14(action_0, sendToPlayer_2);
|
|
4737
4718
|
tmp = listOfNotNull(tmp$ret$44);
|
|
4738
4719
|
} else {
|
|
4739
4720
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
4740
|
-
var tmp0_3 = this.
|
|
4721
|
+
var tmp0_3 = this.y9y_1;
|
|
4741
4722
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4742
4723
|
var table_1 = state.m6n();
|
|
4743
|
-
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.
|
|
4724
|
+
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.x9y_1.z6d(), table_1.id, null);
|
|
4744
4725
|
var tmp$ret$46 = mapToClient_13(action_0, sendToPlayer_3);
|
|
4745
4726
|
tmp = listOfNotNull(tmp$ret$46);
|
|
4746
4727
|
} else {
|
|
4747
4728
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
4748
|
-
var tmp0_4 = this.
|
|
4729
|
+
var tmp0_4 = this.y9y_1;
|
|
4749
4730
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4750
4731
|
var table_2 = state.m6n();
|
|
4751
|
-
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.
|
|
4732
|
+
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.x9y_1.z6d(), table_2.id, null);
|
|
4752
4733
|
var tmp$ret$48 = mapToClient_12(action_0, sendToPlayer_4);
|
|
4753
4734
|
tmp = listOfNotNull(tmp$ret$48);
|
|
4754
4735
|
} else {
|
|
4755
4736
|
if (action_0 instanceof ErrorAction) {
|
|
4756
|
-
var tmp0_5 = this.
|
|
4737
|
+
var tmp0_5 = this.y9y_1;
|
|
4757
4738
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4758
4739
|
var table_3 = state.m6n();
|
|
4759
|
-
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.
|
|
4740
|
+
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.x9y_1.z6d(), table_3.id, null);
|
|
4760
4741
|
var tmp$ret$50 = mapToClient_11(action_0, sendToPlayer_5);
|
|
4761
4742
|
tmp = listOfNotNull(tmp$ret$50);
|
|
4762
4743
|
} else {
|
|
4763
4744
|
if (action_0 instanceof SceneMechanicAction) {
|
|
4764
|
-
var tmp0_6 = this.
|
|
4745
|
+
var tmp0_6 = this.y9y_1;
|
|
4765
4746
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4766
4747
|
var table_4 = state.m6n();
|
|
4767
4748
|
var tmp2_1 = table_4.id;
|
|
@@ -4794,7 +4775,7 @@
|
|
|
4794
4775
|
var _iterator__ex2g4s_11 = destination_10.l();
|
|
4795
4776
|
while (_iterator__ex2g4s_11.m()) {
|
|
4796
4777
|
var element_4 = _iterator__ex2g4s_11.n();
|
|
4797
|
-
var tmp0_aid_1 = tmp0_6.
|
|
4778
|
+
var tmp0_aid_1 = tmp0_6.x9y_1.z6d();
|
|
4798
4779
|
// Inline function 'kotlin.collections.map' call
|
|
4799
4780
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4800
4781
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -4816,7 +4797,7 @@
|
|
|
4816
4797
|
tmp = destination_11;
|
|
4817
4798
|
} else {
|
|
4818
4799
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
4819
|
-
var tmp0_7 = this.
|
|
4800
|
+
var tmp0_7 = this.y9y_1;
|
|
4820
4801
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4821
4802
|
var table_5 = state.m6n();
|
|
4822
4803
|
var tmp2_2 = table_5.id;
|
|
@@ -4849,7 +4830,7 @@
|
|
|
4849
4830
|
var _iterator__ex2g4s_15 = destination_14.l();
|
|
4850
4831
|
while (_iterator__ex2g4s_15.m()) {
|
|
4851
4832
|
var element_6 = _iterator__ex2g4s_15.n();
|
|
4852
|
-
var tmp0_aid_2 = tmp0_7.
|
|
4833
|
+
var tmp0_aid_2 = tmp0_7.x9y_1.z6d();
|
|
4853
4834
|
// Inline function 'kotlin.collections.map' call
|
|
4854
4835
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4855
4836
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -4871,7 +4852,7 @@
|
|
|
4871
4852
|
tmp = destination_15;
|
|
4872
4853
|
} else {
|
|
4873
4854
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
4874
|
-
var tmp0_8 = this.
|
|
4855
|
+
var tmp0_8 = this.y9y_1;
|
|
4875
4856
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4876
4857
|
var table_6 = state.m6n();
|
|
4877
4858
|
var tmp2_3 = table_6.id;
|
|
@@ -4904,7 +4885,7 @@
|
|
|
4904
4885
|
var _iterator__ex2g4s_19 = destination_18.l();
|
|
4905
4886
|
while (_iterator__ex2g4s_19.m()) {
|
|
4906
4887
|
var element_8 = _iterator__ex2g4s_19.n();
|
|
4907
|
-
var tmp0_aid_3 = tmp0_8.
|
|
4888
|
+
var tmp0_aid_3 = tmp0_8.x9y_1.z6d();
|
|
4908
4889
|
// Inline function 'kotlin.collections.map' call
|
|
4909
4890
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4910
4891
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -4916,7 +4897,7 @@
|
|
|
4916
4897
|
}
|
|
4917
4898
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_3, tmp4_3, element_8, destination_20);
|
|
4918
4899
|
var tmp_0;
|
|
4919
|
-
if (this.
|
|
4900
|
+
if (this.y9y_1.w9y_1.supportBackwardActions && getPlayer(state.m6n().players, sendToPlayer_8.a7b_1).p6q_1.e6u_1) {
|
|
4920
4901
|
tmp_0 = null;
|
|
4921
4902
|
} else {
|
|
4922
4903
|
tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
|
|
@@ -4932,72 +4913,72 @@
|
|
|
4932
4913
|
tmp = destination_19;
|
|
4933
4914
|
} else {
|
|
4934
4915
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
4935
|
-
var tmp0_9 = this.
|
|
4916
|
+
var tmp0_9 = this.y9y_1;
|
|
4936
4917
|
var tmp2_4 = state.m6n();
|
|
4937
4918
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4938
|
-
var exceptPlayerId = this.
|
|
4939
|
-
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.
|
|
4919
|
+
var exceptPlayerId = this.y9y_1.w9y_1.supportBackwardActions ? action_0.q8v_1 : null;
|
|
4920
|
+
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.x9y_1.z6d(), tmp2_4.id, exceptPlayerId);
|
|
4940
4921
|
var tmp$ret$109 = mapToClient_7(action_0, sendToPlayer_9);
|
|
4941
4922
|
tmp = listOfNotNull(tmp$ret$109);
|
|
4942
4923
|
} else {
|
|
4943
4924
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
4944
|
-
var tmp0_10 = this.
|
|
4925
|
+
var tmp0_10 = this.y9y_1;
|
|
4945
4926
|
var tmp2_5 = state.m6n();
|
|
4946
4927
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4947
|
-
var exceptPlayerId_0 = this.
|
|
4948
|
-
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.
|
|
4928
|
+
var exceptPlayerId_0 = this.y9y_1.w9y_1.supportBackwardActions ? action_0.s8q_1 : null;
|
|
4929
|
+
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.x9y_1.z6d(), tmp2_5.id, exceptPlayerId_0);
|
|
4949
4930
|
var tmp$ret$111 = mapToClient_6(action_0, sendToPlayer_10);
|
|
4950
4931
|
tmp = listOfNotNull(tmp$ret$111);
|
|
4951
4932
|
} else {
|
|
4952
4933
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
4953
|
-
var tmp0_11 = this.
|
|
4934
|
+
var tmp0_11 = this.y9y_1;
|
|
4954
4935
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4955
4936
|
var table_7 = state.m6n();
|
|
4956
|
-
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.
|
|
4937
|
+
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.x9y_1.z6d(), table_7.id, null);
|
|
4957
4938
|
var tmp$ret$113 = mapToClient_5(action_0, sendToPlayer_11);
|
|
4958
4939
|
tmp = listOfNotNull(tmp$ret$113);
|
|
4959
4940
|
} else {
|
|
4960
4941
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
4961
|
-
var tmp0_12 = this.
|
|
4942
|
+
var tmp0_12 = this.y9y_1;
|
|
4962
4943
|
var tmp2_6 = state.m6n();
|
|
4963
4944
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4964
|
-
var exceptPlayerId_1 = this.
|
|
4965
|
-
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.
|
|
4945
|
+
var exceptPlayerId_1 = this.y9y_1.w9y_1.supportBackwardActions ? action_0.w8v_1 : null;
|
|
4946
|
+
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.x9y_1.z6d(), tmp2_6.id, exceptPlayerId_1);
|
|
4966
4947
|
var tmp$ret$115 = mapToClient_4(action_0, sendToPlayer_12);
|
|
4967
4948
|
tmp = listOfNotNull(tmp$ret$115);
|
|
4968
4949
|
} else {
|
|
4969
4950
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
4970
|
-
var tmp0_13 = this.
|
|
4951
|
+
var tmp0_13 = this.y9y_1;
|
|
4971
4952
|
var tmp2_7 = state.m6n();
|
|
4972
4953
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4973
|
-
var exceptPlayerId_2 = this.
|
|
4974
|
-
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.
|
|
4954
|
+
var exceptPlayerId_2 = this.y9y_1.w9y_1.supportBackwardActions ? action_0.x8q_1 : null;
|
|
4955
|
+
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.x9y_1.z6d(), tmp2_7.id, exceptPlayerId_2);
|
|
4975
4956
|
var tmp$ret$117 = mapToClient_3(action_0, sendToPlayer_13);
|
|
4976
4957
|
tmp = listOfNotNull(tmp$ret$117);
|
|
4977
4958
|
} else {
|
|
4978
4959
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
4979
|
-
var tmp0_14 = this.
|
|
4960
|
+
var tmp0_14 = this.y9y_1;
|
|
4980
4961
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4981
4962
|
var table_8 = state.m6n();
|
|
4982
|
-
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.
|
|
4963
|
+
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.x9y_1.z6d(), table_8.id, null);
|
|
4983
4964
|
var tmp$ret$119 = mapToClient_2(action_0, sendToPlayer_14);
|
|
4984
4965
|
tmp = listOfNotNull(tmp$ret$119);
|
|
4985
4966
|
} else {
|
|
4986
4967
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
4987
|
-
var tmp0_15 = this.
|
|
4968
|
+
var tmp0_15 = this.y9y_1;
|
|
4988
4969
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4989
4970
|
var table_9 = state.m6n();
|
|
4990
|
-
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.
|
|
4971
|
+
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.x9y_1.z6d(), table_9.id, null);
|
|
4991
4972
|
var tmp$ret$121 = mapToClient_1(action_0, sendToPlayer_15);
|
|
4992
4973
|
tmp = listOfNotNull(tmp$ret$121);
|
|
4993
4974
|
} else {
|
|
4994
4975
|
if (action_0 instanceof MessageMechanicAction) {
|
|
4995
|
-
var message = action_0.
|
|
4996
|
-
var tmp0_16 = this.
|
|
4976
|
+
var message = action_0.a8w_1;
|
|
4977
|
+
var tmp0_16 = this.y9y_1;
|
|
4997
4978
|
var tmp2_8 = state.m6n();
|
|
4998
4979
|
var tmp_1;
|
|
4999
4980
|
var tmp_2;
|
|
5000
|
-
if (this.
|
|
4981
|
+
if (this.y9y_1.w9y_1.supportBackwardActions) {
|
|
5001
4982
|
tmp_2 = isInterface(message, UserMessage);
|
|
5002
4983
|
} else {
|
|
5003
4984
|
tmp_2 = false;
|
|
@@ -5009,16 +4990,16 @@
|
|
|
5009
4990
|
}
|
|
5010
4991
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5011
4992
|
var exceptPlayerId_3 = tmp_1;
|
|
5012
|
-
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.
|
|
4993
|
+
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.x9y_1.z6d(), tmp2_8.id, exceptPlayerId_3);
|
|
5013
4994
|
var tmp$ret$123 = mapToClient_0(action_0, sendToPlayer_16);
|
|
5014
4995
|
tmp = listOfNotNull(tmp$ret$123);
|
|
5015
4996
|
} else {
|
|
5016
4997
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
5017
|
-
var tmp0_17 = this.
|
|
4998
|
+
var tmp0_17 = this.y9y_1;
|
|
5018
4999
|
var tmp2_9 = state.m6n();
|
|
5019
5000
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5020
5001
|
var exceptPlayerId_4 = action_0.playerId;
|
|
5021
|
-
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.
|
|
5002
|
+
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.x9y_1.z6d(), tmp2_9.id, exceptPlayerId_4);
|
|
5022
5003
|
var tmp$ret$125 = mapToClient(action_0, sendToPlayer_17);
|
|
5023
5004
|
tmp = listOfNotNull(tmp$ret$125);
|
|
5024
5005
|
} else {
|
|
@@ -5055,10 +5036,10 @@
|
|
|
5055
5036
|
return this.m6h(store, next, action);
|
|
5056
5037
|
};
|
|
5057
5038
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
5058
|
-
this.
|
|
5059
|
-
this.
|
|
5039
|
+
this.w9y_1 = logicConfig;
|
|
5040
|
+
this.x9y_1 = idsProvider;
|
|
5060
5041
|
}
|
|
5061
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
5042
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).l90 = function () {
|
|
5062
5043
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
5063
5044
|
return new ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this);
|
|
5064
5045
|
};
|
|
@@ -5067,8 +5048,8 @@
|
|
|
5067
5048
|
return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
|
|
5068
5049
|
}
|
|
5069
5050
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
5070
|
-
this.
|
|
5071
|
-
this.
|
|
5051
|
+
this.h9z_1 = $provider;
|
|
5052
|
+
this.i9z_1 = $action;
|
|
5072
5053
|
CoroutineImpl.call(this, resultContinuation);
|
|
5073
5054
|
}
|
|
5074
5055
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -5089,7 +5070,7 @@
|
|
|
5089
5070
|
case 0:
|
|
5090
5071
|
this.s8_1 = 2;
|
|
5091
5072
|
this.r8_1 = 1;
|
|
5092
|
-
suspendResult = this.
|
|
5073
|
+
suspendResult = this.h9z_1.u9v(this.i9z_1, this);
|
|
5093
5074
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5094
5075
|
return suspendResult;
|
|
5095
5076
|
}
|
|
@@ -5112,8 +5093,8 @@
|
|
|
5112
5093
|
while (true);
|
|
5113
5094
|
};
|
|
5114
5095
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).a2d = function ($this$launchDefault, completion) {
|
|
5115
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
5116
|
-
i.
|
|
5096
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.h9z_1, this.i9z_1, completion);
|
|
5097
|
+
i.j9z_1 = $this$launchDefault;
|
|
5117
5098
|
return i;
|
|
5118
5099
|
};
|
|
5119
5100
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -5125,15 +5106,15 @@
|
|
|
5125
5106
|
return l;
|
|
5126
5107
|
}
|
|
5127
5108
|
function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
|
|
5128
|
-
this.
|
|
5129
|
-
this.
|
|
5109
|
+
this.k9z_1 = $asyncProvider;
|
|
5110
|
+
this.l9z_1 = $provider;
|
|
5130
5111
|
}
|
|
5131
5112
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).x6f = function (action) {
|
|
5132
5113
|
return action instanceof ToClientAction;
|
|
5133
5114
|
};
|
|
5134
5115
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).m6h = function (store, next, action) {
|
|
5135
5116
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
5136
|
-
this.
|
|
5117
|
+
this.k9z_1.f6c(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.l9z_1, action_0, null));
|
|
5137
5118
|
next(action_0);
|
|
5138
5119
|
};
|
|
5139
5120
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).w6f = function (store, next, action) {
|
|
@@ -5148,12 +5129,12 @@
|
|
|
5148
5129
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).x6f = function (action) {
|
|
5149
5130
|
return action instanceof UpdateServerConfigAction;
|
|
5150
5131
|
};
|
|
5151
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
5132
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).h98 = function (state, action) {
|
|
5152
5133
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
5153
|
-
return state.q8t(VOID, get_serverStatePayload_0(state).copy(action_0.
|
|
5134
|
+
return state.q8t(VOID, get_serverStatePayload_0(state).copy(action_0.a9y_1));
|
|
5154
5135
|
};
|
|
5155
5136
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).n6h = function (state, action) {
|
|
5156
|
-
return this.
|
|
5137
|
+
return this.h98((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5157
5138
|
};
|
|
5158
5139
|
function ServerMechanicLifecycleReducer$onStart$lambda($action) {
|
|
5159
5140
|
return function (it) {
|
|
@@ -5175,12 +5156,12 @@
|
|
|
5175
5156
|
}
|
|
5176
5157
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
5177
5158
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
5178
|
-
this.
|
|
5159
|
+
this.o9z_1 = logger;
|
|
5179
5160
|
}
|
|
5180
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5161
|
+
protoOf(ServerMechanicLifecycleReducer).t99 = function (state, action) {
|
|
5181
5162
|
var serverState = get_serverStatePayloadOrNull(state.payload);
|
|
5182
5163
|
var tmp8_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5183
|
-
var tmp0_$this = this.
|
|
5164
|
+
var tmp0_$this = this.u99_1;
|
|
5184
5165
|
var tmp1_tableId = action.p8u_1;
|
|
5185
5166
|
var tmp2_gameId = action.p8u_1;
|
|
5186
5167
|
var tmp3_version = action.q8u_1;
|
|
@@ -5188,31 +5169,31 @@
|
|
|
5188
5169
|
var tmp5_users = action.s8u_1;
|
|
5189
5170
|
var tmp6_spectators = action.spectators;
|
|
5190
5171
|
var tmp7_gameCreatorPlayerId = action.r8u_1;
|
|
5191
|
-
var tmp9_tableOrNull = tmp0_$this.
|
|
5172
|
+
var tmp9_tableOrNull = tmp0_$this.a9b(tmp1_tableId, tmp2_gameId, tmp4_config, tmp3_version, tmp5_users, tmp6_spectators, tmp7_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
|
|
5192
5173
|
var tmp;
|
|
5193
5174
|
if (serverState == null) {
|
|
5194
|
-
this.
|
|
5195
|
-
tmp = Companion_instance_13.initial(
|
|
5175
|
+
this.o9z_1.w(VOID, 'ServerPayload is not onStart');
|
|
5176
|
+
tmp = Companion_instance_13.initial();
|
|
5196
5177
|
} else {
|
|
5197
|
-
tmp = serverState
|
|
5178
|
+
tmp = serverState;
|
|
5198
5179
|
}
|
|
5199
5180
|
var tmp10_payload = tmp;
|
|
5200
5181
|
return state.q8t(tmp9_tableOrNull, tmp10_payload, tmp8_gameLifecycleState);
|
|
5201
5182
|
};
|
|
5202
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5183
|
+
protoOf(ServerMechanicLifecycleReducer).r99 = function (state, action) {
|
|
5203
5184
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5204
|
-
var tmp2_tableOrNull = action.
|
|
5185
|
+
var tmp2_tableOrNull = action.v8u_1;
|
|
5205
5186
|
var tmp = Companion_instance_13;
|
|
5206
5187
|
var tmp_0 = get_serverStatePayload_0(state).config;
|
|
5207
|
-
var tmp_1 = action.
|
|
5188
|
+
var tmp_1 = action.w8u_1;
|
|
5208
5189
|
var tmp0_safe_receiver = tmp_1 instanceof RestartRoundReason ? tmp_1 : null;
|
|
5209
|
-
var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.d65_1)
|
|
5190
|
+
var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.d65_1));
|
|
5210
5191
|
return state.q8t(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
|
|
5211
5192
|
};
|
|
5212
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5213
|
-
this.
|
|
5193
|
+
protoOf(ServerMechanicLifecycleReducer).s99 = function (state, action) {
|
|
5194
|
+
this.v99_1.l58(action.previousGameId);
|
|
5214
5195
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5215
|
-
var tmp1_tableOrNull = this.
|
|
5196
|
+
var tmp1_tableOrNull = this.u99_1.b9b(state.m6n(), action.gameId);
|
|
5216
5197
|
return state.q8t(tmp1_tableOrNull, VOID, tmp0_gameLifecycleState);
|
|
5217
5198
|
};
|
|
5218
5199
|
function spectatorsReducer(logger) {
|
|
@@ -5220,18 +5201,18 @@
|
|
|
5220
5201
|
return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
|
|
5221
5202
|
}
|
|
5222
5203
|
function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
|
|
5223
|
-
this.
|
|
5204
|
+
this.p9z_1 = $logger;
|
|
5224
5205
|
}
|
|
5225
5206
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).x6f = function (action) {
|
|
5226
5207
|
return isInterface(action, SpectatorsAction);
|
|
5227
5208
|
};
|
|
5228
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
5209
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).h98 = function (state, action) {
|
|
5229
5210
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
5230
5211
|
var table = state.m6n();
|
|
5231
5212
|
var tmp;
|
|
5232
5213
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
5233
5214
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5234
|
-
var tmp0 = action_0.
|
|
5215
|
+
var tmp0 = action_0.b9y_1;
|
|
5235
5216
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5236
5217
|
var destination = ArrayList_init_$Create$_0();
|
|
5237
5218
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5250,9 +5231,9 @@
|
|
|
5250
5231
|
var tmp_0;
|
|
5251
5232
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5252
5233
|
if (!sameSpectators.r()) {
|
|
5253
|
-
this.
|
|
5234
|
+
this.p9z_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
5254
5235
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5255
|
-
var tmp0_0 = action_0.
|
|
5236
|
+
var tmp0_0 = action_0.b9y_1;
|
|
5256
5237
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5257
5238
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
5258
5239
|
var _iterator__ex2g4s_0 = tmp0_0.l();
|
|
@@ -5287,7 +5268,7 @@
|
|
|
5287
5268
|
}
|
|
5288
5269
|
tmp_0 = destination_0;
|
|
5289
5270
|
} else {
|
|
5290
|
-
tmp_0 = action_0.
|
|
5271
|
+
tmp_0 = action_0.b9y_1;
|
|
5291
5272
|
}
|
|
5292
5273
|
// Inline function 'kotlin.collections.map' call
|
|
5293
5274
|
var this_0 = tmp_0;
|
|
@@ -5304,7 +5285,7 @@
|
|
|
5304
5285
|
} else {
|
|
5305
5286
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
5306
5287
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5307
|
-
var tmp0_1 = action_0.
|
|
5288
|
+
var tmp0_1 = action_0.c9y_1;
|
|
5308
5289
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5309
5290
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
5310
5291
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5323,9 +5304,9 @@
|
|
|
5323
5304
|
var tmp_2;
|
|
5324
5305
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5325
5306
|
if (!sameSpectators_0.r()) {
|
|
5326
|
-
this.
|
|
5307
|
+
this.p9z_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
5327
5308
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5328
|
-
var tmp0_2 = action_0.
|
|
5309
|
+
var tmp0_2 = action_0.c9y_1;
|
|
5329
5310
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5330
5311
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
5331
5312
|
var _iterator__ex2g4s_4 = tmp0_2.l();
|
|
@@ -5360,7 +5341,7 @@
|
|
|
5360
5341
|
}
|
|
5361
5342
|
tmp_2 = destination_3;
|
|
5362
5343
|
} else {
|
|
5363
|
-
tmp_2 = action_0.
|
|
5344
|
+
tmp_2 = action_0.c9y_1;
|
|
5364
5345
|
}
|
|
5365
5346
|
var spectatorsToRemove = toSet(tmp_2);
|
|
5366
5347
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -5405,53 +5386,42 @@
|
|
|
5405
5386
|
return tmp;
|
|
5406
5387
|
};
|
|
5407
5388
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).n6h = function (state, action) {
|
|
5408
|
-
return this.
|
|
5389
|
+
return this.h98((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5409
5390
|
};
|
|
5410
5391
|
function Companion_5() {
|
|
5411
5392
|
}
|
|
5412
|
-
protoOf(Companion_5).
|
|
5413
|
-
return new ServerStatePayload(config
|
|
5393
|
+
protoOf(Companion_5).q9z = function (config) {
|
|
5394
|
+
return new ServerStatePayload(config);
|
|
5414
5395
|
};
|
|
5415
|
-
protoOf(Companion_5).initial = function (config,
|
|
5396
|
+
protoOf(Companion_5).initial = function (config, $super) {
|
|
5416
5397
|
config = config === VOID ? Companion_instance_8.initial(null) : config;
|
|
5417
|
-
|
|
5418
|
-
return $super === VOID ? this.v9z(config, metadata) : $super.v9z.call(this, config, metadata);
|
|
5398
|
+
return $super === VOID ? this.q9z(config) : $super.q9z.call(this, config);
|
|
5419
5399
|
};
|
|
5420
5400
|
var Companion_instance_13;
|
|
5421
5401
|
function Companion_getInstance_6() {
|
|
5422
5402
|
return Companion_instance_13;
|
|
5423
5403
|
}
|
|
5424
|
-
function ServerStatePayload(config
|
|
5404
|
+
function ServerStatePayload(config) {
|
|
5425
5405
|
this.config = config;
|
|
5426
|
-
this.t9u_1 = metadata;
|
|
5427
5406
|
}
|
|
5428
5407
|
protoOf(ServerStatePayload).x3s = function () {
|
|
5429
5408
|
return this.config;
|
|
5430
5409
|
};
|
|
5431
|
-
protoOf(ServerStatePayload).k8e = function () {
|
|
5432
|
-
return this.t9u_1;
|
|
5433
|
-
};
|
|
5434
5410
|
protoOf(ServerStatePayload).ne = function () {
|
|
5435
5411
|
return this.config;
|
|
5436
5412
|
};
|
|
5437
|
-
protoOf(ServerStatePayload).
|
|
5438
|
-
return
|
|
5439
|
-
};
|
|
5440
|
-
protoOf(ServerStatePayload).w9z = function (config, metadata) {
|
|
5441
|
-
return new ServerStatePayload(config, metadata);
|
|
5413
|
+
protoOf(ServerStatePayload).r9z = function (config) {
|
|
5414
|
+
return new ServerStatePayload(config);
|
|
5442
5415
|
};
|
|
5443
|
-
protoOf(ServerStatePayload).copy = function (config,
|
|
5416
|
+
protoOf(ServerStatePayload).copy = function (config, $super) {
|
|
5444
5417
|
config = config === VOID ? this.config : config;
|
|
5445
|
-
|
|
5446
|
-
return $super === VOID ? this.w9z(config, metadata) : $super.w9z.call(this, config, metadata);
|
|
5418
|
+
return $super === VOID ? this.r9z(config) : $super.r9z.call(this, config);
|
|
5447
5419
|
};
|
|
5448
5420
|
protoOf(ServerStatePayload).toString = function () {
|
|
5449
|
-
return 'ServerStatePayload(config=' + this.config.toString() + '
|
|
5421
|
+
return 'ServerStatePayload(config=' + this.config.toString() + ')';
|
|
5450
5422
|
};
|
|
5451
5423
|
protoOf(ServerStatePayload).hashCode = function () {
|
|
5452
|
-
|
|
5453
|
-
result = imul(result, 31) + (this.t9u_1 == null ? 0 : hashCode(this.t9u_1)) | 0;
|
|
5454
|
-
return result;
|
|
5424
|
+
return this.config.hashCode();
|
|
5455
5425
|
};
|
|
5456
5426
|
protoOf(ServerStatePayload).equals = function (other) {
|
|
5457
5427
|
if (this === other)
|
|
@@ -5460,8 +5430,6 @@
|
|
|
5460
5430
|
return false;
|
|
5461
5431
|
if (!this.config.equals(other.config))
|
|
5462
5432
|
return false;
|
|
5463
|
-
if (!equals(this.t9u_1, other.t9u_1))
|
|
5464
|
-
return false;
|
|
5465
5433
|
return true;
|
|
5466
5434
|
};
|
|
5467
5435
|
function get_serverStatePayload(_this__u8e3s4) {
|
|
@@ -5491,7 +5459,7 @@
|
|
|
5491
5459
|
return new ServerLoggerKey(_this__u8e3s4.gameId);
|
|
5492
5460
|
}
|
|
5493
5461
|
function serverLoggerKeyFromPayload(_this__u8e3s4, payload) {
|
|
5494
|
-
var gameId = Companion_instance_3.
|
|
5462
|
+
var gameId = Companion_instance_3.c9d(payload);
|
|
5495
5463
|
var tmp;
|
|
5496
5464
|
if (!(gameId == null)) {
|
|
5497
5465
|
tmp = new ServerLoggerKey(gameId);
|
|
@@ -5508,14 +5476,14 @@
|
|
|
5508
5476
|
return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
|
|
5509
5477
|
}
|
|
5510
5478
|
function _get_logger__rkp4sl_1($this) {
|
|
5511
|
-
var tmp0 = $this.
|
|
5479
|
+
var tmp0 = $this.ba0_1;
|
|
5512
5480
|
var tmp = KProperty1;
|
|
5513
5481
|
// Inline function 'kotlin.getValue' call
|
|
5514
5482
|
getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
|
|
5515
5483
|
return tmp0.w();
|
|
5516
5484
|
}
|
|
5517
5485
|
function _get_di__ndbzja($this) {
|
|
5518
|
-
var tmp0 = $this.
|
|
5486
|
+
var tmp0 = $this.ca0_1;
|
|
5519
5487
|
var tmp = KProperty1;
|
|
5520
5488
|
// Inline function 'kotlin.getValue' call
|
|
5521
5489
|
getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
|
|
@@ -5532,8 +5500,8 @@
|
|
|
5532
5500
|
}
|
|
5533
5501
|
function createCallbackOutput($this, gameServer) {
|
|
5534
5502
|
var tmp;
|
|
5535
|
-
if (!($this.
|
|
5536
|
-
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.
|
|
5503
|
+
if (!($this.z9z_1 == null)) {
|
|
5504
|
+
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.z9z_1);
|
|
5537
5505
|
tmp = new CallbackWrapperLoggerOutput(tmp_0, GameServerEngineControllerImpl$createCallbackOutput$lambda(gameServer));
|
|
5538
5506
|
} else {
|
|
5539
5507
|
tmp = null;
|
|
@@ -5547,11 +5515,11 @@
|
|
|
5547
5515
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
5548
5516
|
return function () {
|
|
5549
5517
|
var tmp;
|
|
5550
|
-
if (this$0.
|
|
5518
|
+
if (this$0.z9z_1 == null) {
|
|
5551
5519
|
tmp = null;
|
|
5552
5520
|
} else {
|
|
5553
5521
|
// Inline function 'kotlin.let' call
|
|
5554
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
5522
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.z9z_1)]));
|
|
5555
5523
|
}
|
|
5556
5524
|
var tmp1_elvis_lhs = tmp;
|
|
5557
5525
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -5584,7 +5552,7 @@
|
|
|
5584
5552
|
tmp_0.x62(tmp$ret$3);
|
|
5585
5553
|
$this$DI.b5z(jsonModule());
|
|
5586
5554
|
$this$DI.b5z(serverHelpersModule());
|
|
5587
|
-
$this$DI.b5z(randomOrgModule(this$0.
|
|
5555
|
+
$this$DI.b5z(randomOrgModule(this$0.aa0_1));
|
|
5588
5556
|
return Unit_instance;
|
|
5589
5557
|
};
|
|
5590
5558
|
}
|
|
@@ -5660,16 +5628,16 @@
|
|
|
5660
5628
|
};
|
|
5661
5629
|
}
|
|
5662
5630
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
5663
|
-
this.
|
|
5631
|
+
this.ja0_1 = $reducer;
|
|
5664
5632
|
}
|
|
5665
5633
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).x6f = function (action) {
|
|
5666
5634
|
return isInterface(action, Action);
|
|
5667
5635
|
};
|
|
5668
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
5669
|
-
return this.
|
|
5636
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).h98 = function (state, action) {
|
|
5637
|
+
return this.ja0_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
5670
5638
|
};
|
|
5671
5639
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).n6h = function (state, action) {
|
|
5672
|
-
return this.
|
|
5640
|
+
return this.h98((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5673
5641
|
};
|
|
5674
5642
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($gameServer) {
|
|
5675
5643
|
return function () {
|
|
@@ -5749,7 +5717,7 @@
|
|
|
5749
5717
|
}
|
|
5750
5718
|
function GameServerEngineControllerImpl$createCallbackOutput$lambda($gameServer) {
|
|
5751
5719
|
return function (it) {
|
|
5752
|
-
var payload = Companion_instance_5.
|
|
5720
|
+
var payload = Companion_instance_5.o9b(it);
|
|
5753
5721
|
var tmp;
|
|
5754
5722
|
if (!(payload == null)) {
|
|
5755
5723
|
return payload;
|
|
@@ -5770,7 +5738,7 @@
|
|
|
5770
5738
|
// Inline function 'kotlin.let' call
|
|
5771
5739
|
$this$DI.b5z(tmp0_safe_receiver);
|
|
5772
5740
|
}
|
|
5773
|
-
$this$DI.b5z(dealerModule(this$0.randomPoolProvider, this$0.
|
|
5741
|
+
$this$DI.b5z(dealerModule(this$0.randomPoolProvider, this$0.aa0_1));
|
|
5774
5742
|
$this$DI.b5z(coreModule($coreConfig));
|
|
5775
5743
|
$this$DI.b5z(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $ratingConfig, $externalReducers, $externalMiddlewares));
|
|
5776
5744
|
return Unit_instance;
|
|
@@ -5779,13 +5747,13 @@
|
|
|
5779
5747
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
5780
5748
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
5781
5749
|
production = production === VOID ? true : production;
|
|
5782
|
-
this.
|
|
5783
|
-
this.
|
|
5750
|
+
this.z9z_1 = loggerCallback;
|
|
5751
|
+
this.aa0_1 = randomOrgConfig;
|
|
5784
5752
|
AppEnvironment_getInstance().u6l(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
|
|
5785
5753
|
var tmp = this;
|
|
5786
|
-
tmp.
|
|
5754
|
+
tmp.ba0_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
5787
5755
|
var tmp_0 = this;
|
|
5788
|
-
tmp_0.
|
|
5756
|
+
tmp_0.ca0_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
5789
5757
|
var tmp_1 = this;
|
|
5790
5758
|
// Inline function 'org.kodein.di.instance' call
|
|
5791
5759
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -5794,7 +5762,7 @@
|
|
|
5794
5762
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5795
5763
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
5796
5764
|
var tmp_4 = KProperty1;
|
|
5797
|
-
tmp_1.
|
|
5765
|
+
tmp_1.da0_1 = tmp_3.u64(this, getPropertyCallableRef('parser', 1, tmp_4, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
|
|
5798
5766
|
var tmp_5 = this;
|
|
5799
5767
|
// Inline function 'org.kodein.di.instance' call
|
|
5800
5768
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -5803,7 +5771,7 @@
|
|
|
5803
5771
|
var tmp$ret$2 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
5804
5772
|
var tmp_7 = Instance(this_1, tmp$ret$2, null);
|
|
5805
5773
|
var tmp_8 = KProperty1;
|
|
5806
|
-
tmp_5.
|
|
5774
|
+
tmp_5.ea0_1 = tmp_7.u64(this, getPropertyCallableRef('helper', 1, tmp_8, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
|
|
5807
5775
|
var tmp_9 = this;
|
|
5808
5776
|
// Inline function 'org.kodein.di.instance' call
|
|
5809
5777
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -5812,7 +5780,7 @@
|
|
|
5812
5780
|
var tmp$ret$4 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
5813
5781
|
var tmp_11 = Instance(this_2, tmp$ret$4, null);
|
|
5814
5782
|
var tmp_12 = KProperty1;
|
|
5815
|
-
tmp_9.
|
|
5783
|
+
tmp_9.fa0_1 = tmp_11.u64(this, getPropertyCallableRef('serverHelper', 1, tmp_12, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
|
|
5816
5784
|
var tmp_13 = this;
|
|
5817
5785
|
// Inline function 'org.kodein.di.instance' call
|
|
5818
5786
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -5821,7 +5789,7 @@
|
|
|
5821
5789
|
var tmp$ret$6 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
5822
5790
|
var tmp_15 = Instance(this_3, tmp$ret$6, null);
|
|
5823
5791
|
var tmp_16 = KProperty1;
|
|
5824
|
-
tmp_13.
|
|
5792
|
+
tmp_13.ga0_1 = tmp_15.u64(this, getPropertyCallableRef('resources', 1, tmp_16, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
|
|
5825
5793
|
var tmp_17 = this;
|
|
5826
5794
|
// Inline function 'org.kodein.di.instance' call
|
|
5827
5795
|
var this_4 = _get_di__ndbzja(this);
|
|
@@ -5830,7 +5798,7 @@
|
|
|
5830
5798
|
var tmp$ret$8 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
5831
5799
|
var tmp_19 = Instance(this_4, tmp$ret$8, null);
|
|
5832
5800
|
var tmp_20 = KProperty1;
|
|
5833
|
-
tmp_17.
|
|
5801
|
+
tmp_17.ha0_1 = tmp_19.u64(this, getPropertyCallableRef('test', 1, tmp_20, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
|
|
5834
5802
|
var tmp_21 = this;
|
|
5835
5803
|
// Inline function 'org.kodein.di.instance' call
|
|
5836
5804
|
var this_5 = _get_di__ndbzja(this);
|
|
@@ -5839,45 +5807,45 @@
|
|
|
5839
5807
|
var tmp$ret$10 = isInterface(tmp_22, TypeToken) ? tmp_22 : THROW_CCE();
|
|
5840
5808
|
var tmp_23 = Instance(this_5, tmp$ret$10, null);
|
|
5841
5809
|
var tmp_24 = KProperty1;
|
|
5842
|
-
tmp_21.
|
|
5810
|
+
tmp_21.ia0_1 = tmp_23.u64(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_24, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
|
|
5843
5811
|
}
|
|
5844
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5845
|
-
var tmp0 = this.
|
|
5812
|
+
protoOf(GameServerEngineControllerImpl).s9z = function () {
|
|
5813
|
+
var tmp0 = this.da0_1;
|
|
5846
5814
|
var tmp = KProperty1;
|
|
5847
5815
|
// Inline function 'kotlin.getValue' call
|
|
5848
5816
|
getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
|
|
5849
5817
|
return tmp0.w();
|
|
5850
5818
|
};
|
|
5851
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5852
|
-
var tmp0 = this.
|
|
5819
|
+
protoOf(GameServerEngineControllerImpl).u9z = function () {
|
|
5820
|
+
var tmp0 = this.ea0_1;
|
|
5853
5821
|
var tmp = KProperty1;
|
|
5854
5822
|
// Inline function 'kotlin.getValue' call
|
|
5855
5823
|
getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
|
|
5856
5824
|
return tmp0.w();
|
|
5857
5825
|
};
|
|
5858
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5859
|
-
var tmp0 = this.
|
|
5826
|
+
protoOf(GameServerEngineControllerImpl).v9z = function () {
|
|
5827
|
+
var tmp0 = this.fa0_1;
|
|
5860
5828
|
var tmp = KProperty1;
|
|
5861
5829
|
// Inline function 'kotlin.getValue' call
|
|
5862
5830
|
getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
|
|
5863
5831
|
return tmp0.w();
|
|
5864
5832
|
};
|
|
5865
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5866
|
-
var tmp0 = this.
|
|
5833
|
+
protoOf(GameServerEngineControllerImpl).w9z = function () {
|
|
5834
|
+
var tmp0 = this.ga0_1;
|
|
5867
5835
|
var tmp = KProperty1;
|
|
5868
5836
|
// Inline function 'kotlin.getValue' call
|
|
5869
5837
|
getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
|
|
5870
5838
|
return tmp0.w();
|
|
5871
5839
|
};
|
|
5872
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5873
|
-
var tmp0 = this.
|
|
5840
|
+
protoOf(GameServerEngineControllerImpl).t9z = function () {
|
|
5841
|
+
var tmp0 = this.ha0_1;
|
|
5874
5842
|
var tmp = KProperty1;
|
|
5875
5843
|
// Inline function 'kotlin.getValue' call
|
|
5876
5844
|
getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
|
|
5877
5845
|
return tmp0.w();
|
|
5878
5846
|
};
|
|
5879
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5880
|
-
var tmp0 = this.
|
|
5847
|
+
protoOf(GameServerEngineControllerImpl).x9z = function () {
|
|
5848
|
+
var tmp0 = this.ia0_1;
|
|
5881
5849
|
var tmp = KProperty1;
|
|
5882
5850
|
// Inline function 'kotlin.getValue' call
|
|
5883
5851
|
getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
|
|
@@ -5889,7 +5857,7 @@
|
|
|
5889
5857
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
5890
5858
|
return this.createGameEngineWithLogic();
|
|
5891
5859
|
};
|
|
5892
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5860
|
+
protoOf(GameServerEngineControllerImpl).y9z = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig) {
|
|
5893
5861
|
var combinedLogger = Companion_instance_6.mx();
|
|
5894
5862
|
var gameServer = {_v: null};
|
|
5895
5863
|
var tmp0_botConfig = new EngineBotConfig(VOID, VOID, VOID, false);
|
|
@@ -5938,7 +5906,7 @@
|
|
|
5938
5906
|
function TestHelper() {
|
|
5939
5907
|
}
|
|
5940
5908
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
5941
|
-
var tmp0 = $this.
|
|
5909
|
+
var tmp0 = $this.ma0_1;
|
|
5942
5910
|
var tmp = KProperty1;
|
|
5943
5911
|
// Inline function 'kotlin.getValue' call
|
|
5944
5912
|
getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
|
|
@@ -5946,7 +5914,7 @@
|
|
|
5946
5914
|
}
|
|
5947
5915
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
5948
5916
|
return function ($this$singleton) {
|
|
5949
|
-
return this$0.
|
|
5917
|
+
return this$0.ka0_1;
|
|
5950
5918
|
};
|
|
5951
5919
|
}
|
|
5952
5920
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -5985,19 +5953,19 @@
|
|
|
5985
5953
|
return emptyMap();
|
|
5986
5954
|
}
|
|
5987
5955
|
function TestHelperImpl(logger) {
|
|
5988
|
-
this.
|
|
5956
|
+
this.ka0_1 = logger;
|
|
5989
5957
|
var tmp = this;
|
|
5990
5958
|
var tmp_0 = Companion_instance_4;
|
|
5991
|
-
tmp.
|
|
5959
|
+
tmp.la0_1 = tmp_0.i5z(VOID, TestHelperImpl$di$lambda(this));
|
|
5992
5960
|
var tmp_1 = this;
|
|
5993
5961
|
// Inline function 'org.kodein.di.instance' call
|
|
5994
|
-
var this_0 = this.
|
|
5962
|
+
var this_0 = this.la0_1;
|
|
5995
5963
|
// Inline function 'org.kodein.type.generic' call
|
|
5996
5964
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
5997
5965
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5998
5966
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
5999
5967
|
var tmp_4 = KProperty1;
|
|
6000
|
-
tmp_1.
|
|
5968
|
+
tmp_1.ma0_1 = tmp_3.u64(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
6001
5969
|
}
|
|
6002
5970
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
6003
5971
|
return _get_playerAnswerInteractor__msggz1(this).a8k(playerId, table, botConfig);
|
|
@@ -6005,7 +5973,7 @@
|
|
|
6005
5973
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
6006
5974
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
6007
5975
|
if (isInterface(mechanicAction, NextPlayerTurnAction)) {
|
|
6008
|
-
var tmp0 = mechanicAction.
|
|
5976
|
+
var tmp0 = mechanicAction.k8x();
|
|
6009
5977
|
var tmp$ret$0;
|
|
6010
5978
|
$l$block_0: {
|
|
6011
5979
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -6037,7 +6005,7 @@
|
|
|
6037
6005
|
};
|
|
6038
6006
|
protoOf(TestHelperImpl).getPlayerAnswerFromMechanicAction = function (table, currentPlayerId, action, botConfig) {
|
|
6039
6007
|
if (isInterface(action, NextPlayerTurnAction)) {
|
|
6040
|
-
var tmp0 = action.
|
|
6008
|
+
var tmp0 = action.k8x();
|
|
6041
6009
|
var tmp$ret$0;
|
|
6042
6010
|
$l$block_0: {
|
|
6043
6011
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -6122,10 +6090,13 @@
|
|
|
6122
6090
|
return this.t65();
|
|
6123
6091
|
});
|
|
6124
6092
|
protoOf(GameServer).roomOnCreate = roomOnCreate;
|
|
6125
|
-
protoOf(GameServer).roomOnContinueFromState = roomOnContinueFromState;
|
|
6126
|
-
protoOf(GameServer).roomOnContinueFromRound = roomOnContinueFromRound;
|
|
6127
6093
|
protoOf(GameServer).roomOnDelete = roomOnDelete;
|
|
6128
6094
|
protoOf(GameServer).shutdown = shutdown;
|
|
6095
|
+
defineProp(protoOf(GameServer), 'metadata', function () {
|
|
6096
|
+
return this.k8e();
|
|
6097
|
+
}, function (value) {
|
|
6098
|
+
this.d9v(value);
|
|
6099
|
+
});
|
|
6129
6100
|
defineProp(protoOf(GameServer), 'id', function () {
|
|
6130
6101
|
return this.w53();
|
|
6131
6102
|
});
|
|
@@ -6140,17 +6111,17 @@
|
|
|
6140
6111
|
});
|
|
6141
6112
|
protoOf($serializer).wz = typeParametersSerializers;
|
|
6142
6113
|
defineProp(protoOf(TableStateUpdateDto), 'roomId', function () {
|
|
6143
|
-
return this.
|
|
6114
|
+
return this.u8w();
|
|
6144
6115
|
});
|
|
6145
6116
|
protoOf($serializer_0).wz = typeParametersSerializers;
|
|
6146
6117
|
defineProp(protoOf(ActionsStateUpdateDto), 'roomId', function () {
|
|
6147
|
-
return this.
|
|
6118
|
+
return this.u8w();
|
|
6148
6119
|
});
|
|
6149
6120
|
defineProp(protoOf(TableStateUpdate), 'roomId', function () {
|
|
6150
|
-
return this.
|
|
6121
|
+
return this.u8w();
|
|
6151
6122
|
});
|
|
6152
6123
|
defineProp(protoOf(ActionsStateUpdate), 'roomId', function () {
|
|
6153
|
-
return this.
|
|
6124
|
+
return this.u8w();
|
|
6154
6125
|
});
|
|
6155
6126
|
protoOf(UpdateServerConfigAction).n6f = get_actionTag;
|
|
6156
6127
|
defineProp(protoOf(UpdateServerConfigAction), 'actionTag', function () {
|
|
@@ -6164,27 +6135,24 @@
|
|
|
6164
6135
|
defineProp(protoOf(RemoveSpectatorsAction), 'actionTag', function () {
|
|
6165
6136
|
return this.n6f();
|
|
6166
6137
|
});
|
|
6167
|
-
defineProp(protoOf(ServerStatePayload), 'metadata', function () {
|
|
6168
|
-
return this.k8e();
|
|
6169
|
-
});
|
|
6170
6138
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
6171
6139
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
6172
|
-
return this.
|
|
6140
|
+
return this.s9z();
|
|
6173
6141
|
});
|
|
6174
6142
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
6175
|
-
return this.
|
|
6143
|
+
return this.u9z();
|
|
6176
6144
|
});
|
|
6177
6145
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
6178
|
-
return this.
|
|
6146
|
+
return this.v9z();
|
|
6179
6147
|
});
|
|
6180
6148
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
6181
|
-
return this.
|
|
6149
|
+
return this.w9z();
|
|
6182
6150
|
});
|
|
6183
6151
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
6184
|
-
return this.
|
|
6152
|
+
return this.t9z();
|
|
6185
6153
|
});
|
|
6186
6154
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
6187
|
-
return this.
|
|
6155
|
+
return this.x9z();
|
|
6188
6156
|
});
|
|
6189
6157
|
//endregion
|
|
6190
6158
|
//region block: init
|