raspberry_games_server_game_logic 1.8.288 → 1.8.289
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1 -1
- package/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-engine.js +10072 -10069
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.js +684 -684
- 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
|
@@ -306,15 +306,15 @@
|
|
|
306
306
|
tmp = spectators;
|
|
307
307
|
}
|
|
308
308
|
spectators = tmp;
|
|
309
|
-
return this.
|
|
309
|
+
return this.h9u(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
310
310
|
}
|
|
311
311
|
function roomOnDelete(newRid, $super) {
|
|
312
312
|
newRid = newRid === VOID ? null : newRid;
|
|
313
|
-
return this.
|
|
313
|
+
return this.i9u(newRid);
|
|
314
314
|
}
|
|
315
315
|
function shutdown(reason, roomId, $super) {
|
|
316
316
|
roomId = roomId === VOID ? null : roomId;
|
|
317
|
-
return this.
|
|
317
|
+
return this.j9u(reason, roomId);
|
|
318
318
|
}
|
|
319
319
|
initMetadataForInterface(ServerGameEngineContract, 'ServerGameEngineContract', VOID, VOID, [GameStoreContract]);
|
|
320
320
|
initMetadataForClass(GameServer, 'GameServer', VOID, BaseGame, [BaseGame, ServerGameEngineContract]);
|
|
@@ -387,7 +387,7 @@
|
|
|
387
387
|
logicConfig = logicConfig === VOID ? new EngineLogicConfig() : logicConfig;
|
|
388
388
|
dealerConfig = dealerConfig === VOID ? new DealerConfig() : dealerConfig;
|
|
389
389
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
390
|
-
return this.
|
|
390
|
+
return this.va3(reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig);
|
|
391
391
|
}
|
|
392
392
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
393
393
|
initMetadataForClass(_no_name_provided__qut3iv_8, VOID, VOID, VOID, [Reducer]);
|
|
@@ -396,17 +396,17 @@
|
|
|
396
396
|
initMetadataForClass(TestHelperImpl, 'TestHelperImpl', VOID, VOID, [TestHelper]);
|
|
397
397
|
//endregion
|
|
398
398
|
function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
|
|
399
|
-
this.
|
|
399
|
+
this.g9k_1 = $subscriber;
|
|
400
400
|
CoroutineImpl.call(this, resultContinuation);
|
|
401
401
|
}
|
|
402
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
403
|
-
var tmp = this.
|
|
402
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).i9k = function (it, $completion) {
|
|
403
|
+
var tmp = this.j9k(it, $completion);
|
|
404
404
|
tmp.g9_1 = Unit_instance;
|
|
405
405
|
tmp.h9_1 = null;
|
|
406
406
|
return tmp.m9();
|
|
407
407
|
};
|
|
408
408
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).w9 = function (p1, $completion) {
|
|
409
|
-
return this.
|
|
409
|
+
return this.i9k(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
410
410
|
};
|
|
411
411
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).m9 = function () {
|
|
412
412
|
var suspendResult = this.g9_1;
|
|
@@ -415,7 +415,7 @@
|
|
|
415
415
|
var tmp = this.e9_1;
|
|
416
416
|
if (tmp === 0) {
|
|
417
417
|
this.f9_1 = 1;
|
|
418
|
-
this.
|
|
418
|
+
this.g9k_1(this.h9k_1);
|
|
419
419
|
return Unit_instance;
|
|
420
420
|
} else if (tmp === 1) {
|
|
421
421
|
throw this.h9_1;
|
|
@@ -426,31 +426,31 @@
|
|
|
426
426
|
}
|
|
427
427
|
while (true);
|
|
428
428
|
};
|
|
429
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
430
|
-
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.
|
|
431
|
-
i.
|
|
429
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).j9k = function (it, completion) {
|
|
430
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.g9k_1, completion);
|
|
431
|
+
i.h9k_1 = it;
|
|
432
432
|
return i;
|
|
433
433
|
};
|
|
434
434
|
function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
|
|
435
435
|
var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
|
|
436
436
|
var l = function (it, $completion) {
|
|
437
|
-
return i.
|
|
437
|
+
return i.i9k(it, $completion);
|
|
438
438
|
};
|
|
439
439
|
l.$arity = 1;
|
|
440
440
|
return l;
|
|
441
441
|
}
|
|
442
442
|
function GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation) {
|
|
443
|
-
this.
|
|
443
|
+
this.s9k_1 = $subscriber;
|
|
444
444
|
CoroutineImpl.call(this, resultContinuation);
|
|
445
445
|
}
|
|
446
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
447
|
-
var tmp = this.
|
|
446
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).u9k = function (it, $completion) {
|
|
447
|
+
var tmp = this.v9k(it, $completion);
|
|
448
448
|
tmp.g9_1 = Unit_instance;
|
|
449
449
|
tmp.h9_1 = null;
|
|
450
450
|
return tmp.m9();
|
|
451
451
|
};
|
|
452
452
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).w9 = function (p1, $completion) {
|
|
453
|
-
return this.
|
|
453
|
+
return this.u9k((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
|
|
454
454
|
};
|
|
455
455
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).m9 = function () {
|
|
456
456
|
var suspendResult = this.g9_1;
|
|
@@ -459,7 +459,7 @@
|
|
|
459
459
|
var tmp = this.e9_1;
|
|
460
460
|
if (tmp === 0) {
|
|
461
461
|
this.f9_1 = 1;
|
|
462
|
-
this.
|
|
462
|
+
this.s9k_1(this.t9k_1);
|
|
463
463
|
return Unit_instance;
|
|
464
464
|
} else if (tmp === 1) {
|
|
465
465
|
throw this.h9_1;
|
|
@@ -470,31 +470,31 @@
|
|
|
470
470
|
}
|
|
471
471
|
while (true);
|
|
472
472
|
};
|
|
473
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
474
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.
|
|
475
|
-
i.
|
|
473
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).v9k = function (it, completion) {
|
|
474
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.s9k_1, completion);
|
|
475
|
+
i.t9k_1 = it;
|
|
476
476
|
return i;
|
|
477
477
|
};
|
|
478
478
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_0($subscriber, resultContinuation) {
|
|
479
479
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation);
|
|
480
480
|
var l = function (it, $completion) {
|
|
481
|
-
return i.
|
|
481
|
+
return i.u9k(it, $completion);
|
|
482
482
|
};
|
|
483
483
|
l.$arity = 1;
|
|
484
484
|
return l;
|
|
485
485
|
}
|
|
486
486
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
487
|
-
this.
|
|
487
|
+
this.e9l_1 = $subscriber;
|
|
488
488
|
CoroutineImpl.call(this, resultContinuation);
|
|
489
489
|
}
|
|
490
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
491
|
-
var tmp = this.
|
|
490
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).g9l = function (it, $completion) {
|
|
491
|
+
var tmp = this.h9l(it, $completion);
|
|
492
492
|
tmp.g9_1 = Unit_instance;
|
|
493
493
|
tmp.h9_1 = null;
|
|
494
494
|
return tmp.m9();
|
|
495
495
|
};
|
|
496
496
|
protoOf(GameServer$subscribeWith$slambda$slambda).w9 = function (p1, $completion) {
|
|
497
|
-
return this.
|
|
497
|
+
return this.g9l(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
498
498
|
};
|
|
499
499
|
protoOf(GameServer$subscribeWith$slambda$slambda).m9 = function () {
|
|
500
500
|
var suspendResult = this.g9_1;
|
|
@@ -503,7 +503,7 @@
|
|
|
503
503
|
var tmp = this.e9_1;
|
|
504
504
|
if (tmp === 0) {
|
|
505
505
|
this.f9_1 = 1;
|
|
506
|
-
this.
|
|
506
|
+
this.e9l_1(this.f9l_1);
|
|
507
507
|
return Unit_instance;
|
|
508
508
|
} else if (tmp === 1) {
|
|
509
509
|
throw this.h9_1;
|
|
@@ -514,82 +514,82 @@
|
|
|
514
514
|
}
|
|
515
515
|
while (true);
|
|
516
516
|
};
|
|
517
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
518
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
519
|
-
i.
|
|
517
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).h9l = function (it, completion) {
|
|
518
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.e9l_1, completion);
|
|
519
|
+
i.f9l_1 = it;
|
|
520
520
|
return i;
|
|
521
521
|
};
|
|
522
522
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
523
523
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
524
524
|
var l = function (it, $completion) {
|
|
525
|
-
return i.
|
|
525
|
+
return i.g9l(it, $completion);
|
|
526
526
|
};
|
|
527
527
|
l.$arity = 1;
|
|
528
528
|
return l;
|
|
529
529
|
}
|
|
530
530
|
function GameServer$roomOnCreate$1$updatedUsers$previousTeams$1($playerId) {
|
|
531
|
-
this.
|
|
531
|
+
this.i9l_1 = $playerId;
|
|
532
532
|
}
|
|
533
533
|
protoOf(GameServer$roomOnCreate$1$updatedUsers$previousTeams$1).h6a = function () {
|
|
534
|
-
return this.
|
|
534
|
+
return this.i9l_1;
|
|
535
535
|
};
|
|
536
536
|
function _get_logger__rkp4sl($this) {
|
|
537
537
|
// Inline function 'kotlin.getValue' call
|
|
538
|
-
var this_0 = $this.
|
|
538
|
+
var this_0 = $this.l9l_1;
|
|
539
539
|
logger$factory_0();
|
|
540
540
|
return this_0.u();
|
|
541
541
|
}
|
|
542
542
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
543
543
|
// Inline function 'kotlin.getValue' call
|
|
544
|
-
var this_0 = $this.
|
|
544
|
+
var this_0 = $this.m9l_1;
|
|
545
545
|
toClientEventsObserver$factory_0();
|
|
546
546
|
return this_0.u();
|
|
547
547
|
}
|
|
548
548
|
function _get_mechanicEventsObserver__ll1b9k($this) {
|
|
549
549
|
// Inline function 'kotlin.getValue' call
|
|
550
|
-
var this_0 = $this.
|
|
550
|
+
var this_0 = $this.n9l_1;
|
|
551
551
|
mechanicEventsObserver$factory_0();
|
|
552
552
|
return this_0.u();
|
|
553
553
|
}
|
|
554
554
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
555
555
|
// Inline function 'kotlin.getValue' call
|
|
556
|
-
var this_0 = $this.
|
|
556
|
+
var this_0 = $this.o9l_1;
|
|
557
557
|
playerConnectionInteractor$factory_0();
|
|
558
558
|
return this_0.u();
|
|
559
559
|
}
|
|
560
560
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
561
561
|
// Inline function 'kotlin.getValue' call
|
|
562
|
-
var this_0 = $this.
|
|
562
|
+
var this_0 = $this.p9l_1;
|
|
563
563
|
teamsLogicProvider$factory_0();
|
|
564
564
|
return this_0.u();
|
|
565
565
|
}
|
|
566
566
|
function _get_random__h29cgo($this) {
|
|
567
567
|
// Inline function 'kotlin.getValue' call
|
|
568
|
-
var this_0 = $this.
|
|
568
|
+
var this_0 = $this.q9l_1;
|
|
569
569
|
random$factory();
|
|
570
570
|
return this_0.u();
|
|
571
571
|
}
|
|
572
572
|
function _get_idsProvider__fnfajc($this) {
|
|
573
573
|
// Inline function 'kotlin.getValue' call
|
|
574
|
-
var this_0 = $this.
|
|
574
|
+
var this_0 = $this.r9l_1;
|
|
575
575
|
idsProvider$factory_0();
|
|
576
576
|
return this_0.u();
|
|
577
577
|
}
|
|
578
578
|
function Companion() {
|
|
579
|
-
this.
|
|
579
|
+
this.t9l_1 = 'GameEngine_API';
|
|
580
580
|
}
|
|
581
581
|
var Companion_instance_7;
|
|
582
582
|
function Companion_getInstance_0() {
|
|
583
583
|
return Companion_instance_7;
|
|
584
584
|
}
|
|
585
585
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
586
|
-
this.
|
|
586
|
+
this.u9l_1 = function_0;
|
|
587
587
|
}
|
|
588
588
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).p18 = function (value, $completion) {
|
|
589
|
-
return this.
|
|
589
|
+
return this.u9l_1(value, $completion);
|
|
590
590
|
};
|
|
591
591
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).o3 = function () {
|
|
592
|
-
return this.
|
|
592
|
+
return this.u9l_1;
|
|
593
593
|
};
|
|
594
594
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
595
595
|
var tmp;
|
|
@@ -610,13 +610,13 @@
|
|
|
610
610
|
return hashCode(this.o3());
|
|
611
611
|
};
|
|
612
612
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
613
|
-
this.
|
|
613
|
+
this.v9l_1 = function_0;
|
|
614
614
|
}
|
|
615
615
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).p18 = function (value, $completion) {
|
|
616
|
-
return this.
|
|
616
|
+
return this.v9l_1(value, $completion);
|
|
617
617
|
};
|
|
618
618
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).o3 = function () {
|
|
619
|
-
return this.
|
|
619
|
+
return this.v9l_1;
|
|
620
620
|
};
|
|
621
621
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
622
622
|
var tmp;
|
|
@@ -637,13 +637,13 @@
|
|
|
637
637
|
return hashCode(this.o3());
|
|
638
638
|
};
|
|
639
639
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
640
|
-
this.
|
|
640
|
+
this.w9l_1 = function_0;
|
|
641
641
|
}
|
|
642
642
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).p18 = function (value, $completion) {
|
|
643
|
-
return this.
|
|
643
|
+
return this.w9l_1(value, $completion);
|
|
644
644
|
};
|
|
645
645
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).o3 = function () {
|
|
646
|
-
return this.
|
|
646
|
+
return this.w9l_1;
|
|
647
647
|
};
|
|
648
648
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
649
649
|
var tmp;
|
|
@@ -669,8 +669,8 @@
|
|
|
669
669
|
};
|
|
670
670
|
}
|
|
671
671
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
672
|
-
this.
|
|
673
|
-
this.
|
|
672
|
+
this.f9m_1 = this$0;
|
|
673
|
+
this.g9m_1 = $subscriber;
|
|
674
674
|
CoroutineImpl.call(this, resultContinuation);
|
|
675
675
|
}
|
|
676
676
|
protoOf(GameServer$subscribeToClientAction$slambda).k1e = function ($this$launchDefault, $completion) {
|
|
@@ -691,8 +691,8 @@
|
|
|
691
691
|
case 0:
|
|
692
692
|
this.f9_1 = 2;
|
|
693
693
|
this.e9_1 = 1;
|
|
694
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
695
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
694
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.f9m_1).i9m();
|
|
695
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.g9m_1, null);
|
|
696
696
|
suspendResult = tmp_0.m17(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
697
697
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
698
698
|
return suspendResult;
|
|
@@ -716,8 +716,8 @@
|
|
|
716
716
|
while (true);
|
|
717
717
|
};
|
|
718
718
|
protoOf(GameServer$subscribeToClientAction$slambda).l1e = function ($this$launchDefault, completion) {
|
|
719
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
720
|
-
i.
|
|
719
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.f9m_1, this.g9m_1, completion);
|
|
720
|
+
i.h9m_1 = $this$launchDefault;
|
|
721
721
|
return i;
|
|
722
722
|
};
|
|
723
723
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -729,8 +729,8 @@
|
|
|
729
729
|
return l;
|
|
730
730
|
}
|
|
731
731
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
732
|
-
this.
|
|
733
|
-
this.
|
|
732
|
+
this.r9m_1 = this$0;
|
|
733
|
+
this.s9m_1 = $subscriber;
|
|
734
734
|
CoroutineImpl.call(this, resultContinuation);
|
|
735
735
|
}
|
|
736
736
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).k1e = function ($this$launchDefault, $completion) {
|
|
@@ -751,8 +751,8 @@
|
|
|
751
751
|
case 0:
|
|
752
752
|
this.f9_1 = 2;
|
|
753
753
|
this.e9_1 = 1;
|
|
754
|
-
var tmp_0 = _get_mechanicEventsObserver__ll1b9k(this.
|
|
755
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
754
|
+
var tmp_0 = _get_mechanicEventsObserver__ll1b9k(this.r9m_1).u9m(this.r9m_1.l6q());
|
|
755
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.s9m_1, null);
|
|
756
756
|
suspendResult = tmp_0.m17(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
757
757
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
758
758
|
return suspendResult;
|
|
@@ -776,8 +776,8 @@
|
|
|
776
776
|
while (true);
|
|
777
777
|
};
|
|
778
778
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).l1e = function ($this$launchDefault, completion) {
|
|
779
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
780
|
-
i.
|
|
779
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.r9m_1, this.s9m_1, completion);
|
|
780
|
+
i.t9m_1 = $this$launchDefault;
|
|
781
781
|
return i;
|
|
782
782
|
};
|
|
783
783
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -789,8 +789,8 @@
|
|
|
789
789
|
return l;
|
|
790
790
|
}
|
|
791
791
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
792
|
-
this.
|
|
793
|
-
this.
|
|
792
|
+
this.d9n_1 = this$0;
|
|
793
|
+
this.e9n_1 = $subscriber;
|
|
794
794
|
CoroutineImpl.call(this, resultContinuation);
|
|
795
795
|
}
|
|
796
796
|
protoOf(GameServer$subscribeWith$slambda).k1e = function ($this$launchDefault, $completion) {
|
|
@@ -811,8 +811,8 @@
|
|
|
811
811
|
case 0:
|
|
812
812
|
this.f9_1 = 2;
|
|
813
813
|
this.e9_1 = 1;
|
|
814
|
-
var tmp_0 = distinctUntilChanged(this.
|
|
815
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
814
|
+
var tmp_0 = distinctUntilChanged(this.d9n_1.l6q());
|
|
815
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.e9n_1, null);
|
|
816
816
|
suspendResult = tmp_0.m17(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
817
817
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
818
818
|
return suspendResult;
|
|
@@ -836,8 +836,8 @@
|
|
|
836
836
|
while (true);
|
|
837
837
|
};
|
|
838
838
|
protoOf(GameServer$subscribeWith$slambda).l1e = function ($this$launchDefault, completion) {
|
|
839
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
840
|
-
i.
|
|
839
|
+
var i = new GameServer$subscribeWith$slambda(this.d9n_1, this.e9n_1, completion);
|
|
840
|
+
i.f9n_1 = $this$launchDefault;
|
|
841
841
|
return i;
|
|
842
842
|
};
|
|
843
843
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -849,18 +849,18 @@
|
|
|
849
849
|
return l;
|
|
850
850
|
}
|
|
851
851
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
852
|
-
this.
|
|
852
|
+
this.o9n_1 = $action;
|
|
853
853
|
CoroutineImpl.call(this, resultContinuation);
|
|
854
854
|
}
|
|
855
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
856
|
-
var tmp = this.
|
|
855
|
+
protoOf(GameServer$fromClientEvent$slambda).r9n = function ($this$dispatchAsync, store, $completion) {
|
|
856
|
+
var tmp = this.s9n($this$dispatchAsync, store, $completion);
|
|
857
857
|
tmp.g9_1 = Unit_instance;
|
|
858
858
|
tmp.h9_1 = null;
|
|
859
859
|
return tmp.m9();
|
|
860
860
|
};
|
|
861
861
|
protoOf(GameServer$fromClientEvent$slambda).x9 = function (p1, p2, $completion) {
|
|
862
862
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
863
|
-
return this.
|
|
863
|
+
return this.r9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
864
864
|
};
|
|
865
865
|
protoOf(GameServer$fromClientEvent$slambda).m9 = function () {
|
|
866
866
|
var suspendResult = this.g9_1;
|
|
@@ -869,11 +869,11 @@
|
|
|
869
869
|
var tmp = this.e9_1;
|
|
870
870
|
if (tmp === 0) {
|
|
871
871
|
this.f9_1 = 1;
|
|
872
|
-
if (this.
|
|
873
|
-
if (!get_isCreated(this.
|
|
872
|
+
if (this.o9n_1 instanceof PlayerReadyFromClientAction)
|
|
873
|
+
if (!get_isCreated(this.q9n_1.state)) {
|
|
874
874
|
return Unit_instance;
|
|
875
875
|
}
|
|
876
|
-
this.
|
|
876
|
+
this.q9n_1.dispatch(this.o9n_1);
|
|
877
877
|
return Unit_instance;
|
|
878
878
|
} else if (tmp === 1) {
|
|
879
879
|
throw this.h9_1;
|
|
@@ -884,33 +884,33 @@
|
|
|
884
884
|
}
|
|
885
885
|
while (true);
|
|
886
886
|
};
|
|
887
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
888
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
889
|
-
i.
|
|
890
|
-
i.
|
|
887
|
+
protoOf(GameServer$fromClientEvent$slambda).s9n = function ($this$dispatchAsync, store, completion) {
|
|
888
|
+
var i = new GameServer$fromClientEvent$slambda(this.o9n_1, completion);
|
|
889
|
+
i.p9n_1 = $this$dispatchAsync;
|
|
890
|
+
i.q9n_1 = store;
|
|
891
891
|
return i;
|
|
892
892
|
};
|
|
893
893
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
894
894
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
895
895
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
896
|
-
return i.
|
|
896
|
+
return i.r9n($this$dispatchAsync, store, $completion);
|
|
897
897
|
};
|
|
898
898
|
l.$arity = 2;
|
|
899
899
|
return l;
|
|
900
900
|
}
|
|
901
901
|
function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
|
|
902
|
-
this.
|
|
902
|
+
this.b9o_1 = $playerId;
|
|
903
903
|
CoroutineImpl.call(this, resultContinuation);
|
|
904
904
|
}
|
|
905
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
906
|
-
var tmp = this.
|
|
905
|
+
protoOf(GameServer$playerLostConnection$slambda).r9n = function ($this$dispatchAsync, store, $completion) {
|
|
906
|
+
var tmp = this.s9n($this$dispatchAsync, store, $completion);
|
|
907
907
|
tmp.g9_1 = Unit_instance;
|
|
908
908
|
tmp.h9_1 = null;
|
|
909
909
|
return tmp.m9();
|
|
910
910
|
};
|
|
911
911
|
protoOf(GameServer$playerLostConnection$slambda).x9 = function (p1, p2, $completion) {
|
|
912
912
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
913
|
-
return this.
|
|
913
|
+
return this.r9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
914
914
|
};
|
|
915
915
|
protoOf(GameServer$playerLostConnection$slambda).m9 = function () {
|
|
916
916
|
var suspendResult = this.g9_1;
|
|
@@ -919,12 +919,12 @@
|
|
|
919
919
|
var tmp = this.e9_1;
|
|
920
920
|
if (tmp === 0) {
|
|
921
921
|
this.f9_1 = 1;
|
|
922
|
-
if (!get_isCreated(this.
|
|
922
|
+
if (!get_isCreated(this.d9o_1.state)) {
|
|
923
923
|
return Unit_instance;
|
|
924
924
|
}
|
|
925
|
-
var tmp_0 = this.
|
|
925
|
+
var tmp_0 = this.d9o_1.dispatch;
|
|
926
926
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
927
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
927
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.b9o_1));
|
|
928
928
|
return Unit_instance;
|
|
929
929
|
} else if (tmp === 1) {
|
|
930
930
|
throw this.h9_1;
|
|
@@ -935,33 +935,33 @@
|
|
|
935
935
|
}
|
|
936
936
|
while (true);
|
|
937
937
|
};
|
|
938
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
939
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
940
|
-
i.
|
|
941
|
-
i.
|
|
938
|
+
protoOf(GameServer$playerLostConnection$slambda).s9n = function ($this$dispatchAsync, store, completion) {
|
|
939
|
+
var i = new GameServer$playerLostConnection$slambda(this.b9o_1, completion);
|
|
940
|
+
i.c9o_1 = $this$dispatchAsync;
|
|
941
|
+
i.d9o_1 = store;
|
|
942
942
|
return i;
|
|
943
943
|
};
|
|
944
944
|
function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
|
|
945
945
|
var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
|
|
946
946
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
947
|
-
return i.
|
|
947
|
+
return i.r9n($this$dispatchAsync, store, $completion);
|
|
948
948
|
};
|
|
949
949
|
l.$arity = 2;
|
|
950
950
|
return l;
|
|
951
951
|
}
|
|
952
952
|
function GameServer$playerLive$slambda($playerId, resultContinuation) {
|
|
953
|
-
this.
|
|
953
|
+
this.m9o_1 = $playerId;
|
|
954
954
|
CoroutineImpl.call(this, resultContinuation);
|
|
955
955
|
}
|
|
956
|
-
protoOf(GameServer$playerLive$slambda).
|
|
957
|
-
var tmp = this.
|
|
956
|
+
protoOf(GameServer$playerLive$slambda).r9n = function ($this$dispatchAsync, store, $completion) {
|
|
957
|
+
var tmp = this.s9n($this$dispatchAsync, store, $completion);
|
|
958
958
|
tmp.g9_1 = Unit_instance;
|
|
959
959
|
tmp.h9_1 = null;
|
|
960
960
|
return tmp.m9();
|
|
961
961
|
};
|
|
962
962
|
protoOf(GameServer$playerLive$slambda).x9 = function (p1, p2, $completion) {
|
|
963
963
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
964
|
-
return this.
|
|
964
|
+
return this.r9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
965
965
|
};
|
|
966
966
|
protoOf(GameServer$playerLive$slambda).m9 = function () {
|
|
967
967
|
var suspendResult = this.g9_1;
|
|
@@ -970,9 +970,9 @@
|
|
|
970
970
|
var tmp = this.e9_1;
|
|
971
971
|
if (tmp === 0) {
|
|
972
972
|
this.f9_1 = 1;
|
|
973
|
-
var tmp_0 = this.
|
|
973
|
+
var tmp_0 = this.o9o_1.dispatch;
|
|
974
974
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
975
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
975
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.m9o_1));
|
|
976
976
|
return Unit_instance;
|
|
977
977
|
} else if (tmp === 1) {
|
|
978
978
|
throw this.h9_1;
|
|
@@ -983,33 +983,33 @@
|
|
|
983
983
|
}
|
|
984
984
|
while (true);
|
|
985
985
|
};
|
|
986
|
-
protoOf(GameServer$playerLive$slambda).
|
|
987
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
988
|
-
i.
|
|
989
|
-
i.
|
|
986
|
+
protoOf(GameServer$playerLive$slambda).s9n = function ($this$dispatchAsync, store, completion) {
|
|
987
|
+
var i = new GameServer$playerLive$slambda(this.m9o_1, completion);
|
|
988
|
+
i.n9o_1 = $this$dispatchAsync;
|
|
989
|
+
i.o9o_1 = store;
|
|
990
990
|
return i;
|
|
991
991
|
};
|
|
992
992
|
function GameServer$playerLive$slambda_0($playerId, resultContinuation) {
|
|
993
993
|
var i = new GameServer$playerLive$slambda($playerId, resultContinuation);
|
|
994
994
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
995
|
-
return i.
|
|
995
|
+
return i.r9n($this$dispatchAsync, store, $completion);
|
|
996
996
|
};
|
|
997
997
|
l.$arity = 2;
|
|
998
998
|
return l;
|
|
999
999
|
}
|
|
1000
1000
|
function GameServer$playerLeft$slambda($playerId, resultContinuation) {
|
|
1001
|
-
this.
|
|
1001
|
+
this.x9o_1 = $playerId;
|
|
1002
1002
|
CoroutineImpl.call(this, resultContinuation);
|
|
1003
1003
|
}
|
|
1004
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
1005
|
-
var tmp = this.
|
|
1004
|
+
protoOf(GameServer$playerLeft$slambda).r9n = function ($this$dispatchAsync, store, $completion) {
|
|
1005
|
+
var tmp = this.s9n($this$dispatchAsync, store, $completion);
|
|
1006
1006
|
tmp.g9_1 = Unit_instance;
|
|
1007
1007
|
tmp.h9_1 = null;
|
|
1008
1008
|
return tmp.m9();
|
|
1009
1009
|
};
|
|
1010
1010
|
protoOf(GameServer$playerLeft$slambda).x9 = function (p1, p2, $completion) {
|
|
1011
1011
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1012
|
-
return this.
|
|
1012
|
+
return this.r9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1013
1013
|
};
|
|
1014
1014
|
protoOf(GameServer$playerLeft$slambda).m9 = function () {
|
|
1015
1015
|
var suspendResult = this.g9_1;
|
|
@@ -1018,9 +1018,9 @@
|
|
|
1018
1018
|
var tmp = this.e9_1;
|
|
1019
1019
|
if (tmp === 0) {
|
|
1020
1020
|
this.f9_1 = 1;
|
|
1021
|
-
var tmp_0 = this.
|
|
1021
|
+
var tmp_0 = this.z9o_1.dispatch;
|
|
1022
1022
|
var tmp0_connectionState = PlayerConnectionState_LEFT_getInstance();
|
|
1023
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
1023
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.x9o_1));
|
|
1024
1024
|
return Unit_instance;
|
|
1025
1025
|
} else if (tmp === 1) {
|
|
1026
1026
|
throw this.h9_1;
|
|
@@ -1031,39 +1031,39 @@
|
|
|
1031
1031
|
}
|
|
1032
1032
|
while (true);
|
|
1033
1033
|
};
|
|
1034
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
1035
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
1036
|
-
i.
|
|
1037
|
-
i.
|
|
1034
|
+
protoOf(GameServer$playerLeft$slambda).s9n = function ($this$dispatchAsync, store, completion) {
|
|
1035
|
+
var i = new GameServer$playerLeft$slambda(this.x9o_1, completion);
|
|
1036
|
+
i.y9o_1 = $this$dispatchAsync;
|
|
1037
|
+
i.z9o_1 = store;
|
|
1038
1038
|
return i;
|
|
1039
1039
|
};
|
|
1040
1040
|
function GameServer$playerLeft$slambda_0($playerId, resultContinuation) {
|
|
1041
1041
|
var i = new GameServer$playerLeft$slambda($playerId, resultContinuation);
|
|
1042
1042
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1043
|
-
return i.
|
|
1043
|
+
return i.r9n($this$dispatchAsync, store, $completion);
|
|
1044
1044
|
};
|
|
1045
1045
|
l.$arity = 2;
|
|
1046
1046
|
return l;
|
|
1047
1047
|
}
|
|
1048
1048
|
function GameServer$roomOnCreate$slambda($usersArray, $gameCreatorId, $config, $transition, this$0, $spectators, $roomId, resultContinuation) {
|
|
1049
|
-
this.
|
|
1050
|
-
this.
|
|
1051
|
-
this.
|
|
1052
|
-
this.
|
|
1053
|
-
this.
|
|
1054
|
-
this.
|
|
1055
|
-
this.
|
|
1049
|
+
this.i9p_1 = $usersArray;
|
|
1050
|
+
this.j9p_1 = $gameCreatorId;
|
|
1051
|
+
this.k9p_1 = $config;
|
|
1052
|
+
this.l9p_1 = $transition;
|
|
1053
|
+
this.m9p_1 = this$0;
|
|
1054
|
+
this.n9p_1 = $spectators;
|
|
1055
|
+
this.o9p_1 = $roomId;
|
|
1056
1056
|
CoroutineImpl.call(this, resultContinuation);
|
|
1057
1057
|
}
|
|
1058
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
1059
|
-
var tmp = this.
|
|
1058
|
+
protoOf(GameServer$roomOnCreate$slambda).r9n = function ($this$dispatchAsync, store, $completion) {
|
|
1059
|
+
var tmp = this.s9n($this$dispatchAsync, store, $completion);
|
|
1060
1060
|
tmp.g9_1 = Unit_instance;
|
|
1061
1061
|
tmp.h9_1 = null;
|
|
1062
1062
|
return tmp.m9();
|
|
1063
1063
|
};
|
|
1064
1064
|
protoOf(GameServer$roomOnCreate$slambda).x9 = function (p1, p2, $completion) {
|
|
1065
1065
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1066
|
-
return this.
|
|
1066
|
+
return this.r9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1067
1067
|
};
|
|
1068
1068
|
protoOf(GameServer$roomOnCreate$slambda).m9 = function () {
|
|
1069
1069
|
var suspendResult = this.g9_1;
|
|
@@ -1072,24 +1072,24 @@
|
|
|
1072
1072
|
var tmp = this.e9_1;
|
|
1073
1073
|
if (tmp === 0) {
|
|
1074
1074
|
this.f9_1 = 1;
|
|
1075
|
-
var users = toList(this.
|
|
1076
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
1075
|
+
var users = toList(this.i9p_1);
|
|
1076
|
+
var gameCreatorUser = getPlayer(users, this.j9p_1);
|
|
1077
1077
|
var tmp_0;
|
|
1078
|
-
if (this.
|
|
1079
|
-
tmp_0 = sortWithItem(_get_random__h29cgo(this.
|
|
1078
|
+
if (this.k9p_1.mode.shufflePlayers && this.l9p_1 == null) {
|
|
1079
|
+
tmp_0 = sortWithItem(_get_random__h29cgo(this.m9p_1).h5w(toMutableList(users)), gameCreatorUser);
|
|
1080
1080
|
} else {
|
|
1081
|
-
var tmp0_safe_receiver = this.
|
|
1081
|
+
var tmp0_safe_receiver = this.l9p_1;
|
|
1082
1082
|
var previousPlayers = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.previousPlayers;
|
|
1083
1083
|
var tmp_1;
|
|
1084
|
-
if (!(previousPlayers == null) && this.
|
|
1085
|
-
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.
|
|
1084
|
+
if (!(previousPlayers == null) && this.k9p_1.playersMode.isTeamGame) {
|
|
1085
|
+
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.m9p_1);
|
|
1086
1086
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(previousPlayers, 10));
|
|
1087
1087
|
var tmp0_iterator = previousPlayers.j();
|
|
1088
1088
|
while (tmp0_iterator.k()) {
|
|
1089
1089
|
var item = tmp0_iterator.l();
|
|
1090
1090
|
destination.e(new GameServer$roomOnCreate$1$updatedUsers$previousTeams$1(item));
|
|
1091
1091
|
}
|
|
1092
|
-
var previousTeams = tmp_2.
|
|
1092
|
+
var previousTeams = tmp_2.l8s(destination);
|
|
1093
1093
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
1094
1094
|
var tmp0_iterator_0 = users.j();
|
|
1095
1095
|
while (tmp0_iterator_0.k()) {
|
|
@@ -1113,17 +1113,17 @@
|
|
|
1113
1113
|
destination_1.e(destination_2);
|
|
1114
1114
|
}
|
|
1115
1115
|
var updatedTeams = destination_1;
|
|
1116
|
-
tmp_1 = _get_teamsLogicProvider__u10pm6(this.
|
|
1116
|
+
tmp_1 = _get_teamsLogicProvider__u10pm6(this.m9p_1).p8s(updatedTeams);
|
|
1117
1117
|
} else {
|
|
1118
1118
|
tmp_1 = users;
|
|
1119
1119
|
}
|
|
1120
1120
|
tmp_0 = tmp_1;
|
|
1121
1121
|
}
|
|
1122
1122
|
var updatedUsers = tmp_0;
|
|
1123
|
-
var tmp_3 = this.
|
|
1123
|
+
var tmp_3 = this.q9p_1.dispatch;
|
|
1124
1124
|
var tmp1_version = GameEngineConfig_instance.version;
|
|
1125
|
-
var tmp2_spectators = toList(this.
|
|
1126
|
-
tmp_3(new StartGameMechanicAction(this.
|
|
1125
|
+
var tmp2_spectators = toList(this.n9p_1);
|
|
1126
|
+
tmp_3(new StartGameMechanicAction(this.k9p_1, this.o9p_1, tmp1_version, this.j9p_1, updatedUsers, VOID, tmp2_spectators));
|
|
1127
1127
|
return Unit_instance;
|
|
1128
1128
|
} else if (tmp === 1) {
|
|
1129
1129
|
throw this.h9_1;
|
|
@@ -1134,33 +1134,33 @@
|
|
|
1134
1134
|
}
|
|
1135
1135
|
while (true);
|
|
1136
1136
|
};
|
|
1137
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
1138
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
1139
|
-
i.
|
|
1140
|
-
i.
|
|
1137
|
+
protoOf(GameServer$roomOnCreate$slambda).s9n = function ($this$dispatchAsync, store, completion) {
|
|
1138
|
+
var i = new GameServer$roomOnCreate$slambda(this.i9p_1, this.j9p_1, this.k9p_1, this.l9p_1, this.m9p_1, this.n9p_1, this.o9p_1, completion);
|
|
1139
|
+
i.p9p_1 = $this$dispatchAsync;
|
|
1140
|
+
i.q9p_1 = store;
|
|
1141
1141
|
return i;
|
|
1142
1142
|
};
|
|
1143
1143
|
function GameServer$roomOnCreate$slambda_0($usersArray, $gameCreatorId, $config, $transition, this$0, $spectators, $roomId, resultContinuation) {
|
|
1144
1144
|
var i = new GameServer$roomOnCreate$slambda($usersArray, $gameCreatorId, $config, $transition, this$0, $spectators, $roomId, resultContinuation);
|
|
1145
1145
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1146
|
-
return i.
|
|
1146
|
+
return i.r9n($this$dispatchAsync, store, $completion);
|
|
1147
1147
|
};
|
|
1148
1148
|
l.$arity = 2;
|
|
1149
1149
|
return l;
|
|
1150
1150
|
}
|
|
1151
1151
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
1152
|
-
this.
|
|
1152
|
+
this.z9p_1 = $state;
|
|
1153
1153
|
CoroutineImpl.call(this, resultContinuation);
|
|
1154
1154
|
}
|
|
1155
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
1156
|
-
var tmp = this.
|
|
1155
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).r9n = function ($this$dispatchAsync, store, $completion) {
|
|
1156
|
+
var tmp = this.s9n($this$dispatchAsync, store, $completion);
|
|
1157
1157
|
tmp.g9_1 = Unit_instance;
|
|
1158
1158
|
tmp.h9_1 = null;
|
|
1159
1159
|
return tmp.m9();
|
|
1160
1160
|
};
|
|
1161
1161
|
protoOf(GameServer$roomOnContinueFromState$slambda).x9 = function (p1, p2, $completion) {
|
|
1162
1162
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1163
|
-
return this.
|
|
1163
|
+
return this.r9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1164
1164
|
};
|
|
1165
1165
|
protoOf(GameServer$roomOnContinueFromState$slambda).m9 = function () {
|
|
1166
1166
|
var suspendResult = this.g9_1;
|
|
@@ -1169,9 +1169,9 @@
|
|
|
1169
1169
|
var tmp = this.e9_1;
|
|
1170
1170
|
if (tmp === 0) {
|
|
1171
1171
|
this.f9_1 = 1;
|
|
1172
|
-
var tmp_0 = this.
|
|
1172
|
+
var tmp_0 = this.b9q_1.dispatch;
|
|
1173
1173
|
var tmp0_reason = new RestartRoundReason(null);
|
|
1174
|
-
var tmp1_table = this.
|
|
1174
|
+
var tmp1_table = this.z9p_1.table;
|
|
1175
1175
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
1176
1176
|
return Unit_instance;
|
|
1177
1177
|
} else if (tmp === 1) {
|
|
@@ -1183,33 +1183,33 @@
|
|
|
1183
1183
|
}
|
|
1184
1184
|
while (true);
|
|
1185
1185
|
};
|
|
1186
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
1187
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
1188
|
-
i.
|
|
1189
|
-
i.
|
|
1186
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).s9n = function ($this$dispatchAsync, store, completion) {
|
|
1187
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.z9p_1, completion);
|
|
1188
|
+
i.a9q_1 = $this$dispatchAsync;
|
|
1189
|
+
i.b9q_1 = store;
|
|
1190
1190
|
return i;
|
|
1191
1191
|
};
|
|
1192
1192
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
1193
1193
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
1194
1194
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1195
|
-
return i.
|
|
1195
|
+
return i.r9n($this$dispatchAsync, store, $completion);
|
|
1196
1196
|
};
|
|
1197
1197
|
l.$arity = 2;
|
|
1198
1198
|
return l;
|
|
1199
1199
|
}
|
|
1200
1200
|
function GameServer$roomOnContinueFromState$slambda_1($state, resultContinuation) {
|
|
1201
|
-
this.
|
|
1201
|
+
this.k9q_1 = $state;
|
|
1202
1202
|
CoroutineImpl.call(this, resultContinuation);
|
|
1203
1203
|
}
|
|
1204
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
1205
|
-
var tmp = this.
|
|
1204
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).r9n = function ($this$dispatchAsync, store, $completion) {
|
|
1205
|
+
var tmp = this.s9n($this$dispatchAsync, store, $completion);
|
|
1206
1206
|
tmp.g9_1 = Unit_instance;
|
|
1207
1207
|
tmp.h9_1 = null;
|
|
1208
1208
|
return tmp.m9();
|
|
1209
1209
|
};
|
|
1210
1210
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).x9 = function (p1, p2, $completion) {
|
|
1211
1211
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1212
|
-
return this.
|
|
1212
|
+
return this.r9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1213
1213
|
};
|
|
1214
1214
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).m9 = function () {
|
|
1215
1215
|
var suspendResult = this.g9_1;
|
|
@@ -1218,10 +1218,10 @@
|
|
|
1218
1218
|
var tmp = this.e9_1;
|
|
1219
1219
|
if (tmp === 0) {
|
|
1220
1220
|
this.f9_1 = 1;
|
|
1221
|
-
var tmp0_iterator = this.
|
|
1221
|
+
var tmp0_iterator = this.k9q_1.actions.j();
|
|
1222
1222
|
while (tmp0_iterator.k()) {
|
|
1223
1223
|
var element = tmp0_iterator.l();
|
|
1224
|
-
this.
|
|
1224
|
+
this.m9q_1.dispatch(element);
|
|
1225
1225
|
}
|
|
1226
1226
|
return Unit_instance;
|
|
1227
1227
|
} else if (tmp === 1) {
|
|
@@ -1233,35 +1233,35 @@
|
|
|
1233
1233
|
}
|
|
1234
1234
|
while (true);
|
|
1235
1235
|
};
|
|
1236
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
1237
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
1238
|
-
i.
|
|
1239
|
-
i.
|
|
1236
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).s9n = function ($this$dispatchAsync, store, completion) {
|
|
1237
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.k9q_1, completion);
|
|
1238
|
+
i.l9q_1 = $this$dispatchAsync;
|
|
1239
|
+
i.m9q_1 = store;
|
|
1240
1240
|
return i;
|
|
1241
1241
|
};
|
|
1242
1242
|
function GameServer$roomOnContinueFromState$slambda_2($state, resultContinuation) {
|
|
1243
1243
|
var i = new GameServer$roomOnContinueFromState$slambda_1($state, resultContinuation);
|
|
1244
1244
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1245
|
-
return i.
|
|
1245
|
+
return i.r9n($this$dispatchAsync, store, $completion);
|
|
1246
1246
|
};
|
|
1247
1247
|
l.$arity = 2;
|
|
1248
1248
|
return l;
|
|
1249
1249
|
}
|
|
1250
1250
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
1251
|
-
this.
|
|
1252
|
-
this.
|
|
1253
|
-
this.
|
|
1251
|
+
this.v9q_1 = $tableLite;
|
|
1252
|
+
this.w9q_1 = $roomId;
|
|
1253
|
+
this.x9q_1 = this$0;
|
|
1254
1254
|
CoroutineImpl.call(this, resultContinuation);
|
|
1255
1255
|
}
|
|
1256
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
1257
|
-
var tmp = this.
|
|
1256
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).r9n = function ($this$dispatchAsync, store, $completion) {
|
|
1257
|
+
var tmp = this.s9n($this$dispatchAsync, store, $completion);
|
|
1258
1258
|
tmp.g9_1 = Unit_instance;
|
|
1259
1259
|
tmp.h9_1 = null;
|
|
1260
1260
|
return tmp.m9();
|
|
1261
1261
|
};
|
|
1262
1262
|
protoOf(GameServer$roomOnContinueFromRound$slambda).x9 = function (p1, p2, $completion) {
|
|
1263
1263
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1264
|
-
return this.
|
|
1264
|
+
return this.r9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1265
1265
|
};
|
|
1266
1266
|
protoOf(GameServer$roomOnContinueFromRound$slambda).m9 = function () {
|
|
1267
1267
|
var suspendResult = this.g9_1;
|
|
@@ -1270,9 +1270,9 @@
|
|
|
1270
1270
|
var tmp = this.e9_1;
|
|
1271
1271
|
if (tmp === 0) {
|
|
1272
1272
|
this.f9_1 = 1;
|
|
1273
|
-
var tmp_0 = this.
|
|
1274
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
1275
|
-
var tmp1_table = Companion_instance.restartRound(this.
|
|
1273
|
+
var tmp_0 = this.z9q_1.dispatch;
|
|
1274
|
+
var tmp0_reason = new RestartRoundReason(this.v9q_1.gameInfo.round.roundNumber);
|
|
1275
|
+
var tmp1_table = Companion_instance.restartRound(this.w9q_1, _get_idsProvider__fnfajc(this.x9q_1).u6h(), GameEngineConfig_instance.version, this.v9q_1);
|
|
1276
1276
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
1277
1277
|
return Unit_instance;
|
|
1278
1278
|
} else if (tmp === 1) {
|
|
@@ -1284,16 +1284,16 @@
|
|
|
1284
1284
|
}
|
|
1285
1285
|
while (true);
|
|
1286
1286
|
};
|
|
1287
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
1288
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
1289
|
-
i.
|
|
1290
|
-
i.
|
|
1287
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).s9n = function ($this$dispatchAsync, store, completion) {
|
|
1288
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.v9q_1, this.w9q_1, this.x9q_1, completion);
|
|
1289
|
+
i.y9q_1 = $this$dispatchAsync;
|
|
1290
|
+
i.z9q_1 = store;
|
|
1291
1291
|
return i;
|
|
1292
1292
|
};
|
|
1293
1293
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
1294
1294
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
1295
1295
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1296
|
-
return i.
|
|
1296
|
+
return i.r9n($this$dispatchAsync, store, $completion);
|
|
1297
1297
|
};
|
|
1298
1298
|
l.$arity = 2;
|
|
1299
1299
|
return l;
|
|
@@ -1301,15 +1301,15 @@
|
|
|
1301
1301
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
1302
1302
|
CoroutineImpl.call(this, resultContinuation);
|
|
1303
1303
|
}
|
|
1304
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
1305
|
-
var tmp = this.
|
|
1304
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).r9n = function ($this$dispatchAsync, store, $completion) {
|
|
1305
|
+
var tmp = this.s9n($this$dispatchAsync, store, $completion);
|
|
1306
1306
|
tmp.g9_1 = Unit_instance;
|
|
1307
1307
|
tmp.h9_1 = null;
|
|
1308
1308
|
return tmp.m9();
|
|
1309
1309
|
};
|
|
1310
1310
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).x9 = function (p1, p2, $completion) {
|
|
1311
1311
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1312
|
-
return this.
|
|
1312
|
+
return this.r9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1313
1313
|
};
|
|
1314
1314
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).m9 = function () {
|
|
1315
1315
|
var suspendResult = this.g9_1;
|
|
@@ -1318,7 +1318,7 @@
|
|
|
1318
1318
|
var tmp = this.e9_1;
|
|
1319
1319
|
if (tmp === 0) {
|
|
1320
1320
|
this.f9_1 = 1;
|
|
1321
|
-
this.
|
|
1321
|
+
this.j9r_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
1322
1322
|
return Unit_instance;
|
|
1323
1323
|
} else if (tmp === 1) {
|
|
1324
1324
|
throw this.h9_1;
|
|
@@ -1329,33 +1329,33 @@
|
|
|
1329
1329
|
}
|
|
1330
1330
|
while (true);
|
|
1331
1331
|
};
|
|
1332
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
1332
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).s9n = function ($this$dispatchAsync, store, completion) {
|
|
1333
1333
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
1334
|
-
i.
|
|
1335
|
-
i.
|
|
1334
|
+
i.i9r_1 = $this$dispatchAsync;
|
|
1335
|
+
i.j9r_1 = store;
|
|
1336
1336
|
return i;
|
|
1337
1337
|
};
|
|
1338
1338
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
1339
1339
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
1340
1340
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1341
|
-
return i.
|
|
1341
|
+
return i.r9n($this$dispatchAsync, store, $completion);
|
|
1342
1342
|
};
|
|
1343
1343
|
l.$arity = 2;
|
|
1344
1344
|
return l;
|
|
1345
1345
|
}
|
|
1346
1346
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
1347
|
-
this.
|
|
1347
|
+
this.s9r_1 = $spectators;
|
|
1348
1348
|
CoroutineImpl.call(this, resultContinuation);
|
|
1349
1349
|
}
|
|
1350
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
1351
|
-
var tmp = this.
|
|
1350
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).r9n = function ($this$dispatchAsync, store, $completion) {
|
|
1351
|
+
var tmp = this.s9n($this$dispatchAsync, store, $completion);
|
|
1352
1352
|
tmp.g9_1 = Unit_instance;
|
|
1353
1353
|
tmp.h9_1 = null;
|
|
1354
1354
|
return tmp.m9();
|
|
1355
1355
|
};
|
|
1356
1356
|
protoOf(GameServer$addSpectatorsToRoom$slambda).x9 = function (p1, p2, $completion) {
|
|
1357
1357
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1358
|
-
return this.
|
|
1358
|
+
return this.r9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1359
1359
|
};
|
|
1360
1360
|
protoOf(GameServer$addSpectatorsToRoom$slambda).m9 = function () {
|
|
1361
1361
|
var suspendResult = this.g9_1;
|
|
@@ -1364,7 +1364,7 @@
|
|
|
1364
1364
|
var tmp = this.e9_1;
|
|
1365
1365
|
if (tmp === 0) {
|
|
1366
1366
|
this.f9_1 = 1;
|
|
1367
|
-
this.
|
|
1367
|
+
this.u9r_1.dispatch(new AddSpectatorsAction(toList(this.s9r_1)));
|
|
1368
1368
|
return Unit_instance;
|
|
1369
1369
|
} else if (tmp === 1) {
|
|
1370
1370
|
throw this.h9_1;
|
|
@@ -1375,33 +1375,33 @@
|
|
|
1375
1375
|
}
|
|
1376
1376
|
while (true);
|
|
1377
1377
|
};
|
|
1378
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
1379
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
1380
|
-
i.
|
|
1381
|
-
i.
|
|
1378
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).s9n = function ($this$dispatchAsync, store, completion) {
|
|
1379
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.s9r_1, completion);
|
|
1380
|
+
i.t9r_1 = $this$dispatchAsync;
|
|
1381
|
+
i.u9r_1 = store;
|
|
1382
1382
|
return i;
|
|
1383
1383
|
};
|
|
1384
1384
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
1385
1385
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
1386
1386
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1387
|
-
return i.
|
|
1387
|
+
return i.r9n($this$dispatchAsync, store, $completion);
|
|
1388
1388
|
};
|
|
1389
1389
|
l.$arity = 2;
|
|
1390
1390
|
return l;
|
|
1391
1391
|
}
|
|
1392
1392
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
1393
|
-
this.
|
|
1393
|
+
this.d9s_1 = $spectators;
|
|
1394
1394
|
CoroutineImpl.call(this, resultContinuation);
|
|
1395
1395
|
}
|
|
1396
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
1397
|
-
var tmp = this.
|
|
1396
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).r9n = function ($this$dispatchAsync, store, $completion) {
|
|
1397
|
+
var tmp = this.s9n($this$dispatchAsync, store, $completion);
|
|
1398
1398
|
tmp.g9_1 = Unit_instance;
|
|
1399
1399
|
tmp.h9_1 = null;
|
|
1400
1400
|
return tmp.m9();
|
|
1401
1401
|
};
|
|
1402
1402
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).x9 = function (p1, p2, $completion) {
|
|
1403
1403
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1404
|
-
return this.
|
|
1404
|
+
return this.r9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1405
1405
|
};
|
|
1406
1406
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).m9 = function () {
|
|
1407
1407
|
var suspendResult = this.g9_1;
|
|
@@ -1410,7 +1410,7 @@
|
|
|
1410
1410
|
var tmp = this.e9_1;
|
|
1411
1411
|
if (tmp === 0) {
|
|
1412
1412
|
this.f9_1 = 1;
|
|
1413
|
-
this.
|
|
1413
|
+
this.f9s_1.dispatch(new RemoveSpectatorsAction(toList(this.d9s_1)));
|
|
1414
1414
|
return Unit_instance;
|
|
1415
1415
|
} else if (tmp === 1) {
|
|
1416
1416
|
throw this.h9_1;
|
|
@@ -1421,34 +1421,34 @@
|
|
|
1421
1421
|
}
|
|
1422
1422
|
while (true);
|
|
1423
1423
|
};
|
|
1424
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
1425
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
1426
|
-
i.
|
|
1427
|
-
i.
|
|
1424
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).s9n = function ($this$dispatchAsync, store, completion) {
|
|
1425
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.d9s_1, completion);
|
|
1426
|
+
i.e9s_1 = $this$dispatchAsync;
|
|
1427
|
+
i.f9s_1 = store;
|
|
1428
1428
|
return i;
|
|
1429
1429
|
};
|
|
1430
1430
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
1431
1431
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
1432
1432
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1433
|
-
return i.
|
|
1433
|
+
return i.r9n($this$dispatchAsync, store, $completion);
|
|
1434
1434
|
};
|
|
1435
1435
|
l.$arity = 2;
|
|
1436
1436
|
return l;
|
|
1437
1437
|
}
|
|
1438
1438
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
1439
|
-
this.
|
|
1440
|
-
this.
|
|
1439
|
+
this.o9s_1 = $playerId;
|
|
1440
|
+
this.p9s_1 = this$0;
|
|
1441
1441
|
CoroutineImpl.call(this, resultContinuation);
|
|
1442
1442
|
}
|
|
1443
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
1444
|
-
var tmp = this.
|
|
1443
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).r9n = function ($this$dispatchAsync, store, $completion) {
|
|
1444
|
+
var tmp = this.s9n($this$dispatchAsync, store, $completion);
|
|
1445
1445
|
tmp.g9_1 = Unit_instance;
|
|
1446
1446
|
tmp.h9_1 = null;
|
|
1447
1447
|
return tmp.m9();
|
|
1448
1448
|
};
|
|
1449
1449
|
protoOf(GameServer$roomRefreshPlayerState$slambda).x9 = function (p1, p2, $completion) {
|
|
1450
1450
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1451
|
-
return this.
|
|
1451
|
+
return this.r9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1452
1452
|
};
|
|
1453
1453
|
protoOf(GameServer$roomRefreshPlayerState$slambda).m9 = function () {
|
|
1454
1454
|
var suspendResult = this.g9_1;
|
|
@@ -1457,14 +1457,14 @@
|
|
|
1457
1457
|
var tmp = this.e9_1;
|
|
1458
1458
|
if (tmp === 0) {
|
|
1459
1459
|
this.f9_1 = 1;
|
|
1460
|
-
var table = this.
|
|
1461
|
-
var player = getPlayer(table.players, this.
|
|
1462
|
-
if (player.
|
|
1463
|
-
this.
|
|
1460
|
+
var table = this.r9s_1.state.o6r();
|
|
1461
|
+
var player = getPlayer(table.players, this.o9s_1);
|
|
1462
|
+
if (player.i6x_1.j6d().a6c_1.isLive) {
|
|
1463
|
+
this.r9s_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.p9s_1).g8z(player, table));
|
|
1464
1464
|
} else {
|
|
1465
|
-
var tmp_0 = this.
|
|
1465
|
+
var tmp_0 = this.r9s_1.dispatch;
|
|
1466
1466
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
1467
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
1467
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.o9s_1));
|
|
1468
1468
|
}
|
|
1469
1469
|
return Unit_instance;
|
|
1470
1470
|
} else if (tmp === 1) {
|
|
@@ -1476,34 +1476,34 @@
|
|
|
1476
1476
|
}
|
|
1477
1477
|
while (true);
|
|
1478
1478
|
};
|
|
1479
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
1480
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
1481
|
-
i.
|
|
1482
|
-
i.
|
|
1479
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).s9n = function ($this$dispatchAsync, store, completion) {
|
|
1480
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.o9s_1, this.p9s_1, completion);
|
|
1481
|
+
i.q9s_1 = $this$dispatchAsync;
|
|
1482
|
+
i.r9s_1 = store;
|
|
1483
1483
|
return i;
|
|
1484
1484
|
};
|
|
1485
1485
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
1486
1486
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
1487
1487
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1488
|
-
return i.
|
|
1488
|
+
return i.r9n($this$dispatchAsync, store, $completion);
|
|
1489
1489
|
};
|
|
1490
1490
|
l.$arity = 2;
|
|
1491
1491
|
return l;
|
|
1492
1492
|
}
|
|
1493
1493
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
1494
|
-
this.
|
|
1495
|
-
this.
|
|
1494
|
+
this.a9t_1 = this$0;
|
|
1495
|
+
this.b9t_1 = $newRid;
|
|
1496
1496
|
CoroutineImpl.call(this, resultContinuation);
|
|
1497
1497
|
}
|
|
1498
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
1499
|
-
var tmp = this.
|
|
1498
|
+
protoOf(GameServer$roomOnDelete$slambda).r9n = function ($this$dispatchAsync, store, $completion) {
|
|
1499
|
+
var tmp = this.s9n($this$dispatchAsync, store, $completion);
|
|
1500
1500
|
tmp.g9_1 = Unit_instance;
|
|
1501
1501
|
tmp.h9_1 = null;
|
|
1502
1502
|
return tmp.m9();
|
|
1503
1503
|
};
|
|
1504
1504
|
protoOf(GameServer$roomOnDelete$slambda).x9 = function (p1, p2, $completion) {
|
|
1505
1505
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1506
|
-
return this.
|
|
1506
|
+
return this.r9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1507
1507
|
};
|
|
1508
1508
|
protoOf(GameServer$roomOnDelete$slambda).m9 = function () {
|
|
1509
1509
|
var suspendResult = this.g9_1;
|
|
@@ -1512,27 +1512,27 @@
|
|
|
1512
1512
|
var tmp = this.e9_1;
|
|
1513
1513
|
if (tmp === 0) {
|
|
1514
1514
|
this.f9_1 = 1;
|
|
1515
|
-
var it = this.
|
|
1515
|
+
var it = this.a9t_1.g6b().p6q_1;
|
|
1516
1516
|
var tmp_0;
|
|
1517
1517
|
if (it == null) {
|
|
1518
|
-
_get_logger__rkp4sl(this.
|
|
1518
|
+
_get_logger__rkp4sl(this.a9t_1).w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
1519
1519
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
1520
1520
|
} else {
|
|
1521
1521
|
tmp_0 = it;
|
|
1522
1522
|
}
|
|
1523
1523
|
var terminationState = tmp_0;
|
|
1524
|
-
var gameTransition = terminationState.
|
|
1524
|
+
var gameTransition = terminationState.o92_1;
|
|
1525
1525
|
var tmp_1;
|
|
1526
1526
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
1527
|
-
var tmp0_elvis_lhs = this.
|
|
1527
|
+
var tmp0_elvis_lhs = this.b9t_1;
|
|
1528
1528
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
1529
1529
|
} else {
|
|
1530
1530
|
tmp_1 = gameTransition;
|
|
1531
1531
|
}
|
|
1532
1532
|
var transition = tmp_1;
|
|
1533
|
-
var tmp_2 = this.
|
|
1534
|
-
var tmp0_reason = terminationState.
|
|
1535
|
-
var tmp1_isGameFinished = this.
|
|
1533
|
+
var tmp_2 = this.d9t_1.dispatch;
|
|
1534
|
+
var tmp0_reason = terminationState.n92_1;
|
|
1535
|
+
var tmp1_isGameFinished = this.a9t_1.g6b().o6r().isGameFinished;
|
|
1536
1536
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
1537
1537
|
return Unit_instance;
|
|
1538
1538
|
} else if (tmp === 1) {
|
|
@@ -1544,33 +1544,33 @@
|
|
|
1544
1544
|
}
|
|
1545
1545
|
while (true);
|
|
1546
1546
|
};
|
|
1547
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
1548
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
1549
|
-
i.
|
|
1550
|
-
i.
|
|
1547
|
+
protoOf(GameServer$roomOnDelete$slambda).s9n = function ($this$dispatchAsync, store, completion) {
|
|
1548
|
+
var i = new GameServer$roomOnDelete$slambda(this.a9t_1, this.b9t_1, completion);
|
|
1549
|
+
i.c9t_1 = $this$dispatchAsync;
|
|
1550
|
+
i.d9t_1 = store;
|
|
1551
1551
|
return i;
|
|
1552
1552
|
};
|
|
1553
1553
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
1554
1554
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
1555
1555
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1556
|
-
return i.
|
|
1556
|
+
return i.r9n($this$dispatchAsync, store, $completion);
|
|
1557
1557
|
};
|
|
1558
1558
|
l.$arity = 2;
|
|
1559
1559
|
return l;
|
|
1560
1560
|
}
|
|
1561
1561
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
1562
|
-
this.
|
|
1562
|
+
this.m9t_1 = $enabled;
|
|
1563
1563
|
CoroutineImpl.call(this, resultContinuation);
|
|
1564
1564
|
}
|
|
1565
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
1566
|
-
var tmp = this.
|
|
1565
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).r9n = function ($this$dispatchAsync, store, $completion) {
|
|
1566
|
+
var tmp = this.s9n($this$dispatchAsync, store, $completion);
|
|
1567
1567
|
tmp.g9_1 = Unit_instance;
|
|
1568
1568
|
tmp.h9_1 = null;
|
|
1569
1569
|
return tmp.m9();
|
|
1570
1570
|
};
|
|
1571
1571
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).x9 = function (p1, p2, $completion) {
|
|
1572
1572
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1573
|
-
return this.
|
|
1573
|
+
return this.r9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1574
1574
|
};
|
|
1575
1575
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).m9 = function () {
|
|
1576
1576
|
var suspendResult = this.g9_1;
|
|
@@ -1579,7 +1579,7 @@
|
|
|
1579
1579
|
var tmp = this.e9_1;
|
|
1580
1580
|
if (tmp === 0) {
|
|
1581
1581
|
this.f9_1 = 1;
|
|
1582
|
-
this.
|
|
1582
|
+
this.o9t_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload_0(this.o9t_1.state).p9t_1.s9t(VOID, this.m9t_1)));
|
|
1583
1583
|
return Unit_instance;
|
|
1584
1584
|
} else if (tmp === 1) {
|
|
1585
1585
|
throw this.h9_1;
|
|
@@ -1590,35 +1590,35 @@
|
|
|
1590
1590
|
}
|
|
1591
1591
|
while (true);
|
|
1592
1592
|
};
|
|
1593
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
1594
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
1595
|
-
i.
|
|
1596
|
-
i.
|
|
1593
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).s9n = function ($this$dispatchAsync, store, completion) {
|
|
1594
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.m9t_1, completion);
|
|
1595
|
+
i.n9t_1 = $this$dispatchAsync;
|
|
1596
|
+
i.o9t_1 = store;
|
|
1597
1597
|
return i;
|
|
1598
1598
|
};
|
|
1599
1599
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
1600
1600
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
1601
1601
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1602
|
-
return i.
|
|
1602
|
+
return i.r9n($this$dispatchAsync, store, $completion);
|
|
1603
1603
|
};
|
|
1604
1604
|
l.$arity = 2;
|
|
1605
1605
|
return l;
|
|
1606
1606
|
}
|
|
1607
1607
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
1608
|
-
this.
|
|
1609
|
-
this.
|
|
1610
|
-
this.
|
|
1608
|
+
this.b9u_1 = $reason;
|
|
1609
|
+
this.c9u_1 = this$0;
|
|
1610
|
+
this.d9u_1 = $roomId;
|
|
1611
1611
|
CoroutineImpl.call(this, resultContinuation);
|
|
1612
1612
|
}
|
|
1613
|
-
protoOf(GameServer$shutdown$slambda).
|
|
1614
|
-
var tmp = this.
|
|
1613
|
+
protoOf(GameServer$shutdown$slambda).r9n = function ($this$dispatchAsync, store, $completion) {
|
|
1614
|
+
var tmp = this.s9n($this$dispatchAsync, store, $completion);
|
|
1615
1615
|
tmp.g9_1 = Unit_instance;
|
|
1616
1616
|
tmp.h9_1 = null;
|
|
1617
1617
|
return tmp.m9();
|
|
1618
1618
|
};
|
|
1619
1619
|
protoOf(GameServer$shutdown$slambda).x9 = function (p1, p2, $completion) {
|
|
1620
1620
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1621
|
-
return this.
|
|
1621
|
+
return this.r9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1622
1622
|
};
|
|
1623
1623
|
protoOf(GameServer$shutdown$slambda).m9 = function () {
|
|
1624
1624
|
var suspendResult = this.g9_1;
|
|
@@ -1627,11 +1627,11 @@
|
|
|
1627
1627
|
var tmp = this.e9_1;
|
|
1628
1628
|
if (tmp === 0) {
|
|
1629
1629
|
this.f9_1 = 1;
|
|
1630
|
-
var state = this.
|
|
1630
|
+
var state = this.f9u_1.store.state;
|
|
1631
1631
|
if (state.p6r()) {
|
|
1632
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
1632
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.b9u_1, get_serverShutdownReasonMapping());
|
|
1633
1633
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
1634
|
-
var tmp_0 = this.
|
|
1634
|
+
var tmp_0 = this.f9u_1.dispatch;
|
|
1635
1635
|
var tmp_1 = Companion_instance_0;
|
|
1636
1636
|
var tmp_2;
|
|
1637
1637
|
switch (shutdownReason.n2_1) {
|
|
@@ -1645,10 +1645,10 @@
|
|
|
1645
1645
|
noWhenBranchMatchedException();
|
|
1646
1646
|
break;
|
|
1647
1647
|
}
|
|
1648
|
-
tmp_0(tmp_1.withAnalytics(tmp_2, this.
|
|
1648
|
+
tmp_0(tmp_1.withAnalytics(tmp_2, this.c9u_1.table.isGameFinished, this.c9u_1.table));
|
|
1649
1649
|
} else {
|
|
1650
|
-
_get_logger__rkp4sl(this.
|
|
1651
|
-
this.
|
|
1650
|
+
_get_logger__rkp4sl(this.c9u_1).w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.d9u_1);
|
|
1651
|
+
this.f9u_1.dispatch(new ClearAction());
|
|
1652
1652
|
}
|
|
1653
1653
|
return Unit_instance;
|
|
1654
1654
|
} else if (tmp === 1) {
|
|
@@ -1660,22 +1660,22 @@
|
|
|
1660
1660
|
}
|
|
1661
1661
|
while (true);
|
|
1662
1662
|
};
|
|
1663
|
-
protoOf(GameServer$shutdown$slambda).
|
|
1664
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
1665
|
-
i.
|
|
1666
|
-
i.
|
|
1663
|
+
protoOf(GameServer$shutdown$slambda).s9n = function ($this$dispatchAsync, store, completion) {
|
|
1664
|
+
var i = new GameServer$shutdown$slambda(this.b9u_1, this.c9u_1, this.d9u_1, completion);
|
|
1665
|
+
i.e9u_1 = $this$dispatchAsync;
|
|
1666
|
+
i.f9u_1 = store;
|
|
1667
1667
|
return i;
|
|
1668
1668
|
};
|
|
1669
1669
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
1670
1670
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
1671
1671
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1672
|
-
return i.
|
|
1672
|
+
return i.r9n($this$dispatchAsync, store, $completion);
|
|
1673
1673
|
};
|
|
1674
1674
|
l.$arity = 2;
|
|
1675
1675
|
return l;
|
|
1676
1676
|
}
|
|
1677
1677
|
function GameServer(di, tag, storeContract, preloadedState, externalReducers, externalMiddlewares) {
|
|
1678
|
-
preloadedState = preloadedState === VOID ? new AppState(VOID, Companion_instance_11.
|
|
1678
|
+
preloadedState = preloadedState === VOID ? new AppState(VOID, Companion_instance_11.g9u()) : preloadedState;
|
|
1679
1679
|
var tmp;
|
|
1680
1680
|
if (externalReducers === VOID) {
|
|
1681
1681
|
// Inline function 'kotlin.collections.listOf' call
|
|
@@ -1698,46 +1698,46 @@
|
|
|
1698
1698
|
// Inline function 'org.kodein.type.generic' call
|
|
1699
1699
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
1700
1700
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
1701
|
-
tmp_1.
|
|
1701
|
+
tmp_1.l9l_1 = Instance(di, tmp$ret$2, null).t63(this, logger$factory());
|
|
1702
1702
|
var tmp_3 = this;
|
|
1703
1703
|
// Inline function 'org.kodein.di.instance' call
|
|
1704
1704
|
// Inline function 'org.kodein.type.generic' call
|
|
1705
1705
|
var tmp_4 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
|
|
1706
1706
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
1707
|
-
tmp_3.
|
|
1707
|
+
tmp_3.m9l_1 = Instance(di, tmp$ret$4, null).t63(this, toClientEventsObserver$factory());
|
|
1708
1708
|
var tmp_5 = this;
|
|
1709
1709
|
// Inline function 'org.kodein.di.instance' call
|
|
1710
1710
|
// Inline function 'org.kodein.type.generic' call
|
|
1711
1711
|
var tmp_6 = typeToken(createKType(getKClass(MechanicEventsObserver), arrayOf([]), false));
|
|
1712
1712
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
1713
|
-
tmp_5.
|
|
1713
|
+
tmp_5.n9l_1 = Instance(di, tmp$ret$6, null).t63(this, mechanicEventsObserver$factory());
|
|
1714
1714
|
var tmp_7 = this;
|
|
1715
1715
|
// Inline function 'org.kodein.di.instance' call
|
|
1716
1716
|
// Inline function 'org.kodein.type.generic' call
|
|
1717
1717
|
var tmp_8 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
1718
1718
|
var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
1719
|
-
tmp_7.
|
|
1719
|
+
tmp_7.o9l_1 = Instance(di, tmp$ret$8, null).t63(this, playerConnectionInteractor$factory());
|
|
1720
1720
|
var tmp_9 = this;
|
|
1721
1721
|
// Inline function 'org.kodein.di.instance' call
|
|
1722
1722
|
// Inline function 'org.kodein.type.generic' call
|
|
1723
1723
|
var tmp_10 = typeToken(createKType(getKClass(TeamsLogicProvider), arrayOf([]), false));
|
|
1724
1724
|
var tmp$ret$10 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
1725
|
-
tmp_9.
|
|
1725
|
+
tmp_9.p9l_1 = Instance(di, tmp$ret$10, null).t63(this, teamsLogicProvider$factory());
|
|
1726
1726
|
var tmp_11 = this;
|
|
1727
|
-
tmp_11.
|
|
1727
|
+
tmp_11.q9l_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
1728
1728
|
var tmp_12 = this;
|
|
1729
1729
|
// Inline function 'org.kodein.di.instance' call
|
|
1730
1730
|
// Inline function 'org.kodein.type.generic' call
|
|
1731
1731
|
var tmp_13 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
1732
1732
|
var tmp$ret$12 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
1733
|
-
tmp_12.
|
|
1733
|
+
tmp_12.r9l_1 = Instance(di, tmp$ret$12, null).t63(this, idsProvider$factory());
|
|
1734
1734
|
var tmp_14 = this;
|
|
1735
|
-
var tmp0_externalMiddlewares = plus(storeContract.
|
|
1736
|
-
var tmp1_externalReducers = plus(storeContract.
|
|
1737
|
-
tmp_14.
|
|
1735
|
+
var tmp0_externalMiddlewares = plus(storeContract.k95(), externalMiddlewares);
|
|
1736
|
+
var tmp1_externalReducers = plus(storeContract.j95(), externalReducers);
|
|
1737
|
+
tmp_14.s9l_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
1738
1738
|
}
|
|
1739
1739
|
protoOf(GameServer).b6q = function () {
|
|
1740
|
-
return this.
|
|
1740
|
+
return this.s9l_1;
|
|
1741
1741
|
};
|
|
1742
1742
|
protoOf(GameServer).d5l = function () {
|
|
1743
1743
|
return this.g6b().o6r().id;
|
|
@@ -1765,55 +1765,55 @@
|
|
|
1765
1765
|
};
|
|
1766
1766
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
1767
1767
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
1768
|
-
this.
|
|
1768
|
+
this.s9l_1.n6r(GameServer$fromClientEvent$slambda_0(action, null));
|
|
1769
1769
|
};
|
|
1770
1770
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
1771
1771
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
1772
|
-
this.
|
|
1772
|
+
this.s9l_1.n6r(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
1773
1773
|
};
|
|
1774
1774
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
1775
1775
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLive: ' + playerId);
|
|
1776
|
-
this.
|
|
1776
|
+
this.s9l_1.n6r(GameServer$playerLive$slambda_0(playerId, null));
|
|
1777
1777
|
};
|
|
1778
1778
|
protoOf(GameServer).playerLeft = function (playerId) {
|
|
1779
1779
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
1780
|
-
this.
|
|
1780
|
+
this.s9l_1.n6r(GameServer$playerLeft$slambda_0(playerId, null));
|
|
1781
1781
|
};
|
|
1782
|
-
protoOf(GameServer).
|
|
1782
|
+
protoOf(GameServer).h9u = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
1783
1783
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString(transition));
|
|
1784
|
-
this.
|
|
1784
|
+
this.s9l_1.n6r(GameServer$roomOnCreate$slambda_0(usersArray, gameCreatorId, config, transition, this, spectators, roomId, null));
|
|
1785
1785
|
};
|
|
1786
1786
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
1787
1787
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
1788
|
-
this.
|
|
1789
|
-
this.
|
|
1788
|
+
this.s9l_1.n6r(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
1789
|
+
this.s9l_1.n6r(GameServer$roomOnContinueFromState$slambda_2(state, null));
|
|
1790
1790
|
};
|
|
1791
1791
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
1792
1792
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
1793
|
-
this.
|
|
1794
|
-
this.
|
|
1793
|
+
this.s9l_1.n6r(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
1794
|
+
this.s9l_1.n6r(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
1795
1795
|
};
|
|
1796
1796
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
1797
|
-
this.
|
|
1797
|
+
this.s9l_1.n6r(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
1798
1798
|
};
|
|
1799
1799
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
1800
|
-
this.
|
|
1800
|
+
this.s9l_1.n6r(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
1801
1801
|
};
|
|
1802
1802
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
1803
1803
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
1804
|
-
this.
|
|
1804
|
+
this.s9l_1.n6r(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
1805
1805
|
};
|
|
1806
|
-
protoOf(GameServer).
|
|
1806
|
+
protoOf(GameServer).i9u = function (newRid) {
|
|
1807
1807
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnDelete: ' + newRid);
|
|
1808
|
-
this.
|
|
1808
|
+
this.s9l_1.n6r(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
1809
1809
|
};
|
|
1810
1810
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
1811
1811
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
1812
|
-
this.
|
|
1812
|
+
this.s9l_1.n6r(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
1813
1813
|
};
|
|
1814
|
-
protoOf(GameServer).
|
|
1814
|
+
protoOf(GameServer).j9u = function (reason, roomId) {
|
|
1815
1815
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
1816
|
-
this.
|
|
1816
|
+
this.s9l_1.n6r(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
1817
1817
|
};
|
|
1818
1818
|
protoOf(GameServer).clear = function () {
|
|
1819
1819
|
return this.a2();
|
|
@@ -1918,7 +1918,7 @@
|
|
|
1918
1918
|
}
|
|
1919
1919
|
function Companion_0() {
|
|
1920
1920
|
}
|
|
1921
|
-
protoOf(Companion_0).
|
|
1921
|
+
protoOf(Companion_0).k9u = function (fromRound) {
|
|
1922
1922
|
return new ServerConfig(fromRound, true);
|
|
1923
1923
|
};
|
|
1924
1924
|
var Companion_instance_8;
|
|
@@ -1926,23 +1926,23 @@
|
|
|
1926
1926
|
return Companion_instance_8;
|
|
1927
1927
|
}
|
|
1928
1928
|
function ServerConfig(fromRound, canStartNewGame) {
|
|
1929
|
-
this.
|
|
1930
|
-
this.
|
|
1929
|
+
this.q9t_1 = fromRound;
|
|
1930
|
+
this.r9t_1 = canStartNewGame;
|
|
1931
1931
|
}
|
|
1932
|
-
protoOf(ServerConfig).
|
|
1932
|
+
protoOf(ServerConfig).l9u = function (fromRound, canStartNewGame) {
|
|
1933
1933
|
return new ServerConfig(fromRound, canStartNewGame);
|
|
1934
1934
|
};
|
|
1935
|
-
protoOf(ServerConfig).
|
|
1936
|
-
fromRound = fromRound === VOID ? this.
|
|
1937
|
-
canStartNewGame = canStartNewGame === VOID ? this.
|
|
1938
|
-
return $super === VOID ? this.
|
|
1935
|
+
protoOf(ServerConfig).s9t = function (fromRound, canStartNewGame, $super) {
|
|
1936
|
+
fromRound = fromRound === VOID ? this.q9t_1 : fromRound;
|
|
1937
|
+
canStartNewGame = canStartNewGame === VOID ? this.r9t_1 : canStartNewGame;
|
|
1938
|
+
return $super === VOID ? this.l9u(fromRound, canStartNewGame) : $super.l9u.call(this, fromRound, canStartNewGame);
|
|
1939
1939
|
};
|
|
1940
1940
|
protoOf(ServerConfig).toString = function () {
|
|
1941
|
-
return 'ServerConfig(fromRound=' + this.
|
|
1941
|
+
return 'ServerConfig(fromRound=' + this.q9t_1 + ', canStartNewGame=' + this.r9t_1 + ')';
|
|
1942
1942
|
};
|
|
1943
1943
|
protoOf(ServerConfig).hashCode = function () {
|
|
1944
|
-
var result = this.
|
|
1945
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
1944
|
+
var result = this.q9t_1 == null ? 0 : this.q9t_1;
|
|
1945
|
+
result = imul(result, 31) + getBooleanHashCode(this.r9t_1) | 0;
|
|
1946
1946
|
return result;
|
|
1947
1947
|
};
|
|
1948
1948
|
protoOf(ServerConfig).equals = function (other) {
|
|
@@ -1951,9 +1951,9 @@
|
|
|
1951
1951
|
if (!(other instanceof ServerConfig))
|
|
1952
1952
|
return false;
|
|
1953
1953
|
var tmp0_other_with_cast = other instanceof ServerConfig ? other : THROW_CCE();
|
|
1954
|
-
if (!(this.
|
|
1954
|
+
if (!(this.q9t_1 == tmp0_other_with_cast.q9t_1))
|
|
1955
1955
|
return false;
|
|
1956
|
-
if (!(this.
|
|
1956
|
+
if (!(this.r9t_1 === tmp0_other_with_cast.r9t_1))
|
|
1957
1957
|
return false;
|
|
1958
1958
|
return true;
|
|
1959
1959
|
};
|
|
@@ -1968,12 +1968,12 @@
|
|
|
1968
1968
|
protoOf(TableStateUpdate).pe = function () {
|
|
1969
1969
|
return this.table;
|
|
1970
1970
|
};
|
|
1971
|
-
protoOf(TableStateUpdate).
|
|
1971
|
+
protoOf(TableStateUpdate).m9u = function (table) {
|
|
1972
1972
|
return new TableStateUpdate(table);
|
|
1973
1973
|
};
|
|
1974
1974
|
protoOf(TableStateUpdate).copy = function (table, $super) {
|
|
1975
1975
|
table = table === VOID ? this.table : table;
|
|
1976
|
-
return this.
|
|
1976
|
+
return this.m9u(table);
|
|
1977
1977
|
};
|
|
1978
1978
|
protoOf(TableStateUpdate).toString = function () {
|
|
1979
1979
|
return 'TableStateUpdate(table=' + this.table.toString() + ')';
|
|
@@ -1994,18 +1994,18 @@
|
|
|
1994
1994
|
function ActionsStateUpdate(actions) {
|
|
1995
1995
|
this.actions = actions;
|
|
1996
1996
|
}
|
|
1997
|
-
protoOf(ActionsStateUpdate).
|
|
1997
|
+
protoOf(ActionsStateUpdate).e8l = function () {
|
|
1998
1998
|
return this.actions;
|
|
1999
1999
|
};
|
|
2000
2000
|
protoOf(ActionsStateUpdate).pe = function () {
|
|
2001
2001
|
return this.actions;
|
|
2002
2002
|
};
|
|
2003
|
-
protoOf(ActionsStateUpdate).
|
|
2003
|
+
protoOf(ActionsStateUpdate).n9u = function (actions) {
|
|
2004
2004
|
return new ActionsStateUpdate(actions);
|
|
2005
2005
|
};
|
|
2006
2006
|
protoOf(ActionsStateUpdate).copy = function (actions, $super) {
|
|
2007
2007
|
actions = actions === VOID ? this.actions : actions;
|
|
2008
|
-
return this.
|
|
2008
|
+
return this.n9u(actions);
|
|
2009
2009
|
};
|
|
2010
2010
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
2011
2011
|
return 'ActionsStateUpdate(actions=' + toString_0(this.actions) + ')';
|
|
@@ -2269,7 +2269,7 @@
|
|
|
2269
2269
|
function MechanicEventsObserver() {
|
|
2270
2270
|
}
|
|
2271
2271
|
function MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
2272
|
-
this.
|
|
2272
|
+
this.x9u_1 = $$this$unsafeFlow;
|
|
2273
2273
|
CoroutineImpl.call(this, resultContinuation);
|
|
2274
2274
|
}
|
|
2275
2275
|
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda).i1i = function (value, $completion) {
|
|
@@ -2290,12 +2290,12 @@
|
|
|
2290
2290
|
case 0:
|
|
2291
2291
|
this.f9_1 = 2;
|
|
2292
2292
|
var tmp_0 = this;
|
|
2293
|
-
tmp_0.
|
|
2293
|
+
tmp_0.z9u_1 = this.x9u_1;
|
|
2294
2294
|
var tmp_1 = this;
|
|
2295
|
-
tmp_1.
|
|
2295
|
+
tmp_1.a9v_1 = this.y9u_1;
|
|
2296
2296
|
this.e9_1 = 1;
|
|
2297
|
-
var it = this.
|
|
2298
|
-
suspendResult = this.
|
|
2297
|
+
var it = this.a9v_1;
|
|
2298
|
+
suspendResult = this.z9u_1.p18(new ActionsStateUpdate(it), this);
|
|
2299
2299
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2300
2300
|
return suspendResult;
|
|
2301
2301
|
}
|
|
@@ -2318,8 +2318,8 @@
|
|
|
2318
2318
|
while (true);
|
|
2319
2319
|
};
|
|
2320
2320
|
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda).j1i = function (value, completion) {
|
|
2321
|
-
var i = new MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda(this.
|
|
2322
|
-
i.
|
|
2321
|
+
var i = new MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda(this.x9u_1, completion);
|
|
2322
|
+
i.y9u_1 = value;
|
|
2323
2323
|
return i;
|
|
2324
2324
|
};
|
|
2325
2325
|
function MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -2332,8 +2332,8 @@
|
|
|
2332
2332
|
}
|
|
2333
2333
|
function $collectCOROUTINE$0(_this__u8e3s4, collector, resultContinuation) {
|
|
2334
2334
|
CoroutineImpl.call(this, resultContinuation);
|
|
2335
|
-
this.
|
|
2336
|
-
this.
|
|
2335
|
+
this.j9v_1 = _this__u8e3s4;
|
|
2336
|
+
this.k9v_1 = collector;
|
|
2337
2337
|
}
|
|
2338
2338
|
protoOf($collectCOROUTINE$0).m9 = function () {
|
|
2339
2339
|
var suspendResult = this.g9_1;
|
|
@@ -2344,10 +2344,10 @@
|
|
|
2344
2344
|
case 0:
|
|
2345
2345
|
this.f9_1 = 2;
|
|
2346
2346
|
var tmp_0 = this;
|
|
2347
|
-
tmp_0.
|
|
2347
|
+
tmp_0.l9v_1 = this.k9v_1;
|
|
2348
2348
|
this.e9_1 = 1;
|
|
2349
|
-
var tmp_1 = MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda_0(this.
|
|
2350
|
-
suspendResult = this.
|
|
2349
|
+
var tmp_1 = MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda_0(this.l9v_1, null);
|
|
2350
|
+
suspendResult = this.j9v_1.m9v_1.m17(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_1), this);
|
|
2351
2351
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2352
2352
|
return suspendResult;
|
|
2353
2353
|
}
|
|
@@ -2370,7 +2370,7 @@
|
|
|
2370
2370
|
while (true);
|
|
2371
2371
|
};
|
|
2372
2372
|
function _no_name_provided__qut3iv($this) {
|
|
2373
|
-
this.
|
|
2373
|
+
this.m9v_1 = $this;
|
|
2374
2374
|
}
|
|
2375
2375
|
protoOf(_no_name_provided__qut3iv).q18 = function (collector, $completion) {
|
|
2376
2376
|
var tmp = new $collectCOROUTINE$0(this, collector, $completion);
|
|
@@ -2382,18 +2382,18 @@
|
|
|
2382
2382
|
return this.q18(collector, $completion);
|
|
2383
2383
|
};
|
|
2384
2384
|
function MechanicEventsObserverImpl$observeUpdates$slambda$slambda($table, this$0, resultContinuation) {
|
|
2385
|
-
this.
|
|
2386
|
-
this.
|
|
2385
|
+
this.v9v_1 = $table;
|
|
2386
|
+
this.w9v_1 = this$0;
|
|
2387
2387
|
CoroutineImpl.call(this, resultContinuation);
|
|
2388
2388
|
}
|
|
2389
|
-
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda).
|
|
2390
|
-
var tmp = this.
|
|
2389
|
+
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda).y9v = function ($this$flow, $completion) {
|
|
2390
|
+
var tmp = this.z9v($this$flow, $completion);
|
|
2391
2391
|
tmp.g9_1 = Unit_instance;
|
|
2392
2392
|
tmp.h9_1 = null;
|
|
2393
2393
|
return tmp.m9();
|
|
2394
2394
|
};
|
|
2395
2395
|
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda).w9 = function (p1, $completion) {
|
|
2396
|
-
return this.
|
|
2396
|
+
return this.y9v((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
2397
2397
|
};
|
|
2398
2398
|
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda).m9 = function () {
|
|
2399
2399
|
var suspendResult = this.g9_1;
|
|
@@ -2404,7 +2404,7 @@
|
|
|
2404
2404
|
case 0:
|
|
2405
2405
|
this.f9_1 = 3;
|
|
2406
2406
|
this.e9_1 = 1;
|
|
2407
|
-
suspendResult = this.
|
|
2407
|
+
suspendResult = this.x9v_1.p18(new TableStateUpdate(this.v9v_1), this);
|
|
2408
2408
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2409
2409
|
return suspendResult;
|
|
2410
2410
|
}
|
|
@@ -2412,8 +2412,8 @@
|
|
|
2412
2412
|
continue $sm;
|
|
2413
2413
|
case 1:
|
|
2414
2414
|
this.e9_1 = 2;
|
|
2415
|
-
var this_0 = windowedByInterval(this.
|
|
2416
|
-
suspendResult = emitAll(this.
|
|
2415
|
+
var this_0 = windowedByInterval(this.w9v_1.a9w_1, new Long(1000, 0));
|
|
2416
|
+
suspendResult = emitAll(this.x9v_1, new _no_name_provided__qut3iv(this_0), this);
|
|
2417
2417
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2418
2418
|
return suspendResult;
|
|
2419
2419
|
}
|
|
@@ -2435,21 +2435,21 @@
|
|
|
2435
2435
|
}
|
|
2436
2436
|
while (true);
|
|
2437
2437
|
};
|
|
2438
|
-
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda).
|
|
2439
|
-
var i = new MechanicEventsObserverImpl$observeUpdates$slambda$slambda(this.
|
|
2440
|
-
i.
|
|
2438
|
+
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda).z9v = function ($this$flow, completion) {
|
|
2439
|
+
var i = new MechanicEventsObserverImpl$observeUpdates$slambda$slambda(this.v9v_1, this.w9v_1, completion);
|
|
2440
|
+
i.x9v_1 = $this$flow;
|
|
2441
2441
|
return i;
|
|
2442
2442
|
};
|
|
2443
2443
|
function MechanicEventsObserverImpl$observeUpdates$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
2444
2444
|
var i = new MechanicEventsObserverImpl$observeUpdates$slambda$slambda($table, this$0, resultContinuation);
|
|
2445
2445
|
var l = function ($this$flow, $completion) {
|
|
2446
|
-
return i.
|
|
2446
|
+
return i.y9v($this$flow, $completion);
|
|
2447
2447
|
};
|
|
2448
2448
|
l.$arity = 1;
|
|
2449
2449
|
return l;
|
|
2450
2450
|
}
|
|
2451
2451
|
function MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
2452
|
-
this.
|
|
2452
|
+
this.j9w_1 = $$this$unsafeFlow;
|
|
2453
2453
|
CoroutineImpl.call(this, resultContinuation);
|
|
2454
2454
|
}
|
|
2455
2455
|
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda).i1i = function (value, $completion) {
|
|
@@ -2470,12 +2470,12 @@
|
|
|
2470
2470
|
case 0:
|
|
2471
2471
|
this.f9_1 = 2;
|
|
2472
2472
|
var tmp_0 = this;
|
|
2473
|
-
tmp_0.
|
|
2473
|
+
tmp_0.l9w_1 = this.j9w_1;
|
|
2474
2474
|
var tmp_1 = this;
|
|
2475
|
-
tmp_1.
|
|
2475
|
+
tmp_1.m9w_1 = this.k9w_1;
|
|
2476
2476
|
this.e9_1 = 1;
|
|
2477
|
-
var state = this.
|
|
2478
|
-
suspendResult = this.
|
|
2477
|
+
var state = this.m9w_1;
|
|
2478
|
+
suspendResult = this.l9w_1.p18(state.o6r().gameInfo.roundNumberTotal, this);
|
|
2479
2479
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2480
2480
|
return suspendResult;
|
|
2481
2481
|
}
|
|
@@ -2498,8 +2498,8 @@
|
|
|
2498
2498
|
while (true);
|
|
2499
2499
|
};
|
|
2500
2500
|
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda).j1i = function (value, completion) {
|
|
2501
|
-
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
2502
|
-
i.
|
|
2501
|
+
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda(this.j9w_1, completion);
|
|
2502
|
+
i.k9w_1 = value;
|
|
2503
2503
|
return i;
|
|
2504
2504
|
};
|
|
2505
2505
|
function MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -2512,8 +2512,8 @@
|
|
|
2512
2512
|
}
|
|
2513
2513
|
function $collectCOROUTINE$1(_this__u8e3s4, collector, resultContinuation) {
|
|
2514
2514
|
CoroutineImpl.call(this, resultContinuation);
|
|
2515
|
-
this.
|
|
2516
|
-
this.
|
|
2515
|
+
this.v9w_1 = _this__u8e3s4;
|
|
2516
|
+
this.w9w_1 = collector;
|
|
2517
2517
|
}
|
|
2518
2518
|
protoOf($collectCOROUTINE$1).m9 = function () {
|
|
2519
2519
|
var suspendResult = this.g9_1;
|
|
@@ -2524,10 +2524,10 @@
|
|
|
2524
2524
|
case 0:
|
|
2525
2525
|
this.f9_1 = 2;
|
|
2526
2526
|
var tmp_0 = this;
|
|
2527
|
-
tmp_0.
|
|
2527
|
+
tmp_0.x9w_1 = this.w9w_1;
|
|
2528
2528
|
this.e9_1 = 1;
|
|
2529
|
-
var tmp_1 = MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda_0(this.
|
|
2530
|
-
suspendResult = this.
|
|
2529
|
+
var tmp_1 = MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda_0(this.x9w_1, null);
|
|
2530
|
+
suspendResult = this.v9w_1.y9w_1.m17(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_1), this);
|
|
2531
2531
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2532
2532
|
return suspendResult;
|
|
2533
2533
|
}
|
|
@@ -2550,7 +2550,7 @@
|
|
|
2550
2550
|
while (true);
|
|
2551
2551
|
};
|
|
2552
2552
|
function MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
2553
|
-
this.
|
|
2553
|
+
this.h9x_1 = $$this$unsafeFlow;
|
|
2554
2554
|
CoroutineImpl.call(this, resultContinuation);
|
|
2555
2555
|
}
|
|
2556
2556
|
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda).i1i = function (value, $completion) {
|
|
@@ -2574,33 +2574,33 @@
|
|
|
2574
2574
|
continue $sm;
|
|
2575
2575
|
case 1:
|
|
2576
2576
|
var tmp_0 = this;
|
|
2577
|
-
tmp_0.
|
|
2577
|
+
tmp_0.k9x_1 = this.h9x_1;
|
|
2578
2578
|
var tmp_1 = this;
|
|
2579
|
-
tmp_1.
|
|
2579
|
+
tmp_1.l9x_1 = this.i9x_1;
|
|
2580
2580
|
var tmp_2 = this;
|
|
2581
|
-
tmp_2.
|
|
2582
|
-
if (this.
|
|
2583
|
-
this.
|
|
2581
|
+
tmp_2.m9x_1 = this.l9x_1.m6q_1;
|
|
2582
|
+
if (this.m9x_1 == null) {
|
|
2583
|
+
this.j9x_1 = Unit_instance;
|
|
2584
2584
|
this.e9_1 = 4;
|
|
2585
2585
|
var tmp_3 = this;
|
|
2586
2586
|
continue $sm;
|
|
2587
2587
|
} else {
|
|
2588
|
-
this.
|
|
2588
|
+
this.n9x_1 = this.m9x_1;
|
|
2589
2589
|
this.e9_1 = 2;
|
|
2590
2590
|
continue $sm;
|
|
2591
2591
|
}
|
|
2592
2592
|
|
|
2593
2593
|
case 2:
|
|
2594
|
-
this.
|
|
2594
|
+
this.o9x_1 = this.n9x_1;
|
|
2595
2595
|
this.e9_1 = 3;
|
|
2596
|
-
suspendResult = this.
|
|
2596
|
+
suspendResult = this.k9x_1.p18(this.o9x_1, this);
|
|
2597
2597
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2598
2598
|
return suspendResult;
|
|
2599
2599
|
}
|
|
2600
2600
|
|
|
2601
2601
|
continue $sm;
|
|
2602
2602
|
case 3:
|
|
2603
|
-
this.
|
|
2603
|
+
this.j9x_1 = suspendResult;
|
|
2604
2604
|
if (false) {
|
|
2605
2605
|
this.e9_1 = 1;
|
|
2606
2606
|
continue $sm;
|
|
@@ -2625,8 +2625,8 @@
|
|
|
2625
2625
|
while (true);
|
|
2626
2626
|
};
|
|
2627
2627
|
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda).j1i = function (value, completion) {
|
|
2628
|
-
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda(this.
|
|
2629
|
-
i.
|
|
2628
|
+
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda(this.h9x_1, completion);
|
|
2629
|
+
i.i9x_1 = value;
|
|
2630
2630
|
return i;
|
|
2631
2631
|
};
|
|
2632
2632
|
function MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -2639,8 +2639,8 @@
|
|
|
2639
2639
|
}
|
|
2640
2640
|
function $collectCOROUTINE$2(_this__u8e3s4, collector, resultContinuation) {
|
|
2641
2641
|
CoroutineImpl.call(this, resultContinuation);
|
|
2642
|
-
this.
|
|
2643
|
-
this.
|
|
2642
|
+
this.x9x_1 = _this__u8e3s4;
|
|
2643
|
+
this.y9x_1 = collector;
|
|
2644
2644
|
}
|
|
2645
2645
|
protoOf($collectCOROUTINE$2).m9 = function () {
|
|
2646
2646
|
var suspendResult = this.g9_1;
|
|
@@ -2651,10 +2651,10 @@
|
|
|
2651
2651
|
case 0:
|
|
2652
2652
|
this.f9_1 = 2;
|
|
2653
2653
|
var tmp_0 = this;
|
|
2654
|
-
tmp_0.
|
|
2654
|
+
tmp_0.z9x_1 = this.y9x_1;
|
|
2655
2655
|
this.e9_1 = 1;
|
|
2656
|
-
var tmp_1 = MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda_0(this.
|
|
2657
|
-
suspendResult = this.
|
|
2656
|
+
var tmp_1 = MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda_0(this.z9x_1, null);
|
|
2657
|
+
suspendResult = this.x9x_1.a9y_1.m17(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_1), this);
|
|
2658
2658
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2659
2659
|
return suspendResult;
|
|
2660
2660
|
}
|
|
@@ -2677,7 +2677,7 @@
|
|
|
2677
2677
|
while (true);
|
|
2678
2678
|
};
|
|
2679
2679
|
function _no_name_provided__qut3iv_0($this) {
|
|
2680
|
-
this.
|
|
2680
|
+
this.a9y_1 = $this;
|
|
2681
2681
|
}
|
|
2682
2682
|
protoOf(_no_name_provided__qut3iv_0).q18 = function (collector, $completion) {
|
|
2683
2683
|
var tmp = new $collectCOROUTINE$2(this, collector, $completion);
|
|
@@ -2698,20 +2698,20 @@
|
|
|
2698
2698
|
return transformLatest(this_0, MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda_0(observeState, null));
|
|
2699
2699
|
}
|
|
2700
2700
|
function Companion_1() {
|
|
2701
|
-
this.
|
|
2701
|
+
this.b9y_1 = 1000;
|
|
2702
2702
|
}
|
|
2703
2703
|
var Companion_instance_9;
|
|
2704
2704
|
function Companion_getInstance_2() {
|
|
2705
2705
|
return Companion_instance_9;
|
|
2706
2706
|
}
|
|
2707
2707
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
2708
|
-
this.
|
|
2708
|
+
this.c9y_1 = function_0;
|
|
2709
2709
|
}
|
|
2710
2710
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).p18 = function (value, $completion) {
|
|
2711
|
-
return this.
|
|
2711
|
+
return this.c9y_1(value, $completion);
|
|
2712
2712
|
};
|
|
2713
2713
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).o3 = function () {
|
|
2714
|
-
return this.
|
|
2714
|
+
return this.c9y_1;
|
|
2715
2715
|
};
|
|
2716
2716
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
2717
2717
|
var tmp;
|
|
@@ -2732,13 +2732,13 @@
|
|
|
2732
2732
|
return hashCode(this.o3());
|
|
2733
2733
|
};
|
|
2734
2734
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
|
|
2735
|
-
this.
|
|
2735
|
+
this.d9y_1 = function_0;
|
|
2736
2736
|
}
|
|
2737
2737
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).p18 = function (value, $completion) {
|
|
2738
|
-
return this.
|
|
2738
|
+
return this.d9y_1(value, $completion);
|
|
2739
2739
|
};
|
|
2740
2740
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).o3 = function () {
|
|
2741
|
-
return this.
|
|
2741
|
+
return this.d9y_1;
|
|
2742
2742
|
};
|
|
2743
2743
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
|
|
2744
2744
|
var tmp;
|
|
@@ -2759,18 +2759,18 @@
|
|
|
2759
2759
|
return hashCode(this.o3());
|
|
2760
2760
|
};
|
|
2761
2761
|
function MechanicEventsObserverImpl$observeUpdates$slambda(this$0, resultContinuation) {
|
|
2762
|
-
this.
|
|
2762
|
+
this.m9y_1 = this$0;
|
|
2763
2763
|
CoroutineImpl.call(this, resultContinuation);
|
|
2764
2764
|
}
|
|
2765
|
-
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda).
|
|
2766
|
-
var tmp = this.
|
|
2765
|
+
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda).p9y = function ($this$transformLatest, it, $completion) {
|
|
2766
|
+
var tmp = this.q9y($this$transformLatest, it, $completion);
|
|
2767
2767
|
tmp.g9_1 = Unit_instance;
|
|
2768
2768
|
tmp.h9_1 = null;
|
|
2769
2769
|
return tmp.m9();
|
|
2770
2770
|
};
|
|
2771
2771
|
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda).x9 = function (p1, p2, $completion) {
|
|
2772
2772
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
2773
|
-
return this.
|
|
2773
|
+
return this.p9y(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
2774
2774
|
};
|
|
2775
2775
|
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda).m9 = function () {
|
|
2776
2776
|
var suspendResult = this.g9_1;
|
|
@@ -2781,8 +2781,8 @@
|
|
|
2781
2781
|
case 0:
|
|
2782
2782
|
this.f9_1 = 2;
|
|
2783
2783
|
this.e9_1 = 1;
|
|
2784
|
-
var table = this.
|
|
2785
|
-
suspendResult = emitAll(this.
|
|
2784
|
+
var table = this.o9y_1;
|
|
2785
|
+
suspendResult = emitAll(this.n9y_1, flow(MechanicEventsObserverImpl$observeUpdates$slambda$slambda_0(table, this.m9y_1, null)), this);
|
|
2786
2786
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2787
2787
|
return suspendResult;
|
|
2788
2788
|
}
|
|
@@ -2804,22 +2804,22 @@
|
|
|
2804
2804
|
}
|
|
2805
2805
|
while (true);
|
|
2806
2806
|
};
|
|
2807
|
-
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda).
|
|
2808
|
-
var i = new MechanicEventsObserverImpl$observeUpdates$slambda(this.
|
|
2809
|
-
i.
|
|
2810
|
-
i.
|
|
2807
|
+
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda).q9y = function ($this$transformLatest, it, completion) {
|
|
2808
|
+
var i = new MechanicEventsObserverImpl$observeUpdates$slambda(this.m9y_1, completion);
|
|
2809
|
+
i.n9y_1 = $this$transformLatest;
|
|
2810
|
+
i.o9y_1 = it;
|
|
2811
2811
|
return i;
|
|
2812
2812
|
};
|
|
2813
2813
|
function MechanicEventsObserverImpl$observeUpdates$slambda_0(this$0, resultContinuation) {
|
|
2814
2814
|
var i = new MechanicEventsObserverImpl$observeUpdates$slambda(this$0, resultContinuation);
|
|
2815
2815
|
var l = function ($this$transformLatest, it, $completion) {
|
|
2816
|
-
return i.
|
|
2816
|
+
return i.p9y($this$transformLatest, it, $completion);
|
|
2817
2817
|
};
|
|
2818
2818
|
l.$arity = 2;
|
|
2819
2819
|
return l;
|
|
2820
2820
|
}
|
|
2821
2821
|
function _no_name_provided__qut3iv_1($this) {
|
|
2822
|
-
this.
|
|
2822
|
+
this.y9w_1 = $this;
|
|
2823
2823
|
}
|
|
2824
2824
|
protoOf(_no_name_provided__qut3iv_1).q18 = function (collector, $completion) {
|
|
2825
2825
|
var tmp = new $collectCOROUTINE$1(this, collector, $completion);
|
|
@@ -2831,18 +2831,18 @@
|
|
|
2831
2831
|
return this.q18(collector, $completion);
|
|
2832
2832
|
};
|
|
2833
2833
|
function MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda($observeState, resultContinuation) {
|
|
2834
|
-
this.
|
|
2834
|
+
this.z9y_1 = $observeState;
|
|
2835
2835
|
CoroutineImpl.call(this, resultContinuation);
|
|
2836
2836
|
}
|
|
2837
|
-
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda).
|
|
2838
|
-
var tmp = this.
|
|
2837
|
+
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda).p9y = function ($this$transformLatest, it, $completion) {
|
|
2838
|
+
var tmp = this.q9y($this$transformLatest, it, $completion);
|
|
2839
2839
|
tmp.g9_1 = Unit_instance;
|
|
2840
2840
|
tmp.h9_1 = null;
|
|
2841
2841
|
return tmp.m9();
|
|
2842
2842
|
};
|
|
2843
2843
|
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda).x9 = function (p1, p2, $completion) {
|
|
2844
2844
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
2845
|
-
return this.
|
|
2845
|
+
return this.p9y(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
2846
2846
|
};
|
|
2847
2847
|
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda).m9 = function () {
|
|
2848
2848
|
var suspendResult = this.g9_1;
|
|
@@ -2853,9 +2853,9 @@
|
|
|
2853
2853
|
case 0:
|
|
2854
2854
|
this.f9_1 = 2;
|
|
2855
2855
|
this.e9_1 = 1;
|
|
2856
|
-
this.
|
|
2857
|
-
var this_0 = this.
|
|
2858
|
-
suspendResult = emitAll(this.
|
|
2856
|
+
this.b9z_1;
|
|
2857
|
+
var this_0 = this.z9y_1;
|
|
2858
|
+
suspendResult = emitAll(this.a9z_1, new _no_name_provided__qut3iv_0(this_0), this);
|
|
2859
2859
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2860
2860
|
return suspendResult;
|
|
2861
2861
|
}
|
|
@@ -2877,27 +2877,27 @@
|
|
|
2877
2877
|
}
|
|
2878
2878
|
while (true);
|
|
2879
2879
|
};
|
|
2880
|
-
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda).
|
|
2881
|
-
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda(this.
|
|
2882
|
-
i.
|
|
2883
|
-
i.
|
|
2880
|
+
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda).q9y = function ($this$transformLatest, it, completion) {
|
|
2881
|
+
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda(this.z9y_1, completion);
|
|
2882
|
+
i.a9z_1 = $this$transformLatest;
|
|
2883
|
+
i.b9z_1 = it;
|
|
2884
2884
|
return i;
|
|
2885
2885
|
};
|
|
2886
2886
|
function MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda_0($observeState, resultContinuation) {
|
|
2887
2887
|
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda($observeState, resultContinuation);
|
|
2888
2888
|
var l = function ($this$transformLatest, it, $completion) {
|
|
2889
|
-
return i.
|
|
2889
|
+
return i.p9y($this$transformLatest, it, $completion);
|
|
2890
2890
|
};
|
|
2891
2891
|
l.$arity = 2;
|
|
2892
2892
|
return l;
|
|
2893
2893
|
}
|
|
2894
2894
|
function MechanicEventsObserverImpl() {
|
|
2895
|
-
this.
|
|
2895
|
+
this.a9w_1 = MutableSharedFlow();
|
|
2896
2896
|
}
|
|
2897
|
-
protoOf(MechanicEventsObserverImpl).
|
|
2898
|
-
return this.
|
|
2897
|
+
protoOf(MechanicEventsObserverImpl).o9u = function (event, $completion) {
|
|
2898
|
+
return this.a9w_1.p18(event, $completion);
|
|
2899
2899
|
};
|
|
2900
|
-
protoOf(MechanicEventsObserverImpl).
|
|
2900
|
+
protoOf(MechanicEventsObserverImpl).u9m = function (observeState) {
|
|
2901
2901
|
// Inline function 'kotlinx.coroutines.flow.flatMapLatest' call
|
|
2902
2902
|
var this_0 = observeTableWhenRoundChanges(this, observeState);
|
|
2903
2903
|
return transformLatest(this_0, MechanicEventsObserverImpl$observeUpdates$slambda_0(this, null));
|
|
@@ -2905,18 +2905,18 @@
|
|
|
2905
2905
|
function ToClientEventsObserver() {
|
|
2906
2906
|
}
|
|
2907
2907
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
2908
|
-
this.
|
|
2909
|
-
this.
|
|
2908
|
+
this.l9z_1 = this$0;
|
|
2909
|
+
this.m9z_1 = $actions;
|
|
2910
2910
|
CoroutineImpl.call(this, resultContinuation);
|
|
2911
2911
|
}
|
|
2912
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
2913
|
-
var tmp = this.
|
|
2912
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).t9z = function ($this$flow, $completion) {
|
|
2913
|
+
var tmp = this.u9z($this$flow, $completion);
|
|
2914
2914
|
tmp.g9_1 = Unit_instance;
|
|
2915
2915
|
tmp.h9_1 = null;
|
|
2916
2916
|
return tmp.m9();
|
|
2917
2917
|
};
|
|
2918
2918
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).w9 = function (p1, $completion) {
|
|
2919
|
-
return this.
|
|
2919
|
+
return this.t9z((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
2920
2920
|
};
|
|
2921
2921
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).m9 = function () {
|
|
2922
2922
|
var suspendResult = this.g9_1;
|
|
@@ -2927,23 +2927,23 @@
|
|
|
2927
2927
|
case 0:
|
|
2928
2928
|
this.f9_1 = 4;
|
|
2929
2929
|
var tmp_0 = this;
|
|
2930
|
-
tmp_0.
|
|
2930
|
+
tmp_0.o9z_1 = this.l9z_1.z9z_1;
|
|
2931
2931
|
var tmp_1 = this;
|
|
2932
|
-
tmp_1.
|
|
2933
|
-
this.
|
|
2932
|
+
tmp_1.p9z_1 = transformToEmits(this.l9z_1, this.m9z_1);
|
|
2933
|
+
this.q9z_1 = this.p9z_1.j();
|
|
2934
2934
|
this.e9_1 = 1;
|
|
2935
2935
|
continue $sm;
|
|
2936
2936
|
case 1:
|
|
2937
|
-
if (!this.
|
|
2937
|
+
if (!this.q9z_1.k()) {
|
|
2938
2938
|
this.e9_1 = 3;
|
|
2939
2939
|
continue $sm;
|
|
2940
2940
|
}
|
|
2941
2941
|
|
|
2942
|
-
this.
|
|
2942
|
+
this.r9z_1 = this.q9z_1.l();
|
|
2943
2943
|
var tmp_2 = this;
|
|
2944
|
-
tmp_2.
|
|
2944
|
+
tmp_2.s9z_1 = this.r9z_1;
|
|
2945
2945
|
this.e9_1 = 2;
|
|
2946
|
-
suspendResult = this.
|
|
2946
|
+
suspendResult = this.n9z_1.p18(this.s9z_1, this);
|
|
2947
2947
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2948
2948
|
return suspendResult;
|
|
2949
2949
|
}
|
|
@@ -2954,10 +2954,10 @@
|
|
|
2954
2954
|
continue $sm;
|
|
2955
2955
|
case 3:
|
|
2956
2956
|
l$ret$1: do {
|
|
2957
|
-
var this_0 = this.
|
|
2957
|
+
var this_0 = this.l9z_1.y9z_1;
|
|
2958
2958
|
while (true) {
|
|
2959
2959
|
var cur = this_0.kotlinx$atomicfu$value;
|
|
2960
|
-
var upd = cur - this.
|
|
2960
|
+
var upd = cur - this.m9z_1.m() | 0;
|
|
2961
2961
|
if (this_0.atomicfu$compareAndSet(cur, upd)) {
|
|
2962
2962
|
break l$ret$1;
|
|
2963
2963
|
}
|
|
@@ -2979,15 +2979,15 @@
|
|
|
2979
2979
|
}
|
|
2980
2980
|
while (true);
|
|
2981
2981
|
};
|
|
2982
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
2983
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
2984
|
-
i.
|
|
2982
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).u9z = function ($this$flow, completion) {
|
|
2983
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.l9z_1, this.m9z_1, completion);
|
|
2984
|
+
i.n9z_1 = $this$flow;
|
|
2985
2985
|
return i;
|
|
2986
2986
|
};
|
|
2987
2987
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
2988
2988
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
2989
2989
|
var l = function ($this$flow, $completion) {
|
|
2990
|
-
return i.
|
|
2990
|
+
return i.t9z($this$flow, $completion);
|
|
2991
2991
|
};
|
|
2992
2992
|
l.$arity = 1;
|
|
2993
2993
|
return l;
|
|
@@ -3060,29 +3060,29 @@
|
|
|
3060
3060
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
3061
3061
|
}
|
|
3062
3062
|
function mapFromGroupKey(_this__u8e3s4, $this) {
|
|
3063
|
-
var tmp = $this.
|
|
3063
|
+
var tmp = $this.x9z_1.u6h();
|
|
3064
3064
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3065
|
-
var this_0 = _this__u8e3s4.
|
|
3065
|
+
var this_0 = _this__u8e3s4.ca0_1;
|
|
3066
3066
|
var tmp_0 = copyToArray(this_0);
|
|
3067
3067
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3068
|
-
var this_1 = _this__u8e3s4.
|
|
3068
|
+
var this_1 = _this__u8e3s4.da0_1;
|
|
3069
3069
|
var tmp$ret$1 = copyToArray(this_1);
|
|
3070
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
3070
|
+
return new ActionDeliveryPayload(_this__u8e3s4.ba0_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.ea0_1);
|
|
3071
3071
|
}
|
|
3072
3072
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
3073
|
-
this.
|
|
3074
|
-
this.
|
|
3075
|
-
this.
|
|
3076
|
-
this.
|
|
3073
|
+
this.ba0_1 = tableId;
|
|
3074
|
+
this.ca0_1 = includePlayers;
|
|
3075
|
+
this.da0_1 = excludePlayers;
|
|
3076
|
+
this.ea0_1 = deliveryType;
|
|
3077
3077
|
}
|
|
3078
3078
|
protoOf(GroupKey).toString = function () {
|
|
3079
|
-
return 'GroupKey(tableId=' + this.
|
|
3079
|
+
return 'GroupKey(tableId=' + this.ba0_1 + ', includePlayers=' + toString_0(this.ca0_1) + ', excludePlayers=' + toString_0(this.da0_1) + ', deliveryType=' + this.ea0_1.toString() + ')';
|
|
3080
3080
|
};
|
|
3081
3081
|
protoOf(GroupKey).hashCode = function () {
|
|
3082
|
-
var result = getStringHashCode(this.
|
|
3083
|
-
result = imul(result, 31) + hashCode(this.
|
|
3084
|
-
result = imul(result, 31) + hashCode(this.
|
|
3085
|
-
result = imul(result, 31) + this.
|
|
3082
|
+
var result = getStringHashCode(this.ba0_1);
|
|
3083
|
+
result = imul(result, 31) + hashCode(this.ca0_1) | 0;
|
|
3084
|
+
result = imul(result, 31) + hashCode(this.da0_1) | 0;
|
|
3085
|
+
result = imul(result, 31) + this.ea0_1.hashCode() | 0;
|
|
3086
3086
|
return result;
|
|
3087
3087
|
};
|
|
3088
3088
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -3091,35 +3091,35 @@
|
|
|
3091
3091
|
if (!(other instanceof GroupKey))
|
|
3092
3092
|
return false;
|
|
3093
3093
|
var tmp0_other_with_cast = other instanceof GroupKey ? other : THROW_CCE();
|
|
3094
|
-
if (!(this.
|
|
3094
|
+
if (!(this.ba0_1 === tmp0_other_with_cast.ba0_1))
|
|
3095
3095
|
return false;
|
|
3096
|
-
if (!equals(this.
|
|
3096
|
+
if (!equals(this.ca0_1, tmp0_other_with_cast.ca0_1))
|
|
3097
3097
|
return false;
|
|
3098
|
-
if (!equals(this.
|
|
3098
|
+
if (!equals(this.da0_1, tmp0_other_with_cast.da0_1))
|
|
3099
3099
|
return false;
|
|
3100
|
-
if (!this.
|
|
3100
|
+
if (!this.ea0_1.equals(tmp0_other_with_cast.ea0_1))
|
|
3101
3101
|
return false;
|
|
3102
3102
|
return true;
|
|
3103
3103
|
};
|
|
3104
3104
|
function Companion_2() {
|
|
3105
|
-
this.
|
|
3105
|
+
this.fa0_1 = 6;
|
|
3106
3106
|
}
|
|
3107
3107
|
var Companion_instance_10;
|
|
3108
3108
|
function Companion_getInstance_3() {
|
|
3109
3109
|
return Companion_instance_10;
|
|
3110
3110
|
}
|
|
3111
3111
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
3112
|
-
this.
|
|
3112
|
+
this.oa0_1 = this$0;
|
|
3113
3113
|
CoroutineImpl.call(this, resultContinuation);
|
|
3114
3114
|
}
|
|
3115
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3116
|
-
var tmp = this.
|
|
3115
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).qa0 = function (actions, $completion) {
|
|
3116
|
+
var tmp = this.ra0(actions, $completion);
|
|
3117
3117
|
tmp.g9_1 = Unit_instance;
|
|
3118
3118
|
tmp.h9_1 = null;
|
|
3119
3119
|
return tmp.m9();
|
|
3120
3120
|
};
|
|
3121
3121
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).w9 = function (p1, $completion) {
|
|
3122
|
-
return this.
|
|
3122
|
+
return this.qa0((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
3123
3123
|
};
|
|
3124
3124
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).m9 = function () {
|
|
3125
3125
|
var suspendResult = this.g9_1;
|
|
@@ -3128,7 +3128,7 @@
|
|
|
3128
3128
|
var tmp = this.e9_1;
|
|
3129
3129
|
if (tmp === 0) {
|
|
3130
3130
|
this.f9_1 = 1;
|
|
3131
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
3131
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.oa0_1, this.pa0_1, null));
|
|
3132
3132
|
} else if (tmp === 1) {
|
|
3133
3133
|
throw this.h9_1;
|
|
3134
3134
|
}
|
|
@@ -3138,23 +3138,23 @@
|
|
|
3138
3138
|
}
|
|
3139
3139
|
while (true);
|
|
3140
3140
|
};
|
|
3141
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3142
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
3143
|
-
i.
|
|
3141
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).ra0 = function (actions, completion) {
|
|
3142
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.oa0_1, completion);
|
|
3143
|
+
i.pa0_1 = actions;
|
|
3144
3144
|
return i;
|
|
3145
3145
|
};
|
|
3146
3146
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
3147
3147
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
3148
3148
|
var l = function (actions, $completion) {
|
|
3149
|
-
return i.
|
|
3149
|
+
return i.qa0(actions, $completion);
|
|
3150
3150
|
};
|
|
3151
3151
|
l.$arity = 1;
|
|
3152
3152
|
return l;
|
|
3153
3153
|
}
|
|
3154
3154
|
function $sentEventCOROUTINE$3(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
3155
3155
|
CoroutineImpl.call(this, resultContinuation);
|
|
3156
|
-
this.
|
|
3157
|
-
this.
|
|
3156
|
+
this.aa1_1 = _this__u8e3s4;
|
|
3157
|
+
this.ba1_1 = fromEvent;
|
|
3158
3158
|
}
|
|
3159
3159
|
protoOf($sentEventCOROUTINE$3).m9 = function () {
|
|
3160
3160
|
var suspendResult = this.g9_1;
|
|
@@ -3165,9 +3165,9 @@
|
|
|
3165
3165
|
case 0:
|
|
3166
3166
|
this.f9_1 = 2;
|
|
3167
3167
|
var tmp_0 = this;
|
|
3168
|
-
tmp_0.
|
|
3168
|
+
tmp_0.ca1_1 = this.aa1_1.z9z_1;
|
|
3169
3169
|
l$ret$1: do {
|
|
3170
|
-
var this_0 = this.
|
|
3170
|
+
var this_0 = this.aa1_1.y9z_1;
|
|
3171
3171
|
while (true) {
|
|
3172
3172
|
var cur = this_0.kotlinx$atomicfu$value;
|
|
3173
3173
|
var upd = cur + 1 | 0;
|
|
@@ -3178,7 +3178,7 @@
|
|
|
3178
3178
|
}
|
|
3179
3179
|
while (false);
|
|
3180
3180
|
this.e9_1 = 1;
|
|
3181
|
-
suspendResult = this.
|
|
3181
|
+
suspendResult = this.aa1_1.aa0_1.p18(this.ba1_1, this);
|
|
3182
3182
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3183
3183
|
return suspendResult;
|
|
3184
3184
|
}
|
|
@@ -3202,7 +3202,7 @@
|
|
|
3202
3202
|
};
|
|
3203
3203
|
function $waitForCOROUTINE$4(_this__u8e3s4, resultContinuation) {
|
|
3204
3204
|
CoroutineImpl.call(this, resultContinuation);
|
|
3205
|
-
this.
|
|
3205
|
+
this.la1_1 = _this__u8e3s4;
|
|
3206
3206
|
}
|
|
3207
3207
|
protoOf($waitForCOROUTINE$4).m9 = function () {
|
|
3208
3208
|
var suspendResult = this.g9_1;
|
|
@@ -3213,12 +3213,12 @@
|
|
|
3213
3213
|
case 0:
|
|
3214
3214
|
this.f9_1 = 5;
|
|
3215
3215
|
var tmp_0 = this;
|
|
3216
|
-
tmp_0.
|
|
3217
|
-
this.
|
|
3216
|
+
tmp_0.ma1_1 = this.la1_1.z9z_1;
|
|
3217
|
+
this.na1_1 = 0;
|
|
3218
3218
|
this.e9_1 = 1;
|
|
3219
3219
|
continue $sm;
|
|
3220
3220
|
case 1:
|
|
3221
|
-
if (!!(this.
|
|
3221
|
+
if (!!(this.la1_1.y9z_1.kotlinx$atomicfu$value === 0)) {
|
|
3222
3222
|
this.e9_1 = 4;
|
|
3223
3223
|
continue $sm;
|
|
3224
3224
|
}
|
|
@@ -3231,9 +3231,9 @@
|
|
|
3231
3231
|
|
|
3232
3232
|
continue $sm;
|
|
3233
3233
|
case 2:
|
|
3234
|
-
this.
|
|
3235
|
-
if (this.
|
|
3236
|
-
this.
|
|
3234
|
+
this.na1_1 = this.na1_1 + 1 | 0;
|
|
3235
|
+
if (this.na1_1 > 6) {
|
|
3236
|
+
this.la1_1.w9z_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.la1_1.y9z_1.kotlinx$atomicfu$value);
|
|
3237
3237
|
this.e9_1 = 4;
|
|
3238
3238
|
continue $sm;
|
|
3239
3239
|
} else {
|
|
@@ -3261,42 +3261,42 @@
|
|
|
3261
3261
|
while (true);
|
|
3262
3262
|
};
|
|
3263
3263
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
3264
|
-
this.
|
|
3265
|
-
this.
|
|
3266
|
-
this.
|
|
3267
|
-
this.
|
|
3264
|
+
this.v9z_1 = serverReduxConfig;
|
|
3265
|
+
this.w9z_1 = logger;
|
|
3266
|
+
this.x9z_1 = idsProvider;
|
|
3267
|
+
this.y9z_1 = atomic$ref$1(0);
|
|
3268
3268
|
var tmp = this;
|
|
3269
3269
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
3270
|
-
tmp.
|
|
3271
|
-
this.
|
|
3270
|
+
tmp.z9z_1 = get_atomicfu$reentrantLock();
|
|
3271
|
+
this.aa0_1 = MutableSharedFlow();
|
|
3272
3272
|
}
|
|
3273
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3273
|
+
protoOf(ToClientEventsObserverImpl).c9z = function (fromEvent, $completion) {
|
|
3274
3274
|
var tmp = new $sentEventCOROUTINE$3(this, fromEvent, $completion);
|
|
3275
3275
|
tmp.g9_1 = Unit_instance;
|
|
3276
3276
|
tmp.h9_1 = null;
|
|
3277
3277
|
return tmp.m9();
|
|
3278
3278
|
};
|
|
3279
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3279
|
+
protoOf(ToClientEventsObserverImpl).f9c = function ($completion) {
|
|
3280
3280
|
var tmp = new $waitForCOROUTINE$4(this, $completion);
|
|
3281
3281
|
tmp.g9_1 = Unit_instance;
|
|
3282
3282
|
tmp.h9_1 = null;
|
|
3283
3283
|
return tmp.m9();
|
|
3284
3284
|
};
|
|
3285
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3286
|
-
if (!this.
|
|
3287
|
-
return this.
|
|
3285
|
+
protoOf(ToClientEventsObserverImpl).i9m = function () {
|
|
3286
|
+
if (!this.v9z_1.enabledCombinedEvents) {
|
|
3287
|
+
return this.aa0_1;
|
|
3288
3288
|
}
|
|
3289
|
-
var tmp = windowedByInterval(this.
|
|
3289
|
+
var tmp = windowedByInterval(this.aa0_1, toLong(this.v9z_1.combinedEventsPeriod));
|
|
3290
3290
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
3291
3291
|
};
|
|
3292
3292
|
function UpdateServerConfigAction(serverConfig) {
|
|
3293
|
-
this.
|
|
3293
|
+
this.oa1_1 = serverConfig;
|
|
3294
3294
|
}
|
|
3295
3295
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
3296
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
3296
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.oa1_1.toString() + ')';
|
|
3297
3297
|
};
|
|
3298
3298
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
3299
|
-
return this.
|
|
3299
|
+
return this.oa1_1.hashCode();
|
|
3300
3300
|
};
|
|
3301
3301
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
3302
3302
|
if (this === other)
|
|
@@ -3304,20 +3304,20 @@
|
|
|
3304
3304
|
if (!(other instanceof UpdateServerConfigAction))
|
|
3305
3305
|
return false;
|
|
3306
3306
|
var tmp0_other_with_cast = other instanceof UpdateServerConfigAction ? other : THROW_CCE();
|
|
3307
|
-
if (!this.
|
|
3307
|
+
if (!this.oa1_1.equals(tmp0_other_with_cast.oa1_1))
|
|
3308
3308
|
return false;
|
|
3309
3309
|
return true;
|
|
3310
3310
|
};
|
|
3311
3311
|
function SpectatorsAction() {
|
|
3312
3312
|
}
|
|
3313
3313
|
function AddSpectatorsAction(spectators) {
|
|
3314
|
-
this.
|
|
3314
|
+
this.pa1_1 = spectators;
|
|
3315
3315
|
}
|
|
3316
3316
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
3317
|
-
return 'AddSpectatorsAction(spectators=' + toString_0(this.
|
|
3317
|
+
return 'AddSpectatorsAction(spectators=' + toString_0(this.pa1_1) + ')';
|
|
3318
3318
|
};
|
|
3319
3319
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
3320
|
-
return hashCode(this.
|
|
3320
|
+
return hashCode(this.pa1_1);
|
|
3321
3321
|
};
|
|
3322
3322
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
3323
3323
|
if (this === other)
|
|
@@ -3325,18 +3325,18 @@
|
|
|
3325
3325
|
if (!(other instanceof AddSpectatorsAction))
|
|
3326
3326
|
return false;
|
|
3327
3327
|
var tmp0_other_with_cast = other instanceof AddSpectatorsAction ? other : THROW_CCE();
|
|
3328
|
-
if (!equals(this.
|
|
3328
|
+
if (!equals(this.pa1_1, tmp0_other_with_cast.pa1_1))
|
|
3329
3329
|
return false;
|
|
3330
3330
|
return true;
|
|
3331
3331
|
};
|
|
3332
3332
|
function RemoveSpectatorsAction(spectators) {
|
|
3333
|
-
this.
|
|
3333
|
+
this.qa1_1 = spectators;
|
|
3334
3334
|
}
|
|
3335
3335
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
3336
|
-
return 'RemoveSpectatorsAction(spectators=' + toString_0(this.
|
|
3336
|
+
return 'RemoveSpectatorsAction(spectators=' + toString_0(this.qa1_1) + ')';
|
|
3337
3337
|
};
|
|
3338
3338
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
3339
|
-
return hashCode(this.
|
|
3339
|
+
return hashCode(this.qa1_1);
|
|
3340
3340
|
};
|
|
3341
3341
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
3342
3342
|
if (this === other)
|
|
@@ -3344,73 +3344,73 @@
|
|
|
3344
3344
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
3345
3345
|
return false;
|
|
3346
3346
|
var tmp0_other_with_cast = other instanceof RemoveSpectatorsAction ? other : THROW_CCE();
|
|
3347
|
-
if (!equals(this.
|
|
3347
|
+
if (!equals(this.qa1_1, tmp0_other_with_cast.qa1_1))
|
|
3348
3348
|
return false;
|
|
3349
3349
|
return true;
|
|
3350
3350
|
};
|
|
3351
3351
|
function _get_asyncProvider__jbpyhw($this) {
|
|
3352
3352
|
// Inline function 'kotlin.getValue' call
|
|
3353
|
-
var this_0 = $this.
|
|
3353
|
+
var this_0 = $this.wa1_1;
|
|
3354
3354
|
asyncProvider$factory_0();
|
|
3355
3355
|
return this_0.u();
|
|
3356
3356
|
}
|
|
3357
3357
|
function _get_logger__rkp4sl_0($this) {
|
|
3358
3358
|
// Inline function 'kotlin.getValue' call
|
|
3359
|
-
var this_0 = $this.
|
|
3359
|
+
var this_0 = $this.xa1_1;
|
|
3360
3360
|
logger$factory_2();
|
|
3361
3361
|
return this_0.u();
|
|
3362
3362
|
}
|
|
3363
3363
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
3364
3364
|
// Inline function 'kotlin.getValue' call
|
|
3365
|
-
var this_0 = $this.
|
|
3365
|
+
var this_0 = $this.ya1_1;
|
|
3366
3366
|
playerConnectionInteractor$factory_2();
|
|
3367
3367
|
return this_0.u();
|
|
3368
3368
|
}
|
|
3369
3369
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
3370
3370
|
// Inline function 'kotlin.getValue' call
|
|
3371
|
-
var this_0 = $this.
|
|
3371
|
+
var this_0 = $this.za1_1;
|
|
3372
3372
|
lastCardInteractor$factory_0();
|
|
3373
3373
|
return this_0.u();
|
|
3374
3374
|
}
|
|
3375
3375
|
function _get_serverConfig__rk2g06($this) {
|
|
3376
3376
|
// Inline function 'kotlin.getValue' call
|
|
3377
|
-
var this_0 = $this.
|
|
3377
|
+
var this_0 = $this.aa2_1;
|
|
3378
3378
|
serverConfig$factory_0();
|
|
3379
3379
|
return this_0.u();
|
|
3380
3380
|
}
|
|
3381
3381
|
function _get_logicConfig__52ww9d($this) {
|
|
3382
3382
|
// Inline function 'kotlin.getValue' call
|
|
3383
|
-
var this_0 = $this.
|
|
3383
|
+
var this_0 = $this.ba2_1;
|
|
3384
3384
|
logicConfig$factory_0();
|
|
3385
3385
|
return this_0.u();
|
|
3386
3386
|
}
|
|
3387
3387
|
function _get_idsProvider__fnfajc_0($this) {
|
|
3388
3388
|
// Inline function 'kotlin.getValue' call
|
|
3389
|
-
var this_0 = $this.
|
|
3389
|
+
var this_0 = $this.ca2_1;
|
|
3390
3390
|
idsProvider$factory_2();
|
|
3391
3391
|
return this_0.u();
|
|
3392
3392
|
}
|
|
3393
3393
|
function _get_botConfig__cpaxzc($this) {
|
|
3394
3394
|
// Inline function 'kotlin.getValue' call
|
|
3395
|
-
var this_0 = $this.
|
|
3395
|
+
var this_0 = $this.da2_1;
|
|
3396
3396
|
botConfig$factory_0();
|
|
3397
3397
|
return this_0.u();
|
|
3398
3398
|
}
|
|
3399
3399
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
3400
3400
|
// Inline function 'kotlin.getValue' call
|
|
3401
|
-
var this_0 = $this.
|
|
3401
|
+
var this_0 = $this.ea2_1;
|
|
3402
3402
|
scenePositionProvider$factory_0();
|
|
3403
3403
|
return this_0.u();
|
|
3404
3404
|
}
|
|
3405
3405
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
3406
3406
|
// Inline function 'kotlin.getValue' call
|
|
3407
|
-
var this_0 = $this.
|
|
3407
|
+
var this_0 = $this.fa2_1;
|
|
3408
3408
|
toClientEventsObserver$factory_2();
|
|
3409
3409
|
return this_0.u();
|
|
3410
3410
|
}
|
|
3411
3411
|
function _get_mechanicEventsObserver__ll1b9k_0($this) {
|
|
3412
3412
|
// Inline function 'kotlin.getValue' call
|
|
3413
|
-
var this_0 = $this.
|
|
3413
|
+
var this_0 = $this.ga2_1;
|
|
3414
3414
|
mechanicEventsObserver$factory_2();
|
|
3415
3415
|
return this_0.u();
|
|
3416
3416
|
}
|
|
@@ -3423,83 +3423,83 @@
|
|
|
3423
3423
|
botGameStoreContract = botGameStoreContract === VOID ? new BotGameStoreContract(di) : botGameStoreContract;
|
|
3424
3424
|
gameMechanicStoreContract = gameMechanicStoreContract === VOID ? new GameMechanicStoreContract(di, null, true) : gameMechanicStoreContract;
|
|
3425
3425
|
fileLoggerStoreContract = fileLoggerStoreContract === VOID ? new FileLoggerStoreContract(di) : fileLoggerStoreContract;
|
|
3426
|
-
this.
|
|
3427
|
-
this.
|
|
3428
|
-
this.
|
|
3429
|
-
this.
|
|
3430
|
-
this.
|
|
3426
|
+
this.ra1_1 = validationStoreContract;
|
|
3427
|
+
this.sa1_1 = timersStoreContract;
|
|
3428
|
+
this.ta1_1 = botGameStoreContract;
|
|
3429
|
+
this.ua1_1 = gameMechanicStoreContract;
|
|
3430
|
+
this.va1_1 = fileLoggerStoreContract;
|
|
3431
3431
|
var tmp = this;
|
|
3432
3432
|
// Inline function 'org.kodein.di.instance' call
|
|
3433
3433
|
// Inline function 'org.kodein.type.generic' call
|
|
3434
3434
|
var tmp_0 = typeToken(createKType(getKClass(AsyncProvider), arrayOf([]), false));
|
|
3435
3435
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
3436
|
-
tmp.
|
|
3436
|
+
tmp.wa1_1 = Instance(di, tmp$ret$0, null).t63(this, asyncProvider$factory());
|
|
3437
3437
|
var tmp_1 = this;
|
|
3438
3438
|
// Inline function 'org.kodein.di.instance' call
|
|
3439
3439
|
// Inline function 'org.kodein.type.generic' call
|
|
3440
3440
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
3441
3441
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
3442
|
-
tmp_1.
|
|
3442
|
+
tmp_1.xa1_1 = Instance(di, tmp$ret$2, null).t63(this, logger$factory_1());
|
|
3443
3443
|
var tmp_3 = this;
|
|
3444
3444
|
// Inline function 'org.kodein.di.instance' call
|
|
3445
3445
|
// Inline function 'org.kodein.type.generic' call
|
|
3446
3446
|
var tmp_4 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
3447
3447
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
3448
|
-
tmp_3.
|
|
3448
|
+
tmp_3.ya1_1 = Instance(di, tmp$ret$4, null).t63(this, playerConnectionInteractor$factory_1());
|
|
3449
3449
|
var tmp_5 = this;
|
|
3450
3450
|
// Inline function 'org.kodein.di.instance' call
|
|
3451
3451
|
// Inline function 'org.kodein.type.generic' call
|
|
3452
3452
|
var tmp_6 = typeToken(createKType(getKClass(LastCardInteractor), arrayOf([]), false));
|
|
3453
3453
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
3454
|
-
tmp_5.
|
|
3454
|
+
tmp_5.za1_1 = Instance(di, tmp$ret$6, null).t63(this, lastCardInteractor$factory());
|
|
3455
3455
|
var tmp_7 = this;
|
|
3456
3456
|
// Inline function 'org.kodein.di.instance' call
|
|
3457
3457
|
// Inline function 'org.kodein.type.generic' call
|
|
3458
3458
|
var tmp_8 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
3459
3459
|
var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
3460
|
-
tmp_7.
|
|
3460
|
+
tmp_7.aa2_1 = Instance(di, tmp$ret$8, null).t63(this, serverConfig$factory());
|
|
3461
3461
|
var tmp_9 = this;
|
|
3462
3462
|
// Inline function 'org.kodein.di.instance' call
|
|
3463
3463
|
// Inline function 'org.kodein.type.generic' call
|
|
3464
3464
|
var tmp_10 = typeToken(createKType(getKClass(EngineLogicConfig), arrayOf([]), false));
|
|
3465
3465
|
var tmp$ret$10 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
3466
|
-
tmp_9.
|
|
3466
|
+
tmp_9.ba2_1 = Instance(di, tmp$ret$10, null).t63(this, logicConfig$factory());
|
|
3467
3467
|
var tmp_11 = this;
|
|
3468
3468
|
// Inline function 'org.kodein.di.instance' call
|
|
3469
3469
|
// Inline function 'org.kodein.type.generic' call
|
|
3470
3470
|
var tmp_12 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
3471
3471
|
var tmp$ret$12 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
3472
|
-
tmp_11.
|
|
3472
|
+
tmp_11.ca2_1 = Instance(di, tmp$ret$12, null).t63(this, idsProvider$factory_1());
|
|
3473
3473
|
var tmp_13 = this;
|
|
3474
3474
|
// Inline function 'org.kodein.di.instance' call
|
|
3475
3475
|
// Inline function 'org.kodein.type.generic' call
|
|
3476
3476
|
var tmp_14 = typeToken(createKType(getKClass(EngineBotConfig), arrayOf([]), false));
|
|
3477
3477
|
var tmp$ret$14 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
3478
|
-
tmp_13.
|
|
3478
|
+
tmp_13.da2_1 = Instance(di, tmp$ret$14, null).t63(this, botConfig$factory());
|
|
3479
3479
|
var tmp_15 = this;
|
|
3480
3480
|
// Inline function 'org.kodein.di.instance' call
|
|
3481
3481
|
// Inline function 'org.kodein.type.generic' call
|
|
3482
3482
|
var tmp_16 = typeToken(createKType(getKClass(ScenePositionProvider), arrayOf([]), false));
|
|
3483
3483
|
var tmp$ret$16 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
3484
|
-
tmp_15.
|
|
3484
|
+
tmp_15.ea2_1 = Instance(di, tmp$ret$16, null).t63(this, scenePositionProvider$factory());
|
|
3485
3485
|
var tmp_17 = this;
|
|
3486
3486
|
// Inline function 'org.kodein.di.instance' call
|
|
3487
3487
|
// Inline function 'org.kodein.type.generic' call
|
|
3488
3488
|
var tmp_18 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
|
|
3489
3489
|
var tmp$ret$18 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
3490
|
-
tmp_17.
|
|
3490
|
+
tmp_17.fa2_1 = Instance(di, tmp$ret$18, null).t63(this, toClientEventsObserver$factory_1());
|
|
3491
3491
|
var tmp_19 = this;
|
|
3492
3492
|
// Inline function 'org.kodein.di.instance' call
|
|
3493
3493
|
// Inline function 'org.kodein.type.generic' call
|
|
3494
3494
|
var tmp_20 = typeToken(createKType(getKClass(MechanicEventsObserver), arrayOf([]), false));
|
|
3495
3495
|
var tmp$ret$20 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
3496
|
-
tmp_19.
|
|
3496
|
+
tmp_19.ga2_1 = Instance(di, tmp$ret$20, null).t63(this, mechanicEventsObserver$factory_1());
|
|
3497
3497
|
}
|
|
3498
|
-
protoOf(ServerGameStoreContract).
|
|
3499
|
-
return plus(plus(plus(plus(plus(this.
|
|
3498
|
+
protoOf(ServerGameStoreContract).j95 = function () {
|
|
3499
|
+
return plus(plus(plus(plus(plus(this.ra1_1.j95(), this.sa1_1.j95()), this.ta1_1.j95()), this.ua1_1.j95()), this.va1_1.j95()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl_0(this))]));
|
|
3500
3500
|
};
|
|
3501
|
-
protoOf(ServerGameStoreContract).
|
|
3502
|
-
var tmp = plus(plus(plus(plus(plus(plus(plus(this.
|
|
3501
|
+
protoOf(ServerGameStoreContract).k95 = function () {
|
|
3502
|
+
var tmp = plus(plus(plus(plus(plus(plus(plus(this.ra1_1.k95(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameIfAllBots ? checkBotsMiddleware(_get_logger__rkp4sl_0(this)) : null)), this.sa1_1.k95()), this.ta1_1.k95()), this.ua1_1.k95()), this.va1_1.k95()), listOfNotNull_0([playerConnectionUpdateMiddleware(_get_playerConnectionInteractor__si6cxf_0(this)), playerReconnectionWaitingTimerTickMiddleware(_get_playerConnectionInteractor__si6cxf_0(this))])), listOfNotNull_0([sendMechanicEventsMiddleware(_get_asyncProvider__jbpyhw(this), _get_mechanicEventsObserver__ll1b9k_0(this)), sendToClientActionMiddleware(_get_asyncProvider__jbpyhw(this), _get_toClientEventsObserver__6rp51y_0(this)), (new ServerMapMechanicToClientActionMiddleware(_get_logicConfig__52ww9d(this), _get_idsProvider__fnfajc_0(this))).c97(), finishingGameWhenCantStartNewMiddleware()]));
|
|
3503
3503
|
var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this));
|
|
3504
3504
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
3505
3505
|
var tmp1_logger = _get_logger__rkp4sl_0(this);
|
|
@@ -3639,7 +3639,7 @@
|
|
|
3639
3639
|
var action_0 = action instanceof RoundEndedAction ? action : THROW_CCE();
|
|
3640
3640
|
next(action_0);
|
|
3641
3641
|
var state = store.state;
|
|
3642
|
-
if (!get_serverStatePayload_0(state).
|
|
3642
|
+
if (!get_serverStatePayload_0(state).p9t_1.r9t_1 && action_0.isGameFinished) {
|
|
3643
3643
|
store.dispatch(Companion_instance_0.withAnalytics(new GameFinishedReason(Reason_DEPLOY_getInstance()), true, state.m6q_1));
|
|
3644
3644
|
}
|
|
3645
3645
|
};
|
|
@@ -3647,7 +3647,7 @@
|
|
|
3647
3647
|
return this.i6l(store, next, action);
|
|
3648
3648
|
};
|
|
3649
3649
|
function _no_name_provided__qut3iv_3(this$0) {
|
|
3650
|
-
this.
|
|
3650
|
+
this.ja2_1 = this$0;
|
|
3651
3651
|
}
|
|
3652
3652
|
protoOf(_no_name_provided__qut3iv_3).r6j = function (action) {
|
|
3653
3653
|
return action instanceof MechanicAction;
|
|
@@ -3661,11 +3661,11 @@
|
|
|
3661
3661
|
var tmp;
|
|
3662
3662
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
3663
3663
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3664
|
-
var this_0 = this.
|
|
3665
|
-
var tableId = action_0.
|
|
3666
|
-
var gameCreatorPlayerId = action_0.
|
|
3664
|
+
var this_0 = this.ja2_1;
|
|
3665
|
+
var tableId = action_0.s7z_1;
|
|
3666
|
+
var gameCreatorPlayerId = action_0.u7z_1;
|
|
3667
3667
|
// Inline function 'kotlin.collections.map' call
|
|
3668
|
-
var this_1 = action_0.
|
|
3668
|
+
var this_1 = action_0.v7z_1;
|
|
3669
3669
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3670
3670
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
3671
3671
|
var tmp0_iterator = this_1.j();
|
|
@@ -3706,7 +3706,7 @@
|
|
|
3706
3706
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3707
3707
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3708
3708
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3709
|
-
var tmp0_aid = this_0.
|
|
3709
|
+
var tmp0_aid = this_0.ia2_1.u6h();
|
|
3710
3710
|
// Inline function 'kotlin.collections.map' call
|
|
3711
3711
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3712
3712
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -3731,17 +3731,17 @@
|
|
|
3731
3731
|
} else {
|
|
3732
3732
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
3733
3733
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3734
|
-
var this_2 = this.
|
|
3734
|
+
var this_2 = this.ja2_1;
|
|
3735
3735
|
var table = state.o6r();
|
|
3736
3736
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3737
|
-
var sendToPlayer_0 = new RoomActionPayload(this_2.
|
|
3737
|
+
var sendToPlayer_0 = new RoomActionPayload(this_2.ia2_1.u6h(), table.id, null);
|
|
3738
3738
|
var tmp$ret$18 = mapToClient_16(action_0, sendToPlayer_0);
|
|
3739
3739
|
tmp = listOfNotNull(tmp$ret$18);
|
|
3740
3740
|
} else {
|
|
3741
3741
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
3742
3742
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3743
|
-
var this_3 = this.
|
|
3744
|
-
var tableId_0 = action_0.
|
|
3743
|
+
var this_3 = this.ja2_1;
|
|
3744
|
+
var tableId_0 = action_0.y7z_1.id;
|
|
3745
3745
|
var gameCreatorPlayerId_0 = action_0.gameCreatorPlayerId;
|
|
3746
3746
|
// Inline function 'kotlin.collections.map' call
|
|
3747
3747
|
var this_4 = action_0.users;
|
|
@@ -3785,7 +3785,7 @@
|
|
|
3785
3785
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3786
3786
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3787
3787
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3788
|
-
var tmp0_aid_0 = this_3.
|
|
3788
|
+
var tmp0_aid_0 = this_3.ia2_1.u6h();
|
|
3789
3789
|
// Inline function 'kotlin.collections.map' call
|
|
3790
3790
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3791
3791
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -3810,43 +3810,43 @@
|
|
|
3810
3810
|
} else {
|
|
3811
3811
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
3812
3812
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3813
|
-
var this_5 = this.
|
|
3813
|
+
var this_5 = this.ja2_1;
|
|
3814
3814
|
var table_0 = state.o6r();
|
|
3815
3815
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3816
|
-
var sendToPlayer_2 = new RoomActionPayload(this_5.
|
|
3816
|
+
var sendToPlayer_2 = new RoomActionPayload(this_5.ia2_1.u6h(), table_0.id, null);
|
|
3817
3817
|
var tmp$ret$38 = mapToClient_14(action_0, sendToPlayer_2);
|
|
3818
3818
|
tmp = listOfNotNull(tmp$ret$38);
|
|
3819
3819
|
} else {
|
|
3820
3820
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
3821
3821
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3822
|
-
var this_6 = this.
|
|
3822
|
+
var this_6 = this.ja2_1;
|
|
3823
3823
|
var table_1 = state.o6r();
|
|
3824
3824
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3825
|
-
var sendToPlayer_3 = new RoomActionPayload(this_6.
|
|
3825
|
+
var sendToPlayer_3 = new RoomActionPayload(this_6.ia2_1.u6h(), table_1.id, null);
|
|
3826
3826
|
var tmp$ret$40 = mapToClient_13(action_0, sendToPlayer_3);
|
|
3827
3827
|
tmp = listOfNotNull(tmp$ret$40);
|
|
3828
3828
|
} else {
|
|
3829
3829
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
3830
3830
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3831
|
-
var this_7 = this.
|
|
3831
|
+
var this_7 = this.ja2_1;
|
|
3832
3832
|
var table_2 = state.o6r();
|
|
3833
3833
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3834
|
-
var sendToPlayer_4 = new RoomActionPayload(this_7.
|
|
3834
|
+
var sendToPlayer_4 = new RoomActionPayload(this_7.ia2_1.u6h(), table_2.id, null);
|
|
3835
3835
|
var tmp$ret$42 = mapToClient_12(action_0, sendToPlayer_4);
|
|
3836
3836
|
tmp = listOfNotNull(tmp$ret$42);
|
|
3837
3837
|
} else {
|
|
3838
3838
|
if (action_0 instanceof ErrorAction) {
|
|
3839
3839
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3840
|
-
var this_8 = this.
|
|
3840
|
+
var this_8 = this.ja2_1;
|
|
3841
3841
|
var table_3 = state.o6r();
|
|
3842
3842
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3843
|
-
var sendToPlayer_5 = new RoomActionPayload(this_8.
|
|
3843
|
+
var sendToPlayer_5 = new RoomActionPayload(this_8.ia2_1.u6h(), table_3.id, null);
|
|
3844
3844
|
var tmp$ret$44 = mapToClient_11(action_0, sendToPlayer_5);
|
|
3845
3845
|
tmp = listOfNotNull(tmp$ret$44);
|
|
3846
3846
|
} else {
|
|
3847
3847
|
if (action_0 instanceof SceneMechanicAction) {
|
|
3848
3848
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
3849
|
-
var this_9 = this.
|
|
3849
|
+
var this_9 = this.ja2_1;
|
|
3850
3850
|
var table_4 = state.o6r();
|
|
3851
3851
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3852
3852
|
var tableId_1 = table_4.id;
|
|
@@ -3883,7 +3883,7 @@
|
|
|
3883
3883
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3884
3884
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3885
3885
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3886
|
-
var tmp0_aid_1 = this_9.
|
|
3886
|
+
var tmp0_aid_1 = this_9.ia2_1.u6h();
|
|
3887
3887
|
// Inline function 'kotlin.collections.map' call
|
|
3888
3888
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3889
3889
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -3908,7 +3908,7 @@
|
|
|
3908
3908
|
} else {
|
|
3909
3909
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
3910
3910
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
3911
|
-
var this_10 = this.
|
|
3911
|
+
var this_10 = this.ja2_1;
|
|
3912
3912
|
var table_5 = state.o6r();
|
|
3913
3913
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3914
3914
|
var tableId_2 = table_5.id;
|
|
@@ -3945,7 +3945,7 @@
|
|
|
3945
3945
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3946
3946
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3947
3947
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3948
|
-
var tmp0_aid_2 = this_10.
|
|
3948
|
+
var tmp0_aid_2 = this_10.ia2_1.u6h();
|
|
3949
3949
|
// Inline function 'kotlin.collections.map' call
|
|
3950
3950
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3951
3951
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -3970,7 +3970,7 @@
|
|
|
3970
3970
|
} else {
|
|
3971
3971
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
3972
3972
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
3973
|
-
var this_11 = this.
|
|
3973
|
+
var this_11 = this.ja2_1;
|
|
3974
3974
|
var table_6 = state.o6r();
|
|
3975
3975
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3976
3976
|
var tableId_3 = table_6.id;
|
|
@@ -4007,7 +4007,7 @@
|
|
|
4007
4007
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
4008
4008
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
4009
4009
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4010
|
-
var tmp0_aid_3 = this_11.
|
|
4010
|
+
var tmp0_aid_3 = this_11.ia2_1.u6h();
|
|
4011
4011
|
// Inline function 'kotlin.collections.map' call
|
|
4012
4012
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4013
4013
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -4020,7 +4020,7 @@
|
|
|
4020
4020
|
}
|
|
4021
4021
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tableId_3, gameCreatorPlayerId_3, element_8, destination_20);
|
|
4022
4022
|
var tmp_0;
|
|
4023
|
-
if (this.ha2_1.
|
|
4023
|
+
if (this.ja2_1.ha2_1.supportBackwardActions && getPlayer(state.o6r().players, sendToPlayer_8.f7e_1).k6x_1.o6x_1) {
|
|
4024
4024
|
tmp_0 = null;
|
|
4025
4025
|
} else {
|
|
4026
4026
|
tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
|
|
@@ -4038,79 +4038,79 @@
|
|
|
4038
4038
|
} else {
|
|
4039
4039
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
4040
4040
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4041
|
-
var this_12 = this.
|
|
4041
|
+
var this_12 = this.ja2_1;
|
|
4042
4042
|
var table_7 = state.o6r();
|
|
4043
|
-
var exceptPlayerId = this.ha2_1.
|
|
4043
|
+
var exceptPlayerId = this.ja2_1.ha2_1.supportBackwardActions ? action_0.y80_1 : null;
|
|
4044
4044
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4045
|
-
var sendToPlayer_9 = new RoomActionPayload(this_12.
|
|
4045
|
+
var sendToPlayer_9 = new RoomActionPayload(this_12.ia2_1.u6h(), table_7.id, exceptPlayerId);
|
|
4046
4046
|
var tmp$ret$94 = mapToClient_7(action_0, sendToPlayer_9);
|
|
4047
4047
|
tmp = listOfNotNull(tmp$ret$94);
|
|
4048
4048
|
} else {
|
|
4049
4049
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
4050
4050
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4051
|
-
var this_13 = this.
|
|
4051
|
+
var this_13 = this.ja2_1;
|
|
4052
4052
|
var table_8 = state.o6r();
|
|
4053
|
-
var exceptPlayerId_0 = this.ha2_1.
|
|
4053
|
+
var exceptPlayerId_0 = this.ja2_1.ha2_1.supportBackwardActions ? action_0.c81_1 : null;
|
|
4054
4054
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4055
|
-
var sendToPlayer_10 = new RoomActionPayload(this_13.
|
|
4055
|
+
var sendToPlayer_10 = new RoomActionPayload(this_13.ia2_1.u6h(), table_8.id, exceptPlayerId_0);
|
|
4056
4056
|
var tmp$ret$96 = mapToClient_6(action_0, sendToPlayer_10);
|
|
4057
4057
|
tmp = listOfNotNull(tmp$ret$96);
|
|
4058
4058
|
} else {
|
|
4059
4059
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
4060
4060
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4061
|
-
var this_14 = this.
|
|
4061
|
+
var this_14 = this.ja2_1;
|
|
4062
4062
|
var table_9 = state.o6r();
|
|
4063
4063
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4064
|
-
var sendToPlayer_11 = new RoomActionPayload(this_14.
|
|
4064
|
+
var sendToPlayer_11 = new RoomActionPayload(this_14.ia2_1.u6h(), table_9.id, null);
|
|
4065
4065
|
var tmp$ret$98 = mapToClient_5(action_0, sendToPlayer_11);
|
|
4066
4066
|
tmp = listOfNotNull(tmp$ret$98);
|
|
4067
4067
|
} else {
|
|
4068
4068
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
4069
4069
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4070
|
-
var this_15 = this.
|
|
4070
|
+
var this_15 = this.ja2_1;
|
|
4071
4071
|
var table_10 = state.o6r();
|
|
4072
|
-
var exceptPlayerId_1 = this.ha2_1.
|
|
4072
|
+
var exceptPlayerId_1 = this.ja2_1.ha2_1.supportBackwardActions ? action_0.j81_1 : null;
|
|
4073
4073
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4074
|
-
var sendToPlayer_12 = new RoomActionPayload(this_15.
|
|
4074
|
+
var sendToPlayer_12 = new RoomActionPayload(this_15.ia2_1.u6h(), table_10.id, exceptPlayerId_1);
|
|
4075
4075
|
var tmp$ret$100 = mapToClient_4(action_0, sendToPlayer_12);
|
|
4076
4076
|
tmp = listOfNotNull(tmp$ret$100);
|
|
4077
4077
|
} else {
|
|
4078
4078
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
4079
4079
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4080
|
-
var this_16 = this.
|
|
4080
|
+
var this_16 = this.ja2_1;
|
|
4081
4081
|
var table_11 = state.o6r();
|
|
4082
|
-
var exceptPlayerId_2 = this.ha2_1.
|
|
4082
|
+
var exceptPlayerId_2 = this.ja2_1.ha2_1.supportBackwardActions ? action_0.n81_1 : null;
|
|
4083
4083
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4084
|
-
var sendToPlayer_13 = new RoomActionPayload(this_16.
|
|
4084
|
+
var sendToPlayer_13 = new RoomActionPayload(this_16.ia2_1.u6h(), table_11.id, exceptPlayerId_2);
|
|
4085
4085
|
var tmp$ret$102 = mapToClient_3(action_0, sendToPlayer_13);
|
|
4086
4086
|
tmp = listOfNotNull(tmp$ret$102);
|
|
4087
4087
|
} else {
|
|
4088
4088
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
4089
4089
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4090
|
-
var this_17 = this.
|
|
4090
|
+
var this_17 = this.ja2_1;
|
|
4091
4091
|
var table_12 = state.o6r();
|
|
4092
4092
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4093
|
-
var sendToPlayer_14 = new RoomActionPayload(this_17.
|
|
4093
|
+
var sendToPlayer_14 = new RoomActionPayload(this_17.ia2_1.u6h(), table_12.id, null);
|
|
4094
4094
|
var tmp$ret$104 = mapToClient_2(action_0, sendToPlayer_14);
|
|
4095
4095
|
tmp = listOfNotNull(tmp$ret$104);
|
|
4096
4096
|
} else {
|
|
4097
4097
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
4098
4098
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4099
|
-
var this_18 = this.
|
|
4099
|
+
var this_18 = this.ja2_1;
|
|
4100
4100
|
var table_13 = state.o6r();
|
|
4101
4101
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4102
|
-
var sendToPlayer_15 = new RoomActionPayload(this_18.
|
|
4102
|
+
var sendToPlayer_15 = new RoomActionPayload(this_18.ia2_1.u6h(), table_13.id, null);
|
|
4103
4103
|
var tmp$ret$106 = mapToClient_1(action_0, sendToPlayer_15);
|
|
4104
4104
|
tmp = listOfNotNull(tmp$ret$106);
|
|
4105
4105
|
} else {
|
|
4106
4106
|
if (action_0 instanceof MessageMechanicAction) {
|
|
4107
|
-
var message = action_0.
|
|
4107
|
+
var message = action_0.v81_1;
|
|
4108
4108
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4109
|
-
var this_19 = this.
|
|
4109
|
+
var this_19 = this.ja2_1;
|
|
4110
4110
|
var table_14 = state.o6r();
|
|
4111
4111
|
var tmp_1;
|
|
4112
4112
|
var tmp_2;
|
|
4113
|
-
if (this.ha2_1.
|
|
4113
|
+
if (this.ja2_1.ha2_1.supportBackwardActions) {
|
|
4114
4114
|
tmp_2 = isInterface(message, UserMessage);
|
|
4115
4115
|
} else {
|
|
4116
4116
|
tmp_2 = false;
|
|
@@ -4122,17 +4122,17 @@
|
|
|
4122
4122
|
}
|
|
4123
4123
|
var exceptPlayerId_3 = tmp_1;
|
|
4124
4124
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4125
|
-
var sendToPlayer_16 = new RoomActionPayload(this_19.
|
|
4125
|
+
var sendToPlayer_16 = new RoomActionPayload(this_19.ia2_1.u6h(), table_14.id, exceptPlayerId_3);
|
|
4126
4126
|
var tmp$ret$108 = mapToClient_0(action_0, sendToPlayer_16);
|
|
4127
4127
|
tmp = listOfNotNull(tmp$ret$108);
|
|
4128
4128
|
} else {
|
|
4129
4129
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
4130
4130
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4131
|
-
var this_20 = this.
|
|
4131
|
+
var this_20 = this.ja2_1;
|
|
4132
4132
|
var table_15 = state.o6r();
|
|
4133
4133
|
var exceptPlayerId_4 = action_0.playerId;
|
|
4134
4134
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4135
|
-
var sendToPlayer_17 = new RoomActionPayload(this_20.
|
|
4135
|
+
var sendToPlayer_17 = new RoomActionPayload(this_20.ia2_1.u6h(), table_15.id, exceptPlayerId_4);
|
|
4136
4136
|
var tmp$ret$110 = mapToClient(action_0, sendToPlayer_17);
|
|
4137
4137
|
tmp = listOfNotNull(tmp$ret$110);
|
|
4138
4138
|
} else {
|
|
@@ -4170,10 +4170,10 @@
|
|
|
4170
4170
|
return this.i6l(store, next, action);
|
|
4171
4171
|
};
|
|
4172
4172
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
4173
|
-
this.
|
|
4174
|
-
this.
|
|
4173
|
+
this.ha2_1 = logicConfig;
|
|
4174
|
+
this.ia2_1 = idsProvider;
|
|
4175
4175
|
}
|
|
4176
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
4176
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).c97 = function () {
|
|
4177
4177
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
4178
4178
|
return new _no_name_provided__qut3iv_3(this);
|
|
4179
4179
|
};
|
|
@@ -4182,8 +4182,8 @@
|
|
|
4182
4182
|
return new _no_name_provided__qut3iv_4(asyncProvider, provider);
|
|
4183
4183
|
}
|
|
4184
4184
|
function sendMechanicEventsMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
4185
|
-
this.
|
|
4186
|
-
this.
|
|
4185
|
+
this.sa2_1 = $provider;
|
|
4186
|
+
this.ta2_1 = $action;
|
|
4187
4187
|
CoroutineImpl.call(this, resultContinuation);
|
|
4188
4188
|
}
|
|
4189
4189
|
protoOf(sendMechanicEventsMiddleware$o$handle$slambda).k1e = function ($this$launchDefault, $completion) {
|
|
@@ -4204,7 +4204,7 @@
|
|
|
4204
4204
|
case 0:
|
|
4205
4205
|
this.f9_1 = 2;
|
|
4206
4206
|
this.e9_1 = 1;
|
|
4207
|
-
suspendResult = this.
|
|
4207
|
+
suspendResult = this.sa2_1.o9u(this.ta2_1, this);
|
|
4208
4208
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4209
4209
|
return suspendResult;
|
|
4210
4210
|
}
|
|
@@ -4227,8 +4227,8 @@
|
|
|
4227
4227
|
while (true);
|
|
4228
4228
|
};
|
|
4229
4229
|
protoOf(sendMechanicEventsMiddleware$o$handle$slambda).l1e = function ($this$launchDefault, completion) {
|
|
4230
|
-
var i = new sendMechanicEventsMiddleware$o$handle$slambda(this.
|
|
4231
|
-
i.
|
|
4230
|
+
var i = new sendMechanicEventsMiddleware$o$handle$slambda(this.sa2_1, this.ta2_1, completion);
|
|
4231
|
+
i.ua2_1 = $this$launchDefault;
|
|
4232
4232
|
return i;
|
|
4233
4233
|
};
|
|
4234
4234
|
function sendMechanicEventsMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -4240,8 +4240,8 @@
|
|
|
4240
4240
|
return l;
|
|
4241
4241
|
}
|
|
4242
4242
|
function _no_name_provided__qut3iv_4($asyncProvider, $provider) {
|
|
4243
|
-
this.
|
|
4244
|
-
this.
|
|
4243
|
+
this.va2_1 = $asyncProvider;
|
|
4244
|
+
this.wa2_1 = $provider;
|
|
4245
4245
|
}
|
|
4246
4246
|
protoOf(_no_name_provided__qut3iv_4).r6j = function (action) {
|
|
4247
4247
|
return action instanceof MechanicAction;
|
|
@@ -4249,7 +4249,7 @@
|
|
|
4249
4249
|
protoOf(_no_name_provided__qut3iv_4).i6l = function (store, next, action) {
|
|
4250
4250
|
// Inline function 'games.jass.logic.server.redux.middlewares.events.sendMechanicEventsMiddleware.<anonymous>' call
|
|
4251
4251
|
var action_0 = action instanceof MechanicAction ? action : THROW_CCE();
|
|
4252
|
-
this.
|
|
4252
|
+
this.va2_1.r6g(VOID, sendMechanicEventsMiddleware$o$handle$slambda_0(this.wa2_1, action_0, null));
|
|
4253
4253
|
next(action_0);
|
|
4254
4254
|
};
|
|
4255
4255
|
protoOf(_no_name_provided__qut3iv_4).q6j = function (store, next, action) {
|
|
@@ -4260,8 +4260,8 @@
|
|
|
4260
4260
|
return new _no_name_provided__qut3iv_5(asyncProvider, provider);
|
|
4261
4261
|
}
|
|
4262
4262
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
4263
|
-
this.
|
|
4264
|
-
this.
|
|
4263
|
+
this.fa3_1 = $provider;
|
|
4264
|
+
this.ga3_1 = $action;
|
|
4265
4265
|
CoroutineImpl.call(this, resultContinuation);
|
|
4266
4266
|
}
|
|
4267
4267
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).k1e = function ($this$launchDefault, $completion) {
|
|
@@ -4282,7 +4282,7 @@
|
|
|
4282
4282
|
case 0:
|
|
4283
4283
|
this.f9_1 = 2;
|
|
4284
4284
|
this.e9_1 = 1;
|
|
4285
|
-
suspendResult = this.
|
|
4285
|
+
suspendResult = this.fa3_1.c9z(this.ga3_1, this);
|
|
4286
4286
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4287
4287
|
return suspendResult;
|
|
4288
4288
|
}
|
|
@@ -4305,8 +4305,8 @@
|
|
|
4305
4305
|
while (true);
|
|
4306
4306
|
};
|
|
4307
4307
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).l1e = function ($this$launchDefault, completion) {
|
|
4308
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
4309
|
-
i.
|
|
4308
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.fa3_1, this.ga3_1, completion);
|
|
4309
|
+
i.ha3_1 = $this$launchDefault;
|
|
4310
4310
|
return i;
|
|
4311
4311
|
};
|
|
4312
4312
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -4318,8 +4318,8 @@
|
|
|
4318
4318
|
return l;
|
|
4319
4319
|
}
|
|
4320
4320
|
function _no_name_provided__qut3iv_5($asyncProvider, $provider) {
|
|
4321
|
-
this.
|
|
4322
|
-
this.
|
|
4321
|
+
this.ia3_1 = $asyncProvider;
|
|
4322
|
+
this.ja3_1 = $provider;
|
|
4323
4323
|
}
|
|
4324
4324
|
protoOf(_no_name_provided__qut3iv_5).r6j = function (action) {
|
|
4325
4325
|
return action instanceof ToClientAction;
|
|
@@ -4327,7 +4327,7 @@
|
|
|
4327
4327
|
protoOf(_no_name_provided__qut3iv_5).i6l = function (store, next, action) {
|
|
4328
4328
|
// Inline function 'games.jass.logic.server.redux.middlewares.events.sendToClientActionMiddleware.<anonymous>' call
|
|
4329
4329
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
4330
|
-
this.
|
|
4330
|
+
this.ia3_1.r6g(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.ja3_1, action_0, null));
|
|
4331
4331
|
next(action_0);
|
|
4332
4332
|
};
|
|
4333
4333
|
protoOf(_no_name_provided__qut3iv_5).q6j = function (store, next, action) {
|
|
@@ -4342,13 +4342,13 @@
|
|
|
4342
4342
|
protoOf(_no_name_provided__qut3iv_6).r6j = function (action) {
|
|
4343
4343
|
return action instanceof UpdateServerConfigAction;
|
|
4344
4344
|
};
|
|
4345
|
-
protoOf(_no_name_provided__qut3iv_6).
|
|
4345
|
+
protoOf(_no_name_provided__qut3iv_6).x9d = function (state, action) {
|
|
4346
4346
|
// Inline function 'games.jass.logic.server.redux.reducers.serverConfigReducer.<anonymous>' call
|
|
4347
4347
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
4348
|
-
return state.
|
|
4348
|
+
return state.m92(VOID, get_serverStatePayload_0(state).ka3(action_0.oa1_1));
|
|
4349
4349
|
};
|
|
4350
4350
|
protoOf(_no_name_provided__qut3iv_6).j6l = function (state, action) {
|
|
4351
|
-
return this.
|
|
4351
|
+
return this.x9d((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
4352
4352
|
};
|
|
4353
4353
|
function ServerMechanicLifecycleReducer$onStart$lambda($action) {
|
|
4354
4354
|
return function (it) {
|
|
@@ -4361,7 +4361,7 @@
|
|
|
4361
4361
|
var tmp_2 = PlayerConnectionState_LIVE_getInstance();
|
|
4362
4362
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
4363
4363
|
Companion_getInstance();
|
|
4364
|
-
var this_0 = $action.
|
|
4364
|
+
var this_0 = $action.r7z_1.timeoutTimeMillis;
|
|
4365
4365
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
4366
4366
|
tmp_0 = tmp_1.x6b(tmp_2, tmp$ret$0);
|
|
4367
4367
|
}
|
|
@@ -4370,57 +4370,57 @@
|
|
|
4370
4370
|
}
|
|
4371
4371
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
4372
4372
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
4373
|
-
this.
|
|
4373
|
+
this.na3_1 = logger;
|
|
4374
4374
|
}
|
|
4375
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
4375
|
+
protoOf(ServerMechanicLifecycleReducer).j9f = function (state, action) {
|
|
4376
4376
|
var serverState = get_serverStatePayloadOrNull(state.n6q_1);
|
|
4377
4377
|
var tmp8_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
4378
|
-
var tmp0_$this = this.
|
|
4379
|
-
var tmp1_tableId = action.
|
|
4380
|
-
var tmp2_gameId = action.
|
|
4381
|
-
var tmp3_version = action.
|
|
4382
|
-
var tmp4_config = action.
|
|
4383
|
-
var tmp5_users = action.
|
|
4378
|
+
var tmp0_$this = this.k9f_1;
|
|
4379
|
+
var tmp1_tableId = action.s7z_1;
|
|
4380
|
+
var tmp2_gameId = action.s7z_1;
|
|
4381
|
+
var tmp3_version = action.t7z_1;
|
|
4382
|
+
var tmp4_config = action.r7z_1;
|
|
4383
|
+
var tmp5_users = action.v7z_1;
|
|
4384
4384
|
var tmp6_spectators = action.spectators;
|
|
4385
|
-
var tmp7_gameCreatorPlayerId = action.
|
|
4386
|
-
var tmp9_tableOrNull = tmp0_$this.
|
|
4385
|
+
var tmp7_gameCreatorPlayerId = action.u7z_1;
|
|
4386
|
+
var tmp9_tableOrNull = tmp0_$this.p9g(tmp1_tableId, tmp2_gameId, tmp4_config, tmp3_version, tmp5_users, tmp6_spectators, tmp7_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
|
|
4387
4387
|
var tmp;
|
|
4388
4388
|
if (serverState == null) {
|
|
4389
|
-
this.
|
|
4390
|
-
tmp = Companion_instance_11.
|
|
4389
|
+
this.na3_1.w(VOID, 'ServerPayload is not onStart');
|
|
4390
|
+
tmp = Companion_instance_11.g9u();
|
|
4391
4391
|
} else {
|
|
4392
4392
|
tmp = serverState;
|
|
4393
4393
|
}
|
|
4394
4394
|
var tmp10_payload = tmp;
|
|
4395
|
-
return state.
|
|
4395
|
+
return state.m92(tmp9_tableOrNull, tmp10_payload, tmp8_gameLifecycleState);
|
|
4396
4396
|
};
|
|
4397
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
4397
|
+
protoOf(ServerMechanicLifecycleReducer).h9f = function (state, action) {
|
|
4398
4398
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
4399
|
-
var tmp2_tableOrNull = action.
|
|
4399
|
+
var tmp2_tableOrNull = action.y7z_1;
|
|
4400
4400
|
var tmp = Companion_instance_11;
|
|
4401
|
-
var tmp_0 = get_serverStatePayload_0(state).
|
|
4402
|
-
var tmp_1 = action.
|
|
4401
|
+
var tmp_0 = get_serverStatePayload_0(state).p9t_1;
|
|
4402
|
+
var tmp_1 = action.z7z_1;
|
|
4403
4403
|
var tmp0_safe_receiver = tmp_1 instanceof RestartRoundReason ? tmp_1 : null;
|
|
4404
|
-
var tmp3_payload = tmp.
|
|
4405
|
-
return state.
|
|
4404
|
+
var tmp3_payload = tmp.oa3(tmp_0.s9t(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.o69_1));
|
|
4405
|
+
return state.m92(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
|
|
4406
4406
|
};
|
|
4407
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
4408
|
-
this.
|
|
4407
|
+
protoOf(ServerMechanicLifecycleReducer).i9f = function (state, action) {
|
|
4408
|
+
this.l9f_1.g5r(action.previousGameId);
|
|
4409
4409
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
4410
|
-
var tmp1_tableOrNull = this.
|
|
4411
|
-
return state.
|
|
4410
|
+
var tmp1_tableOrNull = this.k9f_1.q9g(state.o6r(), action.gameId);
|
|
4411
|
+
return state.m92(tmp1_tableOrNull, VOID, tmp0_gameLifecycleState);
|
|
4412
4412
|
};
|
|
4413
4413
|
function spectatorsReducer(logger) {
|
|
4414
4414
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
4415
4415
|
return new _no_name_provided__qut3iv_7(logger);
|
|
4416
4416
|
}
|
|
4417
4417
|
function _no_name_provided__qut3iv_7($logger) {
|
|
4418
|
-
this.
|
|
4418
|
+
this.pa3_1 = $logger;
|
|
4419
4419
|
}
|
|
4420
4420
|
protoOf(_no_name_provided__qut3iv_7).r6j = function (action) {
|
|
4421
4421
|
return isInterface(action, SpectatorsAction);
|
|
4422
4422
|
};
|
|
4423
|
-
protoOf(_no_name_provided__qut3iv_7).
|
|
4423
|
+
protoOf(_no_name_provided__qut3iv_7).x9d = function (state, action) {
|
|
4424
4424
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>' call
|
|
4425
4425
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
4426
4426
|
var table = state.o6r();
|
|
@@ -4428,7 +4428,7 @@
|
|
|
4428
4428
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
4429
4429
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
4430
4430
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
4431
|
-
var this_0 = action_0.
|
|
4431
|
+
var this_0 = action_0.pa1_1;
|
|
4432
4432
|
var destination = ArrayList_init_$Create$_0();
|
|
4433
4433
|
// Inline function 'kotlin.collections.forEach' call
|
|
4434
4434
|
var tmp0_iterator = this_0.j();
|
|
@@ -4450,10 +4450,10 @@
|
|
|
4450
4450
|
var tmp_0;
|
|
4451
4451
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
4452
4452
|
if (!sameSpectators.p()) {
|
|
4453
|
-
this.
|
|
4453
|
+
this.pa3_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString_0(sameSpectators));
|
|
4454
4454
|
// Inline function 'kotlin.collections.filterNot' call
|
|
4455
4455
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
4456
|
-
var this_1 = action_0.
|
|
4456
|
+
var this_1 = action_0.pa1_1;
|
|
4457
4457
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
4458
4458
|
var tmp0_iterator_0 = this_1.j();
|
|
4459
4459
|
while (tmp0_iterator_0.k()) {
|
|
@@ -4489,7 +4489,7 @@
|
|
|
4489
4489
|
}
|
|
4490
4490
|
tmp_0 = destination_0;
|
|
4491
4491
|
} else {
|
|
4492
|
-
tmp_0 = action_0.
|
|
4492
|
+
tmp_0 = action_0.pa1_1;
|
|
4493
4493
|
}
|
|
4494
4494
|
var this_2 = tmp_0;
|
|
4495
4495
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -4502,12 +4502,12 @@
|
|
|
4502
4502
|
destination_1.e(tmp$ret$10);
|
|
4503
4503
|
}
|
|
4504
4504
|
var spectatorsToAdd = toSet(destination_1);
|
|
4505
|
-
tmp = state.
|
|
4505
|
+
tmp = state.m92(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
|
|
4506
4506
|
} else {
|
|
4507
4507
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
4508
4508
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
4509
4509
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
4510
|
-
var this_3 = action_0.
|
|
4510
|
+
var this_3 = action_0.qa1_1;
|
|
4511
4511
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
4512
4512
|
// Inline function 'kotlin.collections.forEach' call
|
|
4513
4513
|
var tmp0_iterator_3 = this_3.j();
|
|
@@ -4528,10 +4528,10 @@
|
|
|
4528
4528
|
var tmp_2;
|
|
4529
4529
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
4530
4530
|
if (!sameSpectators_0.p()) {
|
|
4531
|
-
this.
|
|
4531
|
+
this.pa3_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString_0(sameSpectators_0));
|
|
4532
4532
|
// Inline function 'kotlin.collections.filterNot' call
|
|
4533
4533
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
4534
|
-
var this_4 = action_0.
|
|
4534
|
+
var this_4 = action_0.qa1_1;
|
|
4535
4535
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
4536
4536
|
var tmp0_iterator_4 = this_4.j();
|
|
4537
4537
|
while (tmp0_iterator_4.k()) {
|
|
@@ -4567,7 +4567,7 @@
|
|
|
4567
4567
|
}
|
|
4568
4568
|
tmp_2 = destination_3;
|
|
4569
4569
|
} else {
|
|
4570
|
-
tmp_2 = action_0.
|
|
4570
|
+
tmp_2 = action_0.qa1_1;
|
|
4571
4571
|
}
|
|
4572
4572
|
var spectatorsToRemove = toSet(tmp_2);
|
|
4573
4573
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -4606,7 +4606,7 @@
|
|
|
4606
4606
|
destination_4.e(element_5);
|
|
4607
4607
|
}
|
|
4608
4608
|
}
|
|
4609
|
-
tmp = state.
|
|
4609
|
+
tmp = state.m92(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
|
|
4610
4610
|
} else {
|
|
4611
4611
|
noWhenBranchMatchedException();
|
|
4612
4612
|
}
|
|
@@ -4614,32 +4614,32 @@
|
|
|
4614
4614
|
return tmp;
|
|
4615
4615
|
};
|
|
4616
4616
|
protoOf(_no_name_provided__qut3iv_7).j6l = function (state, action) {
|
|
4617
|
-
return this.
|
|
4617
|
+
return this.x9d((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
4618
4618
|
};
|
|
4619
4619
|
function Companion_3() {
|
|
4620
4620
|
}
|
|
4621
|
-
protoOf(Companion_3).
|
|
4621
|
+
protoOf(Companion_3).oa3 = function (config) {
|
|
4622
4622
|
return new ServerStatePayload(config);
|
|
4623
4623
|
};
|
|
4624
|
-
protoOf(Companion_3).
|
|
4625
|
-
config = config === VOID ? Companion_instance_8.
|
|
4626
|
-
return $super === VOID ? this.
|
|
4624
|
+
protoOf(Companion_3).g9u = function (config, $super) {
|
|
4625
|
+
config = config === VOID ? Companion_instance_8.k9u(null) : config;
|
|
4626
|
+
return $super === VOID ? this.oa3(config) : $super.oa3.call(this, config);
|
|
4627
4627
|
};
|
|
4628
4628
|
var Companion_instance_11;
|
|
4629
4629
|
function Companion_getInstance_4() {
|
|
4630
4630
|
return Companion_instance_11;
|
|
4631
4631
|
}
|
|
4632
4632
|
function ServerStatePayload(config) {
|
|
4633
|
-
this.
|
|
4633
|
+
this.p9t_1 = config;
|
|
4634
4634
|
}
|
|
4635
|
-
protoOf(ServerStatePayload).
|
|
4635
|
+
protoOf(ServerStatePayload).ka3 = function (config) {
|
|
4636
4636
|
return new ServerStatePayload(config);
|
|
4637
4637
|
};
|
|
4638
4638
|
protoOf(ServerStatePayload).toString = function () {
|
|
4639
|
-
return 'ServerStatePayload(config=' + this.
|
|
4639
|
+
return 'ServerStatePayload(config=' + this.p9t_1.toString() + ')';
|
|
4640
4640
|
};
|
|
4641
4641
|
protoOf(ServerStatePayload).hashCode = function () {
|
|
4642
|
-
return this.
|
|
4642
|
+
return this.p9t_1.hashCode();
|
|
4643
4643
|
};
|
|
4644
4644
|
protoOf(ServerStatePayload).equals = function (other) {
|
|
4645
4645
|
if (this === other)
|
|
@@ -4647,7 +4647,7 @@
|
|
|
4647
4647
|
if (!(other instanceof ServerStatePayload))
|
|
4648
4648
|
return false;
|
|
4649
4649
|
var tmp0_other_with_cast = other instanceof ServerStatePayload ? other : THROW_CCE();
|
|
4650
|
-
if (!this.
|
|
4650
|
+
if (!this.p9t_1.equals(tmp0_other_with_cast.p9t_1))
|
|
4651
4651
|
return false;
|
|
4652
4652
|
return true;
|
|
4653
4653
|
};
|
|
@@ -4685,13 +4685,13 @@
|
|
|
4685
4685
|
}
|
|
4686
4686
|
function _get_logger__rkp4sl_1($this) {
|
|
4687
4687
|
// Inline function 'kotlin.getValue' call
|
|
4688
|
-
var this_0 = $this.
|
|
4688
|
+
var this_0 = $this.ya3_1;
|
|
4689
4689
|
logger$factory_3();
|
|
4690
4690
|
return this_0.u();
|
|
4691
4691
|
}
|
|
4692
4692
|
function _get_di__ndbzja($this) {
|
|
4693
4693
|
// Inline function 'kotlin.getValue' call
|
|
4694
|
-
var this_0 = $this.
|
|
4694
|
+
var this_0 = $this.za3_1;
|
|
4695
4695
|
di$factory();
|
|
4696
4696
|
return this_0.u();
|
|
4697
4697
|
}
|
|
@@ -4702,13 +4702,13 @@
|
|
|
4702
4702
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
4703
4703
|
return function () {
|
|
4704
4704
|
var tmp;
|
|
4705
|
-
if (this$0.
|
|
4705
|
+
if (this$0.wa3_1 == null) {
|
|
4706
4706
|
tmp = null;
|
|
4707
4707
|
} else {
|
|
4708
4708
|
// Inline function 'kotlin.let' call
|
|
4709
4709
|
// Inline function 'kotlin.contracts.contract' call
|
|
4710
4710
|
// Inline function 'GameServerEngineControllerImpl.logger$delegate.<anonymous>.<anonymous>' call
|
|
4711
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
4711
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.wa3_1)]));
|
|
4712
4712
|
}
|
|
4713
4713
|
var tmp1_elvis_lhs = tmp;
|
|
4714
4714
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -4736,7 +4736,7 @@
|
|
|
4736
4736
|
tmp_0.w61(tmp$ret$3);
|
|
4737
4737
|
$this$DI.a5y(jsonModule());
|
|
4738
4738
|
$this$DI.a5y(serverHelpersModule());
|
|
4739
|
-
$this$DI.a5y(randomOrgModule(this$0.
|
|
4739
|
+
$this$DI.a5y(randomOrgModule(this$0.xa3_1));
|
|
4740
4740
|
return Unit_instance;
|
|
4741
4741
|
};
|
|
4742
4742
|
}
|
|
@@ -4747,16 +4747,16 @@
|
|
|
4747
4747
|
};
|
|
4748
4748
|
}
|
|
4749
4749
|
function _no_name_provided__qut3iv_8($item) {
|
|
4750
|
-
this.
|
|
4750
|
+
this.fa4_1 = $item;
|
|
4751
4751
|
}
|
|
4752
4752
|
protoOf(_no_name_provided__qut3iv_8).r6j = function (action) {
|
|
4753
4753
|
return isInterface(action, Action);
|
|
4754
4754
|
};
|
|
4755
|
-
protoOf(_no_name_provided__qut3iv_8).
|
|
4756
|
-
return this.
|
|
4755
|
+
protoOf(_no_name_provided__qut3iv_8).x9d = function (state, action) {
|
|
4756
|
+
return this.fa4_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
4757
4757
|
};
|
|
4758
4758
|
protoOf(_no_name_provided__qut3iv_8).j6l = function (state, action) {
|
|
4759
|
-
return this.
|
|
4759
|
+
return this.x9d((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
4760
4760
|
};
|
|
4761
4761
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($fileLoggerOutput) {
|
|
4762
4762
|
return function ($this$singleton) {
|
|
@@ -4813,7 +4813,7 @@
|
|
|
4813
4813
|
}
|
|
4814
4814
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0($gameServer) {
|
|
4815
4815
|
return function (it) {
|
|
4816
|
-
var tmp0_elvis_lhs = Companion_instance_4.
|
|
4816
|
+
var tmp0_elvis_lhs = Companion_instance_4.s9i(it);
|
|
4817
4817
|
var tmp;
|
|
4818
4818
|
if (tmp0_elvis_lhs == null) {
|
|
4819
4819
|
var tmp1_safe_receiver = $gameServer.g6b().m6q_1;
|
|
@@ -4826,7 +4826,7 @@
|
|
|
4826
4826
|
}
|
|
4827
4827
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1($gameServer) {
|
|
4828
4828
|
return function (it) {
|
|
4829
|
-
var tmp0_elvis_lhs = Companion_instance_5.
|
|
4829
|
+
var tmp0_elvis_lhs = Companion_instance_5.d9h(it);
|
|
4830
4830
|
var tmp;
|
|
4831
4831
|
if (tmp0_elvis_lhs == null) {
|
|
4832
4832
|
var tmp1_safe_receiver = $gameServer.g6b().m6q_1;
|
|
@@ -4848,7 +4848,7 @@
|
|
|
4848
4848
|
// Inline function 'kotlin.contracts.contract' call
|
|
4849
4849
|
$this$DI.a5y(tmp0_safe_receiver);
|
|
4850
4850
|
}
|
|
4851
|
-
$this$DI.a5y(dealerModule(this$0.randomPoolProvider, this$0.
|
|
4851
|
+
$this$DI.a5y(dealerModule(this$0.randomPoolProvider, this$0.xa3_1));
|
|
4852
4852
|
$this$DI.a5y(coreModule($coreConfig));
|
|
4853
4853
|
$this$DI.a5y(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $externalReducers, $externalMiddlewares));
|
|
4854
4854
|
return Unit_instance;
|
|
@@ -4857,76 +4857,76 @@
|
|
|
4857
4857
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
4858
4858
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
4859
4859
|
production = production === VOID ? true : production;
|
|
4860
|
-
this.
|
|
4861
|
-
this.
|
|
4860
|
+
this.wa3_1 = loggerCallback;
|
|
4861
|
+
this.xa3_1 = randomOrgConfig;
|
|
4862
4862
|
AppEnvironment_getInstance().u6p(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
|
|
4863
4863
|
var tmp = this;
|
|
4864
|
-
tmp.
|
|
4864
|
+
tmp.ya3_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
4865
4865
|
var tmp_0 = this;
|
|
4866
|
-
tmp_0.
|
|
4866
|
+
tmp_0.za3_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
4867
4867
|
var tmp_1 = this;
|
|
4868
4868
|
// Inline function 'org.kodein.di.instance' call
|
|
4869
4869
|
var this_0 = _get_di__ndbzja(this);
|
|
4870
4870
|
// Inline function 'org.kodein.type.generic' call
|
|
4871
4871
|
var tmp_2 = typeToken(createKType(getKClass(ParserHelper), arrayOf([]), false));
|
|
4872
4872
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
4873
|
-
tmp_1.
|
|
4873
|
+
tmp_1.aa4_1 = Instance(this_0, tmp$ret$0, null).t63(this, parser$factory());
|
|
4874
4874
|
var tmp_3 = this;
|
|
4875
4875
|
// Inline function 'org.kodein.di.instance' call
|
|
4876
4876
|
var this_1 = _get_di__ndbzja(this);
|
|
4877
4877
|
// Inline function 'org.kodein.type.generic' call
|
|
4878
4878
|
var tmp_4 = typeToken(createKType(getKClass(GameHelper), arrayOf([]), false));
|
|
4879
4879
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
4880
|
-
tmp_3.
|
|
4880
|
+
tmp_3.ba4_1 = Instance(this_1, tmp$ret$2, null).t63(this, helper$factory());
|
|
4881
4881
|
var tmp_5 = this;
|
|
4882
4882
|
// Inline function 'org.kodein.di.instance' call
|
|
4883
4883
|
var this_2 = _get_di__ndbzja(this);
|
|
4884
4884
|
// Inline function 'org.kodein.type.generic' call
|
|
4885
4885
|
var tmp_6 = typeToken(createKType(getKClass(GameResources), arrayOf([]), false));
|
|
4886
4886
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
4887
|
-
tmp_5.
|
|
4887
|
+
tmp_5.ca4_1 = Instance(this_2, tmp$ret$4, null).t63(this, resources$factory());
|
|
4888
4888
|
var tmp_7 = this;
|
|
4889
4889
|
// Inline function 'org.kodein.di.instance' call
|
|
4890
4890
|
var this_3 = _get_di__ndbzja(this);
|
|
4891
4891
|
// Inline function 'org.kodein.type.generic' call
|
|
4892
4892
|
var tmp_8 = typeToken(createKType(getKClass(TestHelper), arrayOf([]), false));
|
|
4893
4893
|
var tmp$ret$6 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
4894
|
-
tmp_7.
|
|
4894
|
+
tmp_7.da4_1 = Instance(this_3, tmp$ret$6, null).t63(this, test$factory());
|
|
4895
4895
|
var tmp_9 = this;
|
|
4896
4896
|
// Inline function 'org.kodein.di.instance' call
|
|
4897
4897
|
var this_4 = _get_di__ndbzja(this);
|
|
4898
4898
|
// Inline function 'org.kodein.type.generic' call
|
|
4899
4899
|
var tmp_10 = typeToken(createKType(getKClass(RandomPoolProvider), arrayOf([]), false));
|
|
4900
4900
|
var tmp$ret$8 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
4901
|
-
tmp_9.
|
|
4901
|
+
tmp_9.ea4_1 = Instance(this_4, tmp$ret$8, null).t63(this, randomPoolProvider$factory());
|
|
4902
4902
|
}
|
|
4903
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4903
|
+
protoOf(GameServerEngineControllerImpl).qa3 = function () {
|
|
4904
4904
|
// Inline function 'kotlin.getValue' call
|
|
4905
|
-
var this_0 = this.
|
|
4905
|
+
var this_0 = this.aa4_1;
|
|
4906
4906
|
parser$factory_0();
|
|
4907
4907
|
return this_0.u();
|
|
4908
4908
|
};
|
|
4909
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4909
|
+
protoOf(GameServerEngineControllerImpl).sa3 = function () {
|
|
4910
4910
|
// Inline function 'kotlin.getValue' call
|
|
4911
|
-
var this_0 = this.
|
|
4911
|
+
var this_0 = this.ba4_1;
|
|
4912
4912
|
helper$factory_0();
|
|
4913
4913
|
return this_0.u();
|
|
4914
4914
|
};
|
|
4915
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4915
|
+
protoOf(GameServerEngineControllerImpl).ta3 = function () {
|
|
4916
4916
|
// Inline function 'kotlin.getValue' call
|
|
4917
|
-
var this_0 = this.
|
|
4917
|
+
var this_0 = this.ca4_1;
|
|
4918
4918
|
resources$factory_0();
|
|
4919
4919
|
return this_0.u();
|
|
4920
4920
|
};
|
|
4921
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4921
|
+
protoOf(GameServerEngineControllerImpl).ra3 = function () {
|
|
4922
4922
|
// Inline function 'kotlin.getValue' call
|
|
4923
|
-
var this_0 = this.
|
|
4923
|
+
var this_0 = this.da4_1;
|
|
4924
4924
|
test$factory_0();
|
|
4925
4925
|
return this_0.u();
|
|
4926
4926
|
};
|
|
4927
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4927
|
+
protoOf(GameServerEngineControllerImpl).ua3 = function () {
|
|
4928
4928
|
// Inline function 'kotlin.getValue' call
|
|
4929
|
-
var this_0 = this.
|
|
4929
|
+
var this_0 = this.ea4_1;
|
|
4930
4930
|
randomPoolProvider$factory_0();
|
|
4931
4931
|
return this_0.u();
|
|
4932
4932
|
};
|
|
@@ -4936,7 +4936,7 @@
|
|
|
4936
4936
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
4937
4937
|
return this.createGameEngineWithLogic();
|
|
4938
4938
|
};
|
|
4939
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4939
|
+
protoOf(GameServerEngineControllerImpl).va3 = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig) {
|
|
4940
4940
|
var combinedLogger = Companion_instance_6.qm();
|
|
4941
4941
|
var tmp;
|
|
4942
4942
|
if (coreConfig.fileLogsEnabled) {
|
|
@@ -4946,8 +4946,8 @@
|
|
|
4946
4946
|
}
|
|
4947
4947
|
var fileLoggerOutput = tmp;
|
|
4948
4948
|
var tmp_0;
|
|
4949
|
-
if (!(this.
|
|
4950
|
-
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.
|
|
4949
|
+
if (!(this.wa3_1 == null)) {
|
|
4950
|
+
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.wa3_1));
|
|
4951
4951
|
} else {
|
|
4952
4952
|
tmp_0 = null;
|
|
4953
4953
|
}
|
|
@@ -4990,12 +4990,12 @@
|
|
|
4990
4990
|
var gameServer = tmp_1.k5z(tmp$ret$7, null);
|
|
4991
4991
|
if (!(fileLoggerOutput == null)) {
|
|
4992
4992
|
var tmp_3 = fileLoggerOutput;
|
|
4993
|
-
tmp_3.
|
|
4993
|
+
tmp_3.h9i_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0(gameServer);
|
|
4994
4994
|
combinedLogger.sm(fileLoggerOutput);
|
|
4995
4995
|
}
|
|
4996
4996
|
if (!(callbackWrapperLoggerOutput == null)) {
|
|
4997
4997
|
var tmp_4 = callbackWrapperLoggerOutput;
|
|
4998
|
-
tmp_4.
|
|
4998
|
+
tmp_4.f9h_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1(gameServer);
|
|
4999
4999
|
combinedLogger.sm(callbackWrapperLoggerOutput);
|
|
5000
5000
|
}
|
|
5001
5001
|
return gameServer;
|
|
@@ -5064,13 +5064,13 @@
|
|
|
5064
5064
|
}
|
|
5065
5065
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
5066
5066
|
// Inline function 'kotlin.getValue' call
|
|
5067
|
-
var this_0 = $this.
|
|
5067
|
+
var this_0 = $this.ia4_1;
|
|
5068
5068
|
playerAnswerInteractor$factory_0();
|
|
5069
5069
|
return this_0.u();
|
|
5070
5070
|
}
|
|
5071
5071
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
5072
5072
|
return function ($this$singleton) {
|
|
5073
|
-
return this$0.
|
|
5073
|
+
return this$0.ga4_1;
|
|
5074
5074
|
};
|
|
5075
5075
|
}
|
|
5076
5076
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -5099,20 +5099,20 @@
|
|
|
5099
5099
|
return emptyMap();
|
|
5100
5100
|
}
|
|
5101
5101
|
function TestHelperImpl(logger) {
|
|
5102
|
-
this.
|
|
5102
|
+
this.ga4_1 = logger;
|
|
5103
5103
|
var tmp = this;
|
|
5104
5104
|
var tmp_0 = Companion_instance_3;
|
|
5105
|
-
tmp.
|
|
5105
|
+
tmp.ha4_1 = tmp_0.h5y(VOID, TestHelperImpl$di$lambda(this));
|
|
5106
5106
|
var tmp_1 = this;
|
|
5107
5107
|
// Inline function 'org.kodein.di.instance' call
|
|
5108
|
-
var this_0 = this.
|
|
5108
|
+
var this_0 = this.ha4_1;
|
|
5109
5109
|
// Inline function 'org.kodein.type.generic' call
|
|
5110
5110
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
5111
5111
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5112
|
-
tmp_1.
|
|
5112
|
+
tmp_1.ia4_1 = Instance(this_0, tmp$ret$0, null).t63(this, playerAnswerInteractor$factory());
|
|
5113
5113
|
}
|
|
5114
5114
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
5115
|
-
return _get_playerAnswerInteractor__msggz1(this).
|
|
5115
|
+
return _get_playerAnswerInteractor__msggz1(this).h8t(playerId, table, botConfig);
|
|
5116
5116
|
};
|
|
5117
5117
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
5118
5118
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
@@ -5120,7 +5120,7 @@
|
|
|
5120
5120
|
var tmp$ret$0;
|
|
5121
5121
|
$l$block_0: {
|
|
5122
5122
|
// Inline function 'kotlin.collections.any' call
|
|
5123
|
-
var this_0 = mechanicAction.
|
|
5123
|
+
var this_0 = mechanicAction.p94();
|
|
5124
5124
|
var tmp;
|
|
5125
5125
|
if (isInterface(this_0, Collection)) {
|
|
5126
5126
|
tmp = this_0.p();
|
|
@@ -5153,7 +5153,7 @@
|
|
|
5153
5153
|
var tmp$ret$0;
|
|
5154
5154
|
$l$block_0: {
|
|
5155
5155
|
// Inline function 'kotlin.collections.any' call
|
|
5156
|
-
var this_0 = action.
|
|
5156
|
+
var this_0 = action.p94();
|
|
5157
5157
|
var tmp;
|
|
5158
5158
|
if (isInterface(this_0, Collection)) {
|
|
5159
5159
|
tmp = this_0.p();
|
|
@@ -5256,19 +5256,19 @@
|
|
|
5256
5256
|
});
|
|
5257
5257
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
5258
5258
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
5259
|
-
return this.
|
|
5259
|
+
return this.qa3();
|
|
5260
5260
|
});
|
|
5261
5261
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
5262
|
-
return this.
|
|
5262
|
+
return this.sa3();
|
|
5263
5263
|
});
|
|
5264
5264
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
5265
|
-
return this.
|
|
5265
|
+
return this.ta3();
|
|
5266
5266
|
});
|
|
5267
5267
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
5268
|
-
return this.
|
|
5268
|
+
return this.ra3();
|
|
5269
5269
|
});
|
|
5270
5270
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
5271
|
-
return this.
|
|
5271
|
+
return this.ua3();
|
|
5272
5272
|
});
|
|
5273
5273
|
//endregion
|
|
5274
5274
|
//region block: init
|