raspberry_games_server_game_logic 1.8.381 → 1.8.383
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-engine.js +9878 -9847
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.d.ts +24 -12
- package/Logic_Debertz-game_server.js +860 -816
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +10 -10
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +9 -9
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -348,8 +348,9 @@
|
|
|
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, spectators, $super) {
|
|
351
|
+
function roomOnCreate(roomId, gameCreatorId, config, usersArray, transition, metadata, spectators, $super) {
|
|
352
352
|
transition = transition === VOID ? null : transition;
|
|
353
|
+
metadata = metadata === VOID ? null : metadata;
|
|
353
354
|
var tmp;
|
|
354
355
|
if (spectators === VOID) {
|
|
355
356
|
// Inline function 'kotlin.emptyArray' call
|
|
@@ -360,21 +361,43 @@
|
|
|
360
361
|
spectators = tmp;
|
|
361
362
|
var tmp_0;
|
|
362
363
|
if ($super === VOID) {
|
|
363
|
-
this.
|
|
364
|
+
this.h9v(roomId, gameCreatorId, config, usersArray, transition, metadata, spectators);
|
|
364
365
|
tmp_0 = Unit_instance;
|
|
365
366
|
} else {
|
|
366
|
-
tmp_0 = $super.
|
|
367
|
+
tmp_0 = $super.h9v.call(this, roomId, gameCreatorId, config, usersArray, transition, metadata, spectators);
|
|
367
368
|
}
|
|
368
369
|
return tmp_0;
|
|
369
370
|
}
|
|
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
|
+
}
|
|
370
393
|
function roomOnDelete(newRid, $super) {
|
|
371
394
|
newRid = newRid === VOID ? null : newRid;
|
|
372
395
|
var tmp;
|
|
373
396
|
if ($super === VOID) {
|
|
374
|
-
this.
|
|
397
|
+
this.k9v(newRid);
|
|
375
398
|
tmp = Unit_instance;
|
|
376
399
|
} else {
|
|
377
|
-
tmp = $super.
|
|
400
|
+
tmp = $super.k9v.call(this, newRid);
|
|
378
401
|
}
|
|
379
402
|
return tmp;
|
|
380
403
|
}
|
|
@@ -382,10 +405,10 @@
|
|
|
382
405
|
roomId = roomId === VOID ? null : roomId;
|
|
383
406
|
var tmp;
|
|
384
407
|
if ($super === VOID) {
|
|
385
|
-
this.
|
|
408
|
+
this.l9v(reason, roomId);
|
|
386
409
|
tmp = Unit_instance;
|
|
387
410
|
} else {
|
|
388
|
-
tmp = $super.
|
|
411
|
+
tmp = $super.l9v.call(this, reason, roomId);
|
|
389
412
|
}
|
|
390
413
|
return tmp;
|
|
391
414
|
}
|
|
@@ -450,7 +473,7 @@
|
|
|
450
473
|
dealerConfig = dealerConfig === VOID ? new DealerConfig() : dealerConfig;
|
|
451
474
|
ratingConfig = ratingConfig === VOID ? new RatingConfig() : ratingConfig;
|
|
452
475
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
453
|
-
return $super === VOID ? this.
|
|
476
|
+
return $super === VOID ? this.da0(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig) : $super.da0.call(this, reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig);
|
|
454
477
|
}
|
|
455
478
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
456
479
|
initMetadataForClass(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1, VOID, VOID, VOID, [Reducer]);
|
|
@@ -461,17 +484,17 @@
|
|
|
461
484
|
initMetadataForClass(TestHelperImpl, 'TestHelperImpl', VOID, VOID, [TestHelper]);
|
|
462
485
|
//endregion
|
|
463
486
|
function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
|
|
464
|
-
this.
|
|
487
|
+
this.t9e_1 = $subscriber;
|
|
465
488
|
CoroutineImpl.call(this, resultContinuation);
|
|
466
489
|
}
|
|
467
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
468
|
-
var tmp = this.
|
|
490
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).v9e = function (it, $completion) {
|
|
491
|
+
var tmp = this.w9e(it, $completion);
|
|
469
492
|
tmp.t8_1 = Unit_instance;
|
|
470
493
|
tmp.u8_1 = null;
|
|
471
494
|
return tmp.z8();
|
|
472
495
|
};
|
|
473
496
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).h9 = function (p1, $completion) {
|
|
474
|
-
return this.
|
|
497
|
+
return this.v9e(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
475
498
|
};
|
|
476
499
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).z8 = function () {
|
|
477
500
|
var suspendResult = this.t8_1;
|
|
@@ -480,7 +503,7 @@
|
|
|
480
503
|
var tmp = this.r8_1;
|
|
481
504
|
if (tmp === 0) {
|
|
482
505
|
this.s8_1 = 1;
|
|
483
|
-
this.
|
|
506
|
+
this.t9e_1(this.u9e_1);
|
|
484
507
|
return Unit_instance;
|
|
485
508
|
} else if (tmp === 1) {
|
|
486
509
|
throw this.u8_1;
|
|
@@ -491,31 +514,31 @@
|
|
|
491
514
|
}
|
|
492
515
|
while (true);
|
|
493
516
|
};
|
|
494
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
495
|
-
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.
|
|
496
|
-
i.
|
|
517
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).w9e = function (it, completion) {
|
|
518
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.t9e_1, completion);
|
|
519
|
+
i.u9e_1 = it;
|
|
497
520
|
return i;
|
|
498
521
|
};
|
|
499
522
|
function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
|
|
500
523
|
var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
|
|
501
524
|
var l = function (it, $completion) {
|
|
502
|
-
return i.
|
|
525
|
+
return i.v9e(it, $completion);
|
|
503
526
|
};
|
|
504
527
|
l.$arity = 1;
|
|
505
528
|
return l;
|
|
506
529
|
}
|
|
507
530
|
function GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation) {
|
|
508
|
-
this.
|
|
531
|
+
this.f9f_1 = $subscriber;
|
|
509
532
|
CoroutineImpl.call(this, resultContinuation);
|
|
510
533
|
}
|
|
511
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
512
|
-
var tmp = this.
|
|
534
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).h9f = function (it, $completion) {
|
|
535
|
+
var tmp = this.i9f(it, $completion);
|
|
513
536
|
tmp.t8_1 = Unit_instance;
|
|
514
537
|
tmp.u8_1 = null;
|
|
515
538
|
return tmp.z8();
|
|
516
539
|
};
|
|
517
540
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).h9 = function (p1, $completion) {
|
|
518
|
-
return this.
|
|
541
|
+
return this.h9f((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
|
|
519
542
|
};
|
|
520
543
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).z8 = function () {
|
|
521
544
|
var suspendResult = this.t8_1;
|
|
@@ -524,7 +547,7 @@
|
|
|
524
547
|
var tmp = this.r8_1;
|
|
525
548
|
if (tmp === 0) {
|
|
526
549
|
this.s8_1 = 1;
|
|
527
|
-
this.
|
|
550
|
+
this.f9f_1(this.g9f_1);
|
|
528
551
|
return Unit_instance;
|
|
529
552
|
} else if (tmp === 1) {
|
|
530
553
|
throw this.u8_1;
|
|
@@ -535,22 +558,22 @@
|
|
|
535
558
|
}
|
|
536
559
|
while (true);
|
|
537
560
|
};
|
|
538
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
539
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.
|
|
540
|
-
i.
|
|
561
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).i9f = function (it, completion) {
|
|
562
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.f9f_1, completion);
|
|
563
|
+
i.g9f_1 = it;
|
|
541
564
|
return i;
|
|
542
565
|
};
|
|
543
566
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_0($subscriber, resultContinuation) {
|
|
544
567
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation);
|
|
545
568
|
var l = function (it, $completion) {
|
|
546
|
-
return i.
|
|
569
|
+
return i.h9f(it, $completion);
|
|
547
570
|
};
|
|
548
571
|
l.$arity = 1;
|
|
549
572
|
return l;
|
|
550
573
|
}
|
|
551
574
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
552
|
-
this.
|
|
553
|
-
this.
|
|
575
|
+
this.r9f_1 = $$this$unsafeFlow;
|
|
576
|
+
this.s9f_1 = this$0;
|
|
554
577
|
CoroutineImpl.call(this, resultContinuation);
|
|
555
578
|
}
|
|
556
579
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).u2h = function (value, $completion) {
|
|
@@ -570,10 +593,10 @@
|
|
|
570
593
|
switch (tmp) {
|
|
571
594
|
case 0:
|
|
572
595
|
this.s8_1 = 2;
|
|
573
|
-
var tmp0 = this.
|
|
574
|
-
var value = this.
|
|
596
|
+
var tmp0 = this.r9f_1;
|
|
597
|
+
var value = this.t9f_1;
|
|
575
598
|
this.r8_1 = 1;
|
|
576
|
-
suspendResult = tmp0.l28(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.
|
|
599
|
+
suspendResult = tmp0.l28(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.s9f_1)), this);
|
|
577
600
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
578
601
|
return suspendResult;
|
|
579
602
|
}
|
|
@@ -596,8 +619,8 @@
|
|
|
596
619
|
while (true);
|
|
597
620
|
};
|
|
598
621
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).v2h = function (value, completion) {
|
|
599
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.
|
|
600
|
-
i.
|
|
622
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.r9f_1, this.s9f_1, completion);
|
|
623
|
+
i.t9f_1 = value;
|
|
601
624
|
return i;
|
|
602
625
|
};
|
|
603
626
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
@@ -610,8 +633,8 @@
|
|
|
610
633
|
}
|
|
611
634
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
612
635
|
CoroutineImpl.call(this, resultContinuation);
|
|
613
|
-
this.
|
|
614
|
-
this.
|
|
636
|
+
this.c9g_1 = _this__u8e3s4;
|
|
637
|
+
this.d9g_1 = collector;
|
|
615
638
|
}
|
|
616
639
|
protoOf($collectCOROUTINE$).z8 = function () {
|
|
617
640
|
var suspendResult = this.t8_1;
|
|
@@ -621,10 +644,10 @@
|
|
|
621
644
|
switch (tmp) {
|
|
622
645
|
case 0:
|
|
623
646
|
this.s8_1 = 2;
|
|
624
|
-
var $this$unsafeFlow = this.
|
|
647
|
+
var $this$unsafeFlow = this.d9g_1;
|
|
625
648
|
this.r8_1 = 1;
|
|
626
|
-
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
627
|
-
suspendResult = this.
|
|
649
|
+
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.c9g_1.f9g_1, null);
|
|
650
|
+
suspendResult = this.c9g_1.e9g_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_0), this);
|
|
628
651
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
629
652
|
return suspendResult;
|
|
630
653
|
}
|
|
@@ -647,8 +670,8 @@
|
|
|
647
670
|
while (true);
|
|
648
671
|
};
|
|
649
672
|
function GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1($this, this$0) {
|
|
650
|
-
this.
|
|
651
|
-
this.
|
|
673
|
+
this.e9g_1 = $this;
|
|
674
|
+
this.f9g_1 = this$0;
|
|
652
675
|
}
|
|
653
676
|
protoOf(GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1).m28 = function (collector, $completion) {
|
|
654
677
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
@@ -660,17 +683,17 @@
|
|
|
660
683
|
return this.m28(collector, $completion);
|
|
661
684
|
};
|
|
662
685
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation) {
|
|
663
|
-
this.
|
|
686
|
+
this.o9g_1 = $subscriber;
|
|
664
687
|
CoroutineImpl.call(this, resultContinuation);
|
|
665
688
|
}
|
|
666
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
667
|
-
var tmp = this.
|
|
689
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).q9g = function (it, $completion) {
|
|
690
|
+
var tmp = this.r9g(it, $completion);
|
|
668
691
|
tmp.t8_1 = Unit_instance;
|
|
669
692
|
tmp.u8_1 = null;
|
|
670
693
|
return tmp.z8();
|
|
671
694
|
};
|
|
672
695
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).h9 = function (p1, $completion) {
|
|
673
|
-
return this.
|
|
696
|
+
return this.q9g((!(p1 == null) ? isInterface(p1, ServerStateUpdateDto) : false) ? p1 : THROW_CCE(), $completion);
|
|
674
697
|
};
|
|
675
698
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).z8 = function () {
|
|
676
699
|
var suspendResult = this.t8_1;
|
|
@@ -679,7 +702,7 @@
|
|
|
679
702
|
var tmp = this.r8_1;
|
|
680
703
|
if (tmp === 0) {
|
|
681
704
|
this.s8_1 = 1;
|
|
682
|
-
this.
|
|
705
|
+
this.o9g_1(this.p9g_1);
|
|
683
706
|
return Unit_instance;
|
|
684
707
|
} else if (tmp === 1) {
|
|
685
708
|
throw this.u8_1;
|
|
@@ -690,22 +713,22 @@
|
|
|
690
713
|
}
|
|
691
714
|
while (true);
|
|
692
715
|
};
|
|
693
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
694
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.
|
|
695
|
-
i.
|
|
716
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).r9g = function (it, completion) {
|
|
717
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.o9g_1, completion);
|
|
718
|
+
i.p9g_1 = it;
|
|
696
719
|
return i;
|
|
697
720
|
};
|
|
698
721
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda_0($subscriber, resultContinuation) {
|
|
699
722
|
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation);
|
|
700
723
|
var l = function (it, $completion) {
|
|
701
|
-
return i.
|
|
724
|
+
return i.q9g(it, $completion);
|
|
702
725
|
};
|
|
703
726
|
l.$arity = 1;
|
|
704
727
|
return l;
|
|
705
728
|
}
|
|
706
729
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, $table, resultContinuation) {
|
|
707
|
-
this.
|
|
708
|
-
this.
|
|
730
|
+
this.a9h_1 = $$this$unsafeFlow;
|
|
731
|
+
this.b9h_1 = $table;
|
|
709
732
|
CoroutineImpl.call(this, resultContinuation);
|
|
710
733
|
}
|
|
711
734
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).u2h = function (value, $completion) {
|
|
@@ -725,10 +748,10 @@
|
|
|
725
748
|
switch (tmp) {
|
|
726
749
|
case 0:
|
|
727
750
|
this.s8_1 = 2;
|
|
728
|
-
var tmp0 = this.
|
|
729
|
-
var value = this.
|
|
751
|
+
var tmp0 = this.a9h_1;
|
|
752
|
+
var value = this.c9h_1;
|
|
730
753
|
this.r8_1 = 1;
|
|
731
|
-
suspendResult = tmp0.l28(new ActionsStateUpdate(this.
|
|
754
|
+
suspendResult = tmp0.l28(new ActionsStateUpdate(this.b9h_1.id, value), this);
|
|
732
755
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
733
756
|
return suspendResult;
|
|
734
757
|
}
|
|
@@ -751,8 +774,8 @@
|
|
|
751
774
|
while (true);
|
|
752
775
|
};
|
|
753
776
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).v2h = function (value, completion) {
|
|
754
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.
|
|
755
|
-
i.
|
|
777
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.a9h_1, this.b9h_1, completion);
|
|
778
|
+
i.c9h_1 = value;
|
|
756
779
|
return i;
|
|
757
780
|
};
|
|
758
781
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, $table, resultContinuation) {
|
|
@@ -765,8 +788,8 @@
|
|
|
765
788
|
}
|
|
766
789
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
767
790
|
CoroutineImpl.call(this, resultContinuation);
|
|
768
|
-
this.
|
|
769
|
-
this.
|
|
791
|
+
this.l9h_1 = _this__u8e3s4;
|
|
792
|
+
this.m9h_1 = collector;
|
|
770
793
|
}
|
|
771
794
|
protoOf($collectCOROUTINE$_0).z8 = function () {
|
|
772
795
|
var suspendResult = this.t8_1;
|
|
@@ -776,10 +799,10 @@
|
|
|
776
799
|
switch (tmp) {
|
|
777
800
|
case 0:
|
|
778
801
|
this.s8_1 = 2;
|
|
779
|
-
var $this$unsafeFlow = this.
|
|
802
|
+
var $this$unsafeFlow = this.m9h_1;
|
|
780
803
|
this.r8_1 = 1;
|
|
781
|
-
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
782
|
-
suspendResult = this.
|
|
804
|
+
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.l9h_1.o9h_1, null);
|
|
805
|
+
suspendResult = this.l9h_1.n9h_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
783
806
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
784
807
|
return suspendResult;
|
|
785
808
|
}
|
|
@@ -802,8 +825,8 @@
|
|
|
802
825
|
while (true);
|
|
803
826
|
};
|
|
804
827
|
function _no_name_provided__qut3iv($this, $table) {
|
|
805
|
-
this.
|
|
806
|
-
this.
|
|
828
|
+
this.n9h_1 = $this;
|
|
829
|
+
this.o9h_1 = $table;
|
|
807
830
|
}
|
|
808
831
|
protoOf(_no_name_provided__qut3iv).m28 = function (collector, $completion) {
|
|
809
832
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
@@ -815,18 +838,18 @@
|
|
|
815
838
|
return this.m28(collector, $completion);
|
|
816
839
|
};
|
|
817
840
|
function GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation) {
|
|
818
|
-
this.
|
|
819
|
-
this.
|
|
841
|
+
this.x9h_1 = $table;
|
|
842
|
+
this.y9h_1 = this$0;
|
|
820
843
|
CoroutineImpl.call(this, resultContinuation);
|
|
821
844
|
}
|
|
822
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
823
|
-
var tmp = this.
|
|
845
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).a9i = function ($this$flow, $completion) {
|
|
846
|
+
var tmp = this.b9i($this$flow, $completion);
|
|
824
847
|
tmp.t8_1 = Unit_instance;
|
|
825
848
|
tmp.u8_1 = null;
|
|
826
849
|
return tmp.z8();
|
|
827
850
|
};
|
|
828
851
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).h9 = function (p1, $completion) {
|
|
829
|
-
return this.
|
|
852
|
+
return this.a9i((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
830
853
|
};
|
|
831
854
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).z8 = function () {
|
|
832
855
|
var suspendResult = this.t8_1;
|
|
@@ -837,7 +860,7 @@
|
|
|
837
860
|
case 0:
|
|
838
861
|
this.s8_1 = 3;
|
|
839
862
|
this.r8_1 = 1;
|
|
840
|
-
suspendResult = this.
|
|
863
|
+
suspendResult = this.z9h_1.l28(new TableStateUpdate(this.x9h_1.id, this.x9h_1), this);
|
|
841
864
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
842
865
|
return suspendResult;
|
|
843
866
|
}
|
|
@@ -845,8 +868,8 @@
|
|
|
845
868
|
continue $sm;
|
|
846
869
|
case 1:
|
|
847
870
|
this.r8_1 = 2;
|
|
848
|
-
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.
|
|
849
|
-
suspendResult = emitAll(this.
|
|
871
|
+
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.y9h_1).k8j(), fromInt(_get_serverReduxConfig__rprcrm(this.y9h_1).serverStateUpdateIntervalMillis));
|
|
872
|
+
suspendResult = emitAll(this.z9h_1, new _no_name_provided__qut3iv(this_0, this.x9h_1), this);
|
|
850
873
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
851
874
|
return suspendResult;
|
|
852
875
|
}
|
|
@@ -868,21 +891,21 @@
|
|
|
868
891
|
}
|
|
869
892
|
while (true);
|
|
870
893
|
};
|
|
871
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
872
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.
|
|
873
|
-
i.
|
|
894
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).b9i = function ($this$flow, completion) {
|
|
895
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.x9h_1, this.y9h_1, completion);
|
|
896
|
+
i.z9h_1 = $this$flow;
|
|
874
897
|
return i;
|
|
875
898
|
};
|
|
876
899
|
function GameServer$observeTableStateUpdates$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
877
900
|
var i = new GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation);
|
|
878
901
|
var l = function ($this$flow, $completion) {
|
|
879
|
-
return i.
|
|
902
|
+
return i.a9i($this$flow, $completion);
|
|
880
903
|
};
|
|
881
904
|
l.$arity = 1;
|
|
882
905
|
return l;
|
|
883
906
|
}
|
|
884
907
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
885
|
-
this.
|
|
908
|
+
this.k9i_1 = $$this$unsafeFlow;
|
|
886
909
|
CoroutineImpl.call(this, resultContinuation);
|
|
887
910
|
}
|
|
888
911
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).u2h = function (value, $completion) {
|
|
@@ -903,28 +926,28 @@
|
|
|
903
926
|
case 0:
|
|
904
927
|
this.s8_1 = 5;
|
|
905
928
|
var tmp_0 = this;
|
|
906
|
-
tmp_0.
|
|
929
|
+
tmp_0.p9i_1 = this.k9i_1;
|
|
907
930
|
var tmp_1 = this;
|
|
908
|
-
tmp_1.
|
|
931
|
+
tmp_1.o9i_1 = this.l9i_1;
|
|
909
932
|
this.r8_1 = 1;
|
|
910
933
|
continue $sm;
|
|
911
934
|
case 1:
|
|
912
|
-
this.
|
|
913
|
-
var tmp0_elvis_lhs = this.
|
|
935
|
+
this.m9i_1 = this.p9i_1;
|
|
936
|
+
var tmp0_elvis_lhs = this.o9i_1.l6m_1;
|
|
914
937
|
if (tmp0_elvis_lhs == null) {
|
|
915
938
|
this.r8_1 = 4;
|
|
916
939
|
var tmp_2 = this;
|
|
917
940
|
continue $sm;
|
|
918
941
|
} else {
|
|
919
|
-
this.
|
|
942
|
+
this.n9i_1 = tmp0_elvis_lhs;
|
|
920
943
|
this.r8_1 = 2;
|
|
921
944
|
continue $sm;
|
|
922
945
|
}
|
|
923
946
|
|
|
924
947
|
case 2:
|
|
925
|
-
var transformed = this.
|
|
948
|
+
var transformed = this.n9i_1;
|
|
926
949
|
this.r8_1 = 3;
|
|
927
|
-
suspendResult = this.
|
|
950
|
+
suspendResult = this.m9i_1.l28(transformed, this);
|
|
928
951
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
929
952
|
return suspendResult;
|
|
930
953
|
}
|
|
@@ -955,8 +978,8 @@
|
|
|
955
978
|
while (true);
|
|
956
979
|
};
|
|
957
980
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).v2h = function (value, completion) {
|
|
958
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
959
|
-
i.
|
|
981
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.k9i_1, completion);
|
|
982
|
+
i.l9i_1 = value;
|
|
960
983
|
return i;
|
|
961
984
|
};
|
|
962
985
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -969,8 +992,8 @@
|
|
|
969
992
|
}
|
|
970
993
|
function $collectCOROUTINE$_1(_this__u8e3s4, collector, resultContinuation) {
|
|
971
994
|
CoroutineImpl.call(this, resultContinuation);
|
|
972
|
-
this.
|
|
973
|
-
this.
|
|
995
|
+
this.y9i_1 = _this__u8e3s4;
|
|
996
|
+
this.z9i_1 = collector;
|
|
974
997
|
}
|
|
975
998
|
protoOf($collectCOROUTINE$_1).z8 = function () {
|
|
976
999
|
var suspendResult = this.t8_1;
|
|
@@ -980,10 +1003,10 @@
|
|
|
980
1003
|
switch (tmp) {
|
|
981
1004
|
case 0:
|
|
982
1005
|
this.s8_1 = 2;
|
|
983
|
-
var $this$unsafeFlow = this.
|
|
1006
|
+
var $this$unsafeFlow = this.z9i_1;
|
|
984
1007
|
this.r8_1 = 1;
|
|
985
1008
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($this$unsafeFlow, null);
|
|
986
|
-
suspendResult = this.
|
|
1009
|
+
suspendResult = this.y9i_1.a9j_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
987
1010
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
988
1011
|
return suspendResult;
|
|
989
1012
|
}
|
|
@@ -1006,7 +1029,7 @@
|
|
|
1006
1029
|
while (true);
|
|
1007
1030
|
};
|
|
1008
1031
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_1($$this$unsafeFlow, resultContinuation) {
|
|
1009
|
-
this.
|
|
1032
|
+
this.j9j_1 = $$this$unsafeFlow;
|
|
1010
1033
|
CoroutineImpl.call(this, resultContinuation);
|
|
1011
1034
|
}
|
|
1012
1035
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).u2h = function (value, $completion) {
|
|
@@ -1026,8 +1049,8 @@
|
|
|
1026
1049
|
switch (tmp) {
|
|
1027
1050
|
case 0:
|
|
1028
1051
|
this.s8_1 = 2;
|
|
1029
|
-
var tmp0 = this.
|
|
1030
|
-
var value = this.
|
|
1052
|
+
var tmp0 = this.j9j_1;
|
|
1053
|
+
var value = this.k9j_1;
|
|
1031
1054
|
this.r8_1 = 1;
|
|
1032
1055
|
suspendResult = tmp0.l28(to(value.gameInfo.roundNumberTotal, value), this);
|
|
1033
1056
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1052,8 +1075,8 @@
|
|
|
1052
1075
|
while (true);
|
|
1053
1076
|
};
|
|
1054
1077
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).v2h = function (value, completion) {
|
|
1055
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.
|
|
1056
|
-
i.
|
|
1078
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.j9j_1, completion);
|
|
1079
|
+
i.k9j_1 = value;
|
|
1057
1080
|
return i;
|
|
1058
1081
|
};
|
|
1059
1082
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1066,8 +1089,8 @@
|
|
|
1066
1089
|
}
|
|
1067
1090
|
function $collectCOROUTINE$_2(_this__u8e3s4, collector, resultContinuation) {
|
|
1068
1091
|
CoroutineImpl.call(this, resultContinuation);
|
|
1069
|
-
this.
|
|
1070
|
-
this.
|
|
1092
|
+
this.t9j_1 = _this__u8e3s4;
|
|
1093
|
+
this.u9j_1 = collector;
|
|
1071
1094
|
}
|
|
1072
1095
|
protoOf($collectCOROUTINE$_2).z8 = function () {
|
|
1073
1096
|
var suspendResult = this.t8_1;
|
|
@@ -1077,10 +1100,10 @@
|
|
|
1077
1100
|
switch (tmp) {
|
|
1078
1101
|
case 0:
|
|
1079
1102
|
this.s8_1 = 2;
|
|
1080
|
-
var $this$unsafeFlow = this.
|
|
1103
|
+
var $this$unsafeFlow = this.u9j_1;
|
|
1081
1104
|
this.r8_1 = 1;
|
|
1082
1105
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($this$unsafeFlow, null);
|
|
1083
|
-
suspendResult = this.
|
|
1106
|
+
suspendResult = this.t9j_1.v9j_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1084
1107
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1085
1108
|
return suspendResult;
|
|
1086
1109
|
}
|
|
@@ -1103,7 +1126,7 @@
|
|
|
1103
1126
|
while (true);
|
|
1104
1127
|
};
|
|
1105
1128
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_3($$this$unsafeFlow, resultContinuation) {
|
|
1106
|
-
this.
|
|
1129
|
+
this.e9k_1 = $$this$unsafeFlow;
|
|
1107
1130
|
CoroutineImpl.call(this, resultContinuation);
|
|
1108
1131
|
}
|
|
1109
1132
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).u2h = function (value, $completion) {
|
|
@@ -1123,8 +1146,8 @@
|
|
|
1123
1146
|
switch (tmp) {
|
|
1124
1147
|
case 0:
|
|
1125
1148
|
this.s8_1 = 2;
|
|
1126
|
-
var tmp0 = this.
|
|
1127
|
-
var value = this.
|
|
1149
|
+
var tmp0 = this.e9k_1;
|
|
1150
|
+
var value = this.f9k_1;
|
|
1128
1151
|
this.r8_1 = 1;
|
|
1129
1152
|
suspendResult = tmp0.l28(value.me_1, this);
|
|
1130
1153
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1149,8 +1172,8 @@
|
|
|
1149
1172
|
while (true);
|
|
1150
1173
|
};
|
|
1151
1174
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).v2h = function (value, completion) {
|
|
1152
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.
|
|
1153
|
-
i.
|
|
1175
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.e9k_1, completion);
|
|
1176
|
+
i.f9k_1 = value;
|
|
1154
1177
|
return i;
|
|
1155
1178
|
};
|
|
1156
1179
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1163,8 +1186,8 @@
|
|
|
1163
1186
|
}
|
|
1164
1187
|
function $collectCOROUTINE$_3(_this__u8e3s4, collector, resultContinuation) {
|
|
1165
1188
|
CoroutineImpl.call(this, resultContinuation);
|
|
1166
|
-
this.
|
|
1167
|
-
this.
|
|
1189
|
+
this.o9k_1 = _this__u8e3s4;
|
|
1190
|
+
this.p9k_1 = collector;
|
|
1168
1191
|
}
|
|
1169
1192
|
protoOf($collectCOROUTINE$_3).z8 = function () {
|
|
1170
1193
|
var suspendResult = this.t8_1;
|
|
@@ -1174,10 +1197,10 @@
|
|
|
1174
1197
|
switch (tmp) {
|
|
1175
1198
|
case 0:
|
|
1176
1199
|
this.s8_1 = 2;
|
|
1177
|
-
var $this$unsafeFlow = this.
|
|
1200
|
+
var $this$unsafeFlow = this.p9k_1;
|
|
1178
1201
|
this.r8_1 = 1;
|
|
1179
1202
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($this$unsafeFlow, null);
|
|
1180
|
-
suspendResult = this.
|
|
1203
|
+
suspendResult = this.o9k_1.q9k_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1181
1204
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1182
1205
|
return suspendResult;
|
|
1183
1206
|
}
|
|
@@ -1200,17 +1223,17 @@
|
|
|
1200
1223
|
while (true);
|
|
1201
1224
|
};
|
|
1202
1225
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
1203
|
-
this.
|
|
1226
|
+
this.z9k_1 = $subscriber;
|
|
1204
1227
|
CoroutineImpl.call(this, resultContinuation);
|
|
1205
1228
|
}
|
|
1206
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1207
|
-
var tmp = this.
|
|
1229
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).b9l = function (it, $completion) {
|
|
1230
|
+
var tmp = this.c9l(it, $completion);
|
|
1208
1231
|
tmp.t8_1 = Unit_instance;
|
|
1209
1232
|
tmp.u8_1 = null;
|
|
1210
1233
|
return tmp.z8();
|
|
1211
1234
|
};
|
|
1212
1235
|
protoOf(GameServer$subscribeWith$slambda$slambda).h9 = function (p1, $completion) {
|
|
1213
|
-
return this.
|
|
1236
|
+
return this.b9l(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
1214
1237
|
};
|
|
1215
1238
|
protoOf(GameServer$subscribeWith$slambda$slambda).z8 = function () {
|
|
1216
1239
|
var suspendResult = this.t8_1;
|
|
@@ -1219,7 +1242,7 @@
|
|
|
1219
1242
|
var tmp = this.r8_1;
|
|
1220
1243
|
if (tmp === 0) {
|
|
1221
1244
|
this.s8_1 = 1;
|
|
1222
|
-
this.
|
|
1245
|
+
this.z9k_1(this.a9l_1);
|
|
1223
1246
|
return Unit_instance;
|
|
1224
1247
|
} else if (tmp === 1) {
|
|
1225
1248
|
throw this.u8_1;
|
|
@@ -1230,83 +1253,83 @@
|
|
|
1230
1253
|
}
|
|
1231
1254
|
while (true);
|
|
1232
1255
|
};
|
|
1233
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1234
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
1235
|
-
i.
|
|
1256
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).c9l = function (it, completion) {
|
|
1257
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.z9k_1, completion);
|
|
1258
|
+
i.a9l_1 = it;
|
|
1236
1259
|
return i;
|
|
1237
1260
|
};
|
|
1238
1261
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
1239
1262
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
1240
1263
|
var l = function (it, $completion) {
|
|
1241
|
-
return i.
|
|
1264
|
+
return i.b9l(it, $completion);
|
|
1242
1265
|
};
|
|
1243
1266
|
l.$arity = 1;
|
|
1244
1267
|
return l;
|
|
1245
1268
|
}
|
|
1246
1269
|
function GameServer$roomOnCreate$2$updatedUsers$previousTeams$1($playerId) {
|
|
1247
|
-
this.
|
|
1270
|
+
this.d9l_1 = $playerId;
|
|
1248
1271
|
}
|
|
1249
1272
|
protoOf(GameServer$roomOnCreate$2$updatedUsers$previousTeams$1).t65 = function () {
|
|
1250
|
-
return this.
|
|
1273
|
+
return this.d9l_1;
|
|
1251
1274
|
};
|
|
1252
1275
|
function _get_logger__rkp4sl($this) {
|
|
1253
|
-
var tmp0 = $this.
|
|
1276
|
+
var tmp0 = $this.g9l_1;
|
|
1254
1277
|
var tmp = KProperty1;
|
|
1255
1278
|
// Inline function 'kotlin.getValue' call
|
|
1256
1279
|
getPropertyCallableRef('logger', 1, tmp, GameServer$_get_logger_$ref_fogce1_0(), null);
|
|
1257
1280
|
return tmp0.w();
|
|
1258
1281
|
}
|
|
1259
1282
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
1260
|
-
var tmp0 = $this.
|
|
1283
|
+
var tmp0 = $this.h9l_1;
|
|
1261
1284
|
var tmp = KProperty1;
|
|
1262
1285
|
// Inline function 'kotlin.getValue' call
|
|
1263
1286
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, GameServer$_get_toClientEventsObserver_$ref_utir8s_0(), null);
|
|
1264
1287
|
return tmp0.w();
|
|
1265
1288
|
}
|
|
1266
1289
|
function _get_fromClientEventsObserver__a7vzd3($this) {
|
|
1267
|
-
var tmp0 = $this.
|
|
1290
|
+
var tmp0 = $this.i9l_1;
|
|
1268
1291
|
var tmp = KProperty1;
|
|
1269
1292
|
// Inline function 'kotlin.getValue' call
|
|
1270
1293
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, GameServer$_get_fromClientEventsObserver_$ref_nf1g79_0(), null);
|
|
1271
1294
|
return tmp0.w();
|
|
1272
1295
|
}
|
|
1273
1296
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
1274
|
-
var tmp0 = $this.
|
|
1297
|
+
var tmp0 = $this.j9l_1;
|
|
1275
1298
|
var tmp = KProperty1;
|
|
1276
1299
|
// Inline function 'kotlin.getValue' call
|
|
1277
1300
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, GameServer$_get_playerConnectionInteractor_$ref_of8tan_0(), null);
|
|
1278
1301
|
return tmp0.w();
|
|
1279
1302
|
}
|
|
1280
1303
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
1281
|
-
var tmp0 = $this.
|
|
1304
|
+
var tmp0 = $this.k9l_1;
|
|
1282
1305
|
var tmp = KProperty1;
|
|
1283
1306
|
// Inline function 'kotlin.getValue' call
|
|
1284
1307
|
getPropertyCallableRef('teamsLogicProvider', 1, tmp, GameServer$_get_teamsLogicProvider_$ref_b7y54g_0(), null);
|
|
1285
1308
|
return tmp0.w();
|
|
1286
1309
|
}
|
|
1287
1310
|
function _get_random__h29cgo($this) {
|
|
1288
|
-
var tmp0 = $this.
|
|
1311
|
+
var tmp0 = $this.l9l_1;
|
|
1289
1312
|
var tmp = KProperty1;
|
|
1290
1313
|
// Inline function 'kotlin.getValue' call
|
|
1291
1314
|
getPropertyCallableRef('random', 1, tmp, GameServer$_get_random_$ref_fottnq(), null);
|
|
1292
1315
|
return tmp0.w();
|
|
1293
1316
|
}
|
|
1294
1317
|
function _get_idsProvider__fnfajc($this) {
|
|
1295
|
-
var tmp0 = $this.
|
|
1318
|
+
var tmp0 = $this.m9l_1;
|
|
1296
1319
|
var tmp = KProperty1;
|
|
1297
1320
|
// Inline function 'kotlin.getValue' call
|
|
1298
1321
|
getPropertyCallableRef('idsProvider', 1, tmp, GameServer$_get_idsProvider_$ref_89s908_0(), null);
|
|
1299
1322
|
return tmp0.w();
|
|
1300
1323
|
}
|
|
1301
1324
|
function _get_serverReduxConfig__rprcrm($this) {
|
|
1302
|
-
var tmp0 = $this.
|
|
1325
|
+
var tmp0 = $this.n9l_1;
|
|
1303
1326
|
var tmp = KProperty1;
|
|
1304
1327
|
// Inline function 'kotlin.getValue' call
|
|
1305
1328
|
getPropertyCallableRef('serverReduxConfig', 1, tmp, GameServer$_get_serverReduxConfig_$ref_7h6jq6_0(), null);
|
|
1306
1329
|
return tmp0.w();
|
|
1307
1330
|
}
|
|
1308
1331
|
function _get_encoderDecoderProvider__qqgrji($this) {
|
|
1309
|
-
var tmp0 = $this.
|
|
1332
|
+
var tmp0 = $this.o9l_1;
|
|
1310
1333
|
var tmp = KProperty1;
|
|
1311
1334
|
// Inline function 'kotlin.getValue' call
|
|
1312
1335
|
getPropertyCallableRef('encoderDecoderProvider', 1, tmp, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8_0(), null);
|
|
@@ -1334,20 +1357,20 @@
|
|
|
1334
1357
|
return new GameServer$observeTableWhenRoundChanges$$inlined$map$2(this_1);
|
|
1335
1358
|
}
|
|
1336
1359
|
function Companion() {
|
|
1337
|
-
this.
|
|
1360
|
+
this.q9l_1 = 'GameEngine_API';
|
|
1338
1361
|
}
|
|
1339
1362
|
var Companion_instance_7;
|
|
1340
1363
|
function Companion_getInstance_0() {
|
|
1341
1364
|
return Companion_instance_7;
|
|
1342
1365
|
}
|
|
1343
1366
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
1344
|
-
this.
|
|
1367
|
+
this.r9l_1 = function_0;
|
|
1345
1368
|
}
|
|
1346
1369
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).l28 = function (value, $completion) {
|
|
1347
|
-
return this.
|
|
1370
|
+
return this.r9l_1(value, $completion);
|
|
1348
1371
|
};
|
|
1349
1372
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).a3 = function () {
|
|
1350
|
-
return this.
|
|
1373
|
+
return this.r9l_1;
|
|
1351
1374
|
};
|
|
1352
1375
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
1353
1376
|
var tmp;
|
|
@@ -1368,13 +1391,13 @@
|
|
|
1368
1391
|
return hashCode(this.a3());
|
|
1369
1392
|
};
|
|
1370
1393
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
1371
|
-
this.
|
|
1394
|
+
this.s9l_1 = function_0;
|
|
1372
1395
|
}
|
|
1373
1396
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).l28 = function (value, $completion) {
|
|
1374
|
-
return this.
|
|
1397
|
+
return this.s9l_1(value, $completion);
|
|
1375
1398
|
};
|
|
1376
1399
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).a3 = function () {
|
|
1377
|
-
return this.
|
|
1400
|
+
return this.s9l_1;
|
|
1378
1401
|
};
|
|
1379
1402
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
1380
1403
|
var tmp;
|
|
@@ -1395,13 +1418,13 @@
|
|
|
1395
1418
|
return hashCode(this.a3());
|
|
1396
1419
|
};
|
|
1397
1420
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
1398
|
-
this.
|
|
1421
|
+
this.t9l_1 = function_0;
|
|
1399
1422
|
}
|
|
1400
1423
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).l28 = function (value, $completion) {
|
|
1401
|
-
return this.
|
|
1424
|
+
return this.t9l_1(value, $completion);
|
|
1402
1425
|
};
|
|
1403
1426
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).a3 = function () {
|
|
1404
|
-
return this.
|
|
1427
|
+
return this.t9l_1;
|
|
1405
1428
|
};
|
|
1406
1429
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
1407
1430
|
var tmp;
|
|
@@ -1422,13 +1445,13 @@
|
|
|
1422
1445
|
return hashCode(this.a3());
|
|
1423
1446
|
};
|
|
1424
1447
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
1425
|
-
this.
|
|
1448
|
+
this.u9l_1 = function_0;
|
|
1426
1449
|
}
|
|
1427
1450
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).l28 = function (value, $completion) {
|
|
1428
|
-
return this.
|
|
1451
|
+
return this.u9l_1(value, $completion);
|
|
1429
1452
|
};
|
|
1430
1453
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).a3 = function () {
|
|
1431
|
-
return this.
|
|
1454
|
+
return this.u9l_1;
|
|
1432
1455
|
};
|
|
1433
1456
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
1434
1457
|
var tmp;
|
|
@@ -1449,13 +1472,13 @@
|
|
|
1449
1472
|
return hashCode(this.a3());
|
|
1450
1473
|
};
|
|
1451
1474
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
|
|
1452
|
-
this.
|
|
1475
|
+
this.v9l_1 = function_0;
|
|
1453
1476
|
}
|
|
1454
1477
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).l28 = function (value, $completion) {
|
|
1455
|
-
return this.
|
|
1478
|
+
return this.v9l_1(value, $completion);
|
|
1456
1479
|
};
|
|
1457
1480
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).a3 = function () {
|
|
1458
|
-
return this.
|
|
1481
|
+
return this.v9l_1;
|
|
1459
1482
|
};
|
|
1460
1483
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
|
|
1461
1484
|
var tmp;
|
|
@@ -1476,13 +1499,13 @@
|
|
|
1476
1499
|
return hashCode(this.a3());
|
|
1477
1500
|
};
|
|
1478
1501
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_4(function_0) {
|
|
1479
|
-
this.
|
|
1502
|
+
this.w9l_1 = function_0;
|
|
1480
1503
|
}
|
|
1481
1504
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).l28 = function (value, $completion) {
|
|
1482
|
-
return this.
|
|
1505
|
+
return this.w9l_1(value, $completion);
|
|
1483
1506
|
};
|
|
1484
1507
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).a3 = function () {
|
|
1485
|
-
return this.
|
|
1508
|
+
return this.w9l_1;
|
|
1486
1509
|
};
|
|
1487
1510
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).equals = function (other) {
|
|
1488
1511
|
var tmp;
|
|
@@ -1593,8 +1616,8 @@
|
|
|
1593
1616
|
};
|
|
1594
1617
|
}
|
|
1595
1618
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
1596
|
-
this.
|
|
1597
|
-
this.
|
|
1619
|
+
this.f9m_1 = this$0;
|
|
1620
|
+
this.g9m_1 = $subscriber;
|
|
1598
1621
|
CoroutineImpl.call(this, resultContinuation);
|
|
1599
1622
|
}
|
|
1600
1623
|
protoOf(GameServer$subscribeToClientAction$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -1615,8 +1638,8 @@
|
|
|
1615
1638
|
case 0:
|
|
1616
1639
|
this.s8_1 = 2;
|
|
1617
1640
|
this.r8_1 = 1;
|
|
1618
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
1619
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
1641
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.f9m_1).i9m();
|
|
1642
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.g9m_1, null);
|
|
1620
1643
|
suspendResult = tmp_0.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1621
1644
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1622
1645
|
return suspendResult;
|
|
@@ -1640,8 +1663,8 @@
|
|
|
1640
1663
|
while (true);
|
|
1641
1664
|
};
|
|
1642
1665
|
protoOf(GameServer$subscribeToClientAction$slambda).a2d = function ($this$launchDefault, completion) {
|
|
1643
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
1644
|
-
i.
|
|
1666
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.f9m_1, this.g9m_1, completion);
|
|
1667
|
+
i.h9m_1 = $this$launchDefault;
|
|
1645
1668
|
return i;
|
|
1646
1669
|
};
|
|
1647
1670
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1653,8 +1676,8 @@
|
|
|
1653
1676
|
return l;
|
|
1654
1677
|
}
|
|
1655
1678
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
1656
|
-
this.
|
|
1657
|
-
this.
|
|
1679
|
+
this.r9m_1 = this$0;
|
|
1680
|
+
this.s9m_1 = $subscriber;
|
|
1658
1681
|
CoroutineImpl.call(this, resultContinuation);
|
|
1659
1682
|
}
|
|
1660
1683
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -1675,8 +1698,8 @@
|
|
|
1675
1698
|
case 0:
|
|
1676
1699
|
this.s8_1 = 2;
|
|
1677
1700
|
this.r8_1 = 1;
|
|
1678
|
-
var tmp_0 = observeTableStateUpdates(this.
|
|
1679
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
1701
|
+
var tmp_0 = observeTableStateUpdates(this.r9m_1);
|
|
1702
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.s9m_1, null);
|
|
1680
1703
|
suspendResult = tmp_0.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
1681
1704
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1682
1705
|
return suspendResult;
|
|
@@ -1700,8 +1723,8 @@
|
|
|
1700
1723
|
while (true);
|
|
1701
1724
|
};
|
|
1702
1725
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).a2d = function ($this$launchDefault, completion) {
|
|
1703
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
1704
|
-
i.
|
|
1726
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.r9m_1, this.s9m_1, completion);
|
|
1727
|
+
i.t9m_1 = $this$launchDefault;
|
|
1705
1728
|
return i;
|
|
1706
1729
|
};
|
|
1707
1730
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1713,8 +1736,8 @@
|
|
|
1713
1736
|
return l;
|
|
1714
1737
|
}
|
|
1715
1738
|
function GameServer$subscribeServerStateUpdateJson$slambda(this$0, $subscriber, resultContinuation) {
|
|
1716
|
-
this.
|
|
1717
|
-
this.
|
|
1739
|
+
this.c9n_1 = this$0;
|
|
1740
|
+
this.d9n_1 = $subscriber;
|
|
1718
1741
|
CoroutineImpl.call(this, resultContinuation);
|
|
1719
1742
|
}
|
|
1720
1743
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -1735,9 +1758,9 @@
|
|
|
1735
1758
|
case 0:
|
|
1736
1759
|
this.s8_1 = 2;
|
|
1737
1760
|
this.r8_1 = 1;
|
|
1738
|
-
var this_0 = observeTableStateUpdates(this.
|
|
1739
|
-
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.
|
|
1740
|
-
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.
|
|
1761
|
+
var this_0 = observeTableStateUpdates(this.c9n_1);
|
|
1762
|
+
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.c9n_1);
|
|
1763
|
+
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.d9n_1, null);
|
|
1741
1764
|
suspendResult = tmp_0.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
1742
1765
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1743
1766
|
return suspendResult;
|
|
@@ -1761,8 +1784,8 @@
|
|
|
1761
1784
|
while (true);
|
|
1762
1785
|
};
|
|
1763
1786
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).a2d = function ($this$launchDefault, completion) {
|
|
1764
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.
|
|
1765
|
-
i.
|
|
1787
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.c9n_1, this.d9n_1, completion);
|
|
1788
|
+
i.e9n_1 = $this$launchDefault;
|
|
1766
1789
|
return i;
|
|
1767
1790
|
};
|
|
1768
1791
|
function GameServer$subscribeServerStateUpdateJson$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1774,18 +1797,18 @@
|
|
|
1774
1797
|
return l;
|
|
1775
1798
|
}
|
|
1776
1799
|
function GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation) {
|
|
1777
|
-
this.
|
|
1800
|
+
this.n9n_1 = this$0;
|
|
1778
1801
|
CoroutineImpl.call(this, resultContinuation);
|
|
1779
1802
|
}
|
|
1780
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1781
|
-
var tmp = this.
|
|
1803
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).q9n = function ($this$transformLatest, it, $completion) {
|
|
1804
|
+
var tmp = this.r9n($this$transformLatest, it, $completion);
|
|
1782
1805
|
tmp.t8_1 = Unit_instance;
|
|
1783
1806
|
tmp.u8_1 = null;
|
|
1784
1807
|
return tmp.z8();
|
|
1785
1808
|
};
|
|
1786
1809
|
protoOf(GameServer$observeTableStateUpdates$slambda).i9 = function (p1, p2, $completion) {
|
|
1787
1810
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
1788
|
-
return this.
|
|
1811
|
+
return this.q9n(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
1789
1812
|
};
|
|
1790
1813
|
protoOf(GameServer$observeTableStateUpdates$slambda).z8 = function () {
|
|
1791
1814
|
var suspendResult = this.t8_1;
|
|
@@ -1796,8 +1819,8 @@
|
|
|
1796
1819
|
case 0:
|
|
1797
1820
|
this.s8_1 = 2;
|
|
1798
1821
|
this.r8_1 = 1;
|
|
1799
|
-
var table = this.
|
|
1800
|
-
suspendResult = emitAll(this.
|
|
1822
|
+
var table = this.p9n_1;
|
|
1823
|
+
suspendResult = emitAll(this.o9n_1, flow(GameServer$observeTableStateUpdates$slambda$slambda_0(table, this.n9n_1, null)), this);
|
|
1801
1824
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1802
1825
|
return suspendResult;
|
|
1803
1826
|
}
|
|
@@ -1819,22 +1842,22 @@
|
|
|
1819
1842
|
}
|
|
1820
1843
|
while (true);
|
|
1821
1844
|
};
|
|
1822
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1823
|
-
var i = new GameServer$observeTableStateUpdates$slambda(this.
|
|
1824
|
-
i.
|
|
1825
|
-
i.
|
|
1845
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).r9n = function ($this$transformLatest, it, completion) {
|
|
1846
|
+
var i = new GameServer$observeTableStateUpdates$slambda(this.n9n_1, completion);
|
|
1847
|
+
i.o9n_1 = $this$transformLatest;
|
|
1848
|
+
i.p9n_1 = it;
|
|
1826
1849
|
return i;
|
|
1827
1850
|
};
|
|
1828
1851
|
function GameServer$observeTableStateUpdates$slambda_0(this$0, resultContinuation) {
|
|
1829
1852
|
var i = new GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation);
|
|
1830
1853
|
var l = function ($this$transformLatest, it, $completion) {
|
|
1831
|
-
return i.
|
|
1854
|
+
return i.q9n($this$transformLatest, it, $completion);
|
|
1832
1855
|
};
|
|
1833
1856
|
l.$arity = 2;
|
|
1834
1857
|
return l;
|
|
1835
1858
|
}
|
|
1836
1859
|
function GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1($this) {
|
|
1837
|
-
this.
|
|
1860
|
+
this.a9j_1 = $this;
|
|
1838
1861
|
}
|
|
1839
1862
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).m28 = function (collector, $completion) {
|
|
1840
1863
|
var tmp = new $collectCOROUTINE$_1(this, collector, $completion);
|
|
@@ -1846,7 +1869,7 @@
|
|
|
1846
1869
|
return this.m28(collector, $completion);
|
|
1847
1870
|
};
|
|
1848
1871
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$1($this) {
|
|
1849
|
-
this.
|
|
1872
|
+
this.v9j_1 = $this;
|
|
1850
1873
|
}
|
|
1851
1874
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).m28 = function (collector, $completion) {
|
|
1852
1875
|
var tmp = new $collectCOROUTINE$_2(this, collector, $completion);
|
|
@@ -1861,7 +1884,7 @@
|
|
|
1861
1884
|
return old.le_1 === new_0.le_1;
|
|
1862
1885
|
}
|
|
1863
1886
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$2($this) {
|
|
1864
|
-
this.
|
|
1887
|
+
this.q9k_1 = $this;
|
|
1865
1888
|
}
|
|
1866
1889
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).m28 = function (collector, $completion) {
|
|
1867
1890
|
var tmp = new $collectCOROUTINE$_3(this, collector, $completion);
|
|
@@ -1873,8 +1896,8 @@
|
|
|
1873
1896
|
return this.m28(collector, $completion);
|
|
1874
1897
|
};
|
|
1875
1898
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
1876
|
-
this.
|
|
1877
|
-
this.
|
|
1899
|
+
this.a9o_1 = this$0;
|
|
1900
|
+
this.b9o_1 = $subscriber;
|
|
1878
1901
|
CoroutineImpl.call(this, resultContinuation);
|
|
1879
1902
|
}
|
|
1880
1903
|
protoOf(GameServer$subscribeWith$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -1895,8 +1918,8 @@
|
|
|
1895
1918
|
case 0:
|
|
1896
1919
|
this.s8_1 = 2;
|
|
1897
1920
|
this.r8_1 = 1;
|
|
1898
|
-
var tmp_0 = distinctUntilChanged(this.
|
|
1899
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
1921
|
+
var tmp_0 = distinctUntilChanged(this.a9o_1.k6m());
|
|
1922
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.b9o_1, null);
|
|
1900
1923
|
suspendResult = tmp_0.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_4(tmp_1), this);
|
|
1901
1924
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1902
1925
|
return suspendResult;
|
|
@@ -1920,8 +1943,8 @@
|
|
|
1920
1943
|
while (true);
|
|
1921
1944
|
};
|
|
1922
1945
|
protoOf(GameServer$subscribeWith$slambda).a2d = function ($this$launchDefault, completion) {
|
|
1923
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
1924
|
-
i.
|
|
1946
|
+
var i = new GameServer$subscribeWith$slambda(this.a9o_1, this.b9o_1, completion);
|
|
1947
|
+
i.c9o_1 = $this$launchDefault;
|
|
1925
1948
|
return i;
|
|
1926
1949
|
};
|
|
1927
1950
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1933,18 +1956,18 @@
|
|
|
1933
1956
|
return l;
|
|
1934
1957
|
}
|
|
1935
1958
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
1936
|
-
this.
|
|
1959
|
+
this.l9o_1 = $action;
|
|
1937
1960
|
CoroutineImpl.call(this, resultContinuation);
|
|
1938
1961
|
}
|
|
1939
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1940
|
-
var tmp = this.
|
|
1962
|
+
protoOf(GameServer$fromClientEvent$slambda).o9o = function ($this$dispatchAsync, store, $completion) {
|
|
1963
|
+
var tmp = this.p9o($this$dispatchAsync, store, $completion);
|
|
1941
1964
|
tmp.t8_1 = Unit_instance;
|
|
1942
1965
|
tmp.u8_1 = null;
|
|
1943
1966
|
return tmp.z8();
|
|
1944
1967
|
};
|
|
1945
1968
|
protoOf(GameServer$fromClientEvent$slambda).i9 = function (p1, p2, $completion) {
|
|
1946
1969
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1947
|
-
return this.
|
|
1970
|
+
return this.o9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1948
1971
|
};
|
|
1949
1972
|
protoOf(GameServer$fromClientEvent$slambda).z8 = function () {
|
|
1950
1973
|
var suspendResult = this.t8_1;
|
|
@@ -1953,11 +1976,11 @@
|
|
|
1953
1976
|
var tmp = this.r8_1;
|
|
1954
1977
|
if (tmp === 0) {
|
|
1955
1978
|
this.s8_1 = 1;
|
|
1956
|
-
if (this.
|
|
1957
|
-
if (!get_isCreated(this.
|
|
1979
|
+
if (this.l9o_1 instanceof PlayerReadyFromClientAction)
|
|
1980
|
+
if (!get_isCreated(this.n9o_1.state)) {
|
|
1958
1981
|
return Unit_instance;
|
|
1959
1982
|
}
|
|
1960
|
-
this.
|
|
1983
|
+
this.n9o_1.dispatch(this.l9o_1);
|
|
1961
1984
|
return Unit_instance;
|
|
1962
1985
|
} else if (tmp === 1) {
|
|
1963
1986
|
throw this.u8_1;
|
|
@@ -1968,33 +1991,33 @@
|
|
|
1968
1991
|
}
|
|
1969
1992
|
while (true);
|
|
1970
1993
|
};
|
|
1971
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1972
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
1973
|
-
i.
|
|
1974
|
-
i.
|
|
1994
|
+
protoOf(GameServer$fromClientEvent$slambda).p9o = function ($this$dispatchAsync, store, completion) {
|
|
1995
|
+
var i = new GameServer$fromClientEvent$slambda(this.l9o_1, completion);
|
|
1996
|
+
i.m9o_1 = $this$dispatchAsync;
|
|
1997
|
+
i.n9o_1 = store;
|
|
1975
1998
|
return i;
|
|
1976
1999
|
};
|
|
1977
2000
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
1978
2001
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
1979
2002
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1980
|
-
return i.
|
|
2003
|
+
return i.o9o($this$dispatchAsync, store, $completion);
|
|
1981
2004
|
};
|
|
1982
2005
|
l.$arity = 2;
|
|
1983
2006
|
return l;
|
|
1984
2007
|
}
|
|
1985
2008
|
function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
|
|
1986
|
-
this.
|
|
2009
|
+
this.y9o_1 = $playerId;
|
|
1987
2010
|
CoroutineImpl.call(this, resultContinuation);
|
|
1988
2011
|
}
|
|
1989
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
1990
|
-
var tmp = this.
|
|
2012
|
+
protoOf(GameServer$playerLostConnection$slambda).o9o = function ($this$dispatchAsync, store, $completion) {
|
|
2013
|
+
var tmp = this.p9o($this$dispatchAsync, store, $completion);
|
|
1991
2014
|
tmp.t8_1 = Unit_instance;
|
|
1992
2015
|
tmp.u8_1 = null;
|
|
1993
2016
|
return tmp.z8();
|
|
1994
2017
|
};
|
|
1995
2018
|
protoOf(GameServer$playerLostConnection$slambda).i9 = function (p1, p2, $completion) {
|
|
1996
2019
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1997
|
-
return this.
|
|
2020
|
+
return this.o9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1998
2021
|
};
|
|
1999
2022
|
protoOf(GameServer$playerLostConnection$slambda).z8 = function () {
|
|
2000
2023
|
var suspendResult = this.t8_1;
|
|
@@ -2003,12 +2026,12 @@
|
|
|
2003
2026
|
var tmp = this.r8_1;
|
|
2004
2027
|
if (tmp === 0) {
|
|
2005
2028
|
this.s8_1 = 1;
|
|
2006
|
-
if (!get_isCreated(this.
|
|
2029
|
+
if (!get_isCreated(this.a9p_1.state)) {
|
|
2007
2030
|
return Unit_instance;
|
|
2008
2031
|
}
|
|
2009
|
-
var tmp_0 = this.
|
|
2032
|
+
var tmp_0 = this.a9p_1.dispatch;
|
|
2010
2033
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
2011
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2034
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.y9o_1));
|
|
2012
2035
|
return Unit_instance;
|
|
2013
2036
|
} else if (tmp === 1) {
|
|
2014
2037
|
throw this.u8_1;
|
|
@@ -2019,34 +2042,34 @@
|
|
|
2019
2042
|
}
|
|
2020
2043
|
while (true);
|
|
2021
2044
|
};
|
|
2022
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2023
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
2024
|
-
i.
|
|
2025
|
-
i.
|
|
2045
|
+
protoOf(GameServer$playerLostConnection$slambda).p9o = function ($this$dispatchAsync, store, completion) {
|
|
2046
|
+
var i = new GameServer$playerLostConnection$slambda(this.y9o_1, completion);
|
|
2047
|
+
i.z9o_1 = $this$dispatchAsync;
|
|
2048
|
+
i.a9p_1 = store;
|
|
2026
2049
|
return i;
|
|
2027
2050
|
};
|
|
2028
2051
|
function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
|
|
2029
2052
|
var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
|
|
2030
2053
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2031
|
-
return i.
|
|
2054
|
+
return i.o9o($this$dispatchAsync, store, $completion);
|
|
2032
2055
|
};
|
|
2033
2056
|
l.$arity = 2;
|
|
2034
2057
|
return l;
|
|
2035
2058
|
}
|
|
2036
2059
|
function GameServer$playerLive$slambda(this$0, $playerId, resultContinuation) {
|
|
2037
|
-
this.
|
|
2038
|
-
this.
|
|
2060
|
+
this.j9p_1 = this$0;
|
|
2061
|
+
this.k9p_1 = $playerId;
|
|
2039
2062
|
CoroutineImpl.call(this, resultContinuation);
|
|
2040
2063
|
}
|
|
2041
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2042
|
-
var tmp = this.
|
|
2064
|
+
protoOf(GameServer$playerLive$slambda).o9o = function ($this$dispatchAsync, store, $completion) {
|
|
2065
|
+
var tmp = this.p9o($this$dispatchAsync, store, $completion);
|
|
2043
2066
|
tmp.t8_1 = Unit_instance;
|
|
2044
2067
|
tmp.u8_1 = null;
|
|
2045
2068
|
return tmp.z8();
|
|
2046
2069
|
};
|
|
2047
2070
|
protoOf(GameServer$playerLive$slambda).i9 = function (p1, p2, $completion) {
|
|
2048
2071
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2049
|
-
return this.
|
|
2072
|
+
return this.o9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2050
2073
|
};
|
|
2051
2074
|
protoOf(GameServer$playerLive$slambda).z8 = function () {
|
|
2052
2075
|
var suspendResult = this.t8_1;
|
|
@@ -2055,16 +2078,16 @@
|
|
|
2055
2078
|
var tmp = this.r8_1;
|
|
2056
2079
|
if (tmp === 0) {
|
|
2057
2080
|
this.s8_1 = 1;
|
|
2058
|
-
if (get_isFinished(this.
|
|
2081
|
+
if (get_isFinished(this.m9p_1.state) || get_isFinishing(this.m9p_1.state)) {
|
|
2059
2082
|
return Unit_instance;
|
|
2060
2083
|
}
|
|
2061
|
-
if (!get_isCreated(this.
|
|
2062
|
-
_get_logger__rkp4sl(this.
|
|
2084
|
+
if (!get_isCreated(this.m9p_1.state) || !this.j9p_1.s66().n6n()) {
|
|
2085
|
+
_get_logger__rkp4sl(this.j9p_1).w('GameEngine_API', 'playerLive: ' + this.k9p_1 + ' before game is created');
|
|
2063
2086
|
return Unit_instance;
|
|
2064
2087
|
}
|
|
2065
|
-
var tmp_0 = this.
|
|
2088
|
+
var tmp_0 = this.m9p_1.dispatch;
|
|
2066
2089
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2067
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2090
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.k9p_1));
|
|
2068
2091
|
return Unit_instance;
|
|
2069
2092
|
} else if (tmp === 1) {
|
|
2070
2093
|
throw this.u8_1;
|
|
@@ -2075,34 +2098,34 @@
|
|
|
2075
2098
|
}
|
|
2076
2099
|
while (true);
|
|
2077
2100
|
};
|
|
2078
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2079
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
2080
|
-
i.
|
|
2081
|
-
i.
|
|
2101
|
+
protoOf(GameServer$playerLive$slambda).p9o = function ($this$dispatchAsync, store, completion) {
|
|
2102
|
+
var i = new GameServer$playerLive$slambda(this.j9p_1, this.k9p_1, completion);
|
|
2103
|
+
i.l9p_1 = $this$dispatchAsync;
|
|
2104
|
+
i.m9p_1 = store;
|
|
2082
2105
|
return i;
|
|
2083
2106
|
};
|
|
2084
2107
|
function GameServer$playerLive$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2085
2108
|
var i = new GameServer$playerLive$slambda(this$0, $playerId, resultContinuation);
|
|
2086
2109
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2087
|
-
return i.
|
|
2110
|
+
return i.o9o($this$dispatchAsync, store, $completion);
|
|
2088
2111
|
};
|
|
2089
2112
|
l.$arity = 2;
|
|
2090
2113
|
return l;
|
|
2091
2114
|
}
|
|
2092
2115
|
function GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation) {
|
|
2093
|
-
this.
|
|
2094
|
-
this.
|
|
2116
|
+
this.v9p_1 = this$0;
|
|
2117
|
+
this.w9p_1 = $playerId;
|
|
2095
2118
|
CoroutineImpl.call(this, resultContinuation);
|
|
2096
2119
|
}
|
|
2097
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2098
|
-
var tmp = this.
|
|
2120
|
+
protoOf(GameServer$playerLeft$slambda).o9o = function ($this$dispatchAsync, store, $completion) {
|
|
2121
|
+
var tmp = this.p9o($this$dispatchAsync, store, $completion);
|
|
2099
2122
|
tmp.t8_1 = Unit_instance;
|
|
2100
2123
|
tmp.u8_1 = null;
|
|
2101
2124
|
return tmp.z8();
|
|
2102
2125
|
};
|
|
2103
2126
|
protoOf(GameServer$playerLeft$slambda).i9 = function (p1, p2, $completion) {
|
|
2104
2127
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2105
|
-
return this.
|
|
2128
|
+
return this.o9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2106
2129
|
};
|
|
2107
2130
|
protoOf(GameServer$playerLeft$slambda).z8 = function () {
|
|
2108
2131
|
var suspendResult = this.t8_1;
|
|
@@ -2111,16 +2134,16 @@
|
|
|
2111
2134
|
var tmp = this.r8_1;
|
|
2112
2135
|
if (tmp === 0) {
|
|
2113
2136
|
this.s8_1 = 1;
|
|
2114
|
-
if (get_isFinished(this.
|
|
2137
|
+
if (get_isFinished(this.y9p_1.state) || get_isFinishing(this.y9p_1.state)) {
|
|
2115
2138
|
return Unit_instance;
|
|
2116
2139
|
}
|
|
2117
|
-
if (!get_isCreated(this.
|
|
2118
|
-
_get_logger__rkp4sl(this.
|
|
2140
|
+
if (!get_isCreated(this.y9p_1.state) || !this.v9p_1.s66().n6n()) {
|
|
2141
|
+
_get_logger__rkp4sl(this.v9p_1).w('GameEngine_API', 'playerLeft: ' + this.w9p_1 + ' before game is created');
|
|
2119
2142
|
return Unit_instance;
|
|
2120
2143
|
}
|
|
2121
|
-
var tmp_0 = this.
|
|
2144
|
+
var tmp_0 = this.y9p_1.dispatch;
|
|
2122
2145
|
var tmp0_connectionState = PlayerConnectionState_LEFT_getInstance();
|
|
2123
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2146
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.w9p_1));
|
|
2124
2147
|
return Unit_instance;
|
|
2125
2148
|
} else if (tmp === 1) {
|
|
2126
2149
|
throw this.u8_1;
|
|
@@ -2131,39 +2154,40 @@
|
|
|
2131
2154
|
}
|
|
2132
2155
|
while (true);
|
|
2133
2156
|
};
|
|
2134
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2135
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
2136
|
-
i.
|
|
2137
|
-
i.
|
|
2157
|
+
protoOf(GameServer$playerLeft$slambda).p9o = function ($this$dispatchAsync, store, completion) {
|
|
2158
|
+
var i = new GameServer$playerLeft$slambda(this.v9p_1, this.w9p_1, completion);
|
|
2159
|
+
i.x9p_1 = $this$dispatchAsync;
|
|
2160
|
+
i.y9p_1 = store;
|
|
2138
2161
|
return i;
|
|
2139
2162
|
};
|
|
2140
2163
|
function GameServer$playerLeft$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2141
2164
|
var i = new GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation);
|
|
2142
2165
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2143
|
-
return i.
|
|
2166
|
+
return i.o9o($this$dispatchAsync, store, $completion);
|
|
2144
2167
|
};
|
|
2145
2168
|
l.$arity = 2;
|
|
2146
2169
|
return l;
|
|
2147
2170
|
}
|
|
2148
|
-
function GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2149
|
-
this.
|
|
2150
|
-
this.
|
|
2151
|
-
this.
|
|
2152
|
-
this.
|
|
2153
|
-
this.
|
|
2154
|
-
this.
|
|
2155
|
-
this.
|
|
2171
|
+
function GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, $metadata, resultContinuation) {
|
|
2172
|
+
this.h9q_1 = $usersArray;
|
|
2173
|
+
this.i9q_1 = $config;
|
|
2174
|
+
this.j9q_1 = this$0;
|
|
2175
|
+
this.k9q_1 = $roomId;
|
|
2176
|
+
this.l9q_1 = $transition;
|
|
2177
|
+
this.m9q_1 = $gameCreatorId;
|
|
2178
|
+
this.n9q_1 = $spectators;
|
|
2179
|
+
this.o9q_1 = $metadata;
|
|
2156
2180
|
CoroutineImpl.call(this, resultContinuation);
|
|
2157
2181
|
}
|
|
2158
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2159
|
-
var tmp = this.
|
|
2182
|
+
protoOf(GameServer$roomOnCreate$slambda).o9o = function ($this$dispatchAsync, store, $completion) {
|
|
2183
|
+
var tmp = this.p9o($this$dispatchAsync, store, $completion);
|
|
2160
2184
|
tmp.t8_1 = Unit_instance;
|
|
2161
2185
|
tmp.u8_1 = null;
|
|
2162
2186
|
return tmp.z8();
|
|
2163
2187
|
};
|
|
2164
2188
|
protoOf(GameServer$roomOnCreate$slambda).i9 = function (p1, p2, $completion) {
|
|
2165
2189
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2166
|
-
return this.
|
|
2190
|
+
return this.o9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2167
2191
|
};
|
|
2168
2192
|
protoOf(GameServer$roomOnCreate$slambda).z8 = function () {
|
|
2169
2193
|
var suspendResult = this.t8_1;
|
|
@@ -2172,28 +2196,28 @@
|
|
|
2172
2196
|
var tmp = this.r8_1;
|
|
2173
2197
|
if (tmp === 0) {
|
|
2174
2198
|
this.s8_1 = 1;
|
|
2175
|
-
var users = toList(this.
|
|
2176
|
-
if (!(this.
|
|
2177
|
-
_get_logger__rkp4sl(this.
|
|
2178
|
-
this.
|
|
2199
|
+
var users = toList(this.h9q_1);
|
|
2200
|
+
if (!(this.i9q_1.playersMode.count === users.o())) {
|
|
2201
|
+
_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.q9q_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.j9q_1.table.isGameFinished, this.j9q_1.table));
|
|
2179
2203
|
return Unit_instance;
|
|
2180
2204
|
}
|
|
2181
2205
|
var tmp_0;
|
|
2182
|
-
if (this.
|
|
2183
|
-
tmp_0 = _get_random__h29cgo(this.
|
|
2206
|
+
if (this.i9q_1.mode.shufflePlayers && this.l9q_1 == null) {
|
|
2207
|
+
tmp_0 = _get_random__h29cgo(this.j9q_1).o5d(toMutableList(users));
|
|
2184
2208
|
} else {
|
|
2185
|
-
var tmp0_safe_receiver = this.
|
|
2209
|
+
var tmp0_safe_receiver = this.l9q_1;
|
|
2186
2210
|
var previousPlayers = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.previousPlayers;
|
|
2187
2211
|
var tmp_1;
|
|
2188
|
-
if (!(previousPlayers == null) && this.
|
|
2189
|
-
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.
|
|
2212
|
+
if (!(previousPlayers == null) && this.i9q_1.playersMode.isTeamGame) {
|
|
2213
|
+
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.j9q_1);
|
|
2190
2214
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(previousPlayers, 10));
|
|
2191
2215
|
var _iterator__ex2g4s = previousPlayers.l();
|
|
2192
2216
|
while (_iterator__ex2g4s.m()) {
|
|
2193
2217
|
var item = _iterator__ex2g4s.n();
|
|
2194
2218
|
destination.j(new GameServer$roomOnCreate$2$updatedUsers$previousTeams$1(item));
|
|
2195
2219
|
}
|
|
2196
|
-
var previousTeams = tmp_2.
|
|
2220
|
+
var previousTeams = tmp_2.b8j(destination);
|
|
2197
2221
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
2198
2222
|
var _iterator__ex2g4s_0 = users.l();
|
|
2199
2223
|
while (_iterator__ex2g4s_0.m()) {
|
|
@@ -2217,19 +2241,19 @@
|
|
|
2217
2241
|
destination_1.j(destination_2);
|
|
2218
2242
|
}
|
|
2219
2243
|
var updatedTeams = destination_1;
|
|
2220
|
-
tmp_1 = _get_teamsLogicProvider__u10pm6(this.
|
|
2244
|
+
tmp_1 = _get_teamsLogicProvider__u10pm6(this.j9q_1).f8j(updatedTeams);
|
|
2221
2245
|
} else {
|
|
2222
2246
|
tmp_1 = users;
|
|
2223
2247
|
}
|
|
2224
2248
|
tmp_0 = tmp_1;
|
|
2225
2249
|
}
|
|
2226
2250
|
var updatedUsers = tmp_0;
|
|
2227
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
2228
|
-
var tmp_3 = this.
|
|
2251
|
+
var gameCreatorUser = getPlayer(users, this.m9q_1);
|
|
2252
|
+
var tmp_3 = this.q9q_1.dispatch;
|
|
2229
2253
|
var tmp1_version = get_versionOrDefault(GameEngineConfig_instance);
|
|
2230
2254
|
var tmp2_users = sortWithItem(updatedUsers, gameCreatorUser);
|
|
2231
|
-
var tmp3_spectators = toList(this.
|
|
2232
|
-
tmp_3(new StartGameMechanicAction(this.
|
|
2255
|
+
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, this.o9q_1));
|
|
2233
2257
|
return Unit_instance;
|
|
2234
2258
|
} else if (tmp === 1) {
|
|
2235
2259
|
throw this.u8_1;
|
|
@@ -2240,33 +2264,34 @@
|
|
|
2240
2264
|
}
|
|
2241
2265
|
while (true);
|
|
2242
2266
|
};
|
|
2243
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2244
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
2245
|
-
i.
|
|
2246
|
-
i.
|
|
2267
|
+
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, this.o9q_1, completion);
|
|
2269
|
+
i.p9q_1 = $this$dispatchAsync;
|
|
2270
|
+
i.q9q_1 = store;
|
|
2247
2271
|
return i;
|
|
2248
2272
|
};
|
|
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);
|
|
2273
|
+
function GameServer$roomOnCreate$slambda_0($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, $metadata, resultContinuation) {
|
|
2274
|
+
var i = new GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, $metadata, resultContinuation);
|
|
2251
2275
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2252
|
-
return i.
|
|
2276
|
+
return i.o9o($this$dispatchAsync, store, $completion);
|
|
2253
2277
|
};
|
|
2254
2278
|
l.$arity = 2;
|
|
2255
2279
|
return l;
|
|
2256
2280
|
}
|
|
2257
|
-
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
2258
|
-
this.
|
|
2281
|
+
function GameServer$roomOnContinueFromState$slambda($state, $metadata, resultContinuation) {
|
|
2282
|
+
this.z9q_1 = $state;
|
|
2283
|
+
this.a9r_1 = $metadata;
|
|
2259
2284
|
CoroutineImpl.call(this, resultContinuation);
|
|
2260
2285
|
}
|
|
2261
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2262
|
-
var tmp = this.
|
|
2286
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).d9r = function ($this$dispatchAwait, store, $completion) {
|
|
2287
|
+
var tmp = this.p9o($this$dispatchAwait, store, $completion);
|
|
2263
2288
|
tmp.t8_1 = Unit_instance;
|
|
2264
2289
|
tmp.u8_1 = null;
|
|
2265
2290
|
return tmp.z8();
|
|
2266
2291
|
};
|
|
2267
2292
|
protoOf(GameServer$roomOnContinueFromState$slambda).i9 = function (p1, p2, $completion) {
|
|
2268
2293
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2269
|
-
return this.
|
|
2294
|
+
return this.d9r(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2270
2295
|
};
|
|
2271
2296
|
protoOf(GameServer$roomOnContinueFromState$slambda).z8 = function () {
|
|
2272
2297
|
var suspendResult = this.t8_1;
|
|
@@ -2275,11 +2300,11 @@
|
|
|
2275
2300
|
var tmp = this.r8_1;
|
|
2276
2301
|
if (tmp === 0) {
|
|
2277
2302
|
this.s8_1 = 1;
|
|
2278
|
-
if (get_isCreating(this.
|
|
2279
|
-
var tmp_0 = this.
|
|
2303
|
+
if (get_isCreating(this.c9r_1.state)) {
|
|
2304
|
+
var tmp_0 = this.c9r_1.dispatch;
|
|
2280
2305
|
var tmp0_reason = new RestartRoundReason(null);
|
|
2281
|
-
var tmp1_table = this.
|
|
2282
|
-
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2306
|
+
var tmp1_table = this.z9q_1.table;
|
|
2307
|
+
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason, VOID, VOID, this.a9r_1));
|
|
2283
2308
|
return true;
|
|
2284
2309
|
}
|
|
2285
2310
|
return false;
|
|
@@ -2292,34 +2317,34 @@
|
|
|
2292
2317
|
}
|
|
2293
2318
|
while (true);
|
|
2294
2319
|
};
|
|
2295
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2296
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
2297
|
-
i.
|
|
2298
|
-
i.
|
|
2320
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).p9o = function ($this$dispatchAwait, store, completion) {
|
|
2321
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.z9q_1, this.a9r_1, completion);
|
|
2322
|
+
i.b9r_1 = $this$dispatchAwait;
|
|
2323
|
+
i.c9r_1 = store;
|
|
2299
2324
|
return i;
|
|
2300
2325
|
};
|
|
2301
|
-
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
2302
|
-
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
2326
|
+
function GameServer$roomOnContinueFromState$slambda_0($state, $metadata, resultContinuation) {
|
|
2327
|
+
var i = new GameServer$roomOnContinueFromState$slambda($state, $metadata, resultContinuation);
|
|
2303
2328
|
var l = function ($this$dispatchAwait, store, $completion) {
|
|
2304
|
-
return i.
|
|
2329
|
+
return i.d9r($this$dispatchAwait, store, $completion);
|
|
2305
2330
|
};
|
|
2306
2331
|
l.$arity = 2;
|
|
2307
2332
|
return l;
|
|
2308
2333
|
}
|
|
2309
2334
|
function GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation) {
|
|
2310
|
-
this.
|
|
2311
|
-
this.
|
|
2335
|
+
this.m9r_1 = $isCreated;
|
|
2336
|
+
this.n9r_1 = $state;
|
|
2312
2337
|
CoroutineImpl.call(this, resultContinuation);
|
|
2313
2338
|
}
|
|
2314
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2315
|
-
var tmp = this.
|
|
2339
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).o9o = function ($this$dispatchAsync, store, $completion) {
|
|
2340
|
+
var tmp = this.p9o($this$dispatchAsync, store, $completion);
|
|
2316
2341
|
tmp.t8_1 = Unit_instance;
|
|
2317
2342
|
tmp.u8_1 = null;
|
|
2318
2343
|
return tmp.z8();
|
|
2319
2344
|
};
|
|
2320
2345
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).i9 = function (p1, p2, $completion) {
|
|
2321
2346
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2322
|
-
return this.
|
|
2347
|
+
return this.o9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2323
2348
|
};
|
|
2324
2349
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).z8 = function () {
|
|
2325
2350
|
var suspendResult = this.t8_1;
|
|
@@ -2330,7 +2355,7 @@
|
|
|
2330
2355
|
case 0:
|
|
2331
2356
|
this.s8_1 = 3;
|
|
2332
2357
|
this.r8_1 = 1;
|
|
2333
|
-
suspendResult = this.
|
|
2358
|
+
suspendResult = this.m9r_1.z1t(this);
|
|
2334
2359
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2335
2360
|
return suspendResult;
|
|
2336
2361
|
}
|
|
@@ -2338,10 +2363,10 @@
|
|
|
2338
2363
|
continue $sm;
|
|
2339
2364
|
case 1:
|
|
2340
2365
|
if (suspendResult) {
|
|
2341
|
-
var _iterator__ex2g4s = this.
|
|
2366
|
+
var _iterator__ex2g4s = this.n9r_1.actions.l();
|
|
2342
2367
|
while (_iterator__ex2g4s.m()) {
|
|
2343
2368
|
var element = _iterator__ex2g4s.n();
|
|
2344
|
-
this.
|
|
2369
|
+
this.p9r_1.dispatch(element);
|
|
2345
2370
|
}
|
|
2346
2371
|
this.r8_1 = 2;
|
|
2347
2372
|
continue $sm;
|
|
@@ -2366,35 +2391,36 @@
|
|
|
2366
2391
|
}
|
|
2367
2392
|
while (true);
|
|
2368
2393
|
};
|
|
2369
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2370
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
2371
|
-
i.
|
|
2372
|
-
i.
|
|
2394
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).p9o = function ($this$dispatchAsync, store, completion) {
|
|
2395
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.m9r_1, this.n9r_1, completion);
|
|
2396
|
+
i.o9r_1 = $this$dispatchAsync;
|
|
2397
|
+
i.p9r_1 = store;
|
|
2373
2398
|
return i;
|
|
2374
2399
|
};
|
|
2375
2400
|
function GameServer$roomOnContinueFromState$slambda_2($isCreated, $state, resultContinuation) {
|
|
2376
2401
|
var i = new GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation);
|
|
2377
2402
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2378
|
-
return i.
|
|
2403
|
+
return i.o9o($this$dispatchAsync, store, $completion);
|
|
2379
2404
|
};
|
|
2380
2405
|
l.$arity = 2;
|
|
2381
2406
|
return l;
|
|
2382
2407
|
}
|
|
2383
|
-
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
2384
|
-
this.
|
|
2385
|
-
this.
|
|
2386
|
-
this.
|
|
2408
|
+
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, $metadata, resultContinuation) {
|
|
2409
|
+
this.y9r_1 = $tableLite;
|
|
2410
|
+
this.z9r_1 = $roomId;
|
|
2411
|
+
this.a9s_1 = this$0;
|
|
2412
|
+
this.b9s_1 = $metadata;
|
|
2387
2413
|
CoroutineImpl.call(this, resultContinuation);
|
|
2388
2414
|
}
|
|
2389
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2390
|
-
var tmp = this.
|
|
2415
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).o9o = function ($this$dispatchAsync, store, $completion) {
|
|
2416
|
+
var tmp = this.p9o($this$dispatchAsync, store, $completion);
|
|
2391
2417
|
tmp.t8_1 = Unit_instance;
|
|
2392
2418
|
tmp.u8_1 = null;
|
|
2393
2419
|
return tmp.z8();
|
|
2394
2420
|
};
|
|
2395
2421
|
protoOf(GameServer$roomOnContinueFromRound$slambda).i9 = function (p1, p2, $completion) {
|
|
2396
2422
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2397
|
-
return this.
|
|
2423
|
+
return this.o9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2398
2424
|
};
|
|
2399
2425
|
protoOf(GameServer$roomOnContinueFromRound$slambda).z8 = function () {
|
|
2400
2426
|
var suspendResult = this.t8_1;
|
|
@@ -2403,10 +2429,10 @@
|
|
|
2403
2429
|
var tmp = this.r8_1;
|
|
2404
2430
|
if (tmp === 0) {
|
|
2405
2431
|
this.s8_1 = 1;
|
|
2406
|
-
var tmp_0 = this.
|
|
2407
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
2408
|
-
var tmp1_table = Companion_instance_0.restartRound(this.
|
|
2409
|
-
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2432
|
+
var tmp_0 = this.d9s_1.dispatch;
|
|
2433
|
+
var tmp0_reason = new RestartRoundReason(this.y9r_1.gameInfo.round.roundNumber);
|
|
2434
|
+
var tmp1_table = Companion_instance_0.restartRound(this.z9r_1, _get_idsProvider__fnfajc(this.a9s_1).z6d(), get_versionOrDefault(GameEngineConfig_instance), this.y9r_1);
|
|
2435
|
+
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason, VOID, VOID, this.b9s_1));
|
|
2410
2436
|
return Unit_instance;
|
|
2411
2437
|
} else if (tmp === 1) {
|
|
2412
2438
|
throw this.u8_1;
|
|
@@ -2417,16 +2443,16 @@
|
|
|
2417
2443
|
}
|
|
2418
2444
|
while (true);
|
|
2419
2445
|
};
|
|
2420
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2421
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
2422
|
-
i.
|
|
2423
|
-
i.
|
|
2446
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).p9o = function ($this$dispatchAsync, store, completion) {
|
|
2447
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.y9r_1, this.z9r_1, this.a9s_1, this.b9s_1, completion);
|
|
2448
|
+
i.c9s_1 = $this$dispatchAsync;
|
|
2449
|
+
i.d9s_1 = store;
|
|
2424
2450
|
return i;
|
|
2425
2451
|
};
|
|
2426
|
-
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
2427
|
-
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
2452
|
+
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, $metadata, resultContinuation) {
|
|
2453
|
+
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, $metadata, resultContinuation);
|
|
2428
2454
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2429
|
-
return i.
|
|
2455
|
+
return i.o9o($this$dispatchAsync, store, $completion);
|
|
2430
2456
|
};
|
|
2431
2457
|
l.$arity = 2;
|
|
2432
2458
|
return l;
|
|
@@ -2434,15 +2460,15 @@
|
|
|
2434
2460
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
2435
2461
|
CoroutineImpl.call(this, resultContinuation);
|
|
2436
2462
|
}
|
|
2437
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2438
|
-
var tmp = this.
|
|
2463
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).o9o = function ($this$dispatchAsync, store, $completion) {
|
|
2464
|
+
var tmp = this.p9o($this$dispatchAsync, store, $completion);
|
|
2439
2465
|
tmp.t8_1 = Unit_instance;
|
|
2440
2466
|
tmp.u8_1 = null;
|
|
2441
2467
|
return tmp.z8();
|
|
2442
2468
|
};
|
|
2443
2469
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).i9 = function (p1, p2, $completion) {
|
|
2444
2470
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2445
|
-
return this.
|
|
2471
|
+
return this.o9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2446
2472
|
};
|
|
2447
2473
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).z8 = function () {
|
|
2448
2474
|
var suspendResult = this.t8_1;
|
|
@@ -2451,7 +2477,7 @@
|
|
|
2451
2477
|
var tmp = this.r8_1;
|
|
2452
2478
|
if (tmp === 0) {
|
|
2453
2479
|
this.s8_1 = 1;
|
|
2454
|
-
this.
|
|
2480
|
+
this.n9s_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
2455
2481
|
return Unit_instance;
|
|
2456
2482
|
} else if (tmp === 1) {
|
|
2457
2483
|
throw this.u8_1;
|
|
@@ -2462,33 +2488,33 @@
|
|
|
2462
2488
|
}
|
|
2463
2489
|
while (true);
|
|
2464
2490
|
};
|
|
2465
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2491
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).p9o = function ($this$dispatchAsync, store, completion) {
|
|
2466
2492
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
2467
|
-
i.
|
|
2468
|
-
i.
|
|
2493
|
+
i.m9s_1 = $this$dispatchAsync;
|
|
2494
|
+
i.n9s_1 = store;
|
|
2469
2495
|
return i;
|
|
2470
2496
|
};
|
|
2471
2497
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
2472
2498
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
2473
2499
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2474
|
-
return i.
|
|
2500
|
+
return i.o9o($this$dispatchAsync, store, $completion);
|
|
2475
2501
|
};
|
|
2476
2502
|
l.$arity = 2;
|
|
2477
2503
|
return l;
|
|
2478
2504
|
}
|
|
2479
2505
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
2480
|
-
this.
|
|
2506
|
+
this.w9s_1 = $spectators;
|
|
2481
2507
|
CoroutineImpl.call(this, resultContinuation);
|
|
2482
2508
|
}
|
|
2483
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2484
|
-
var tmp = this.
|
|
2509
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).o9o = function ($this$dispatchAsync, store, $completion) {
|
|
2510
|
+
var tmp = this.p9o($this$dispatchAsync, store, $completion);
|
|
2485
2511
|
tmp.t8_1 = Unit_instance;
|
|
2486
2512
|
tmp.u8_1 = null;
|
|
2487
2513
|
return tmp.z8();
|
|
2488
2514
|
};
|
|
2489
2515
|
protoOf(GameServer$addSpectatorsToRoom$slambda).i9 = function (p1, p2, $completion) {
|
|
2490
2516
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2491
|
-
return this.
|
|
2517
|
+
return this.o9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2492
2518
|
};
|
|
2493
2519
|
protoOf(GameServer$addSpectatorsToRoom$slambda).z8 = function () {
|
|
2494
2520
|
var suspendResult = this.t8_1;
|
|
@@ -2497,7 +2523,7 @@
|
|
|
2497
2523
|
var tmp = this.r8_1;
|
|
2498
2524
|
if (tmp === 0) {
|
|
2499
2525
|
this.s8_1 = 1;
|
|
2500
|
-
this.
|
|
2526
|
+
this.y9s_1.dispatch(new AddSpectatorsAction(toList(this.w9s_1)));
|
|
2501
2527
|
return Unit_instance;
|
|
2502
2528
|
} else if (tmp === 1) {
|
|
2503
2529
|
throw this.u8_1;
|
|
@@ -2508,33 +2534,33 @@
|
|
|
2508
2534
|
}
|
|
2509
2535
|
while (true);
|
|
2510
2536
|
};
|
|
2511
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2512
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
2513
|
-
i.
|
|
2514
|
-
i.
|
|
2537
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).p9o = function ($this$dispatchAsync, store, completion) {
|
|
2538
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.w9s_1, completion);
|
|
2539
|
+
i.x9s_1 = $this$dispatchAsync;
|
|
2540
|
+
i.y9s_1 = store;
|
|
2515
2541
|
return i;
|
|
2516
2542
|
};
|
|
2517
2543
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
2518
2544
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
2519
2545
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2520
|
-
return i.
|
|
2546
|
+
return i.o9o($this$dispatchAsync, store, $completion);
|
|
2521
2547
|
};
|
|
2522
2548
|
l.$arity = 2;
|
|
2523
2549
|
return l;
|
|
2524
2550
|
}
|
|
2525
2551
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
2526
|
-
this.
|
|
2552
|
+
this.h9t_1 = $spectators;
|
|
2527
2553
|
CoroutineImpl.call(this, resultContinuation);
|
|
2528
2554
|
}
|
|
2529
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2530
|
-
var tmp = this.
|
|
2555
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).o9o = function ($this$dispatchAsync, store, $completion) {
|
|
2556
|
+
var tmp = this.p9o($this$dispatchAsync, store, $completion);
|
|
2531
2557
|
tmp.t8_1 = Unit_instance;
|
|
2532
2558
|
tmp.u8_1 = null;
|
|
2533
2559
|
return tmp.z8();
|
|
2534
2560
|
};
|
|
2535
2561
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).i9 = function (p1, p2, $completion) {
|
|
2536
2562
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2537
|
-
return this.
|
|
2563
|
+
return this.o9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2538
2564
|
};
|
|
2539
2565
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).z8 = function () {
|
|
2540
2566
|
var suspendResult = this.t8_1;
|
|
@@ -2543,7 +2569,7 @@
|
|
|
2543
2569
|
var tmp = this.r8_1;
|
|
2544
2570
|
if (tmp === 0) {
|
|
2545
2571
|
this.s8_1 = 1;
|
|
2546
|
-
this.
|
|
2572
|
+
this.j9t_1.dispatch(new RemoveSpectatorsAction(toList(this.h9t_1)));
|
|
2547
2573
|
return Unit_instance;
|
|
2548
2574
|
} else if (tmp === 1) {
|
|
2549
2575
|
throw this.u8_1;
|
|
@@ -2554,34 +2580,34 @@
|
|
|
2554
2580
|
}
|
|
2555
2581
|
while (true);
|
|
2556
2582
|
};
|
|
2557
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2558
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
2559
|
-
i.
|
|
2560
|
-
i.
|
|
2583
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).p9o = function ($this$dispatchAsync, store, completion) {
|
|
2584
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.h9t_1, completion);
|
|
2585
|
+
i.i9t_1 = $this$dispatchAsync;
|
|
2586
|
+
i.j9t_1 = store;
|
|
2561
2587
|
return i;
|
|
2562
2588
|
};
|
|
2563
2589
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
2564
2590
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
2565
2591
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2566
|
-
return i.
|
|
2592
|
+
return i.o9o($this$dispatchAsync, store, $completion);
|
|
2567
2593
|
};
|
|
2568
2594
|
l.$arity = 2;
|
|
2569
2595
|
return l;
|
|
2570
2596
|
}
|
|
2571
2597
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
2572
|
-
this.
|
|
2573
|
-
this.
|
|
2598
|
+
this.s9t_1 = $playerId;
|
|
2599
|
+
this.t9t_1 = this$0;
|
|
2574
2600
|
CoroutineImpl.call(this, resultContinuation);
|
|
2575
2601
|
}
|
|
2576
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2577
|
-
var tmp = this.
|
|
2602
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).o9o = function ($this$dispatchAsync, store, $completion) {
|
|
2603
|
+
var tmp = this.p9o($this$dispatchAsync, store, $completion);
|
|
2578
2604
|
tmp.t8_1 = Unit_instance;
|
|
2579
2605
|
tmp.u8_1 = null;
|
|
2580
2606
|
return tmp.z8();
|
|
2581
2607
|
};
|
|
2582
2608
|
protoOf(GameServer$roomRefreshPlayerState$slambda).i9 = function (p1, p2, $completion) {
|
|
2583
2609
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2584
|
-
return this.
|
|
2610
|
+
return this.o9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2585
2611
|
};
|
|
2586
2612
|
protoOf(GameServer$roomRefreshPlayerState$slambda).z8 = function () {
|
|
2587
2613
|
var suspendResult = this.t8_1;
|
|
@@ -2590,14 +2616,14 @@
|
|
|
2590
2616
|
var tmp = this.r8_1;
|
|
2591
2617
|
if (tmp === 0) {
|
|
2592
2618
|
this.s8_1 = 1;
|
|
2593
|
-
var table = this.
|
|
2594
|
-
var player = getPlayer(table.players, this.
|
|
2595
|
-
if (player.
|
|
2596
|
-
this.
|
|
2619
|
+
var table = this.v9t_1.state.m6n();
|
|
2620
|
+
var player = getPlayer(table.players, this.s9t_1);
|
|
2621
|
+
if (player.n6q_1.v68().m67_1.isLive) {
|
|
2622
|
+
this.v9t_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.t9t_1).v8p(player, table));
|
|
2597
2623
|
} else {
|
|
2598
|
-
var tmp_0 = this.
|
|
2624
|
+
var tmp_0 = this.v9t_1.dispatch;
|
|
2599
2625
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2600
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2626
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.s9t_1));
|
|
2601
2627
|
}
|
|
2602
2628
|
return Unit_instance;
|
|
2603
2629
|
} else if (tmp === 1) {
|
|
@@ -2609,34 +2635,34 @@
|
|
|
2609
2635
|
}
|
|
2610
2636
|
while (true);
|
|
2611
2637
|
};
|
|
2612
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2613
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
2614
|
-
i.
|
|
2615
|
-
i.
|
|
2638
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).p9o = function ($this$dispatchAsync, store, completion) {
|
|
2639
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.s9t_1, this.t9t_1, completion);
|
|
2640
|
+
i.u9t_1 = $this$dispatchAsync;
|
|
2641
|
+
i.v9t_1 = store;
|
|
2616
2642
|
return i;
|
|
2617
2643
|
};
|
|
2618
2644
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
2619
2645
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
2620
2646
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2621
|
-
return i.
|
|
2647
|
+
return i.o9o($this$dispatchAsync, store, $completion);
|
|
2622
2648
|
};
|
|
2623
2649
|
l.$arity = 2;
|
|
2624
2650
|
return l;
|
|
2625
2651
|
}
|
|
2626
2652
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
2627
|
-
this.
|
|
2628
|
-
this.
|
|
2653
|
+
this.e9u_1 = this$0;
|
|
2654
|
+
this.f9u_1 = $newRid;
|
|
2629
2655
|
CoroutineImpl.call(this, resultContinuation);
|
|
2630
2656
|
}
|
|
2631
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2632
|
-
var tmp = this.
|
|
2657
|
+
protoOf(GameServer$roomOnDelete$slambda).o9o = function ($this$dispatchAsync, store, $completion) {
|
|
2658
|
+
var tmp = this.p9o($this$dispatchAsync, store, $completion);
|
|
2633
2659
|
tmp.t8_1 = Unit_instance;
|
|
2634
2660
|
tmp.u8_1 = null;
|
|
2635
2661
|
return tmp.z8();
|
|
2636
2662
|
};
|
|
2637
2663
|
protoOf(GameServer$roomOnDelete$slambda).i9 = function (p1, p2, $completion) {
|
|
2638
2664
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2639
|
-
return this.
|
|
2665
|
+
return this.o9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2640
2666
|
};
|
|
2641
2667
|
protoOf(GameServer$roomOnDelete$slambda).z8 = function () {
|
|
2642
2668
|
var suspendResult = this.t8_1;
|
|
@@ -2645,27 +2671,27 @@
|
|
|
2645
2671
|
var tmp = this.r8_1;
|
|
2646
2672
|
if (tmp === 0) {
|
|
2647
2673
|
this.s8_1 = 1;
|
|
2648
|
-
var it = this.
|
|
2674
|
+
var it = this.e9u_1.s66().m6m_1;
|
|
2649
2675
|
var tmp_0;
|
|
2650
2676
|
if (it == null) {
|
|
2651
|
-
_get_logger__rkp4sl(this.
|
|
2677
|
+
_get_logger__rkp4sl(this.e9u_1).w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
2652
2678
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
2653
2679
|
} else {
|
|
2654
2680
|
tmp_0 = it;
|
|
2655
2681
|
}
|
|
2656
2682
|
var terminationState = tmp_0;
|
|
2657
|
-
var gameTransition = terminationState.
|
|
2683
|
+
var gameTransition = terminationState.s8t_1;
|
|
2658
2684
|
var tmp_1;
|
|
2659
2685
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
2660
|
-
var tmp0_elvis_lhs = this.
|
|
2686
|
+
var tmp0_elvis_lhs = this.f9u_1;
|
|
2661
2687
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
2662
2688
|
} else {
|
|
2663
2689
|
tmp_1 = gameTransition;
|
|
2664
2690
|
}
|
|
2665
2691
|
var transition = tmp_1;
|
|
2666
|
-
var tmp_2 = this.
|
|
2667
|
-
var tmp0_reason = terminationState.
|
|
2668
|
-
var tmp1_isGameFinished = this.
|
|
2692
|
+
var tmp_2 = this.h9u_1.dispatch;
|
|
2693
|
+
var tmp0_reason = terminationState.r8t_1;
|
|
2694
|
+
var tmp1_isGameFinished = this.e9u_1.s66().m6n().isGameFinished;
|
|
2669
2695
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
2670
2696
|
return Unit_instance;
|
|
2671
2697
|
} else if (tmp === 1) {
|
|
@@ -2677,33 +2703,33 @@
|
|
|
2677
2703
|
}
|
|
2678
2704
|
while (true);
|
|
2679
2705
|
};
|
|
2680
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2681
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
2682
|
-
i.
|
|
2683
|
-
i.
|
|
2706
|
+
protoOf(GameServer$roomOnDelete$slambda).p9o = function ($this$dispatchAsync, store, completion) {
|
|
2707
|
+
var i = new GameServer$roomOnDelete$slambda(this.e9u_1, this.f9u_1, completion);
|
|
2708
|
+
i.g9u_1 = $this$dispatchAsync;
|
|
2709
|
+
i.h9u_1 = store;
|
|
2684
2710
|
return i;
|
|
2685
2711
|
};
|
|
2686
2712
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
2687
2713
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
2688
2714
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2689
|
-
return i.
|
|
2715
|
+
return i.o9o($this$dispatchAsync, store, $completion);
|
|
2690
2716
|
};
|
|
2691
2717
|
l.$arity = 2;
|
|
2692
2718
|
return l;
|
|
2693
2719
|
}
|
|
2694
2720
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
2695
|
-
this.
|
|
2721
|
+
this.q9u_1 = $enabled;
|
|
2696
2722
|
CoroutineImpl.call(this, resultContinuation);
|
|
2697
2723
|
}
|
|
2698
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2699
|
-
var tmp = this.
|
|
2724
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).o9o = function ($this$dispatchAsync, store, $completion) {
|
|
2725
|
+
var tmp = this.p9o($this$dispatchAsync, store, $completion);
|
|
2700
2726
|
tmp.t8_1 = Unit_instance;
|
|
2701
2727
|
tmp.u8_1 = null;
|
|
2702
2728
|
return tmp.z8();
|
|
2703
2729
|
};
|
|
2704
2730
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).i9 = function (p1, p2, $completion) {
|
|
2705
2731
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2706
|
-
return this.
|
|
2732
|
+
return this.o9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2707
2733
|
};
|
|
2708
2734
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).z8 = function () {
|
|
2709
2735
|
var suspendResult = this.t8_1;
|
|
@@ -2712,7 +2738,7 @@
|
|
|
2712
2738
|
var tmp = this.r8_1;
|
|
2713
2739
|
if (tmp === 0) {
|
|
2714
2740
|
this.s8_1 = 1;
|
|
2715
|
-
this.
|
|
2741
|
+
this.s9u_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload_0(this.s9u_1.state).config.copy(VOID, this.q9u_1)));
|
|
2716
2742
|
return Unit_instance;
|
|
2717
2743
|
} else if (tmp === 1) {
|
|
2718
2744
|
throw this.u8_1;
|
|
@@ -2723,35 +2749,35 @@
|
|
|
2723
2749
|
}
|
|
2724
2750
|
while (true);
|
|
2725
2751
|
};
|
|
2726
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2727
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
2728
|
-
i.
|
|
2729
|
-
i.
|
|
2752
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).p9o = function ($this$dispatchAsync, store, completion) {
|
|
2753
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.q9u_1, completion);
|
|
2754
|
+
i.r9u_1 = $this$dispatchAsync;
|
|
2755
|
+
i.s9u_1 = store;
|
|
2730
2756
|
return i;
|
|
2731
2757
|
};
|
|
2732
2758
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
2733
2759
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
2734
2760
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2735
|
-
return i.
|
|
2761
|
+
return i.o9o($this$dispatchAsync, store, $completion);
|
|
2736
2762
|
};
|
|
2737
2763
|
l.$arity = 2;
|
|
2738
2764
|
return l;
|
|
2739
2765
|
}
|
|
2740
2766
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
2741
|
-
this.
|
|
2742
|
-
this.
|
|
2743
|
-
this.
|
|
2767
|
+
this.c9v_1 = $reason;
|
|
2768
|
+
this.d9v_1 = this$0;
|
|
2769
|
+
this.e9v_1 = $roomId;
|
|
2744
2770
|
CoroutineImpl.call(this, resultContinuation);
|
|
2745
2771
|
}
|
|
2746
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2747
|
-
var tmp = this.
|
|
2772
|
+
protoOf(GameServer$shutdown$slambda).o9o = function ($this$dispatchAsync, store, $completion) {
|
|
2773
|
+
var tmp = this.p9o($this$dispatchAsync, store, $completion);
|
|
2748
2774
|
tmp.t8_1 = Unit_instance;
|
|
2749
2775
|
tmp.u8_1 = null;
|
|
2750
2776
|
return tmp.z8();
|
|
2751
2777
|
};
|
|
2752
2778
|
protoOf(GameServer$shutdown$slambda).i9 = function (p1, p2, $completion) {
|
|
2753
2779
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2754
|
-
return this.
|
|
2780
|
+
return this.o9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2755
2781
|
};
|
|
2756
2782
|
protoOf(GameServer$shutdown$slambda).z8 = function () {
|
|
2757
2783
|
var suspendResult = this.t8_1;
|
|
@@ -2760,11 +2786,11 @@
|
|
|
2760
2786
|
var tmp = this.r8_1;
|
|
2761
2787
|
if (tmp === 0) {
|
|
2762
2788
|
this.s8_1 = 1;
|
|
2763
|
-
var state = this.
|
|
2764
|
-
if (state.
|
|
2765
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
2789
|
+
var state = this.g9v_1.store.state;
|
|
2790
|
+
if (state.n6n()) {
|
|
2791
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.c9v_1, get_serverShutdownReasonMapping());
|
|
2766
2792
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
2767
|
-
var tmp_0 = this.
|
|
2793
|
+
var tmp_0 = this.g9v_1.dispatch;
|
|
2768
2794
|
var tmp_1 = Companion_instance;
|
|
2769
2795
|
var tmp_2;
|
|
2770
2796
|
switch (shutdownReason.p2_1) {
|
|
@@ -2778,12 +2804,12 @@
|
|
|
2778
2804
|
noWhenBranchMatchedException();
|
|
2779
2805
|
break;
|
|
2780
2806
|
}
|
|
2781
|
-
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.
|
|
2807
|
+
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.d9v_1.table.isGameFinished, this.d9v_1.table));
|
|
2782
2808
|
} else {
|
|
2783
|
-
_get_logger__rkp4sl(this.
|
|
2784
|
-
var tmp_3 = this.
|
|
2785
|
-
var tmp2_safe_receiver = state.
|
|
2786
|
-
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
2809
|
+
_get_logger__rkp4sl(this.d9v_1).w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.e9v_1);
|
|
2810
|
+
var tmp_3 = this.g9v_1.dispatch;
|
|
2811
|
+
var tmp2_safe_receiver = state.m6m_1;
|
|
2812
|
+
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.s8t_1));
|
|
2787
2813
|
}
|
|
2788
2814
|
return Unit_instance;
|
|
2789
2815
|
} else if (tmp === 1) {
|
|
@@ -2795,16 +2821,16 @@
|
|
|
2795
2821
|
}
|
|
2796
2822
|
while (true);
|
|
2797
2823
|
};
|
|
2798
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2799
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
2800
|
-
i.
|
|
2801
|
-
i.
|
|
2824
|
+
protoOf(GameServer$shutdown$slambda).p9o = function ($this$dispatchAsync, store, completion) {
|
|
2825
|
+
var i = new GameServer$shutdown$slambda(this.c9v_1, this.d9v_1, this.e9v_1, completion);
|
|
2826
|
+
i.f9v_1 = $this$dispatchAsync;
|
|
2827
|
+
i.g9v_1 = store;
|
|
2802
2828
|
return i;
|
|
2803
2829
|
};
|
|
2804
2830
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
2805
2831
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
2806
2832
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2807
|
-
return i.
|
|
2833
|
+
return i.o9o($this$dispatchAsync, store, $completion);
|
|
2808
2834
|
};
|
|
2809
2835
|
l.$arity = 2;
|
|
2810
2836
|
return l;
|
|
@@ -2835,7 +2861,7 @@
|
|
|
2835
2861
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
2836
2862
|
var tmp_3 = Instance(di, tmp$ret$2, null);
|
|
2837
2863
|
var tmp_4 = KProperty1;
|
|
2838
|
-
tmp_1.
|
|
2864
|
+
tmp_1.g9l_1 = tmp_3.u64(this, getPropertyCallableRef('logger', 1, tmp_4, GameServer$_get_logger_$ref_fogce1(), null));
|
|
2839
2865
|
var tmp_5 = this;
|
|
2840
2866
|
// Inline function 'org.kodein.di.instance' call
|
|
2841
2867
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2843,7 +2869,7 @@
|
|
|
2843
2869
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2844
2870
|
var tmp_7 = Instance(di, tmp$ret$4, null);
|
|
2845
2871
|
var tmp_8 = KProperty1;
|
|
2846
|
-
tmp_5.
|
|
2872
|
+
tmp_5.h9l_1 = tmp_7.u64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_8, GameServer$_get_toClientEventsObserver_$ref_utir8s(), null));
|
|
2847
2873
|
var tmp_9 = this;
|
|
2848
2874
|
// Inline function 'org.kodein.di.instance' call
|
|
2849
2875
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2851,7 +2877,7 @@
|
|
|
2851
2877
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
2852
2878
|
var tmp_11 = Instance(di, tmp$ret$6, null);
|
|
2853
2879
|
var tmp_12 = KProperty1;
|
|
2854
|
-
tmp_9.
|
|
2880
|
+
tmp_9.i9l_1 = tmp_11.u64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_12, GameServer$_get_fromClientEventsObserver_$ref_nf1g79(), null));
|
|
2855
2881
|
var tmp_13 = this;
|
|
2856
2882
|
// Inline function 'org.kodein.di.instance' call
|
|
2857
2883
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2859,7 +2885,7 @@
|
|
|
2859
2885
|
var tmp$ret$8 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
2860
2886
|
var tmp_15 = Instance(di, tmp$ret$8, null);
|
|
2861
2887
|
var tmp_16 = KProperty1;
|
|
2862
|
-
tmp_13.
|
|
2888
|
+
tmp_13.j9l_1 = tmp_15.u64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_16, GameServer$_get_playerConnectionInteractor_$ref_of8tan(), null));
|
|
2863
2889
|
var tmp_17 = this;
|
|
2864
2890
|
// Inline function 'org.kodein.di.instance' call
|
|
2865
2891
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2867,9 +2893,9 @@
|
|
|
2867
2893
|
var tmp$ret$10 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
2868
2894
|
var tmp_19 = Instance(di, tmp$ret$10, null);
|
|
2869
2895
|
var tmp_20 = KProperty1;
|
|
2870
|
-
tmp_17.
|
|
2896
|
+
tmp_17.k9l_1 = tmp_19.u64(this, getPropertyCallableRef('teamsLogicProvider', 1, tmp_20, GameServer$_get_teamsLogicProvider_$ref_b7y54g(), null));
|
|
2871
2897
|
var tmp_21 = this;
|
|
2872
|
-
tmp_21.
|
|
2898
|
+
tmp_21.l9l_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
2873
2899
|
var tmp_22 = this;
|
|
2874
2900
|
// Inline function 'org.kodein.di.instance' call
|
|
2875
2901
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2877,7 +2903,7 @@
|
|
|
2877
2903
|
var tmp$ret$12 = isInterface(tmp_23, TypeToken) ? tmp_23 : THROW_CCE();
|
|
2878
2904
|
var tmp_24 = Instance(di, tmp$ret$12, null);
|
|
2879
2905
|
var tmp_25 = KProperty1;
|
|
2880
|
-
tmp_22.
|
|
2906
|
+
tmp_22.m9l_1 = tmp_24.u64(this, getPropertyCallableRef('idsProvider', 1, tmp_25, GameServer$_get_idsProvider_$ref_89s908(), null));
|
|
2881
2907
|
var tmp_26 = this;
|
|
2882
2908
|
// Inline function 'org.kodein.di.instance' call
|
|
2883
2909
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2885,7 +2911,7 @@
|
|
|
2885
2911
|
var tmp$ret$14 = isInterface(tmp_27, TypeToken) ? tmp_27 : THROW_CCE();
|
|
2886
2912
|
var tmp_28 = Instance(di, tmp$ret$14, null);
|
|
2887
2913
|
var tmp_29 = KProperty1;
|
|
2888
|
-
tmp_26.
|
|
2914
|
+
tmp_26.n9l_1 = tmp_28.u64(this, getPropertyCallableRef('serverReduxConfig', 1, tmp_29, GameServer$_get_serverReduxConfig_$ref_7h6jq6(), null));
|
|
2889
2915
|
var tmp_30 = this;
|
|
2890
2916
|
// Inline function 'org.kodein.di.instance' call
|
|
2891
2917
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2893,25 +2919,25 @@
|
|
|
2893
2919
|
var tmp$ret$16 = isInterface(tmp_31, TypeToken) ? tmp_31 : THROW_CCE();
|
|
2894
2920
|
var tmp_32 = Instance(di, tmp$ret$16, null);
|
|
2895
2921
|
var tmp_33 = KProperty1;
|
|
2896
|
-
tmp_30.
|
|
2922
|
+
tmp_30.o9l_1 = tmp_32.u64(this, getPropertyCallableRef('encoderDecoderProvider', 1, tmp_33, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8(), null));
|
|
2897
2923
|
var tmp_34 = this;
|
|
2898
|
-
var tmp0_externalMiddlewares = plus(storeContract.
|
|
2899
|
-
var tmp1_externalReducers = plus(storeContract.
|
|
2900
|
-
tmp_34.
|
|
2924
|
+
var tmp0_externalMiddlewares = plus(storeContract.h8y(), externalMiddlewares);
|
|
2925
|
+
var tmp1_externalReducers = plus(storeContract.g8y(), externalReducers);
|
|
2926
|
+
tmp_34.p9l_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
2901
2927
|
}
|
|
2902
2928
|
protoOf(GameServer).b6m = function () {
|
|
2903
|
-
return this.
|
|
2929
|
+
return this.p9l_1;
|
|
2904
2930
|
};
|
|
2905
2931
|
protoOf(GameServer).w53 = function () {
|
|
2906
|
-
return this.s66().
|
|
2932
|
+
return this.s66().m6n().id;
|
|
2933
|
+
};
|
|
2934
|
+
protoOf(GameServer).m6n = function () {
|
|
2935
|
+
return this.s66().m6n();
|
|
2907
2936
|
};
|
|
2908
2937
|
protoOf(GameServer).n6n = function () {
|
|
2909
2938
|
return this.s66().n6n();
|
|
2910
2939
|
};
|
|
2911
2940
|
protoOf(GameServer).o6n = function () {
|
|
2912
|
-
return this.s66().o6n();
|
|
2913
|
-
};
|
|
2914
|
-
protoOf(GameServer).p6n = function () {
|
|
2915
2941
|
return this.s66().gameLifecycleState;
|
|
2916
2942
|
};
|
|
2917
2943
|
protoOf(GameServer).subscribeToClientAction = function (subscriber) {
|
|
@@ -2932,55 +2958,55 @@
|
|
|
2932
2958
|
};
|
|
2933
2959
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
2934
2960
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
2935
|
-
this.
|
|
2961
|
+
this.p9l_1.k6n(GameServer$fromClientEvent$slambda_0(action, null));
|
|
2936
2962
|
};
|
|
2937
2963
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
2938
2964
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
2939
|
-
this.
|
|
2965
|
+
this.p9l_1.k6n(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
2940
2966
|
};
|
|
2941
2967
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
2942
2968
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLive: ' + playerId);
|
|
2943
|
-
this.
|
|
2969
|
+
this.p9l_1.k6n(GameServer$playerLive$slambda_0(this, playerId, null));
|
|
2944
2970
|
};
|
|
2945
2971
|
protoOf(GameServer).playerLeft = function (playerId) {
|
|
2946
2972
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
2947
|
-
this.
|
|
2973
|
+
this.p9l_1.k6n(GameServer$playerLeft$slambda_0(this, playerId, null));
|
|
2948
2974
|
};
|
|
2949
|
-
protoOf(GameServer).
|
|
2975
|
+
protoOf(GameServer).h9v = function (roomId, gameCreatorId, config, usersArray, transition, metadata, spectators) {
|
|
2950
2976
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
2951
|
-
this.
|
|
2977
|
+
this.p9l_1.k6n(GameServer$roomOnCreate$slambda_0(usersArray, config, this, roomId, transition, gameCreatorId, spectators, metadata, null));
|
|
2952
2978
|
};
|
|
2953
|
-
protoOf(GameServer).
|
|
2979
|
+
protoOf(GameServer).i9v = function (roomId, state, metadata) {
|
|
2954
2980
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
2955
|
-
var isCreated = this.
|
|
2956
|
-
this.
|
|
2981
|
+
var isCreated = this.p9l_1.l6n(GameServer$roomOnContinueFromState$slambda_0(state, metadata, null));
|
|
2982
|
+
this.p9l_1.k6n(GameServer$roomOnContinueFromState$slambda_2(isCreated, state, null));
|
|
2957
2983
|
};
|
|
2958
|
-
protoOf(GameServer).
|
|
2984
|
+
protoOf(GameServer).j9v = function (roomId, tableLite, metadata) {
|
|
2959
2985
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
2960
|
-
this.
|
|
2961
|
-
this.
|
|
2986
|
+
this.p9l_1.k6n(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, metadata, null));
|
|
2987
|
+
this.p9l_1.k6n(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
2962
2988
|
};
|
|
2963
2989
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
2964
|
-
this.
|
|
2990
|
+
this.p9l_1.k6n(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
2965
2991
|
};
|
|
2966
2992
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
2967
|
-
this.
|
|
2993
|
+
this.p9l_1.k6n(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
2968
2994
|
};
|
|
2969
2995
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
2970
2996
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
2971
|
-
this.
|
|
2997
|
+
this.p9l_1.k6n(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
2972
2998
|
};
|
|
2973
|
-
protoOf(GameServer).
|
|
2999
|
+
protoOf(GameServer).k9v = function (newRid) {
|
|
2974
3000
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnDelete: ' + newRid);
|
|
2975
|
-
this.
|
|
3001
|
+
this.p9l_1.k6n(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
2976
3002
|
};
|
|
2977
3003
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
2978
3004
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
2979
|
-
this.
|
|
3005
|
+
this.p9l_1.k6n(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
2980
3006
|
};
|
|
2981
|
-
protoOf(GameServer).
|
|
3007
|
+
protoOf(GameServer).l9v = function (reason, roomId) {
|
|
2982
3008
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
2983
|
-
this.
|
|
3009
|
+
this.p9l_1.k6n(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
2984
3010
|
};
|
|
2985
3011
|
protoOf(GameServer).clear = function () {
|
|
2986
3012
|
return this.h2();
|
|
@@ -3031,10 +3057,10 @@
|
|
|
3031
3057
|
this.fromRound = fromRound;
|
|
3032
3058
|
this.canStartNewGame = canStartNewGame;
|
|
3033
3059
|
}
|
|
3034
|
-
protoOf(ServerConfig).
|
|
3060
|
+
protoOf(ServerConfig).m9v = function () {
|
|
3035
3061
|
return this.fromRound;
|
|
3036
3062
|
};
|
|
3037
|
-
protoOf(ServerConfig).
|
|
3063
|
+
protoOf(ServerConfig).n9v = function () {
|
|
3038
3064
|
return this.canStartNewGame;
|
|
3039
3065
|
};
|
|
3040
3066
|
protoOf(ServerConfig).ne = function () {
|
|
@@ -3043,13 +3069,13 @@
|
|
|
3043
3069
|
protoOf(ServerConfig).oe = function () {
|
|
3044
3070
|
return this.canStartNewGame;
|
|
3045
3071
|
};
|
|
3046
|
-
protoOf(ServerConfig).
|
|
3072
|
+
protoOf(ServerConfig).o9v = function (fromRound, canStartNewGame) {
|
|
3047
3073
|
return new ServerConfig(fromRound, canStartNewGame);
|
|
3048
3074
|
};
|
|
3049
3075
|
protoOf(ServerConfig).copy = function (fromRound, canStartNewGame, $super) {
|
|
3050
3076
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
3051
3077
|
canStartNewGame = canStartNewGame === VOID ? this.canStartNewGame : canStartNewGame;
|
|
3052
|
-
return $super === VOID ? this.
|
|
3078
|
+
return $super === VOID ? this.o9v(fromRound, canStartNewGame) : $super.o9v.call(this, fromRound, canStartNewGame);
|
|
3053
3079
|
};
|
|
3054
3080
|
protoOf(ServerConfig).toString = function () {
|
|
3055
3081
|
return 'ServerConfig(fromRound=' + this.fromRound + ', canStartNewGame=' + this.canStartNewGame + ')';
|
|
@@ -3111,20 +3137,20 @@
|
|
|
3111
3137
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 2);
|
|
3112
3138
|
tmp0_serialDesc.gz('roomId', false);
|
|
3113
3139
|
tmp0_serialDesc.gz('table', false);
|
|
3114
|
-
this.
|
|
3140
|
+
this.p9v_1 = tmp0_serialDesc;
|
|
3115
3141
|
}
|
|
3116
|
-
protoOf($serializer).
|
|
3117
|
-
var tmp0_desc = this.
|
|
3142
|
+
protoOf($serializer).q9v = function (encoder, value) {
|
|
3143
|
+
var tmp0_desc = this.p9v_1;
|
|
3118
3144
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3119
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3145
|
+
tmp1_output.dt(tmp0_desc, 0, value.r9v_1);
|
|
3120
3146
|
tmp1_output.dt(tmp0_desc, 1, value.table);
|
|
3121
3147
|
tmp1_output.pr(tmp0_desc);
|
|
3122
3148
|
};
|
|
3123
3149
|
protoOf($serializer).co = function (encoder, value) {
|
|
3124
|
-
return this.
|
|
3150
|
+
return this.q9v(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3125
3151
|
};
|
|
3126
3152
|
protoOf($serializer).do = function (decoder) {
|
|
3127
|
-
var tmp0_desc = this.
|
|
3153
|
+
var tmp0_desc = this.p9v_1;
|
|
3128
3154
|
var tmp1_flag = true;
|
|
3129
3155
|
var tmp2_index = 0;
|
|
3130
3156
|
var tmp3_bitMask0 = 0;
|
|
@@ -3159,7 +3185,7 @@
|
|
|
3159
3185
|
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3160
3186
|
};
|
|
3161
3187
|
protoOf($serializer).bo = function () {
|
|
3162
|
-
return this.
|
|
3188
|
+
return this.p9v_1;
|
|
3163
3189
|
};
|
|
3164
3190
|
protoOf($serializer).vz = function () {
|
|
3165
3191
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3175,9 +3201,9 @@
|
|
|
3175
3201
|
}
|
|
3176
3202
|
function TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, $this) {
|
|
3177
3203
|
if (!(3 === (3 & seen0))) {
|
|
3178
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance().
|
|
3204
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance().p9v_1);
|
|
3179
3205
|
}
|
|
3180
|
-
$this.
|
|
3206
|
+
$this.r9v_1 = roomId;
|
|
3181
3207
|
$this.table = table;
|
|
3182
3208
|
return $this;
|
|
3183
3209
|
}
|
|
@@ -3185,17 +3211,17 @@
|
|
|
3185
3211
|
return TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, objectCreate(protoOf(TableStateUpdateDto)));
|
|
3186
3212
|
}
|
|
3187
3213
|
function TableStateUpdateDto(roomId, table) {
|
|
3188
|
-
this.
|
|
3214
|
+
this.r9v_1 = roomId;
|
|
3189
3215
|
this.table = table;
|
|
3190
3216
|
}
|
|
3191
|
-
protoOf(TableStateUpdateDto).
|
|
3192
|
-
return this.
|
|
3217
|
+
protoOf(TableStateUpdateDto).w8w = function () {
|
|
3218
|
+
return this.r9v_1;
|
|
3193
3219
|
};
|
|
3194
|
-
protoOf(TableStateUpdateDto).
|
|
3220
|
+
protoOf(TableStateUpdateDto).m6n = function () {
|
|
3195
3221
|
return this.table;
|
|
3196
3222
|
};
|
|
3197
3223
|
protoOf(TableStateUpdateDto).ne = function () {
|
|
3198
|
-
return this.
|
|
3224
|
+
return this.r9v_1;
|
|
3199
3225
|
};
|
|
3200
3226
|
protoOf(TableStateUpdateDto).oe = function () {
|
|
3201
3227
|
return this.table;
|
|
@@ -3204,15 +3230,15 @@
|
|
|
3204
3230
|
return new TableStateUpdateDto(roomId, table);
|
|
3205
3231
|
};
|
|
3206
3232
|
protoOf(TableStateUpdateDto).copy = function (roomId, table, $super) {
|
|
3207
|
-
roomId = roomId === VOID ? this.
|
|
3233
|
+
roomId = roomId === VOID ? this.r9v_1 : roomId;
|
|
3208
3234
|
table = table === VOID ? this.table : table;
|
|
3209
3235
|
return $super === VOID ? this.c54(roomId, table) : $super.c54.call(this, roomId, table);
|
|
3210
3236
|
};
|
|
3211
3237
|
protoOf(TableStateUpdateDto).toString = function () {
|
|
3212
|
-
return 'TableStateUpdateDto(roomId=' + this.
|
|
3238
|
+
return 'TableStateUpdateDto(roomId=' + this.r9v_1 + ', table=' + this.table + ')';
|
|
3213
3239
|
};
|
|
3214
3240
|
protoOf(TableStateUpdateDto).hashCode = function () {
|
|
3215
|
-
var result = getStringHashCode(this.
|
|
3241
|
+
var result = getStringHashCode(this.r9v_1);
|
|
3216
3242
|
result = imul(result, 31) + getStringHashCode(this.table) | 0;
|
|
3217
3243
|
return result;
|
|
3218
3244
|
};
|
|
@@ -3221,7 +3247,7 @@
|
|
|
3221
3247
|
return true;
|
|
3222
3248
|
if (!(other instanceof TableStateUpdateDto))
|
|
3223
3249
|
return false;
|
|
3224
|
-
if (!(this.
|
|
3250
|
+
if (!(this.r9v_1 === other.r9v_1))
|
|
3225
3251
|
return false;
|
|
3226
3252
|
if (!(this.table === other.table))
|
|
3227
3253
|
return false;
|
|
@@ -3241,20 +3267,20 @@
|
|
|
3241
3267
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 2);
|
|
3242
3268
|
tmp0_serialDesc.gz('roomId', false);
|
|
3243
3269
|
tmp0_serialDesc.gz('actions', false);
|
|
3244
|
-
this.
|
|
3270
|
+
this.s9v_1 = tmp0_serialDesc;
|
|
3245
3271
|
}
|
|
3246
|
-
protoOf($serializer_0).
|
|
3247
|
-
var tmp0_desc = this.
|
|
3272
|
+
protoOf($serializer_0).t9v = function (encoder, value) {
|
|
3273
|
+
var tmp0_desc = this.s9v_1;
|
|
3248
3274
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3249
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3275
|
+
tmp1_output.dt(tmp0_desc, 0, value.u9v_1);
|
|
3250
3276
|
tmp1_output.dt(tmp0_desc, 1, value.actions);
|
|
3251
3277
|
tmp1_output.pr(tmp0_desc);
|
|
3252
3278
|
};
|
|
3253
3279
|
protoOf($serializer_0).co = function (encoder, value) {
|
|
3254
|
-
return this.
|
|
3280
|
+
return this.t9v(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
|
|
3255
3281
|
};
|
|
3256
3282
|
protoOf($serializer_0).do = function (decoder) {
|
|
3257
|
-
var tmp0_desc = this.
|
|
3283
|
+
var tmp0_desc = this.s9v_1;
|
|
3258
3284
|
var tmp1_flag = true;
|
|
3259
3285
|
var tmp2_index = 0;
|
|
3260
3286
|
var tmp3_bitMask0 = 0;
|
|
@@ -3289,7 +3315,7 @@
|
|
|
3289
3315
|
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3290
3316
|
};
|
|
3291
3317
|
protoOf($serializer_0).bo = function () {
|
|
3292
|
-
return this.
|
|
3318
|
+
return this.s9v_1;
|
|
3293
3319
|
};
|
|
3294
3320
|
protoOf($serializer_0).vz = function () {
|
|
3295
3321
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3305,9 +3331,9 @@
|
|
|
3305
3331
|
}
|
|
3306
3332
|
function ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, $this) {
|
|
3307
3333
|
if (!(3 === (3 & seen0))) {
|
|
3308
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().
|
|
3334
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().s9v_1);
|
|
3309
3335
|
}
|
|
3310
|
-
$this.
|
|
3336
|
+
$this.u9v_1 = roomId;
|
|
3311
3337
|
$this.actions = actions;
|
|
3312
3338
|
return $this;
|
|
3313
3339
|
}
|
|
@@ -3315,17 +3341,17 @@
|
|
|
3315
3341
|
return ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, objectCreate(protoOf(ActionsStateUpdateDto)));
|
|
3316
3342
|
}
|
|
3317
3343
|
function ActionsStateUpdateDto(roomId, actions) {
|
|
3318
|
-
this.
|
|
3344
|
+
this.u9v_1 = roomId;
|
|
3319
3345
|
this.actions = actions;
|
|
3320
3346
|
}
|
|
3321
|
-
protoOf(ActionsStateUpdateDto).
|
|
3322
|
-
return this.
|
|
3347
|
+
protoOf(ActionsStateUpdateDto).w8w = function () {
|
|
3348
|
+
return this.u9v_1;
|
|
3323
3349
|
};
|
|
3324
|
-
protoOf(ActionsStateUpdateDto).
|
|
3350
|
+
protoOf(ActionsStateUpdateDto).r8b = function () {
|
|
3325
3351
|
return this.actions;
|
|
3326
3352
|
};
|
|
3327
3353
|
protoOf(ActionsStateUpdateDto).ne = function () {
|
|
3328
|
-
return this.
|
|
3354
|
+
return this.u9v_1;
|
|
3329
3355
|
};
|
|
3330
3356
|
protoOf(ActionsStateUpdateDto).oe = function () {
|
|
3331
3357
|
return this.actions;
|
|
@@ -3334,15 +3360,15 @@
|
|
|
3334
3360
|
return new ActionsStateUpdateDto(roomId, actions);
|
|
3335
3361
|
};
|
|
3336
3362
|
protoOf(ActionsStateUpdateDto).copy = function (roomId, actions, $super) {
|
|
3337
|
-
roomId = roomId === VOID ? this.
|
|
3363
|
+
roomId = roomId === VOID ? this.u9v_1 : roomId;
|
|
3338
3364
|
actions = actions === VOID ? this.actions : actions;
|
|
3339
3365
|
return $super === VOID ? this.c54(roomId, actions) : $super.c54.call(this, roomId, actions);
|
|
3340
3366
|
};
|
|
3341
3367
|
protoOf(ActionsStateUpdateDto).toString = function () {
|
|
3342
|
-
return 'ActionsStateUpdateDto(roomId=' + this.
|
|
3368
|
+
return 'ActionsStateUpdateDto(roomId=' + this.u9v_1 + ', actions=' + this.actions + ')';
|
|
3343
3369
|
};
|
|
3344
3370
|
protoOf(ActionsStateUpdateDto).hashCode = function () {
|
|
3345
|
-
var result = getStringHashCode(this.
|
|
3371
|
+
var result = getStringHashCode(this.u9v_1);
|
|
3346
3372
|
result = imul(result, 31) + getStringHashCode(this.actions) | 0;
|
|
3347
3373
|
return result;
|
|
3348
3374
|
};
|
|
@@ -3351,7 +3377,7 @@
|
|
|
3351
3377
|
return true;
|
|
3352
3378
|
if (!(other instanceof ActionsStateUpdateDto))
|
|
3353
3379
|
return false;
|
|
3354
|
-
if (!(this.
|
|
3380
|
+
if (!(this.u9v_1 === other.u9v_1))
|
|
3355
3381
|
return false;
|
|
3356
3382
|
if (!(this.actions === other.actions))
|
|
3357
3383
|
return false;
|
|
@@ -3381,42 +3407,42 @@
|
|
|
3381
3407
|
var tmp$ret$0 = mapToDto(item);
|
|
3382
3408
|
destination.j(tmp$ret$0);
|
|
3383
3409
|
}
|
|
3384
|
-
return new ActionsStateUpdateDto(_this__u8e3s4.
|
|
3410
|
+
return new ActionsStateUpdateDto(_this__u8e3s4.v9v_1, encoderDecoderProvider.k8i(destination));
|
|
3385
3411
|
}
|
|
3386
3412
|
function mapToDto_3(_this__u8e3s4, encoderDecoderProvider) {
|
|
3387
|
-
return new TableStateUpdateDto(_this__u8e3s4.
|
|
3413
|
+
return new TableStateUpdateDto(_this__u8e3s4.w9v_1, encoderDecoderProvider.i8i(mapToDto_0(_this__u8e3s4.table)));
|
|
3388
3414
|
}
|
|
3389
3415
|
function ServerStateUpdate() {
|
|
3390
3416
|
}
|
|
3391
3417
|
function TableStateUpdate(roomId, table) {
|
|
3392
|
-
this.
|
|
3418
|
+
this.w9v_1 = roomId;
|
|
3393
3419
|
this.table = table;
|
|
3394
3420
|
}
|
|
3395
|
-
protoOf(TableStateUpdate).
|
|
3396
|
-
return this.
|
|
3421
|
+
protoOf(TableStateUpdate).w8w = function () {
|
|
3422
|
+
return this.w9v_1;
|
|
3397
3423
|
};
|
|
3398
|
-
protoOf(TableStateUpdate).
|
|
3424
|
+
protoOf(TableStateUpdate).m6n = function () {
|
|
3399
3425
|
return this.table;
|
|
3400
3426
|
};
|
|
3401
3427
|
protoOf(TableStateUpdate).ne = function () {
|
|
3402
|
-
return this.
|
|
3428
|
+
return this.w9v_1;
|
|
3403
3429
|
};
|
|
3404
3430
|
protoOf(TableStateUpdate).oe = function () {
|
|
3405
3431
|
return this.table;
|
|
3406
3432
|
};
|
|
3407
|
-
protoOf(TableStateUpdate).
|
|
3433
|
+
protoOf(TableStateUpdate).x9v = function (roomId, table) {
|
|
3408
3434
|
return new TableStateUpdate(roomId, table);
|
|
3409
3435
|
};
|
|
3410
3436
|
protoOf(TableStateUpdate).copy = function (roomId, table, $super) {
|
|
3411
|
-
roomId = roomId === VOID ? this.
|
|
3437
|
+
roomId = roomId === VOID ? this.w9v_1 : roomId;
|
|
3412
3438
|
table = table === VOID ? this.table : table;
|
|
3413
|
-
return $super === VOID ? this.
|
|
3439
|
+
return $super === VOID ? this.x9v(roomId, table) : $super.x9v.call(this, roomId, table);
|
|
3414
3440
|
};
|
|
3415
3441
|
protoOf(TableStateUpdate).toString = function () {
|
|
3416
|
-
return 'TableStateUpdate(roomId=' + this.
|
|
3442
|
+
return 'TableStateUpdate(roomId=' + this.w9v_1 + ', table=' + this.table.toString() + ')';
|
|
3417
3443
|
};
|
|
3418
3444
|
protoOf(TableStateUpdate).hashCode = function () {
|
|
3419
|
-
var result = getStringHashCode(this.
|
|
3445
|
+
var result = getStringHashCode(this.w9v_1);
|
|
3420
3446
|
result = imul(result, 31) + this.table.hashCode() | 0;
|
|
3421
3447
|
return result;
|
|
3422
3448
|
};
|
|
@@ -3425,41 +3451,41 @@
|
|
|
3425
3451
|
return true;
|
|
3426
3452
|
if (!(other instanceof TableStateUpdate))
|
|
3427
3453
|
return false;
|
|
3428
|
-
if (!(this.
|
|
3454
|
+
if (!(this.w9v_1 === other.w9v_1))
|
|
3429
3455
|
return false;
|
|
3430
3456
|
if (!this.table.equals(other.table))
|
|
3431
3457
|
return false;
|
|
3432
3458
|
return true;
|
|
3433
3459
|
};
|
|
3434
3460
|
function ActionsStateUpdate(roomId, actions) {
|
|
3435
|
-
this.
|
|
3461
|
+
this.v9v_1 = roomId;
|
|
3436
3462
|
this.actions = actions;
|
|
3437
3463
|
}
|
|
3438
|
-
protoOf(ActionsStateUpdate).
|
|
3439
|
-
return this.
|
|
3464
|
+
protoOf(ActionsStateUpdate).w8w = function () {
|
|
3465
|
+
return this.v9v_1;
|
|
3440
3466
|
};
|
|
3441
|
-
protoOf(ActionsStateUpdate).
|
|
3467
|
+
protoOf(ActionsStateUpdate).r8b = function () {
|
|
3442
3468
|
return this.actions;
|
|
3443
3469
|
};
|
|
3444
3470
|
protoOf(ActionsStateUpdate).ne = function () {
|
|
3445
|
-
return this.
|
|
3471
|
+
return this.v9v_1;
|
|
3446
3472
|
};
|
|
3447
3473
|
protoOf(ActionsStateUpdate).oe = function () {
|
|
3448
3474
|
return this.actions;
|
|
3449
3475
|
};
|
|
3450
|
-
protoOf(ActionsStateUpdate).
|
|
3476
|
+
protoOf(ActionsStateUpdate).y9v = function (roomId, actions) {
|
|
3451
3477
|
return new ActionsStateUpdate(roomId, actions);
|
|
3452
3478
|
};
|
|
3453
3479
|
protoOf(ActionsStateUpdate).copy = function (roomId, actions, $super) {
|
|
3454
|
-
roomId = roomId === VOID ? this.
|
|
3480
|
+
roomId = roomId === VOID ? this.v9v_1 : roomId;
|
|
3455
3481
|
actions = actions === VOID ? this.actions : actions;
|
|
3456
|
-
return $super === VOID ? this.
|
|
3482
|
+
return $super === VOID ? this.y9v(roomId, actions) : $super.y9v.call(this, roomId, actions);
|
|
3457
3483
|
};
|
|
3458
3484
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
3459
|
-
return 'ActionsStateUpdate(roomId=' + this.
|
|
3485
|
+
return 'ActionsStateUpdate(roomId=' + this.v9v_1 + ', actions=' + toString(this.actions) + ')';
|
|
3460
3486
|
};
|
|
3461
3487
|
protoOf(ActionsStateUpdate).hashCode = function () {
|
|
3462
|
-
var result = getStringHashCode(this.
|
|
3488
|
+
var result = getStringHashCode(this.v9v_1);
|
|
3463
3489
|
result = imul(result, 31) + hashCode(this.actions) | 0;
|
|
3464
3490
|
return result;
|
|
3465
3491
|
};
|
|
@@ -3468,7 +3494,7 @@
|
|
|
3468
3494
|
return true;
|
|
3469
3495
|
if (!(other instanceof ActionsStateUpdate))
|
|
3470
3496
|
return false;
|
|
3471
|
-
if (!(this.
|
|
3497
|
+
if (!(this.v9v_1 === other.v9v_1))
|
|
3472
3498
|
return false;
|
|
3473
3499
|
if (!equals(this.actions, other.actions))
|
|
3474
3500
|
return false;
|
|
@@ -3702,18 +3728,18 @@
|
|
|
3702
3728
|
function ToClientEventsObserver() {
|
|
3703
3729
|
}
|
|
3704
3730
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
3705
|
-
this.
|
|
3706
|
-
this.
|
|
3731
|
+
this.i9w_1 = this$0;
|
|
3732
|
+
this.j9w_1 = $actions;
|
|
3707
3733
|
CoroutineImpl.call(this, resultContinuation);
|
|
3708
3734
|
}
|
|
3709
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3710
|
-
var tmp = this.
|
|
3735
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).m9w = function ($this$flow, $completion) {
|
|
3736
|
+
var tmp = this.n9w($this$flow, $completion);
|
|
3711
3737
|
tmp.t8_1 = Unit_instance;
|
|
3712
3738
|
tmp.u8_1 = null;
|
|
3713
3739
|
return tmp.z8();
|
|
3714
3740
|
};
|
|
3715
3741
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).h9 = function (p1, $completion) {
|
|
3716
|
-
return this.
|
|
3742
|
+
return this.m9w((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
3717
3743
|
};
|
|
3718
3744
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).z8 = function () {
|
|
3719
3745
|
var suspendResult = this.t8_1;
|
|
@@ -3723,19 +3749,19 @@
|
|
|
3723
3749
|
switch (tmp) {
|
|
3724
3750
|
case 0:
|
|
3725
3751
|
this.s8_1 = 4;
|
|
3726
|
-
this.
|
|
3727
|
-
this.
|
|
3752
|
+
this.i9w_1.s9w_1;
|
|
3753
|
+
this.l9w_1 = transformToEmits(this.i9w_1, this.j9w_1).l();
|
|
3728
3754
|
this.r8_1 = 1;
|
|
3729
3755
|
continue $sm;
|
|
3730
3756
|
case 1:
|
|
3731
|
-
if (!this.
|
|
3757
|
+
if (!this.l9w_1.m()) {
|
|
3732
3758
|
this.r8_1 = 3;
|
|
3733
3759
|
continue $sm;
|
|
3734
3760
|
}
|
|
3735
3761
|
|
|
3736
|
-
var element = this.
|
|
3762
|
+
var element = this.l9w_1.n();
|
|
3737
3763
|
this.r8_1 = 2;
|
|
3738
|
-
suspendResult = this.
|
|
3764
|
+
suspendResult = this.k9w_1.l28(element, this);
|
|
3739
3765
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3740
3766
|
return suspendResult;
|
|
3741
3767
|
}
|
|
@@ -3745,11 +3771,11 @@
|
|
|
3745
3771
|
this.r8_1 = 1;
|
|
3746
3772
|
continue $sm;
|
|
3747
3773
|
case 3:
|
|
3748
|
-
var tmp0 = this.
|
|
3774
|
+
var tmp0 = this.i9w_1.r9w_1;
|
|
3749
3775
|
l$ret$1: do {
|
|
3750
3776
|
while (true) {
|
|
3751
3777
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
3752
|
-
var upd = cur - this.
|
|
3778
|
+
var upd = cur - this.j9w_1.o() | 0;
|
|
3753
3779
|
if (tmp0.atomicfu$compareAndSet(cur, upd)) {
|
|
3754
3780
|
break l$ret$1;
|
|
3755
3781
|
}
|
|
@@ -3771,15 +3797,15 @@
|
|
|
3771
3797
|
}
|
|
3772
3798
|
while (true);
|
|
3773
3799
|
};
|
|
3774
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3775
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
3776
|
-
i.
|
|
3800
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).n9w = function ($this$flow, completion) {
|
|
3801
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.i9w_1, this.j9w_1, completion);
|
|
3802
|
+
i.k9w_1 = $this$flow;
|
|
3777
3803
|
return i;
|
|
3778
3804
|
};
|
|
3779
3805
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
3780
3806
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
3781
3807
|
var l = function ($this$flow, $completion) {
|
|
3782
|
-
return i.
|
|
3808
|
+
return i.m9w($this$flow, $completion);
|
|
3783
3809
|
};
|
|
3784
3810
|
l.$arity = 1;
|
|
3785
3811
|
return l;
|
|
@@ -3849,29 +3875,29 @@
|
|
|
3849
3875
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
3850
3876
|
}
|
|
3851
3877
|
function mapFromGroupKey($this, _this__u8e3s4) {
|
|
3852
|
-
var tmp = $this.
|
|
3878
|
+
var tmp = $this.q9w_1.z6d();
|
|
3853
3879
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3854
|
-
var this_0 = _this__u8e3s4.
|
|
3880
|
+
var this_0 = _this__u8e3s4.v9w_1;
|
|
3855
3881
|
var tmp_0 = copyToArray(this_0);
|
|
3856
3882
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3857
|
-
var this_1 = _this__u8e3s4.
|
|
3883
|
+
var this_1 = _this__u8e3s4.w9w_1;
|
|
3858
3884
|
var tmp$ret$1 = copyToArray(this_1);
|
|
3859
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
3885
|
+
return new ActionDeliveryPayload(_this__u8e3s4.u9w_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.x9w_1);
|
|
3860
3886
|
}
|
|
3861
3887
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
3862
|
-
this.
|
|
3863
|
-
this.
|
|
3864
|
-
this.
|
|
3865
|
-
this.
|
|
3888
|
+
this.u9w_1 = tableId;
|
|
3889
|
+
this.v9w_1 = includePlayers;
|
|
3890
|
+
this.w9w_1 = excludePlayers;
|
|
3891
|
+
this.x9w_1 = deliveryType;
|
|
3866
3892
|
}
|
|
3867
3893
|
protoOf(GroupKey).toString = function () {
|
|
3868
|
-
return 'GroupKey(tableId=' + this.
|
|
3894
|
+
return 'GroupKey(tableId=' + this.u9w_1 + ', includePlayers=' + toString(this.v9w_1) + ', excludePlayers=' + toString(this.w9w_1) + ', deliveryType=' + this.x9w_1.toString() + ')';
|
|
3869
3895
|
};
|
|
3870
3896
|
protoOf(GroupKey).hashCode = function () {
|
|
3871
|
-
var result = getStringHashCode(this.
|
|
3872
|
-
result = imul(result, 31) + hashCode(this.
|
|
3873
|
-
result = imul(result, 31) + hashCode(this.
|
|
3874
|
-
result = imul(result, 31) + this.
|
|
3897
|
+
var result = getStringHashCode(this.u9w_1);
|
|
3898
|
+
result = imul(result, 31) + hashCode(this.v9w_1) | 0;
|
|
3899
|
+
result = imul(result, 31) + hashCode(this.w9w_1) | 0;
|
|
3900
|
+
result = imul(result, 31) + this.x9w_1.hashCode() | 0;
|
|
3875
3901
|
return result;
|
|
3876
3902
|
};
|
|
3877
3903
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -3879,35 +3905,35 @@
|
|
|
3879
3905
|
return true;
|
|
3880
3906
|
if (!(other instanceof GroupKey))
|
|
3881
3907
|
return false;
|
|
3882
|
-
if (!(this.
|
|
3908
|
+
if (!(this.u9w_1 === other.u9w_1))
|
|
3883
3909
|
return false;
|
|
3884
|
-
if (!equals(this.
|
|
3910
|
+
if (!equals(this.v9w_1, other.v9w_1))
|
|
3885
3911
|
return false;
|
|
3886
|
-
if (!equals(this.
|
|
3912
|
+
if (!equals(this.w9w_1, other.w9w_1))
|
|
3887
3913
|
return false;
|
|
3888
|
-
if (!this.
|
|
3914
|
+
if (!this.x9w_1.equals(other.x9w_1))
|
|
3889
3915
|
return false;
|
|
3890
3916
|
return true;
|
|
3891
3917
|
};
|
|
3892
3918
|
function Companion_4() {
|
|
3893
|
-
this.
|
|
3919
|
+
this.y9w_1 = 6;
|
|
3894
3920
|
}
|
|
3895
3921
|
var Companion_instance_12;
|
|
3896
3922
|
function Companion_getInstance_5() {
|
|
3897
3923
|
return Companion_instance_12;
|
|
3898
3924
|
}
|
|
3899
3925
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
3900
|
-
this.
|
|
3926
|
+
this.h9x_1 = this$0;
|
|
3901
3927
|
CoroutineImpl.call(this, resultContinuation);
|
|
3902
3928
|
}
|
|
3903
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3904
|
-
var tmp = this.
|
|
3929
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).j9x = function (actions, $completion) {
|
|
3930
|
+
var tmp = this.k9x(actions, $completion);
|
|
3905
3931
|
tmp.t8_1 = Unit_instance;
|
|
3906
3932
|
tmp.u8_1 = null;
|
|
3907
3933
|
return tmp.z8();
|
|
3908
3934
|
};
|
|
3909
3935
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).h9 = function (p1, $completion) {
|
|
3910
|
-
return this.
|
|
3936
|
+
return this.j9x((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
3911
3937
|
};
|
|
3912
3938
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).z8 = function () {
|
|
3913
3939
|
var suspendResult = this.t8_1;
|
|
@@ -3916,7 +3942,7 @@
|
|
|
3916
3942
|
var tmp = this.r8_1;
|
|
3917
3943
|
if (tmp === 0) {
|
|
3918
3944
|
this.s8_1 = 1;
|
|
3919
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
3945
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.h9x_1, this.i9x_1, null));
|
|
3920
3946
|
} else if (tmp === 1) {
|
|
3921
3947
|
throw this.u8_1;
|
|
3922
3948
|
}
|
|
@@ -3926,23 +3952,23 @@
|
|
|
3926
3952
|
}
|
|
3927
3953
|
while (true);
|
|
3928
3954
|
};
|
|
3929
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3930
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
3931
|
-
i.
|
|
3955
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).k9x = function (actions, completion) {
|
|
3956
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.h9x_1, completion);
|
|
3957
|
+
i.i9x_1 = actions;
|
|
3932
3958
|
return i;
|
|
3933
3959
|
};
|
|
3934
3960
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
3935
3961
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
3936
3962
|
var l = function (actions, $completion) {
|
|
3937
|
-
return i.
|
|
3963
|
+
return i.j9x(actions, $completion);
|
|
3938
3964
|
};
|
|
3939
3965
|
l.$arity = 1;
|
|
3940
3966
|
return l;
|
|
3941
3967
|
}
|
|
3942
3968
|
function $sentEventCOROUTINE$(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
3943
3969
|
CoroutineImpl.call(this, resultContinuation);
|
|
3944
|
-
this.
|
|
3945
|
-
this.
|
|
3970
|
+
this.t9x_1 = _this__u8e3s4;
|
|
3971
|
+
this.u9x_1 = fromEvent;
|
|
3946
3972
|
}
|
|
3947
3973
|
protoOf($sentEventCOROUTINE$).z8 = function () {
|
|
3948
3974
|
var suspendResult = this.t8_1;
|
|
@@ -3952,8 +3978,8 @@
|
|
|
3952
3978
|
switch (tmp) {
|
|
3953
3979
|
case 0:
|
|
3954
3980
|
this.s8_1 = 2;
|
|
3955
|
-
this.
|
|
3956
|
-
var tmp0 = this.
|
|
3981
|
+
this.t9x_1.s9w_1;
|
|
3982
|
+
var tmp0 = this.t9x_1.r9w_1;
|
|
3957
3983
|
l$ret$1: do {
|
|
3958
3984
|
while (true) {
|
|
3959
3985
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
@@ -3965,7 +3991,7 @@
|
|
|
3965
3991
|
}
|
|
3966
3992
|
while (false);
|
|
3967
3993
|
this.r8_1 = 1;
|
|
3968
|
-
suspendResult = this.
|
|
3994
|
+
suspendResult = this.t9x_1.t9w_1.l28(this.u9x_1, this);
|
|
3969
3995
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3970
3996
|
return suspendResult;
|
|
3971
3997
|
}
|
|
@@ -3989,7 +4015,7 @@
|
|
|
3989
4015
|
};
|
|
3990
4016
|
function $waitForCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
3991
4017
|
CoroutineImpl.call(this, resultContinuation);
|
|
3992
|
-
this.
|
|
4018
|
+
this.d9y_1 = _this__u8e3s4;
|
|
3993
4019
|
}
|
|
3994
4020
|
protoOf($waitForCOROUTINE$).z8 = function () {
|
|
3995
4021
|
var suspendResult = this.t8_1;
|
|
@@ -3999,12 +4025,12 @@
|
|
|
3999
4025
|
switch (tmp) {
|
|
4000
4026
|
case 0:
|
|
4001
4027
|
this.s8_1 = 5;
|
|
4002
|
-
this.
|
|
4003
|
-
this.
|
|
4028
|
+
this.d9y_1.s9w_1;
|
|
4029
|
+
this.e9y_1 = 0;
|
|
4004
4030
|
this.r8_1 = 1;
|
|
4005
4031
|
continue $sm;
|
|
4006
4032
|
case 1:
|
|
4007
|
-
if (!!(this.
|
|
4033
|
+
if (!!(this.d9y_1.r9w_1.kotlinx$atomicfu$value === 0)) {
|
|
4008
4034
|
this.r8_1 = 4;
|
|
4009
4035
|
continue $sm;
|
|
4010
4036
|
}
|
|
@@ -4017,9 +4043,9 @@
|
|
|
4017
4043
|
|
|
4018
4044
|
continue $sm;
|
|
4019
4045
|
case 2:
|
|
4020
|
-
this.
|
|
4021
|
-
if (this.
|
|
4022
|
-
this.
|
|
4046
|
+
this.e9y_1 = this.e9y_1 + 1 | 0;
|
|
4047
|
+
if (this.e9y_1 > 6) {
|
|
4048
|
+
this.d9y_1.p9w_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.d9y_1.r9w_1.kotlinx$atomicfu$value);
|
|
4023
4049
|
this.r8_1 = 4;
|
|
4024
4050
|
continue $sm;
|
|
4025
4051
|
} else {
|
|
@@ -4047,183 +4073,183 @@
|
|
|
4047
4073
|
while (true);
|
|
4048
4074
|
};
|
|
4049
4075
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
4050
|
-
this.
|
|
4051
|
-
this.
|
|
4052
|
-
this.
|
|
4053
|
-
this.
|
|
4076
|
+
this.o9w_1 = serverReduxConfig;
|
|
4077
|
+
this.p9w_1 = logger;
|
|
4078
|
+
this.q9w_1 = idsProvider;
|
|
4079
|
+
this.r9w_1 = atomic$ref$1(0);
|
|
4054
4080
|
var tmp = this;
|
|
4055
4081
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
4056
|
-
tmp.
|
|
4057
|
-
this.
|
|
4082
|
+
tmp.s9w_1 = get_atomicfu$reentrantLock();
|
|
4083
|
+
this.t9w_1 = MutableSharedFlow();
|
|
4058
4084
|
}
|
|
4059
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4085
|
+
protoOf(ToClientEventsObserverImpl).z9v = function (fromEvent, $completion) {
|
|
4060
4086
|
var tmp = new $sentEventCOROUTINE$(this, fromEvent, $completion);
|
|
4061
4087
|
tmp.t8_1 = Unit_instance;
|
|
4062
4088
|
tmp.u8_1 = null;
|
|
4063
4089
|
return tmp.z8();
|
|
4064
4090
|
};
|
|
4065
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4091
|
+
protoOf(ToClientEventsObserverImpl).s96 = function ($completion) {
|
|
4066
4092
|
var tmp = new $waitForCOROUTINE$(this, $completion);
|
|
4067
4093
|
tmp.t8_1 = Unit_instance;
|
|
4068
4094
|
tmp.u8_1 = null;
|
|
4069
4095
|
return tmp.z8();
|
|
4070
4096
|
};
|
|
4071
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4072
|
-
if (!this.
|
|
4073
|
-
return this.
|
|
4097
|
+
protoOf(ToClientEventsObserverImpl).i9m = function () {
|
|
4098
|
+
if (!this.o9w_1.enabledCombinedEvents) {
|
|
4099
|
+
return this.t9w_1;
|
|
4074
4100
|
}
|
|
4075
|
-
var tmp = windowedByInterval(this.
|
|
4101
|
+
var tmp = windowedByInterval(this.t9w_1, fromInt(this.o9w_1.combinedEventsIntervalMillis));
|
|
4076
4102
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
4077
4103
|
};
|
|
4078
4104
|
function UpdateServerConfigAction(serverConfig) {
|
|
4079
|
-
this.
|
|
4105
|
+
this.f9y_1 = serverConfig;
|
|
4080
4106
|
}
|
|
4081
4107
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
4082
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
4108
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.f9y_1.toString() + ')';
|
|
4083
4109
|
};
|
|
4084
4110
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
4085
|
-
return this.
|
|
4111
|
+
return this.f9y_1.hashCode();
|
|
4086
4112
|
};
|
|
4087
4113
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
4088
4114
|
if (this === other)
|
|
4089
4115
|
return true;
|
|
4090
4116
|
if (!(other instanceof UpdateServerConfigAction))
|
|
4091
4117
|
return false;
|
|
4092
|
-
if (!this.
|
|
4118
|
+
if (!this.f9y_1.equals(other.f9y_1))
|
|
4093
4119
|
return false;
|
|
4094
4120
|
return true;
|
|
4095
4121
|
};
|
|
4096
4122
|
function SpectatorsAction() {
|
|
4097
4123
|
}
|
|
4098
4124
|
function AddSpectatorsAction(spectators) {
|
|
4099
|
-
this.
|
|
4125
|
+
this.g9y_1 = spectators;
|
|
4100
4126
|
}
|
|
4101
4127
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
4102
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
4128
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.g9y_1) + ')';
|
|
4103
4129
|
};
|
|
4104
4130
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
4105
|
-
return hashCode(this.
|
|
4131
|
+
return hashCode(this.g9y_1);
|
|
4106
4132
|
};
|
|
4107
4133
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
4108
4134
|
if (this === other)
|
|
4109
4135
|
return true;
|
|
4110
4136
|
if (!(other instanceof AddSpectatorsAction))
|
|
4111
4137
|
return false;
|
|
4112
|
-
if (!equals(this.
|
|
4138
|
+
if (!equals(this.g9y_1, other.g9y_1))
|
|
4113
4139
|
return false;
|
|
4114
4140
|
return true;
|
|
4115
4141
|
};
|
|
4116
4142
|
function RemoveSpectatorsAction(spectators) {
|
|
4117
|
-
this.
|
|
4143
|
+
this.h9y_1 = spectators;
|
|
4118
4144
|
}
|
|
4119
4145
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
4120
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
4146
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.h9y_1) + ')';
|
|
4121
4147
|
};
|
|
4122
4148
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
4123
|
-
return hashCode(this.
|
|
4149
|
+
return hashCode(this.h9y_1);
|
|
4124
4150
|
};
|
|
4125
4151
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
4126
4152
|
if (this === other)
|
|
4127
4153
|
return true;
|
|
4128
4154
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
4129
4155
|
return false;
|
|
4130
|
-
if (!equals(this.
|
|
4156
|
+
if (!equals(this.h9y_1, other.h9y_1))
|
|
4131
4157
|
return false;
|
|
4132
4158
|
return true;
|
|
4133
4159
|
};
|
|
4134
4160
|
function _get_asyncProvider__jbpyhw($this) {
|
|
4135
|
-
var tmp0 = $this.
|
|
4161
|
+
var tmp0 = $this.n9y_1;
|
|
4136
4162
|
var tmp = KProperty1;
|
|
4137
4163
|
// Inline function 'kotlin.getValue' call
|
|
4138
4164
|
getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
|
|
4139
4165
|
return tmp0.w();
|
|
4140
4166
|
}
|
|
4141
4167
|
function _get_logger__rkp4sl_0($this) {
|
|
4142
|
-
var tmp0 = $this.
|
|
4168
|
+
var tmp0 = $this.o9y_1;
|
|
4143
4169
|
var tmp = KProperty1;
|
|
4144
4170
|
// Inline function 'kotlin.getValue' call
|
|
4145
4171
|
getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
|
|
4146
4172
|
return tmp0.w();
|
|
4147
4173
|
}
|
|
4148
4174
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
4149
|
-
var tmp0 = $this.
|
|
4175
|
+
var tmp0 = $this.p9y_1;
|
|
4150
4176
|
var tmp = KProperty1;
|
|
4151
4177
|
// Inline function 'kotlin.getValue' call
|
|
4152
4178
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
|
|
4153
4179
|
return tmp0.w();
|
|
4154
4180
|
}
|
|
4155
4181
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
4156
|
-
var tmp0 = $this.
|
|
4182
|
+
var tmp0 = $this.q9y_1;
|
|
4157
4183
|
var tmp = KProperty1;
|
|
4158
4184
|
// Inline function 'kotlin.getValue' call
|
|
4159
4185
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
|
|
4160
4186
|
return tmp0.w();
|
|
4161
4187
|
}
|
|
4162
4188
|
function _get_serverConfig__rk2g06($this) {
|
|
4163
|
-
var tmp0 = $this.
|
|
4189
|
+
var tmp0 = $this.r9y_1;
|
|
4164
4190
|
var tmp = KProperty1;
|
|
4165
4191
|
// Inline function 'kotlin.getValue' call
|
|
4166
4192
|
getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
|
|
4167
4193
|
return tmp0.w();
|
|
4168
4194
|
}
|
|
4169
4195
|
function _get_logicConfig__52ww9d($this) {
|
|
4170
|
-
var tmp0 = $this.
|
|
4196
|
+
var tmp0 = $this.s9y_1;
|
|
4171
4197
|
var tmp = KProperty1;
|
|
4172
4198
|
// Inline function 'kotlin.getValue' call
|
|
4173
4199
|
getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
|
|
4174
4200
|
return tmp0.w();
|
|
4175
4201
|
}
|
|
4176
4202
|
function _get_idsProvider__fnfajc_0($this) {
|
|
4177
|
-
var tmp0 = $this.
|
|
4203
|
+
var tmp0 = $this.t9y_1;
|
|
4178
4204
|
var tmp = KProperty1;
|
|
4179
4205
|
// Inline function 'kotlin.getValue' call
|
|
4180
4206
|
getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
|
|
4181
4207
|
return tmp0.w();
|
|
4182
4208
|
}
|
|
4183
4209
|
function _get_botConfig__cpaxzc($this) {
|
|
4184
|
-
var tmp0 = $this.
|
|
4210
|
+
var tmp0 = $this.u9y_1;
|
|
4185
4211
|
var tmp = KProperty1;
|
|
4186
4212
|
// Inline function 'kotlin.getValue' call
|
|
4187
4213
|
getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
|
|
4188
4214
|
return tmp0.w();
|
|
4189
4215
|
}
|
|
4190
4216
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
4191
|
-
var tmp0 = $this.
|
|
4217
|
+
var tmp0 = $this.v9y_1;
|
|
4192
4218
|
var tmp = KProperty1;
|
|
4193
4219
|
// Inline function 'kotlin.getValue' call
|
|
4194
4220
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
|
|
4195
4221
|
return tmp0.w();
|
|
4196
4222
|
}
|
|
4197
4223
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
4198
|
-
var tmp0 = $this.
|
|
4224
|
+
var tmp0 = $this.w9y_1;
|
|
4199
4225
|
var tmp = KProperty1;
|
|
4200
4226
|
// Inline function 'kotlin.getValue' call
|
|
4201
4227
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
|
|
4202
4228
|
return tmp0.w();
|
|
4203
4229
|
}
|
|
4204
4230
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
4205
|
-
var tmp0 = $this.
|
|
4231
|
+
var tmp0 = $this.x9y_1;
|
|
4206
4232
|
var tmp = KProperty1;
|
|
4207
4233
|
// Inline function 'kotlin.getValue' call
|
|
4208
4234
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
|
|
4209
4235
|
return tmp0.w();
|
|
4210
4236
|
}
|
|
4211
4237
|
function _get_dealerConfig__183ci8($this) {
|
|
4212
|
-
var tmp0 = $this.
|
|
4238
|
+
var tmp0 = $this.y9y_1;
|
|
4213
4239
|
var tmp = KProperty1;
|
|
4214
4240
|
// Inline function 'kotlin.getValue' call
|
|
4215
4241
|
getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
|
|
4216
4242
|
return tmp0.w();
|
|
4217
4243
|
}
|
|
4218
4244
|
function _get_poolProvider__tqti6a($this) {
|
|
4219
|
-
var tmp0 = $this.
|
|
4245
|
+
var tmp0 = $this.z9y_1;
|
|
4220
4246
|
var tmp = KProperty1;
|
|
4221
4247
|
// Inline function 'kotlin.getValue' call
|
|
4222
4248
|
getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
|
|
4223
4249
|
return tmp0.w();
|
|
4224
4250
|
}
|
|
4225
4251
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
4226
|
-
var tmp0 = $this.
|
|
4252
|
+
var tmp0 = $this.a9z_1;
|
|
4227
4253
|
var tmp = KProperty1;
|
|
4228
4254
|
// Inline function 'kotlin.getValue' call
|
|
4229
4255
|
getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
|
|
@@ -4387,11 +4413,11 @@
|
|
|
4387
4413
|
tmp = fileLoggerStoreContract;
|
|
4388
4414
|
}
|
|
4389
4415
|
fileLoggerStoreContract = tmp;
|
|
4390
|
-
this.
|
|
4391
|
-
this.
|
|
4392
|
-
this.
|
|
4393
|
-
this.
|
|
4394
|
-
this.
|
|
4416
|
+
this.i9y_1 = validationStoreContract;
|
|
4417
|
+
this.j9y_1 = timersStoreContract;
|
|
4418
|
+
this.k9y_1 = botGameStoreContract;
|
|
4419
|
+
this.l9y_1 = gameMechanicStoreContract;
|
|
4420
|
+
this.m9y_1 = fileLoggerStoreContract;
|
|
4395
4421
|
var tmp_0 = this;
|
|
4396
4422
|
// Inline function 'org.kodein.di.instance' call
|
|
4397
4423
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4399,7 +4425,7 @@
|
|
|
4399
4425
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
4400
4426
|
var tmp_2 = Instance(di, tmp$ret$0, null);
|
|
4401
4427
|
var tmp_3 = KProperty1;
|
|
4402
|
-
tmp_0.
|
|
4428
|
+
tmp_0.n9y_1 = tmp_2.u64(this, getPropertyCallableRef('asyncProvider', 1, tmp_3, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
|
|
4403
4429
|
var tmp_4 = this;
|
|
4404
4430
|
// Inline function 'org.kodein.di.instance' call
|
|
4405
4431
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4407,7 +4433,7 @@
|
|
|
4407
4433
|
var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
4408
4434
|
var tmp_6 = Instance(di, tmp$ret$2, null);
|
|
4409
4435
|
var tmp_7 = KProperty1;
|
|
4410
|
-
tmp_4.
|
|
4436
|
+
tmp_4.o9y_1 = tmp_6.u64(this, getPropertyCallableRef('logger', 1, tmp_7, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
|
|
4411
4437
|
var tmp_8 = this;
|
|
4412
4438
|
// Inline function 'org.kodein.di.instance' call
|
|
4413
4439
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4415,7 +4441,7 @@
|
|
|
4415
4441
|
var tmp$ret$4 = isInterface(tmp_9, TypeToken) ? tmp_9 : THROW_CCE();
|
|
4416
4442
|
var tmp_10 = Instance(di, tmp$ret$4, null);
|
|
4417
4443
|
var tmp_11 = KProperty1;
|
|
4418
|
-
tmp_8.
|
|
4444
|
+
tmp_8.p9y_1 = tmp_10.u64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_11, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
|
|
4419
4445
|
var tmp_12 = this;
|
|
4420
4446
|
// Inline function 'org.kodein.di.instance' call
|
|
4421
4447
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4423,7 +4449,7 @@
|
|
|
4423
4449
|
var tmp$ret$6 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
4424
4450
|
var tmp_14 = Instance(di, tmp$ret$6, null);
|
|
4425
4451
|
var tmp_15 = KProperty1;
|
|
4426
|
-
tmp_12.
|
|
4452
|
+
tmp_12.q9y_1 = tmp_14.u64(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_15, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
|
|
4427
4453
|
var tmp_16 = this;
|
|
4428
4454
|
// Inline function 'org.kodein.di.instance' call
|
|
4429
4455
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4431,7 +4457,7 @@
|
|
|
4431
4457
|
var tmp$ret$8 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
4432
4458
|
var tmp_18 = Instance(di, tmp$ret$8, null);
|
|
4433
4459
|
var tmp_19 = KProperty1;
|
|
4434
|
-
tmp_16.
|
|
4460
|
+
tmp_16.r9y_1 = tmp_18.u64(this, getPropertyCallableRef('serverConfig', 1, tmp_19, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
|
|
4435
4461
|
var tmp_20 = this;
|
|
4436
4462
|
// Inline function 'org.kodein.di.instance' call
|
|
4437
4463
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4439,7 +4465,7 @@
|
|
|
4439
4465
|
var tmp$ret$10 = isInterface(tmp_21, TypeToken) ? tmp_21 : THROW_CCE();
|
|
4440
4466
|
var tmp_22 = Instance(di, tmp$ret$10, null);
|
|
4441
4467
|
var tmp_23 = KProperty1;
|
|
4442
|
-
tmp_20.
|
|
4468
|
+
tmp_20.s9y_1 = tmp_22.u64(this, getPropertyCallableRef('logicConfig', 1, tmp_23, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
|
|
4443
4469
|
var tmp_24 = this;
|
|
4444
4470
|
// Inline function 'org.kodein.di.instance' call
|
|
4445
4471
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4447,7 +4473,7 @@
|
|
|
4447
4473
|
var tmp$ret$12 = isInterface(tmp_25, TypeToken) ? tmp_25 : THROW_CCE();
|
|
4448
4474
|
var tmp_26 = Instance(di, tmp$ret$12, null);
|
|
4449
4475
|
var tmp_27 = KProperty1;
|
|
4450
|
-
tmp_24.
|
|
4476
|
+
tmp_24.t9y_1 = tmp_26.u64(this, getPropertyCallableRef('idsProvider', 1, tmp_27, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
|
|
4451
4477
|
var tmp_28 = this;
|
|
4452
4478
|
// Inline function 'org.kodein.di.instance' call
|
|
4453
4479
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4455,7 +4481,7 @@
|
|
|
4455
4481
|
var tmp$ret$14 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
|
|
4456
4482
|
var tmp_30 = Instance(di, tmp$ret$14, null);
|
|
4457
4483
|
var tmp_31 = KProperty1;
|
|
4458
|
-
tmp_28.
|
|
4484
|
+
tmp_28.u9y_1 = tmp_30.u64(this, getPropertyCallableRef('botConfig', 1, tmp_31, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
|
|
4459
4485
|
var tmp_32 = this;
|
|
4460
4486
|
// Inline function 'org.kodein.di.instance' call
|
|
4461
4487
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4463,7 +4489,7 @@
|
|
|
4463
4489
|
var tmp$ret$16 = isInterface(tmp_33, TypeToken) ? tmp_33 : THROW_CCE();
|
|
4464
4490
|
var tmp_34 = Instance(di, tmp$ret$16, null);
|
|
4465
4491
|
var tmp_35 = KProperty1;
|
|
4466
|
-
tmp_32.
|
|
4492
|
+
tmp_32.v9y_1 = tmp_34.u64(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_35, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
|
|
4467
4493
|
var tmp_36 = this;
|
|
4468
4494
|
// Inline function 'org.kodein.di.instance' call
|
|
4469
4495
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4471,7 +4497,7 @@
|
|
|
4471
4497
|
var tmp$ret$18 = isInterface(tmp_37, TypeToken) ? tmp_37 : THROW_CCE();
|
|
4472
4498
|
var tmp_38 = Instance(di, tmp$ret$18, null);
|
|
4473
4499
|
var tmp_39 = KProperty1;
|
|
4474
|
-
tmp_36.
|
|
4500
|
+
tmp_36.w9y_1 = tmp_38.u64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_39, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
|
|
4475
4501
|
var tmp_40 = this;
|
|
4476
4502
|
// Inline function 'org.kodein.di.instance' call
|
|
4477
4503
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4479,7 +4505,7 @@
|
|
|
4479
4505
|
var tmp$ret$20 = isInterface(tmp_41, TypeToken) ? tmp_41 : THROW_CCE();
|
|
4480
4506
|
var tmp_42 = Instance(di, tmp$ret$20, null);
|
|
4481
4507
|
var tmp_43 = KProperty1;
|
|
4482
|
-
tmp_40.
|
|
4508
|
+
tmp_40.x9y_1 = tmp_42.u64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_43, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
|
|
4483
4509
|
var tmp_44 = this;
|
|
4484
4510
|
// Inline function 'org.kodein.di.instance' call
|
|
4485
4511
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4487,7 +4513,7 @@
|
|
|
4487
4513
|
var tmp$ret$22 = isInterface(tmp_45, TypeToken) ? tmp_45 : THROW_CCE();
|
|
4488
4514
|
var tmp_46 = Instance(di, tmp$ret$22, null);
|
|
4489
4515
|
var tmp_47 = KProperty1;
|
|
4490
|
-
tmp_44.
|
|
4516
|
+
tmp_44.y9y_1 = tmp_46.u64(this, getPropertyCallableRef('dealerConfig', 1, tmp_47, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
|
|
4491
4517
|
var tmp_48 = this;
|
|
4492
4518
|
// Inline function 'org.kodein.di.instance' call
|
|
4493
4519
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4495,7 +4521,7 @@
|
|
|
4495
4521
|
var tmp$ret$24 = isInterface(tmp_49, TypeToken) ? tmp_49 : THROW_CCE();
|
|
4496
4522
|
var tmp_50 = Instance(di, tmp$ret$24, null);
|
|
4497
4523
|
var tmp_51 = KProperty1;
|
|
4498
|
-
tmp_48.
|
|
4524
|
+
tmp_48.z9y_1 = tmp_50.u64(this, getPropertyCallableRef('poolProvider', 1, tmp_51, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
|
|
4499
4525
|
var tmp_52 = this;
|
|
4500
4526
|
// Inline function 'org.kodein.di.instance' call
|
|
4501
4527
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4503,13 +4529,13 @@
|
|
|
4503
4529
|
var tmp$ret$26 = isInterface(tmp_53, TypeToken) ? tmp_53 : THROW_CCE();
|
|
4504
4530
|
var tmp_54 = Instance(di, tmp$ret$26, null);
|
|
4505
4531
|
var tmp_55 = KProperty1;
|
|
4506
|
-
tmp_52.
|
|
4532
|
+
tmp_52.a9z_1 = tmp_54.u64(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_55, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
|
|
4507
4533
|
}
|
|
4508
|
-
protoOf(ServerGameStoreContract).f8y = function () {
|
|
4509
|
-
return plus(plus(plus(plus(plus(this.b9y_1.f8y(), this.e9y_1.f8y()), this.c9y_1.f8y()), this.d9y_1.f8y()), this.f9y_1.f8y()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl_0(this))]));
|
|
4510
|
-
};
|
|
4511
4534
|
protoOf(ServerGameStoreContract).g8y = function () {
|
|
4512
|
-
|
|
4535
|
+
return plus(plus(plus(plus(plus(this.i9y_1.g8y(), this.l9y_1.g8y()), this.j9y_1.g8y()), this.k9y_1.g8y()), this.m9y_1.g8y()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl_0(this))]));
|
|
4536
|
+
};
|
|
4537
|
+
protoOf(ServerGameStoreContract).h8y = function () {
|
|
4538
|
+
var tmp = plus(plus(plus(plus(plus(plus(plus(this.i9y_1.h8y(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameWhenNotLiveStrategy.equals(FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance()) ? checkBotsMiddleware(_get_logger__rkp4sl_0(this)) : null)), this.l9y_1.h8y()), this.j9y_1.h8y()), this.k9y_1.h8y()), this.m9y_1.h8y()), 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))).n90(), finishingGameWhenCantStartNewMiddleware()]));
|
|
4513
4539
|
var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this), _get_logger__rkp4sl_0(this));
|
|
4514
4540
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
4515
4541
|
var tmp1_logger = _get_logger__rkp4sl_0(this);
|
|
@@ -4549,7 +4575,7 @@
|
|
|
4549
4575
|
store.dispatch(Companion_instance.fromTableWithAnalytics(new GameFinishedReason(Reason_DEPLOY_getInstance()), true, state.l6m_1));
|
|
4550
4576
|
break $l$block_0;
|
|
4551
4577
|
}
|
|
4552
|
-
if (state.
|
|
4578
|
+
if (state.m6n().config.mode.equals(RoomMode_REVENGE_getInstance())) {
|
|
4553
4579
|
store.dispatch(Companion_instance.fromTableWithAnalytics(new GameFinishedReason(Reason_REVENGED_getInstance()), true, state.l6m_1));
|
|
4554
4580
|
break $l$block_0;
|
|
4555
4581
|
}
|
|
@@ -4560,7 +4586,7 @@
|
|
|
4560
4586
|
return this.m6h(store, next, action);
|
|
4561
4587
|
};
|
|
4562
4588
|
function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
|
|
4563
|
-
this.
|
|
4589
|
+
this.d9z_1 = this$0;
|
|
4564
4590
|
}
|
|
4565
4591
|
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).x6f = function (action) {
|
|
4566
4592
|
return action instanceof MechanicAction;
|
|
@@ -4571,11 +4597,11 @@
|
|
|
4571
4597
|
// Inline function 'kotlin.with' call
|
|
4572
4598
|
var tmp;
|
|
4573
4599
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
4574
|
-
var tmp0 = this.
|
|
4575
|
-
var tmp2 = action_0.
|
|
4576
|
-
var tmp4 = action_0.
|
|
4600
|
+
var tmp0 = this.d9z_1;
|
|
4601
|
+
var tmp2 = action_0.p8u_1;
|
|
4602
|
+
var tmp4 = action_0.r8u_1;
|
|
4577
4603
|
// Inline function 'kotlin.collections.map' call
|
|
4578
|
-
var this_0 = action_0.
|
|
4604
|
+
var this_0 = action_0.s8u_1;
|
|
4579
4605
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4580
4606
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
4581
4607
|
var _iterator__ex2g4s = this_0.l();
|
|
@@ -4611,7 +4637,7 @@
|
|
|
4611
4637
|
var _iterator__ex2g4s_2 = destination_1.l();
|
|
4612
4638
|
while (_iterator__ex2g4s_2.m()) {
|
|
4613
4639
|
var element_0 = _iterator__ex2g4s_2.n();
|
|
4614
|
-
var tmp0_aid = tmp0.
|
|
4640
|
+
var tmp0_aid = tmp0.c9z_1.z6d();
|
|
4615
4641
|
// Inline function 'kotlin.collections.map' call
|
|
4616
4642
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4617
4643
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -4633,15 +4659,15 @@
|
|
|
4633
4659
|
tmp = destination_2;
|
|
4634
4660
|
} else {
|
|
4635
4661
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
4636
|
-
var tmp0_0 = this.
|
|
4662
|
+
var tmp0_0 = this.d9z_1;
|
|
4637
4663
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4638
|
-
var table = state.
|
|
4639
|
-
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.
|
|
4664
|
+
var table = state.m6n();
|
|
4665
|
+
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.c9z_1.z6d(), table.id, null);
|
|
4640
4666
|
var tmp$ret$21 = mapToClient_16(action_0, sendToPlayer_0);
|
|
4641
4667
|
tmp = listOfNotNull(tmp$ret$21);
|
|
4642
4668
|
} else {
|
|
4643
4669
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
4644
|
-
var tmp0_1 = this.
|
|
4670
|
+
var tmp0_1 = this.d9z_1;
|
|
4645
4671
|
var tmp2_0 = action_0.w8u_1.id;
|
|
4646
4672
|
var tmp4_0 = action_0.gameCreatorPlayerId;
|
|
4647
4673
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -4681,7 +4707,7 @@
|
|
|
4681
4707
|
var _iterator__ex2g4s_7 = destination_6.l();
|
|
4682
4708
|
while (_iterator__ex2g4s_7.m()) {
|
|
4683
4709
|
var element_2 = _iterator__ex2g4s_7.n();
|
|
4684
|
-
var tmp0_aid_0 = tmp0_1.
|
|
4710
|
+
var tmp0_aid_0 = tmp0_1.c9z_1.z6d();
|
|
4685
4711
|
// Inline function 'kotlin.collections.map' call
|
|
4686
4712
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4687
4713
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -4703,41 +4729,41 @@
|
|
|
4703
4729
|
tmp = destination_7;
|
|
4704
4730
|
} else {
|
|
4705
4731
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
4706
|
-
var tmp0_2 = this.
|
|
4732
|
+
var tmp0_2 = this.d9z_1;
|
|
4707
4733
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4708
|
-
var table_0 = state.
|
|
4709
|
-
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.
|
|
4734
|
+
var table_0 = state.m6n();
|
|
4735
|
+
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.c9z_1.z6d(), table_0.id, null);
|
|
4710
4736
|
var tmp$ret$44 = mapToClient_14(action_0, sendToPlayer_2);
|
|
4711
4737
|
tmp = listOfNotNull(tmp$ret$44);
|
|
4712
4738
|
} else {
|
|
4713
4739
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
4714
|
-
var tmp0_3 = this.
|
|
4740
|
+
var tmp0_3 = this.d9z_1;
|
|
4715
4741
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4716
|
-
var table_1 = state.
|
|
4717
|
-
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.
|
|
4742
|
+
var table_1 = state.m6n();
|
|
4743
|
+
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.c9z_1.z6d(), table_1.id, null);
|
|
4718
4744
|
var tmp$ret$46 = mapToClient_13(action_0, sendToPlayer_3);
|
|
4719
4745
|
tmp = listOfNotNull(tmp$ret$46);
|
|
4720
4746
|
} else {
|
|
4721
4747
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
4722
|
-
var tmp0_4 = this.
|
|
4748
|
+
var tmp0_4 = this.d9z_1;
|
|
4723
4749
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4724
|
-
var table_2 = state.
|
|
4725
|
-
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.
|
|
4750
|
+
var table_2 = state.m6n();
|
|
4751
|
+
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.c9z_1.z6d(), table_2.id, null);
|
|
4726
4752
|
var tmp$ret$48 = mapToClient_12(action_0, sendToPlayer_4);
|
|
4727
4753
|
tmp = listOfNotNull(tmp$ret$48);
|
|
4728
4754
|
} else {
|
|
4729
4755
|
if (action_0 instanceof ErrorAction) {
|
|
4730
|
-
var tmp0_5 = this.
|
|
4756
|
+
var tmp0_5 = this.d9z_1;
|
|
4731
4757
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4732
|
-
var table_3 = state.
|
|
4733
|
-
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.
|
|
4758
|
+
var table_3 = state.m6n();
|
|
4759
|
+
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.c9z_1.z6d(), table_3.id, null);
|
|
4734
4760
|
var tmp$ret$50 = mapToClient_11(action_0, sendToPlayer_5);
|
|
4735
4761
|
tmp = listOfNotNull(tmp$ret$50);
|
|
4736
4762
|
} else {
|
|
4737
4763
|
if (action_0 instanceof SceneMechanicAction) {
|
|
4738
|
-
var tmp0_6 = this.
|
|
4764
|
+
var tmp0_6 = this.d9z_1;
|
|
4739
4765
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4740
|
-
var table_4 = state.
|
|
4766
|
+
var table_4 = state.m6n();
|
|
4741
4767
|
var tmp2_1 = table_4.id;
|
|
4742
4768
|
var tmp4_1 = getGameCreator(table_4.players).playerId;
|
|
4743
4769
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -4768,7 +4794,7 @@
|
|
|
4768
4794
|
var _iterator__ex2g4s_11 = destination_10.l();
|
|
4769
4795
|
while (_iterator__ex2g4s_11.m()) {
|
|
4770
4796
|
var element_4 = _iterator__ex2g4s_11.n();
|
|
4771
|
-
var tmp0_aid_1 = tmp0_6.
|
|
4797
|
+
var tmp0_aid_1 = tmp0_6.c9z_1.z6d();
|
|
4772
4798
|
// Inline function 'kotlin.collections.map' call
|
|
4773
4799
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4774
4800
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -4790,9 +4816,9 @@
|
|
|
4790
4816
|
tmp = destination_11;
|
|
4791
4817
|
} else {
|
|
4792
4818
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
4793
|
-
var tmp0_7 = this.
|
|
4819
|
+
var tmp0_7 = this.d9z_1;
|
|
4794
4820
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4795
|
-
var table_5 = state.
|
|
4821
|
+
var table_5 = state.m6n();
|
|
4796
4822
|
var tmp2_2 = table_5.id;
|
|
4797
4823
|
var tmp4_2 = getGameCreator(table_5.players).playerId;
|
|
4798
4824
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -4823,7 +4849,7 @@
|
|
|
4823
4849
|
var _iterator__ex2g4s_15 = destination_14.l();
|
|
4824
4850
|
while (_iterator__ex2g4s_15.m()) {
|
|
4825
4851
|
var element_6 = _iterator__ex2g4s_15.n();
|
|
4826
|
-
var tmp0_aid_2 = tmp0_7.
|
|
4852
|
+
var tmp0_aid_2 = tmp0_7.c9z_1.z6d();
|
|
4827
4853
|
// Inline function 'kotlin.collections.map' call
|
|
4828
4854
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4829
4855
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -4845,9 +4871,9 @@
|
|
|
4845
4871
|
tmp = destination_15;
|
|
4846
4872
|
} else {
|
|
4847
4873
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
4848
|
-
var tmp0_8 = this.
|
|
4874
|
+
var tmp0_8 = this.d9z_1;
|
|
4849
4875
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4850
|
-
var table_6 = state.
|
|
4876
|
+
var table_6 = state.m6n();
|
|
4851
4877
|
var tmp2_3 = table_6.id;
|
|
4852
4878
|
var tmp4_3 = getGameCreator(table_6.players).playerId;
|
|
4853
4879
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -4878,7 +4904,7 @@
|
|
|
4878
4904
|
var _iterator__ex2g4s_19 = destination_18.l();
|
|
4879
4905
|
while (_iterator__ex2g4s_19.m()) {
|
|
4880
4906
|
var element_8 = _iterator__ex2g4s_19.n();
|
|
4881
|
-
var tmp0_aid_3 = tmp0_8.
|
|
4907
|
+
var tmp0_aid_3 = tmp0_8.c9z_1.z6d();
|
|
4882
4908
|
// Inline function 'kotlin.collections.map' call
|
|
4883
4909
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4884
4910
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -4890,7 +4916,7 @@
|
|
|
4890
4916
|
}
|
|
4891
4917
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_3, tmp4_3, element_8, destination_20);
|
|
4892
4918
|
var tmp_0;
|
|
4893
|
-
if (this.
|
|
4919
|
+
if (this.d9z_1.b9z_1.supportBackwardActions && getPlayer(state.m6n().players, sendToPlayer_8.a7b_1).p6q_1.e6u_1) {
|
|
4894
4920
|
tmp_0 = null;
|
|
4895
4921
|
} else {
|
|
4896
4922
|
tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
|
|
@@ -4906,72 +4932,72 @@
|
|
|
4906
4932
|
tmp = destination_19;
|
|
4907
4933
|
} else {
|
|
4908
4934
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
4909
|
-
var tmp0_9 = this.
|
|
4910
|
-
var tmp2_4 = state.
|
|
4935
|
+
var tmp0_9 = this.d9z_1;
|
|
4936
|
+
var tmp2_4 = state.m6n();
|
|
4911
4937
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4912
|
-
var exceptPlayerId = this.
|
|
4913
|
-
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.
|
|
4938
|
+
var exceptPlayerId = this.d9z_1.b9z_1.supportBackwardActions ? action_0.s8v_1 : null;
|
|
4939
|
+
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.c9z_1.z6d(), tmp2_4.id, exceptPlayerId);
|
|
4914
4940
|
var tmp$ret$109 = mapToClient_7(action_0, sendToPlayer_9);
|
|
4915
4941
|
tmp = listOfNotNull(tmp$ret$109);
|
|
4916
4942
|
} else {
|
|
4917
4943
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
4918
|
-
var tmp0_10 = this.
|
|
4919
|
-
var tmp2_5 = state.
|
|
4944
|
+
var tmp0_10 = this.d9z_1;
|
|
4945
|
+
var tmp2_5 = state.m6n();
|
|
4920
4946
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4921
|
-
var exceptPlayerId_0 = this.
|
|
4922
|
-
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.
|
|
4947
|
+
var exceptPlayerId_0 = this.d9z_1.b9z_1.supportBackwardActions ? action_0.s8q_1 : null;
|
|
4948
|
+
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.c9z_1.z6d(), tmp2_5.id, exceptPlayerId_0);
|
|
4923
4949
|
var tmp$ret$111 = mapToClient_6(action_0, sendToPlayer_10);
|
|
4924
4950
|
tmp = listOfNotNull(tmp$ret$111);
|
|
4925
4951
|
} else {
|
|
4926
4952
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
4927
|
-
var tmp0_11 = this.
|
|
4953
|
+
var tmp0_11 = this.d9z_1;
|
|
4928
4954
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4929
|
-
var table_7 = state.
|
|
4930
|
-
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.
|
|
4955
|
+
var table_7 = state.m6n();
|
|
4956
|
+
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.c9z_1.z6d(), table_7.id, null);
|
|
4931
4957
|
var tmp$ret$113 = mapToClient_5(action_0, sendToPlayer_11);
|
|
4932
4958
|
tmp = listOfNotNull(tmp$ret$113);
|
|
4933
4959
|
} else {
|
|
4934
4960
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
4935
|
-
var tmp0_12 = this.
|
|
4936
|
-
var tmp2_6 = state.
|
|
4961
|
+
var tmp0_12 = this.d9z_1;
|
|
4962
|
+
var tmp2_6 = state.m6n();
|
|
4937
4963
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4938
|
-
var exceptPlayerId_1 = this.
|
|
4939
|
-
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.
|
|
4964
|
+
var exceptPlayerId_1 = this.d9z_1.b9z_1.supportBackwardActions ? action_0.y8v_1 : null;
|
|
4965
|
+
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.c9z_1.z6d(), tmp2_6.id, exceptPlayerId_1);
|
|
4940
4966
|
var tmp$ret$115 = mapToClient_4(action_0, sendToPlayer_12);
|
|
4941
4967
|
tmp = listOfNotNull(tmp$ret$115);
|
|
4942
4968
|
} else {
|
|
4943
4969
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
4944
|
-
var tmp0_13 = this.
|
|
4945
|
-
var tmp2_7 = state.
|
|
4970
|
+
var tmp0_13 = this.d9z_1;
|
|
4971
|
+
var tmp2_7 = state.m6n();
|
|
4946
4972
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4947
|
-
var exceptPlayerId_2 = this.
|
|
4948
|
-
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.
|
|
4973
|
+
var exceptPlayerId_2 = this.d9z_1.b9z_1.supportBackwardActions ? action_0.x8q_1 : null;
|
|
4974
|
+
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.c9z_1.z6d(), tmp2_7.id, exceptPlayerId_2);
|
|
4949
4975
|
var tmp$ret$117 = mapToClient_3(action_0, sendToPlayer_13);
|
|
4950
4976
|
tmp = listOfNotNull(tmp$ret$117);
|
|
4951
4977
|
} else {
|
|
4952
4978
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
4953
|
-
var tmp0_14 = this.
|
|
4979
|
+
var tmp0_14 = this.d9z_1;
|
|
4954
4980
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4955
|
-
var table_8 = state.
|
|
4956
|
-
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.
|
|
4981
|
+
var table_8 = state.m6n();
|
|
4982
|
+
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.c9z_1.z6d(), table_8.id, null);
|
|
4957
4983
|
var tmp$ret$119 = mapToClient_2(action_0, sendToPlayer_14);
|
|
4958
4984
|
tmp = listOfNotNull(tmp$ret$119);
|
|
4959
4985
|
} else {
|
|
4960
4986
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
4961
|
-
var tmp0_15 = this.
|
|
4987
|
+
var tmp0_15 = this.d9z_1;
|
|
4962
4988
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4963
|
-
var table_9 = state.
|
|
4964
|
-
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.
|
|
4989
|
+
var table_9 = state.m6n();
|
|
4990
|
+
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.c9z_1.z6d(), table_9.id, null);
|
|
4965
4991
|
var tmp$ret$121 = mapToClient_1(action_0, sendToPlayer_15);
|
|
4966
4992
|
tmp = listOfNotNull(tmp$ret$121);
|
|
4967
4993
|
} else {
|
|
4968
4994
|
if (action_0 instanceof MessageMechanicAction) {
|
|
4969
|
-
var message = action_0.
|
|
4970
|
-
var tmp0_16 = this.
|
|
4971
|
-
var tmp2_8 = state.
|
|
4995
|
+
var message = action_0.c8w_1;
|
|
4996
|
+
var tmp0_16 = this.d9z_1;
|
|
4997
|
+
var tmp2_8 = state.m6n();
|
|
4972
4998
|
var tmp_1;
|
|
4973
4999
|
var tmp_2;
|
|
4974
|
-
if (this.
|
|
5000
|
+
if (this.d9z_1.b9z_1.supportBackwardActions) {
|
|
4975
5001
|
tmp_2 = isInterface(message, UserMessage);
|
|
4976
5002
|
} else {
|
|
4977
5003
|
tmp_2 = false;
|
|
@@ -4983,16 +5009,16 @@
|
|
|
4983
5009
|
}
|
|
4984
5010
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4985
5011
|
var exceptPlayerId_3 = tmp_1;
|
|
4986
|
-
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.
|
|
5012
|
+
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.c9z_1.z6d(), tmp2_8.id, exceptPlayerId_3);
|
|
4987
5013
|
var tmp$ret$123 = mapToClient_0(action_0, sendToPlayer_16);
|
|
4988
5014
|
tmp = listOfNotNull(tmp$ret$123);
|
|
4989
5015
|
} else {
|
|
4990
5016
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
4991
|
-
var tmp0_17 = this.
|
|
4992
|
-
var tmp2_9 = state.
|
|
5017
|
+
var tmp0_17 = this.d9z_1;
|
|
5018
|
+
var tmp2_9 = state.m6n();
|
|
4993
5019
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4994
5020
|
var exceptPlayerId_4 = action_0.playerId;
|
|
4995
|
-
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.
|
|
5021
|
+
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.c9z_1.z6d(), tmp2_9.id, exceptPlayerId_4);
|
|
4996
5022
|
var tmp$ret$125 = mapToClient(action_0, sendToPlayer_17);
|
|
4997
5023
|
tmp = listOfNotNull(tmp$ret$125);
|
|
4998
5024
|
} else {
|
|
@@ -5029,10 +5055,10 @@
|
|
|
5029
5055
|
return this.m6h(store, next, action);
|
|
5030
5056
|
};
|
|
5031
5057
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
5032
|
-
this.
|
|
5033
|
-
this.
|
|
5058
|
+
this.b9z_1 = logicConfig;
|
|
5059
|
+
this.c9z_1 = idsProvider;
|
|
5034
5060
|
}
|
|
5035
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
5061
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).n90 = function () {
|
|
5036
5062
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
5037
5063
|
return new ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this);
|
|
5038
5064
|
};
|
|
@@ -5041,8 +5067,8 @@
|
|
|
5041
5067
|
return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
|
|
5042
5068
|
}
|
|
5043
5069
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
5044
|
-
this.
|
|
5045
|
-
this.
|
|
5070
|
+
this.m9z_1 = $provider;
|
|
5071
|
+
this.n9z_1 = $action;
|
|
5046
5072
|
CoroutineImpl.call(this, resultContinuation);
|
|
5047
5073
|
}
|
|
5048
5074
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -5063,7 +5089,7 @@
|
|
|
5063
5089
|
case 0:
|
|
5064
5090
|
this.s8_1 = 2;
|
|
5065
5091
|
this.r8_1 = 1;
|
|
5066
|
-
suspendResult = this.
|
|
5092
|
+
suspendResult = this.m9z_1.z9v(this.n9z_1, this);
|
|
5067
5093
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5068
5094
|
return suspendResult;
|
|
5069
5095
|
}
|
|
@@ -5086,8 +5112,8 @@
|
|
|
5086
5112
|
while (true);
|
|
5087
5113
|
};
|
|
5088
5114
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).a2d = function ($this$launchDefault, completion) {
|
|
5089
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
5090
|
-
i.
|
|
5115
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.m9z_1, this.n9z_1, completion);
|
|
5116
|
+
i.o9z_1 = $this$launchDefault;
|
|
5091
5117
|
return i;
|
|
5092
5118
|
};
|
|
5093
5119
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -5099,15 +5125,15 @@
|
|
|
5099
5125
|
return l;
|
|
5100
5126
|
}
|
|
5101
5127
|
function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
|
|
5102
|
-
this.
|
|
5103
|
-
this.
|
|
5128
|
+
this.p9z_1 = $asyncProvider;
|
|
5129
|
+
this.q9z_1 = $provider;
|
|
5104
5130
|
}
|
|
5105
5131
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).x6f = function (action) {
|
|
5106
5132
|
return action instanceof ToClientAction;
|
|
5107
5133
|
};
|
|
5108
5134
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).m6h = function (store, next, action) {
|
|
5109
5135
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
5110
|
-
this.
|
|
5136
|
+
this.p9z_1.f6c(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.q9z_1, action_0, null));
|
|
5111
5137
|
next(action_0);
|
|
5112
5138
|
};
|
|
5113
5139
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).w6f = function (store, next, action) {
|
|
@@ -5122,12 +5148,12 @@
|
|
|
5122
5148
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).x6f = function (action) {
|
|
5123
5149
|
return action instanceof UpdateServerConfigAction;
|
|
5124
5150
|
};
|
|
5125
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
5151
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).j98 = function (state, action) {
|
|
5126
5152
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
5127
|
-
return state.
|
|
5153
|
+
return state.q8t(VOID, get_serverStatePayload_0(state).copy(action_0.f9y_1));
|
|
5128
5154
|
};
|
|
5129
5155
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).n6h = function (state, action) {
|
|
5130
|
-
return this.
|
|
5156
|
+
return this.j98((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5131
5157
|
};
|
|
5132
5158
|
function ServerMechanicLifecycleReducer$onStart$lambda($action) {
|
|
5133
5159
|
return function (it) {
|
|
@@ -5140,7 +5166,7 @@
|
|
|
5140
5166
|
var tmp_2 = PlayerConnectionState_LIVE_getInstance();
|
|
5141
5167
|
Companion_getInstance();
|
|
5142
5168
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
5143
|
-
var this_0 = $action.
|
|
5169
|
+
var this_0 = $action.o8u_1.timeoutTimeMillis;
|
|
5144
5170
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
5145
5171
|
tmp_0 = tmp_1.j67(tmp_2, tmp$ret$0);
|
|
5146
5172
|
}
|
|
@@ -5149,63 +5175,63 @@
|
|
|
5149
5175
|
}
|
|
5150
5176
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
5151
5177
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
5152
|
-
this.
|
|
5178
|
+
this.t9z_1 = logger;
|
|
5153
5179
|
}
|
|
5154
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5155
|
-
var serverState = get_serverStatePayloadOrNull(state.
|
|
5180
|
+
protoOf(ServerMechanicLifecycleReducer).v99 = function (state, action) {
|
|
5181
|
+
var serverState = get_serverStatePayloadOrNull(state.payload);
|
|
5156
5182
|
var tmp8_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5157
|
-
var tmp0_$this = this.
|
|
5158
|
-
var tmp1_tableId = action.
|
|
5159
|
-
var tmp2_gameId = action.
|
|
5160
|
-
var tmp3_version = action.
|
|
5161
|
-
var tmp4_config = action.
|
|
5162
|
-
var tmp5_users = action.
|
|
5183
|
+
var tmp0_$this = this.w99_1;
|
|
5184
|
+
var tmp1_tableId = action.p8u_1;
|
|
5185
|
+
var tmp2_gameId = action.p8u_1;
|
|
5186
|
+
var tmp3_version = action.q8u_1;
|
|
5187
|
+
var tmp4_config = action.o8u_1;
|
|
5188
|
+
var tmp5_users = action.s8u_1;
|
|
5163
5189
|
var tmp6_spectators = action.spectators;
|
|
5164
|
-
var tmp7_gameCreatorPlayerId = action.
|
|
5165
|
-
var tmp9_tableOrNull = tmp0_$this.
|
|
5190
|
+
var tmp7_gameCreatorPlayerId = action.r8u_1;
|
|
5191
|
+
var tmp9_tableOrNull = tmp0_$this.c9b(tmp1_tableId, tmp2_gameId, tmp4_config, tmp3_version, tmp5_users, tmp6_spectators, tmp7_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
|
|
5166
5192
|
var tmp;
|
|
5167
5193
|
if (serverState == null) {
|
|
5168
|
-
this.
|
|
5169
|
-
tmp = Companion_instance_13.initial();
|
|
5194
|
+
this.t9z_1.w(VOID, 'ServerPayload is not onStart');
|
|
5195
|
+
tmp = Companion_instance_13.initial(VOID, action.u8u_1);
|
|
5170
5196
|
} else {
|
|
5171
|
-
tmp = serverState;
|
|
5197
|
+
tmp = serverState.copy(VOID, action.u8u_1);
|
|
5172
5198
|
}
|
|
5173
5199
|
var tmp10_payload = tmp;
|
|
5174
|
-
return state.
|
|
5200
|
+
return state.q8t(tmp9_tableOrNull, tmp10_payload, tmp8_gameLifecycleState);
|
|
5175
5201
|
};
|
|
5176
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5202
|
+
protoOf(ServerMechanicLifecycleReducer).t99 = function (state, action) {
|
|
5177
5203
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5178
5204
|
var tmp2_tableOrNull = action.w8u_1;
|
|
5179
5205
|
var tmp = Companion_instance_13;
|
|
5180
5206
|
var tmp_0 = get_serverStatePayload_0(state).config;
|
|
5181
5207
|
var tmp_1 = action.x8u_1;
|
|
5182
5208
|
var tmp0_safe_receiver = tmp_1 instanceof RestartRoundReason ? tmp_1 : null;
|
|
5183
|
-
var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.d65_1));
|
|
5184
|
-
return state.
|
|
5209
|
+
var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.d65_1), action.a8v_1);
|
|
5210
|
+
return state.q8t(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
|
|
5185
5211
|
};
|
|
5186
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5187
|
-
this.
|
|
5212
|
+
protoOf(ServerMechanicLifecycleReducer).u99 = function (state, action) {
|
|
5213
|
+
this.x99_1.l58(action.previousGameId);
|
|
5188
5214
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5189
|
-
var tmp1_tableOrNull = this.
|
|
5190
|
-
return state.
|
|
5215
|
+
var tmp1_tableOrNull = this.w99_1.d9b(state.m6n(), action.gameId);
|
|
5216
|
+
return state.q8t(tmp1_tableOrNull, VOID, tmp0_gameLifecycleState);
|
|
5191
5217
|
};
|
|
5192
5218
|
function spectatorsReducer(logger) {
|
|
5193
5219
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
5194
5220
|
return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
|
|
5195
5221
|
}
|
|
5196
5222
|
function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
|
|
5197
|
-
this.
|
|
5223
|
+
this.u9z_1 = $logger;
|
|
5198
5224
|
}
|
|
5199
5225
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).x6f = function (action) {
|
|
5200
5226
|
return isInterface(action, SpectatorsAction);
|
|
5201
5227
|
};
|
|
5202
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
5228
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).j98 = function (state, action) {
|
|
5203
5229
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
5204
|
-
var table = state.
|
|
5230
|
+
var table = state.m6n();
|
|
5205
5231
|
var tmp;
|
|
5206
5232
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
5207
5233
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5208
|
-
var tmp0 = action_0.
|
|
5234
|
+
var tmp0 = action_0.g9y_1;
|
|
5209
5235
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5210
5236
|
var destination = ArrayList_init_$Create$_0();
|
|
5211
5237
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5224,9 +5250,9 @@
|
|
|
5224
5250
|
var tmp_0;
|
|
5225
5251
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5226
5252
|
if (!sameSpectators.r()) {
|
|
5227
|
-
this.
|
|
5253
|
+
this.u9z_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
5228
5254
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5229
|
-
var tmp0_0 = action_0.
|
|
5255
|
+
var tmp0_0 = action_0.g9y_1;
|
|
5230
5256
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5231
5257
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
5232
5258
|
var _iterator__ex2g4s_0 = tmp0_0.l();
|
|
@@ -5261,7 +5287,7 @@
|
|
|
5261
5287
|
}
|
|
5262
5288
|
tmp_0 = destination_0;
|
|
5263
5289
|
} else {
|
|
5264
|
-
tmp_0 = action_0.
|
|
5290
|
+
tmp_0 = action_0.g9y_1;
|
|
5265
5291
|
}
|
|
5266
5292
|
// Inline function 'kotlin.collections.map' call
|
|
5267
5293
|
var this_0 = tmp_0;
|
|
@@ -5274,11 +5300,11 @@
|
|
|
5274
5300
|
destination_1.j(tmp$ret$13);
|
|
5275
5301
|
}
|
|
5276
5302
|
var spectatorsToAdd = toSet(destination_1);
|
|
5277
|
-
tmp = state.
|
|
5303
|
+
tmp = state.q8t(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
|
|
5278
5304
|
} else {
|
|
5279
5305
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
5280
5306
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5281
|
-
var tmp0_1 = action_0.
|
|
5307
|
+
var tmp0_1 = action_0.h9y_1;
|
|
5282
5308
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5283
5309
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
5284
5310
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5297,9 +5323,9 @@
|
|
|
5297
5323
|
var tmp_2;
|
|
5298
5324
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5299
5325
|
if (!sameSpectators_0.r()) {
|
|
5300
|
-
this.
|
|
5326
|
+
this.u9z_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
5301
5327
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5302
|
-
var tmp0_2 = action_0.
|
|
5328
|
+
var tmp0_2 = action_0.h9y_1;
|
|
5303
5329
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5304
5330
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
5305
5331
|
var _iterator__ex2g4s_4 = tmp0_2.l();
|
|
@@ -5334,7 +5360,7 @@
|
|
|
5334
5360
|
}
|
|
5335
5361
|
tmp_2 = destination_3;
|
|
5336
5362
|
} else {
|
|
5337
|
-
tmp_2 = action_0.
|
|
5363
|
+
tmp_2 = action_0.h9y_1;
|
|
5338
5364
|
}
|
|
5339
5365
|
var spectatorsToRemove = toSet(tmp_2);
|
|
5340
5366
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -5371,7 +5397,7 @@
|
|
|
5371
5397
|
destination_4.j(element_5);
|
|
5372
5398
|
}
|
|
5373
5399
|
}
|
|
5374
|
-
tmp = state.
|
|
5400
|
+
tmp = state.q8t(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
|
|
5375
5401
|
} else {
|
|
5376
5402
|
noWhenBranchMatchedException();
|
|
5377
5403
|
}
|
|
@@ -5379,42 +5405,53 @@
|
|
|
5379
5405
|
return tmp;
|
|
5380
5406
|
};
|
|
5381
5407
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).n6h = function (state, action) {
|
|
5382
|
-
return this.
|
|
5408
|
+
return this.j98((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5383
5409
|
};
|
|
5384
5410
|
function Companion_5() {
|
|
5385
5411
|
}
|
|
5386
|
-
protoOf(Companion_5).
|
|
5387
|
-
return new ServerStatePayload(config);
|
|
5412
|
+
protoOf(Companion_5).v9z = function (config, metadata) {
|
|
5413
|
+
return new ServerStatePayload(config, metadata);
|
|
5388
5414
|
};
|
|
5389
|
-
protoOf(Companion_5).initial = function (config, $super) {
|
|
5415
|
+
protoOf(Companion_5).initial = function (config, metadata, $super) {
|
|
5390
5416
|
config = config === VOID ? Companion_instance_8.initial(null) : config;
|
|
5391
|
-
|
|
5417
|
+
metadata = metadata === VOID ? null : metadata;
|
|
5418
|
+
return $super === VOID ? this.v9z(config, metadata) : $super.v9z.call(this, config, metadata);
|
|
5392
5419
|
};
|
|
5393
5420
|
var Companion_instance_13;
|
|
5394
5421
|
function Companion_getInstance_6() {
|
|
5395
5422
|
return Companion_instance_13;
|
|
5396
5423
|
}
|
|
5397
|
-
function ServerStatePayload(config) {
|
|
5424
|
+
function ServerStatePayload(config, metadata) {
|
|
5398
5425
|
this.config = config;
|
|
5426
|
+
this.t9u_1 = metadata;
|
|
5399
5427
|
}
|
|
5400
5428
|
protoOf(ServerStatePayload).x3s = function () {
|
|
5401
5429
|
return this.config;
|
|
5402
5430
|
};
|
|
5431
|
+
protoOf(ServerStatePayload).k8e = function () {
|
|
5432
|
+
return this.t9u_1;
|
|
5433
|
+
};
|
|
5403
5434
|
protoOf(ServerStatePayload).ne = function () {
|
|
5404
5435
|
return this.config;
|
|
5405
5436
|
};
|
|
5406
|
-
protoOf(ServerStatePayload).
|
|
5407
|
-
return
|
|
5437
|
+
protoOf(ServerStatePayload).oe = function () {
|
|
5438
|
+
return this.t9u_1;
|
|
5408
5439
|
};
|
|
5409
|
-
protoOf(ServerStatePayload).
|
|
5440
|
+
protoOf(ServerStatePayload).w9z = function (config, metadata) {
|
|
5441
|
+
return new ServerStatePayload(config, metadata);
|
|
5442
|
+
};
|
|
5443
|
+
protoOf(ServerStatePayload).copy = function (config, metadata, $super) {
|
|
5410
5444
|
config = config === VOID ? this.config : config;
|
|
5411
|
-
|
|
5445
|
+
metadata = metadata === VOID ? this.t9u_1 : metadata;
|
|
5446
|
+
return $super === VOID ? this.w9z(config, metadata) : $super.w9z.call(this, config, metadata);
|
|
5412
5447
|
};
|
|
5413
5448
|
protoOf(ServerStatePayload).toString = function () {
|
|
5414
|
-
return 'ServerStatePayload(config=' + this.config.toString() + ')';
|
|
5449
|
+
return 'ServerStatePayload(config=' + this.config.toString() + ', metadata=' + toString_0(this.t9u_1) + ')';
|
|
5415
5450
|
};
|
|
5416
5451
|
protoOf(ServerStatePayload).hashCode = function () {
|
|
5417
|
-
|
|
5452
|
+
var result = this.config.hashCode();
|
|
5453
|
+
result = imul(result, 31) + (this.t9u_1 == null ? 0 : hashCode(this.t9u_1)) | 0;
|
|
5454
|
+
return result;
|
|
5418
5455
|
};
|
|
5419
5456
|
protoOf(ServerStatePayload).equals = function (other) {
|
|
5420
5457
|
if (this === other)
|
|
@@ -5423,6 +5460,8 @@
|
|
|
5423
5460
|
return false;
|
|
5424
5461
|
if (!this.config.equals(other.config))
|
|
5425
5462
|
return false;
|
|
5463
|
+
if (!equals(this.t9u_1, other.t9u_1))
|
|
5464
|
+
return false;
|
|
5426
5465
|
return true;
|
|
5427
5466
|
};
|
|
5428
5467
|
function get_serverStatePayload(_this__u8e3s4) {
|
|
@@ -5433,7 +5472,7 @@
|
|
|
5433
5472
|
}
|
|
5434
5473
|
function get_serverStatePayload_0(_this__u8e3s4) {
|
|
5435
5474
|
// Inline function 'kotlin.requireNotNull' call
|
|
5436
|
-
var tmp0 = _this__u8e3s4.
|
|
5475
|
+
var tmp0 = _this__u8e3s4.payload;
|
|
5437
5476
|
var tmp$ret$1;
|
|
5438
5477
|
$l$block: {
|
|
5439
5478
|
// Inline function 'kotlin.requireNotNull' call
|
|
@@ -5452,7 +5491,7 @@
|
|
|
5452
5491
|
return new ServerLoggerKey(_this__u8e3s4.gameId);
|
|
5453
5492
|
}
|
|
5454
5493
|
function serverLoggerKeyFromPayload(_this__u8e3s4, payload) {
|
|
5455
|
-
var gameId = Companion_instance_3.
|
|
5494
|
+
var gameId = Companion_instance_3.d9d(payload);
|
|
5456
5495
|
var tmp;
|
|
5457
5496
|
if (!(gameId == null)) {
|
|
5458
5497
|
tmp = new ServerLoggerKey(gameId);
|
|
@@ -5469,14 +5508,14 @@
|
|
|
5469
5508
|
return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
|
|
5470
5509
|
}
|
|
5471
5510
|
function _get_logger__rkp4sl_1($this) {
|
|
5472
|
-
var tmp0 = $this.
|
|
5511
|
+
var tmp0 = $this.ga0_1;
|
|
5473
5512
|
var tmp = KProperty1;
|
|
5474
5513
|
// Inline function 'kotlin.getValue' call
|
|
5475
5514
|
getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
|
|
5476
5515
|
return tmp0.w();
|
|
5477
5516
|
}
|
|
5478
5517
|
function _get_di__ndbzja($this) {
|
|
5479
|
-
var tmp0 = $this.
|
|
5518
|
+
var tmp0 = $this.ha0_1;
|
|
5480
5519
|
var tmp = KProperty1;
|
|
5481
5520
|
// Inline function 'kotlin.getValue' call
|
|
5482
5521
|
getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
|
|
@@ -5493,8 +5532,8 @@
|
|
|
5493
5532
|
}
|
|
5494
5533
|
function createCallbackOutput($this, gameServer) {
|
|
5495
5534
|
var tmp;
|
|
5496
|
-
if (!($this.
|
|
5497
|
-
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.
|
|
5535
|
+
if (!($this.ea0_1 == null)) {
|
|
5536
|
+
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.ea0_1);
|
|
5498
5537
|
tmp = new CallbackWrapperLoggerOutput(tmp_0, GameServerEngineControllerImpl$createCallbackOutput$lambda(gameServer));
|
|
5499
5538
|
} else {
|
|
5500
5539
|
tmp = null;
|
|
@@ -5508,11 +5547,11 @@
|
|
|
5508
5547
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
5509
5548
|
return function () {
|
|
5510
5549
|
var tmp;
|
|
5511
|
-
if (this$0.
|
|
5550
|
+
if (this$0.ea0_1 == null) {
|
|
5512
5551
|
tmp = null;
|
|
5513
5552
|
} else {
|
|
5514
5553
|
// Inline function 'kotlin.let' call
|
|
5515
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
5554
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.ea0_1)]));
|
|
5516
5555
|
}
|
|
5517
5556
|
var tmp1_elvis_lhs = tmp;
|
|
5518
5557
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -5545,7 +5584,7 @@
|
|
|
5545
5584
|
tmp_0.x62(tmp$ret$3);
|
|
5546
5585
|
$this$DI.b5z(jsonModule());
|
|
5547
5586
|
$this$DI.b5z(serverHelpersModule());
|
|
5548
|
-
$this$DI.b5z(randomOrgModule(this$0.
|
|
5587
|
+
$this$DI.b5z(randomOrgModule(this$0.fa0_1));
|
|
5549
5588
|
return Unit_instance;
|
|
5550
5589
|
};
|
|
5551
5590
|
}
|
|
@@ -5621,16 +5660,16 @@
|
|
|
5621
5660
|
};
|
|
5622
5661
|
}
|
|
5623
5662
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
5624
|
-
this.
|
|
5663
|
+
this.oa0_1 = $reducer;
|
|
5625
5664
|
}
|
|
5626
5665
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).x6f = function (action) {
|
|
5627
5666
|
return isInterface(action, Action);
|
|
5628
5667
|
};
|
|
5629
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
5630
|
-
return this.
|
|
5668
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).j98 = function (state, action) {
|
|
5669
|
+
return this.oa0_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
5631
5670
|
};
|
|
5632
5671
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).n6h = function (state, action) {
|
|
5633
|
-
return this.
|
|
5672
|
+
return this.j98((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5634
5673
|
};
|
|
5635
5674
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($gameServer) {
|
|
5636
5675
|
return function () {
|
|
@@ -5710,7 +5749,7 @@
|
|
|
5710
5749
|
}
|
|
5711
5750
|
function GameServerEngineControllerImpl$createCallbackOutput$lambda($gameServer) {
|
|
5712
5751
|
return function (it) {
|
|
5713
|
-
var payload = Companion_instance_5.
|
|
5752
|
+
var payload = Companion_instance_5.q9b(it);
|
|
5714
5753
|
var tmp;
|
|
5715
5754
|
if (!(payload == null)) {
|
|
5716
5755
|
return payload;
|
|
@@ -5731,7 +5770,7 @@
|
|
|
5731
5770
|
// Inline function 'kotlin.let' call
|
|
5732
5771
|
$this$DI.b5z(tmp0_safe_receiver);
|
|
5733
5772
|
}
|
|
5734
|
-
$this$DI.b5z(dealerModule(this$0.randomPoolProvider, this$0.
|
|
5773
|
+
$this$DI.b5z(dealerModule(this$0.randomPoolProvider, this$0.fa0_1));
|
|
5735
5774
|
$this$DI.b5z(coreModule($coreConfig));
|
|
5736
5775
|
$this$DI.b5z(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $ratingConfig, $externalReducers, $externalMiddlewares));
|
|
5737
5776
|
return Unit_instance;
|
|
@@ -5740,13 +5779,13 @@
|
|
|
5740
5779
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
5741
5780
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
5742
5781
|
production = production === VOID ? true : production;
|
|
5743
|
-
this.
|
|
5744
|
-
this.
|
|
5782
|
+
this.ea0_1 = loggerCallback;
|
|
5783
|
+
this.fa0_1 = randomOrgConfig;
|
|
5745
5784
|
AppEnvironment_getInstance().u6l(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
|
|
5746
5785
|
var tmp = this;
|
|
5747
|
-
tmp.
|
|
5786
|
+
tmp.ga0_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
5748
5787
|
var tmp_0 = this;
|
|
5749
|
-
tmp_0.
|
|
5788
|
+
tmp_0.ha0_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
5750
5789
|
var tmp_1 = this;
|
|
5751
5790
|
// Inline function 'org.kodein.di.instance' call
|
|
5752
5791
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -5755,7 +5794,7 @@
|
|
|
5755
5794
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5756
5795
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
5757
5796
|
var tmp_4 = KProperty1;
|
|
5758
|
-
tmp_1.
|
|
5797
|
+
tmp_1.ia0_1 = tmp_3.u64(this, getPropertyCallableRef('parser', 1, tmp_4, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
|
|
5759
5798
|
var tmp_5 = this;
|
|
5760
5799
|
// Inline function 'org.kodein.di.instance' call
|
|
5761
5800
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -5764,7 +5803,7 @@
|
|
|
5764
5803
|
var tmp$ret$2 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
5765
5804
|
var tmp_7 = Instance(this_1, tmp$ret$2, null);
|
|
5766
5805
|
var tmp_8 = KProperty1;
|
|
5767
|
-
tmp_5.
|
|
5806
|
+
tmp_5.ja0_1 = tmp_7.u64(this, getPropertyCallableRef('helper', 1, tmp_8, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
|
|
5768
5807
|
var tmp_9 = this;
|
|
5769
5808
|
// Inline function 'org.kodein.di.instance' call
|
|
5770
5809
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -5773,7 +5812,7 @@
|
|
|
5773
5812
|
var tmp$ret$4 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
5774
5813
|
var tmp_11 = Instance(this_2, tmp$ret$4, null);
|
|
5775
5814
|
var tmp_12 = KProperty1;
|
|
5776
|
-
tmp_9.
|
|
5815
|
+
tmp_9.ka0_1 = tmp_11.u64(this, getPropertyCallableRef('serverHelper', 1, tmp_12, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
|
|
5777
5816
|
var tmp_13 = this;
|
|
5778
5817
|
// Inline function 'org.kodein.di.instance' call
|
|
5779
5818
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -5782,7 +5821,7 @@
|
|
|
5782
5821
|
var tmp$ret$6 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
5783
5822
|
var tmp_15 = Instance(this_3, tmp$ret$6, null);
|
|
5784
5823
|
var tmp_16 = KProperty1;
|
|
5785
|
-
tmp_13.
|
|
5824
|
+
tmp_13.la0_1 = tmp_15.u64(this, getPropertyCallableRef('resources', 1, tmp_16, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
|
|
5786
5825
|
var tmp_17 = this;
|
|
5787
5826
|
// Inline function 'org.kodein.di.instance' call
|
|
5788
5827
|
var this_4 = _get_di__ndbzja(this);
|
|
@@ -5791,7 +5830,7 @@
|
|
|
5791
5830
|
var tmp$ret$8 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
5792
5831
|
var tmp_19 = Instance(this_4, tmp$ret$8, null);
|
|
5793
5832
|
var tmp_20 = KProperty1;
|
|
5794
|
-
tmp_17.
|
|
5833
|
+
tmp_17.ma0_1 = tmp_19.u64(this, getPropertyCallableRef('test', 1, tmp_20, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
|
|
5795
5834
|
var tmp_21 = this;
|
|
5796
5835
|
// Inline function 'org.kodein.di.instance' call
|
|
5797
5836
|
var this_5 = _get_di__ndbzja(this);
|
|
@@ -5800,45 +5839,45 @@
|
|
|
5800
5839
|
var tmp$ret$10 = isInterface(tmp_22, TypeToken) ? tmp_22 : THROW_CCE();
|
|
5801
5840
|
var tmp_23 = Instance(this_5, tmp$ret$10, null);
|
|
5802
5841
|
var tmp_24 = KProperty1;
|
|
5803
|
-
tmp_21.
|
|
5842
|
+
tmp_21.na0_1 = tmp_23.u64(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_24, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
|
|
5804
5843
|
}
|
|
5805
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5806
|
-
var tmp0 = this.
|
|
5844
|
+
protoOf(GameServerEngineControllerImpl).x9z = function () {
|
|
5845
|
+
var tmp0 = this.ia0_1;
|
|
5807
5846
|
var tmp = KProperty1;
|
|
5808
5847
|
// Inline function 'kotlin.getValue' call
|
|
5809
5848
|
getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
|
|
5810
5849
|
return tmp0.w();
|
|
5811
5850
|
};
|
|
5812
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5813
|
-
var tmp0 = this.
|
|
5851
|
+
protoOf(GameServerEngineControllerImpl).z9z = function () {
|
|
5852
|
+
var tmp0 = this.ja0_1;
|
|
5814
5853
|
var tmp = KProperty1;
|
|
5815
5854
|
// Inline function 'kotlin.getValue' call
|
|
5816
5855
|
getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
|
|
5817
5856
|
return tmp0.w();
|
|
5818
5857
|
};
|
|
5819
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5820
|
-
var tmp0 = this.
|
|
5858
|
+
protoOf(GameServerEngineControllerImpl).aa0 = function () {
|
|
5859
|
+
var tmp0 = this.ka0_1;
|
|
5821
5860
|
var tmp = KProperty1;
|
|
5822
5861
|
// Inline function 'kotlin.getValue' call
|
|
5823
5862
|
getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
|
|
5824
5863
|
return tmp0.w();
|
|
5825
5864
|
};
|
|
5826
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5827
|
-
var tmp0 = this.
|
|
5865
|
+
protoOf(GameServerEngineControllerImpl).ba0 = function () {
|
|
5866
|
+
var tmp0 = this.la0_1;
|
|
5828
5867
|
var tmp = KProperty1;
|
|
5829
5868
|
// Inline function 'kotlin.getValue' call
|
|
5830
5869
|
getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
|
|
5831
5870
|
return tmp0.w();
|
|
5832
5871
|
};
|
|
5833
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5834
|
-
var tmp0 = this.
|
|
5872
|
+
protoOf(GameServerEngineControllerImpl).y9z = function () {
|
|
5873
|
+
var tmp0 = this.ma0_1;
|
|
5835
5874
|
var tmp = KProperty1;
|
|
5836
5875
|
// Inline function 'kotlin.getValue' call
|
|
5837
5876
|
getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
|
|
5838
5877
|
return tmp0.w();
|
|
5839
5878
|
};
|
|
5840
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5841
|
-
var tmp0 = this.
|
|
5879
|
+
protoOf(GameServerEngineControllerImpl).ca0 = function () {
|
|
5880
|
+
var tmp0 = this.na0_1;
|
|
5842
5881
|
var tmp = KProperty1;
|
|
5843
5882
|
// Inline function 'kotlin.getValue' call
|
|
5844
5883
|
getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
|
|
@@ -5850,7 +5889,7 @@
|
|
|
5850
5889
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
5851
5890
|
return this.createGameEngineWithLogic();
|
|
5852
5891
|
};
|
|
5853
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5892
|
+
protoOf(GameServerEngineControllerImpl).da0 = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig) {
|
|
5854
5893
|
var combinedLogger = Companion_instance_6.mx();
|
|
5855
5894
|
var gameServer = {_v: null};
|
|
5856
5895
|
var tmp0_botConfig = new EngineBotConfig(VOID, VOID, VOID, false);
|
|
@@ -5899,7 +5938,7 @@
|
|
|
5899
5938
|
function TestHelper() {
|
|
5900
5939
|
}
|
|
5901
5940
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
5902
|
-
var tmp0 = $this.
|
|
5941
|
+
var tmp0 = $this.ra0_1;
|
|
5903
5942
|
var tmp = KProperty1;
|
|
5904
5943
|
// Inline function 'kotlin.getValue' call
|
|
5905
5944
|
getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
|
|
@@ -5907,7 +5946,7 @@
|
|
|
5907
5946
|
}
|
|
5908
5947
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
5909
5948
|
return function ($this$singleton) {
|
|
5910
|
-
return this$0.
|
|
5949
|
+
return this$0.pa0_1;
|
|
5911
5950
|
};
|
|
5912
5951
|
}
|
|
5913
5952
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -5946,27 +5985,27 @@
|
|
|
5946
5985
|
return emptyMap();
|
|
5947
5986
|
}
|
|
5948
5987
|
function TestHelperImpl(logger) {
|
|
5949
|
-
this.
|
|
5988
|
+
this.pa0_1 = logger;
|
|
5950
5989
|
var tmp = this;
|
|
5951
5990
|
var tmp_0 = Companion_instance_4;
|
|
5952
|
-
tmp.
|
|
5991
|
+
tmp.qa0_1 = tmp_0.i5z(VOID, TestHelperImpl$di$lambda(this));
|
|
5953
5992
|
var tmp_1 = this;
|
|
5954
5993
|
// Inline function 'org.kodein.di.instance' call
|
|
5955
|
-
var this_0 = this.
|
|
5994
|
+
var this_0 = this.qa0_1;
|
|
5956
5995
|
// Inline function 'org.kodein.type.generic' call
|
|
5957
5996
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
5958
5997
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5959
5998
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
5960
5999
|
var tmp_4 = KProperty1;
|
|
5961
|
-
tmp_1.
|
|
6000
|
+
tmp_1.ra0_1 = tmp_3.u64(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
5962
6001
|
}
|
|
5963
6002
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
5964
|
-
return _get_playerAnswerInteractor__msggz1(this).
|
|
6003
|
+
return _get_playerAnswerInteractor__msggz1(this).a8k(playerId, table, botConfig);
|
|
5965
6004
|
};
|
|
5966
6005
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
5967
6006
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
5968
6007
|
if (isInterface(mechanicAction, NextPlayerTurnAction)) {
|
|
5969
|
-
var tmp0 = mechanicAction.
|
|
6008
|
+
var tmp0 = mechanicAction.m8x();
|
|
5970
6009
|
var tmp$ret$0;
|
|
5971
6010
|
$l$block_0: {
|
|
5972
6011
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -5998,7 +6037,7 @@
|
|
|
5998
6037
|
};
|
|
5999
6038
|
protoOf(TestHelperImpl).getPlayerAnswerFromMechanicAction = function (table, currentPlayerId, action, botConfig) {
|
|
6000
6039
|
if (isInterface(action, NextPlayerTurnAction)) {
|
|
6001
|
-
var tmp0 = action.
|
|
6040
|
+
var tmp0 = action.m8x();
|
|
6002
6041
|
var tmp$ret$0;
|
|
6003
6042
|
$l$block_0: {
|
|
6004
6043
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -6083,33 +6122,35 @@
|
|
|
6083
6122
|
return this.t65();
|
|
6084
6123
|
});
|
|
6085
6124
|
protoOf(GameServer).roomOnCreate = roomOnCreate;
|
|
6125
|
+
protoOf(GameServer).roomOnContinueFromState = roomOnContinueFromState;
|
|
6126
|
+
protoOf(GameServer).roomOnContinueFromRound = roomOnContinueFromRound;
|
|
6086
6127
|
protoOf(GameServer).roomOnDelete = roomOnDelete;
|
|
6087
6128
|
protoOf(GameServer).shutdown = shutdown;
|
|
6088
6129
|
defineProp(protoOf(GameServer), 'id', function () {
|
|
6089
6130
|
return this.w53();
|
|
6090
6131
|
});
|
|
6091
6132
|
defineProp(protoOf(GameServer), 'table', function () {
|
|
6092
|
-
return this.
|
|
6133
|
+
return this.m6n();
|
|
6093
6134
|
});
|
|
6094
6135
|
defineProp(protoOf(GameServer), 'isTableExists', function () {
|
|
6095
|
-
return this.
|
|
6136
|
+
return this.n6n();
|
|
6096
6137
|
});
|
|
6097
6138
|
defineProp(protoOf(GameServer), 'gameLifecycleState', function () {
|
|
6098
|
-
return this.
|
|
6139
|
+
return this.o6n();
|
|
6099
6140
|
});
|
|
6100
6141
|
protoOf($serializer).wz = typeParametersSerializers;
|
|
6101
6142
|
defineProp(protoOf(TableStateUpdateDto), 'roomId', function () {
|
|
6102
|
-
return this.
|
|
6143
|
+
return this.w8w();
|
|
6103
6144
|
});
|
|
6104
6145
|
protoOf($serializer_0).wz = typeParametersSerializers;
|
|
6105
6146
|
defineProp(protoOf(ActionsStateUpdateDto), 'roomId', function () {
|
|
6106
|
-
return this.
|
|
6147
|
+
return this.w8w();
|
|
6107
6148
|
});
|
|
6108
6149
|
defineProp(protoOf(TableStateUpdate), 'roomId', function () {
|
|
6109
|
-
return this.
|
|
6150
|
+
return this.w8w();
|
|
6110
6151
|
});
|
|
6111
6152
|
defineProp(protoOf(ActionsStateUpdate), 'roomId', function () {
|
|
6112
|
-
return this.
|
|
6153
|
+
return this.w8w();
|
|
6113
6154
|
});
|
|
6114
6155
|
protoOf(UpdateServerConfigAction).n6f = get_actionTag;
|
|
6115
6156
|
defineProp(protoOf(UpdateServerConfigAction), 'actionTag', function () {
|
|
@@ -6123,24 +6164,27 @@
|
|
|
6123
6164
|
defineProp(protoOf(RemoveSpectatorsAction), 'actionTag', function () {
|
|
6124
6165
|
return this.n6f();
|
|
6125
6166
|
});
|
|
6167
|
+
defineProp(protoOf(ServerStatePayload), 'metadata', function () {
|
|
6168
|
+
return this.k8e();
|
|
6169
|
+
});
|
|
6126
6170
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
6127
6171
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
6128
|
-
return this.
|
|
6172
|
+
return this.x9z();
|
|
6129
6173
|
});
|
|
6130
6174
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
6131
|
-
return this.
|
|
6175
|
+
return this.z9z();
|
|
6132
6176
|
});
|
|
6133
6177
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
6134
|
-
return this.
|
|
6178
|
+
return this.aa0();
|
|
6135
6179
|
});
|
|
6136
6180
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
6137
|
-
return this.
|
|
6181
|
+
return this.ba0();
|
|
6138
6182
|
});
|
|
6139
6183
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
6140
|
-
return this.
|
|
6184
|
+
return this.y9z();
|
|
6141
6185
|
});
|
|
6142
6186
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
6143
|
-
return this.
|
|
6187
|
+
return this.ca0();
|
|
6144
6188
|
});
|
|
6145
6189
|
//endregion
|
|
6146
6190
|
//region block: init
|