raspberry_games_server_game_logic 1.8.281 → 1.8.282
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/Kosi-Kaverit-kaverit.js +56 -56
- package/Kosi-Kodein-kodein-di.js +504 -504
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1354 -1354
- package/Logic_Debertz-core.js +1510 -1510
- package/Logic_Debertz-engine.js +14618 -14613
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.js +930 -930
- package/kotlin-kotlin-stdlib.js +10 -10
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +13 -13
- package/kotlinx-coroutines-core.js +2184 -2184
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +311 -311
- package/kotlinx-serialization-kotlinx-serialization-core.js +1720 -1720
- package/kotlinx-serialization-kotlinx-serialization-json.js +1306 -1306
- package/ktor-ktor-client-content-negotiation.js +133 -133
- package/ktor-ktor-client-core.js +1515 -1515
- package/ktor-ktor-client-logging.js +278 -278
- package/ktor-ktor-events.js +6 -6
- package/ktor-ktor-http.js +584 -584
- package/ktor-ktor-io.js +1246 -1246
- package/ktor-ktor-serialization-kotlinx-json.js +6 -6
- package/ktor-ktor-serialization-kotlinx.js +136 -136
- package/ktor-ktor-serialization.js +62 -62
- package/ktor-ktor-utils.js +489 -489
- package/ktor-ktor-websockets.js +42 -42
- package/package.json +1 -1
- package/raspberry-cardgame-lib-core.js +159 -159
- package/raspberry-cardgame-lib-logger.js +24 -13
- package/raspberry-cardgame-lib-logger.js.map +1 -1
- package/raspberry-cardgame-lib-random.js +773 -773
- package/secure-random-secure-random.js +5 -5
- package/uuid.js +11 -11
|
@@ -306,15 +306,15 @@
|
|
|
306
306
|
tmp = spectators;
|
|
307
307
|
}
|
|
308
308
|
spectators = tmp;
|
|
309
|
-
return this.
|
|
309
|
+
return this.c9u(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.d9u(newRid);
|
|
314
314
|
}
|
|
315
315
|
function shutdown(reason, roomId, $super) {
|
|
316
316
|
roomId = roomId === VOID ? null : roomId;
|
|
317
|
-
return this.
|
|
317
|
+
return this.e9u(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.qa3(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.b9k_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).d9k = function (it, $completion) {
|
|
403
|
+
var tmp = this.e9k(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.d9k(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.b9k_1(this.c9k_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).e9k = function (it, completion) {
|
|
430
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.b9k_1, completion);
|
|
431
|
+
i.c9k_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.d9k(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.n9k_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).p9k = function (it, $completion) {
|
|
447
|
+
var tmp = this.q9k(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.p9k((!(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.n9k_1(this.o9k_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).q9k = function (it, completion) {
|
|
474
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.n9k_1, completion);
|
|
475
|
+
i.o9k_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.p9k(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.z9k_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).b9l = function (it, $completion) {
|
|
491
|
+
var tmp = this.c9l(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.b9l(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.z9k_1(this.a9l_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).c9l = function (it, completion) {
|
|
518
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.z9k_1, completion);
|
|
519
|
+
i.a9l_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.b9l(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.d9l_1 = $playerId;
|
|
532
532
|
}
|
|
533
|
-
protoOf(GameServer$roomOnCreate$1$updatedUsers$previousTeams$1).
|
|
534
|
-
return this.
|
|
533
|
+
protoOf(GameServer$roomOnCreate$1$updatedUsers$previousTeams$1).i6a = function () {
|
|
534
|
+
return this.d9l_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.g9l_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.h9l_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.i9l_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.j9l_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.k9l_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.l9l_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.m9l_1;
|
|
575
575
|
idsProvider$factory_0();
|
|
576
576
|
return this_0.u();
|
|
577
577
|
}
|
|
578
578
|
function Companion() {
|
|
579
|
-
this.
|
|
579
|
+
this.o9l_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.p9l_1 = function_0;
|
|
587
587
|
}
|
|
588
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
589
|
-
return this.
|
|
588
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).q18 = function (value, $completion) {
|
|
589
|
+
return this.p9l_1(value, $completion);
|
|
590
590
|
};
|
|
591
591
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).o3 = function () {
|
|
592
|
-
return this.
|
|
592
|
+
return this.p9l_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.q9l_1 = function_0;
|
|
614
614
|
}
|
|
615
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
616
|
-
return this.
|
|
615
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).q18 = function (value, $completion) {
|
|
616
|
+
return this.q9l_1(value, $completion);
|
|
617
617
|
};
|
|
618
618
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).o3 = function () {
|
|
619
|
-
return this.
|
|
619
|
+
return this.q9l_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.r9l_1 = function_0;
|
|
641
641
|
}
|
|
642
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).
|
|
643
|
-
return this.
|
|
642
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).q18 = function (value, $completion) {
|
|
643
|
+
return this.r9l_1(value, $completion);
|
|
644
644
|
};
|
|
645
645
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).o3 = function () {
|
|
646
|
-
return this.
|
|
646
|
+
return this.r9l_1;
|
|
647
647
|
};
|
|
648
648
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
649
649
|
var tmp;
|
|
@@ -669,18 +669,18 @@
|
|
|
669
669
|
};
|
|
670
670
|
}
|
|
671
671
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
672
|
-
this.
|
|
673
|
-
this.
|
|
672
|
+
this.a9m_1 = this$0;
|
|
673
|
+
this.b9m_1 = $subscriber;
|
|
674
674
|
CoroutineImpl.call(this, resultContinuation);
|
|
675
675
|
}
|
|
676
|
-
protoOf(GameServer$subscribeToClientAction$slambda).
|
|
677
|
-
var tmp = this.
|
|
676
|
+
protoOf(GameServer$subscribeToClientAction$slambda).l1e = function ($this$launchDefault, $completion) {
|
|
677
|
+
var tmp = this.m1e($this$launchDefault, $completion);
|
|
678
678
|
tmp.g9_1 = Unit_instance;
|
|
679
679
|
tmp.h9_1 = null;
|
|
680
680
|
return tmp.m9();
|
|
681
681
|
};
|
|
682
682
|
protoOf(GameServer$subscribeToClientAction$slambda).w9 = function (p1, $completion) {
|
|
683
|
-
return this.
|
|
683
|
+
return this.l1e((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
684
684
|
};
|
|
685
685
|
protoOf(GameServer$subscribeToClientAction$slambda).m9 = function () {
|
|
686
686
|
var suspendResult = this.g9_1;
|
|
@@ -691,9 +691,9 @@
|
|
|
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.
|
|
696
|
-
suspendResult = tmp_0.
|
|
694
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.a9m_1).d9m();
|
|
695
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.b9m_1, null);
|
|
696
|
+
suspendResult = tmp_0.n17(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
697
697
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
698
698
|
return suspendResult;
|
|
699
699
|
}
|
|
@@ -715,32 +715,32 @@
|
|
|
715
715
|
}
|
|
716
716
|
while (true);
|
|
717
717
|
};
|
|
718
|
-
protoOf(GameServer$subscribeToClientAction$slambda).
|
|
719
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
720
|
-
i.
|
|
718
|
+
protoOf(GameServer$subscribeToClientAction$slambda).m1e = function ($this$launchDefault, completion) {
|
|
719
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.a9m_1, this.b9m_1, completion);
|
|
720
|
+
i.c9m_1 = $this$launchDefault;
|
|
721
721
|
return i;
|
|
722
722
|
};
|
|
723
723
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
724
724
|
var i = new GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation);
|
|
725
725
|
var l = function ($this$launchDefault, $completion) {
|
|
726
|
-
return i.
|
|
726
|
+
return i.l1e($this$launchDefault, $completion);
|
|
727
727
|
};
|
|
728
728
|
l.$arity = 1;
|
|
729
729
|
return l;
|
|
730
730
|
}
|
|
731
731
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
732
|
-
this.
|
|
733
|
-
this.
|
|
732
|
+
this.m9m_1 = this$0;
|
|
733
|
+
this.n9m_1 = $subscriber;
|
|
734
734
|
CoroutineImpl.call(this, resultContinuation);
|
|
735
735
|
}
|
|
736
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda).
|
|
737
|
-
var tmp = this.
|
|
736
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda).l1e = function ($this$launchDefault, $completion) {
|
|
737
|
+
var tmp = this.m1e($this$launchDefault, $completion);
|
|
738
738
|
tmp.g9_1 = Unit_instance;
|
|
739
739
|
tmp.h9_1 = null;
|
|
740
740
|
return tmp.m9();
|
|
741
741
|
};
|
|
742
742
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).w9 = function (p1, $completion) {
|
|
743
|
-
return this.
|
|
743
|
+
return this.l1e((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
744
744
|
};
|
|
745
745
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).m9 = function () {
|
|
746
746
|
var suspendResult = this.g9_1;
|
|
@@ -751,9 +751,9 @@
|
|
|
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.
|
|
756
|
-
suspendResult = tmp_0.
|
|
754
|
+
var tmp_0 = _get_mechanicEventsObserver__ll1b9k(this.m9m_1).p9m(this.m9m_1.m6q());
|
|
755
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.n9m_1, null);
|
|
756
|
+
suspendResult = tmp_0.n17(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
757
757
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
758
758
|
return suspendResult;
|
|
759
759
|
}
|
|
@@ -775,32 +775,32 @@
|
|
|
775
775
|
}
|
|
776
776
|
while (true);
|
|
777
777
|
};
|
|
778
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda).
|
|
779
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
780
|
-
i.
|
|
778
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda).m1e = function ($this$launchDefault, completion) {
|
|
779
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.m9m_1, this.n9m_1, completion);
|
|
780
|
+
i.o9m_1 = $this$launchDefault;
|
|
781
781
|
return i;
|
|
782
782
|
};
|
|
783
783
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
784
784
|
var i = new GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation);
|
|
785
785
|
var l = function ($this$launchDefault, $completion) {
|
|
786
|
-
return i.
|
|
786
|
+
return i.l1e($this$launchDefault, $completion);
|
|
787
787
|
};
|
|
788
788
|
l.$arity = 1;
|
|
789
789
|
return l;
|
|
790
790
|
}
|
|
791
791
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
792
|
-
this.
|
|
793
|
-
this.
|
|
792
|
+
this.y9m_1 = this$0;
|
|
793
|
+
this.z9m_1 = $subscriber;
|
|
794
794
|
CoroutineImpl.call(this, resultContinuation);
|
|
795
795
|
}
|
|
796
|
-
protoOf(GameServer$subscribeWith$slambda).
|
|
797
|
-
var tmp = this.
|
|
796
|
+
protoOf(GameServer$subscribeWith$slambda).l1e = function ($this$launchDefault, $completion) {
|
|
797
|
+
var tmp = this.m1e($this$launchDefault, $completion);
|
|
798
798
|
tmp.g9_1 = Unit_instance;
|
|
799
799
|
tmp.h9_1 = null;
|
|
800
800
|
return tmp.m9();
|
|
801
801
|
};
|
|
802
802
|
protoOf(GameServer$subscribeWith$slambda).w9 = function (p1, $completion) {
|
|
803
|
-
return this.
|
|
803
|
+
return this.l1e((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
804
804
|
};
|
|
805
805
|
protoOf(GameServer$subscribeWith$slambda).m9 = function () {
|
|
806
806
|
var suspendResult = this.g9_1;
|
|
@@ -811,9 +811,9 @@
|
|
|
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.
|
|
816
|
-
suspendResult = tmp_0.
|
|
814
|
+
var tmp_0 = distinctUntilChanged(this.y9m_1.m6q());
|
|
815
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.z9m_1, null);
|
|
816
|
+
suspendResult = tmp_0.n17(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
817
817
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
818
818
|
return suspendResult;
|
|
819
819
|
}
|
|
@@ -835,32 +835,32 @@
|
|
|
835
835
|
}
|
|
836
836
|
while (true);
|
|
837
837
|
};
|
|
838
|
-
protoOf(GameServer$subscribeWith$slambda).
|
|
839
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
840
|
-
i.
|
|
838
|
+
protoOf(GameServer$subscribeWith$slambda).m1e = function ($this$launchDefault, completion) {
|
|
839
|
+
var i = new GameServer$subscribeWith$slambda(this.y9m_1, this.z9m_1, completion);
|
|
840
|
+
i.a9n_1 = $this$launchDefault;
|
|
841
841
|
return i;
|
|
842
842
|
};
|
|
843
843
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
844
844
|
var i = new GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation);
|
|
845
845
|
var l = function ($this$launchDefault, $completion) {
|
|
846
|
-
return i.
|
|
846
|
+
return i.l1e($this$launchDefault, $completion);
|
|
847
847
|
};
|
|
848
848
|
l.$arity = 1;
|
|
849
849
|
return l;
|
|
850
850
|
}
|
|
851
851
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
852
|
-
this.
|
|
852
|
+
this.j9n_1 = $action;
|
|
853
853
|
CoroutineImpl.call(this, resultContinuation);
|
|
854
854
|
}
|
|
855
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
856
|
-
var tmp = this.
|
|
855
|
+
protoOf(GameServer$fromClientEvent$slambda).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
856
|
+
var tmp = this.n9n($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.m9n(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.j9n_1 instanceof PlayerReadyFromClientAction)
|
|
873
|
+
if (!get_isCreated(this.l9n_1.state)) {
|
|
874
874
|
return Unit_instance;
|
|
875
875
|
}
|
|
876
|
-
this.
|
|
876
|
+
this.l9n_1.dispatch(this.j9n_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).n9n = function ($this$dispatchAsync, store, completion) {
|
|
888
|
+
var i = new GameServer$fromClientEvent$slambda(this.j9n_1, completion);
|
|
889
|
+
i.k9n_1 = $this$dispatchAsync;
|
|
890
|
+
i.l9n_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.m9n($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.w9n_1 = $playerId;
|
|
903
903
|
CoroutineImpl.call(this, resultContinuation);
|
|
904
904
|
}
|
|
905
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
906
|
-
var tmp = this.
|
|
905
|
+
protoOf(GameServer$playerLostConnection$slambda).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
906
|
+
var tmp = this.n9n($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.m9n(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.y9n_1.state)) {
|
|
923
923
|
return Unit_instance;
|
|
924
924
|
}
|
|
925
|
-
var tmp_0 = this.
|
|
925
|
+
var tmp_0 = this.y9n_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.w9n_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).n9n = function ($this$dispatchAsync, store, completion) {
|
|
939
|
+
var i = new GameServer$playerLostConnection$slambda(this.w9n_1, completion);
|
|
940
|
+
i.x9n_1 = $this$dispatchAsync;
|
|
941
|
+
i.y9n_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.m9n($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.h9o_1 = $playerId;
|
|
954
954
|
CoroutineImpl.call(this, resultContinuation);
|
|
955
955
|
}
|
|
956
|
-
protoOf(GameServer$playerLive$slambda).
|
|
957
|
-
var tmp = this.
|
|
956
|
+
protoOf(GameServer$playerLive$slambda).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
957
|
+
var tmp = this.n9n($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.m9n(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.j9o_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.h9o_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).n9n = function ($this$dispatchAsync, store, completion) {
|
|
987
|
+
var i = new GameServer$playerLive$slambda(this.h9o_1, completion);
|
|
988
|
+
i.i9o_1 = $this$dispatchAsync;
|
|
989
|
+
i.j9o_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.m9n($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.s9o_1 = $playerId;
|
|
1002
1002
|
CoroutineImpl.call(this, resultContinuation);
|
|
1003
1003
|
}
|
|
1004
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
1005
|
-
var tmp = this.
|
|
1004
|
+
protoOf(GameServer$playerLeft$slambda).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
1005
|
+
var tmp = this.n9n($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.m9n(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.u9o_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.s9o_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).n9n = function ($this$dispatchAsync, store, completion) {
|
|
1035
|
+
var i = new GameServer$playerLeft$slambda(this.s9o_1, completion);
|
|
1036
|
+
i.t9o_1 = $this$dispatchAsync;
|
|
1037
|
+
i.u9o_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.m9n($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.d9p_1 = $usersArray;
|
|
1050
|
+
this.e9p_1 = $gameCreatorId;
|
|
1051
|
+
this.f9p_1 = $config;
|
|
1052
|
+
this.g9p_1 = $transition;
|
|
1053
|
+
this.h9p_1 = this$0;
|
|
1054
|
+
this.i9p_1 = $spectators;
|
|
1055
|
+
this.j9p_1 = $roomId;
|
|
1056
1056
|
CoroutineImpl.call(this, resultContinuation);
|
|
1057
1057
|
}
|
|
1058
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
1059
|
-
var tmp = this.
|
|
1058
|
+
protoOf(GameServer$roomOnCreate$slambda).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
1059
|
+
var tmp = this.n9n($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.m9n(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,29 +1072,29 @@
|
|
|
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.d9p_1);
|
|
1076
|
+
var gameCreatorUser = getPlayer(users, this.e9p_1);
|
|
1077
1077
|
var tmp_0;
|
|
1078
|
-
if (this.
|
|
1079
|
-
tmp_0 = sortWithItem(_get_random__h29cgo(this.
|
|
1078
|
+
if (this.f9p_1.mode.shufflePlayers && this.g9p_1 == null) {
|
|
1079
|
+
tmp_0 = sortWithItem(_get_random__h29cgo(this.h9p_1).i5w(toMutableList(users)), gameCreatorUser);
|
|
1080
1080
|
} else {
|
|
1081
|
-
var tmp0_safe_receiver = this.
|
|
1081
|
+
var tmp0_safe_receiver = this.g9p_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.f9p_1.playersMode.isTeamGame) {
|
|
1085
|
+
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.h9p_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.k8s(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()) {
|
|
1096
1096
|
var element = tmp0_iterator_0.l();
|
|
1097
|
-
if (!previousPlayers.s1(element.
|
|
1097
|
+
if (!previousPlayers.s1(element.x6a_1)) {
|
|
1098
1098
|
destination_0.e(element);
|
|
1099
1099
|
}
|
|
1100
1100
|
}
|
|
@@ -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.h9p_1).o8s(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.l9p_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.i9p_1);
|
|
1126
|
+
tmp_3(new StartGameMechanicAction(this.f9p_1, this.j9p_1, tmp1_version, this.e9p_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).n9n = function ($this$dispatchAsync, store, completion) {
|
|
1138
|
+
var i = new GameServer$roomOnCreate$slambda(this.d9p_1, this.e9p_1, this.f9p_1, this.g9p_1, this.h9p_1, this.i9p_1, this.j9p_1, completion);
|
|
1139
|
+
i.k9p_1 = $this$dispatchAsync;
|
|
1140
|
+
i.l9p_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.m9n($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.u9p_1 = $state;
|
|
1153
1153
|
CoroutineImpl.call(this, resultContinuation);
|
|
1154
1154
|
}
|
|
1155
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
1156
|
-
var tmp = this.
|
|
1155
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
1156
|
+
var tmp = this.n9n($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.m9n(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.w9p_1.dispatch;
|
|
1173
1173
|
var tmp0_reason = new RestartRoundReason(null);
|
|
1174
|
-
var tmp1_table = this.
|
|
1174
|
+
var tmp1_table = this.u9p_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).n9n = function ($this$dispatchAsync, store, completion) {
|
|
1187
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.u9p_1, completion);
|
|
1188
|
+
i.v9p_1 = $this$dispatchAsync;
|
|
1189
|
+
i.w9p_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.m9n($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.f9q_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).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
1205
|
+
var tmp = this.n9n($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.m9n(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.f9q_1.actions.j();
|
|
1222
1222
|
while (tmp0_iterator.k()) {
|
|
1223
1223
|
var element = tmp0_iterator.l();
|
|
1224
|
-
this.
|
|
1224
|
+
this.h9q_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).n9n = function ($this$dispatchAsync, store, completion) {
|
|
1237
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.f9q_1, completion);
|
|
1238
|
+
i.g9q_1 = $this$dispatchAsync;
|
|
1239
|
+
i.h9q_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.m9n($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.q9q_1 = $tableLite;
|
|
1252
|
+
this.r9q_1 = $roomId;
|
|
1253
|
+
this.s9q_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).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
1257
|
+
var tmp = this.n9n($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.m9n(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.u9q_1.dispatch;
|
|
1274
|
+
var tmp0_reason = new RestartRoundReason(this.q9q_1.gameInfo.round.roundNumber);
|
|
1275
|
+
var tmp1_table = Companion_instance.restartRound(this.r9q_1, _get_idsProvider__fnfajc(this.s9q_1).v6h(), GameEngineConfig_instance.version, this.q9q_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).n9n = function ($this$dispatchAsync, store, completion) {
|
|
1288
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.q9q_1, this.r9q_1, this.s9q_1, completion);
|
|
1289
|
+
i.t9q_1 = $this$dispatchAsync;
|
|
1290
|
+
i.u9q_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.m9n($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).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
1305
|
+
var tmp = this.n9n($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.m9n(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.e9r_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).n9n = function ($this$dispatchAsync, store, completion) {
|
|
1333
1333
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
1334
|
-
i.
|
|
1335
|
-
i.
|
|
1334
|
+
i.d9r_1 = $this$dispatchAsync;
|
|
1335
|
+
i.e9r_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.m9n($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.n9r_1 = $spectators;
|
|
1348
1348
|
CoroutineImpl.call(this, resultContinuation);
|
|
1349
1349
|
}
|
|
1350
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
1351
|
-
var tmp = this.
|
|
1350
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
1351
|
+
var tmp = this.n9n($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.m9n(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.p9r_1.dispatch(new AddSpectatorsAction(toList(this.n9r_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).n9n = function ($this$dispatchAsync, store, completion) {
|
|
1379
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.n9r_1, completion);
|
|
1380
|
+
i.o9r_1 = $this$dispatchAsync;
|
|
1381
|
+
i.p9r_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.m9n($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.y9r_1 = $spectators;
|
|
1394
1394
|
CoroutineImpl.call(this, resultContinuation);
|
|
1395
1395
|
}
|
|
1396
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
1397
|
-
var tmp = this.
|
|
1396
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
1397
|
+
var tmp = this.n9n($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.m9n(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.a9s_1.dispatch(new RemoveSpectatorsAction(toList(this.y9r_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).n9n = function ($this$dispatchAsync, store, completion) {
|
|
1425
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.y9r_1, completion);
|
|
1426
|
+
i.z9r_1 = $this$dispatchAsync;
|
|
1427
|
+
i.a9s_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.m9n($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.j9s_1 = $playerId;
|
|
1440
|
+
this.k9s_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).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
1444
|
+
var tmp = this.n9n($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.m9n(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.m9s_1.state.p6r();
|
|
1461
|
+
var player = getPlayer(table.players, this.j9s_1);
|
|
1462
|
+
if (player.i6x_1.k6d().b6c_1.isLive) {
|
|
1463
|
+
this.m9s_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.k9s_1).f8z(player, table));
|
|
1464
1464
|
} else {
|
|
1465
|
-
var tmp_0 = this.
|
|
1465
|
+
var tmp_0 = this.m9s_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.j9s_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).n9n = function ($this$dispatchAsync, store, completion) {
|
|
1480
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.j9s_1, this.k9s_1, completion);
|
|
1481
|
+
i.l9s_1 = $this$dispatchAsync;
|
|
1482
|
+
i.m9s_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.m9n($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.v9s_1 = this$0;
|
|
1495
|
+
this.w9s_1 = $newRid;
|
|
1496
1496
|
CoroutineImpl.call(this, resultContinuation);
|
|
1497
1497
|
}
|
|
1498
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
1499
|
-
var tmp = this.
|
|
1498
|
+
protoOf(GameServer$roomOnDelete$slambda).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
1499
|
+
var tmp = this.n9n($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.m9n(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,19 +1512,19 @@
|
|
|
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.v9s_1.h6b().q6q_1;
|
|
1516
1516
|
var tmp_0;
|
|
1517
1517
|
if (it == null) {
|
|
1518
|
-
_get_logger__rkp4sl(this.
|
|
1518
|
+
_get_logger__rkp4sl(this.v9s_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.m92_1;
|
|
1525
1525
|
var tmp_1;
|
|
1526
1526
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
1527
|
-
var value = this.
|
|
1527
|
+
var value = this.w9s_1;
|
|
1528
1528
|
var tmp$ret$0 = Unit_instance;
|
|
1529
1529
|
l$ret$1: do {
|
|
1530
1530
|
if (value == null) {
|
|
@@ -1541,9 +1541,9 @@
|
|
|
1541
1541
|
tmp_1 = gameTransition;
|
|
1542
1542
|
}
|
|
1543
1543
|
var transition = tmp_1;
|
|
1544
|
-
var tmp_2 = this.
|
|
1545
|
-
var tmp0_reason = terminationState.
|
|
1546
|
-
var tmp1_isGameFinished = this.
|
|
1544
|
+
var tmp_2 = this.y9s_1.dispatch;
|
|
1545
|
+
var tmp0_reason = terminationState.l92_1;
|
|
1546
|
+
var tmp1_isGameFinished = this.v9s_1.h6b().p6r().isGameFinished;
|
|
1547
1547
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
1548
1548
|
return Unit_instance;
|
|
1549
1549
|
} else if (tmp === 1) {
|
|
@@ -1555,33 +1555,33 @@
|
|
|
1555
1555
|
}
|
|
1556
1556
|
while (true);
|
|
1557
1557
|
};
|
|
1558
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
1559
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
1560
|
-
i.
|
|
1561
|
-
i.
|
|
1558
|
+
protoOf(GameServer$roomOnDelete$slambda).n9n = function ($this$dispatchAsync, store, completion) {
|
|
1559
|
+
var i = new GameServer$roomOnDelete$slambda(this.v9s_1, this.w9s_1, completion);
|
|
1560
|
+
i.x9s_1 = $this$dispatchAsync;
|
|
1561
|
+
i.y9s_1 = store;
|
|
1562
1562
|
return i;
|
|
1563
1563
|
};
|
|
1564
1564
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
1565
1565
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
1566
1566
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1567
|
-
return i.
|
|
1567
|
+
return i.m9n($this$dispatchAsync, store, $completion);
|
|
1568
1568
|
};
|
|
1569
1569
|
l.$arity = 2;
|
|
1570
1570
|
return l;
|
|
1571
1571
|
}
|
|
1572
1572
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
1573
|
-
this.
|
|
1573
|
+
this.h9t_1 = $enabled;
|
|
1574
1574
|
CoroutineImpl.call(this, resultContinuation);
|
|
1575
1575
|
}
|
|
1576
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
1577
|
-
var tmp = this.
|
|
1576
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
1577
|
+
var tmp = this.n9n($this$dispatchAsync, store, $completion);
|
|
1578
1578
|
tmp.g9_1 = Unit_instance;
|
|
1579
1579
|
tmp.h9_1 = null;
|
|
1580
1580
|
return tmp.m9();
|
|
1581
1581
|
};
|
|
1582
1582
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).x9 = function (p1, p2, $completion) {
|
|
1583
1583
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1584
|
-
return this.
|
|
1584
|
+
return this.m9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1585
1585
|
};
|
|
1586
1586
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).m9 = function () {
|
|
1587
1587
|
var suspendResult = this.g9_1;
|
|
@@ -1590,7 +1590,7 @@
|
|
|
1590
1590
|
var tmp = this.e9_1;
|
|
1591
1591
|
if (tmp === 0) {
|
|
1592
1592
|
this.f9_1 = 1;
|
|
1593
|
-
this.
|
|
1593
|
+
this.j9t_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload_0(this.j9t_1.state).k9t_1.n9t(VOID, this.h9t_1)));
|
|
1594
1594
|
return Unit_instance;
|
|
1595
1595
|
} else if (tmp === 1) {
|
|
1596
1596
|
throw this.h9_1;
|
|
@@ -1601,35 +1601,35 @@
|
|
|
1601
1601
|
}
|
|
1602
1602
|
while (true);
|
|
1603
1603
|
};
|
|
1604
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
1605
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
1606
|
-
i.
|
|
1607
|
-
i.
|
|
1604
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).n9n = function ($this$dispatchAsync, store, completion) {
|
|
1605
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.h9t_1, completion);
|
|
1606
|
+
i.i9t_1 = $this$dispatchAsync;
|
|
1607
|
+
i.j9t_1 = store;
|
|
1608
1608
|
return i;
|
|
1609
1609
|
};
|
|
1610
1610
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
1611
1611
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
1612
1612
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1613
|
-
return i.
|
|
1613
|
+
return i.m9n($this$dispatchAsync, store, $completion);
|
|
1614
1614
|
};
|
|
1615
1615
|
l.$arity = 2;
|
|
1616
1616
|
return l;
|
|
1617
1617
|
}
|
|
1618
1618
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
1619
|
-
this.
|
|
1620
|
-
this.
|
|
1621
|
-
this.
|
|
1619
|
+
this.w9t_1 = $reason;
|
|
1620
|
+
this.x9t_1 = this$0;
|
|
1621
|
+
this.y9t_1 = $roomId;
|
|
1622
1622
|
CoroutineImpl.call(this, resultContinuation);
|
|
1623
1623
|
}
|
|
1624
|
-
protoOf(GameServer$shutdown$slambda).
|
|
1625
|
-
var tmp = this.
|
|
1624
|
+
protoOf(GameServer$shutdown$slambda).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
1625
|
+
var tmp = this.n9n($this$dispatchAsync, store, $completion);
|
|
1626
1626
|
tmp.g9_1 = Unit_instance;
|
|
1627
1627
|
tmp.h9_1 = null;
|
|
1628
1628
|
return tmp.m9();
|
|
1629
1629
|
};
|
|
1630
1630
|
protoOf(GameServer$shutdown$slambda).x9 = function (p1, p2, $completion) {
|
|
1631
1631
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1632
|
-
return this.
|
|
1632
|
+
return this.m9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1633
1633
|
};
|
|
1634
1634
|
protoOf(GameServer$shutdown$slambda).m9 = function () {
|
|
1635
1635
|
var suspendResult = this.g9_1;
|
|
@@ -1638,11 +1638,11 @@
|
|
|
1638
1638
|
var tmp = this.e9_1;
|
|
1639
1639
|
if (tmp === 0) {
|
|
1640
1640
|
this.f9_1 = 1;
|
|
1641
|
-
var state = this.
|
|
1642
|
-
if (state.
|
|
1643
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
1641
|
+
var state = this.a9u_1.store.state;
|
|
1642
|
+
if (state.q6r()) {
|
|
1643
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.w9t_1, get_serverShutdownReasonMapping());
|
|
1644
1644
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
1645
|
-
var tmp_0 = this.
|
|
1645
|
+
var tmp_0 = this.a9u_1.dispatch;
|
|
1646
1646
|
var tmp_1 = Companion_instance_0;
|
|
1647
1647
|
var tmp_2;
|
|
1648
1648
|
switch (shutdownReason.n2_1) {
|
|
@@ -1656,10 +1656,10 @@
|
|
|
1656
1656
|
noWhenBranchMatchedException();
|
|
1657
1657
|
break;
|
|
1658
1658
|
}
|
|
1659
|
-
tmp_0(tmp_1.withAnalytics(tmp_2, this.
|
|
1659
|
+
tmp_0(tmp_1.withAnalytics(tmp_2, this.x9t_1.table.isGameFinished, this.x9t_1.table));
|
|
1660
1660
|
} else {
|
|
1661
|
-
_get_logger__rkp4sl(this.
|
|
1662
|
-
this.
|
|
1661
|
+
_get_logger__rkp4sl(this.x9t_1).w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.y9t_1);
|
|
1662
|
+
this.a9u_1.dispatch(new ClearAction());
|
|
1663
1663
|
}
|
|
1664
1664
|
return Unit_instance;
|
|
1665
1665
|
} else if (tmp === 1) {
|
|
@@ -1671,22 +1671,22 @@
|
|
|
1671
1671
|
}
|
|
1672
1672
|
while (true);
|
|
1673
1673
|
};
|
|
1674
|
-
protoOf(GameServer$shutdown$slambda).
|
|
1675
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
1676
|
-
i.
|
|
1677
|
-
i.
|
|
1674
|
+
protoOf(GameServer$shutdown$slambda).n9n = function ($this$dispatchAsync, store, completion) {
|
|
1675
|
+
var i = new GameServer$shutdown$slambda(this.w9t_1, this.x9t_1, this.y9t_1, completion);
|
|
1676
|
+
i.z9t_1 = $this$dispatchAsync;
|
|
1677
|
+
i.a9u_1 = store;
|
|
1678
1678
|
return i;
|
|
1679
1679
|
};
|
|
1680
1680
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
1681
1681
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
1682
1682
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1683
|
-
return i.
|
|
1683
|
+
return i.m9n($this$dispatchAsync, store, $completion);
|
|
1684
1684
|
};
|
|
1685
1685
|
l.$arity = 2;
|
|
1686
1686
|
return l;
|
|
1687
1687
|
}
|
|
1688
1688
|
function GameServer(di, tag, storeContract, preloadedState, externalReducers, externalMiddlewares) {
|
|
1689
|
-
preloadedState = preloadedState === VOID ? new AppState(VOID, Companion_instance_11.
|
|
1689
|
+
preloadedState = preloadedState === VOID ? new AppState(VOID, Companion_instance_11.b9u()) : preloadedState;
|
|
1690
1690
|
var tmp;
|
|
1691
1691
|
if (externalReducers === VOID) {
|
|
1692
1692
|
// Inline function 'kotlin.collections.listOf' call
|
|
@@ -1709,120 +1709,120 @@
|
|
|
1709
1709
|
// Inline function 'org.kodein.type.generic' call
|
|
1710
1710
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
1711
1711
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
1712
|
-
tmp_1.
|
|
1712
|
+
tmp_1.g9l_1 = Instance(di, tmp$ret$2, null).u63(this, logger$factory());
|
|
1713
1713
|
var tmp_3 = this;
|
|
1714
1714
|
// Inline function 'org.kodein.di.instance' call
|
|
1715
1715
|
// Inline function 'org.kodein.type.generic' call
|
|
1716
1716
|
var tmp_4 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
|
|
1717
1717
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
1718
|
-
tmp_3.
|
|
1718
|
+
tmp_3.h9l_1 = Instance(di, tmp$ret$4, null).u63(this, toClientEventsObserver$factory());
|
|
1719
1719
|
var tmp_5 = this;
|
|
1720
1720
|
// Inline function 'org.kodein.di.instance' call
|
|
1721
1721
|
// Inline function 'org.kodein.type.generic' call
|
|
1722
1722
|
var tmp_6 = typeToken(createKType(getKClass(MechanicEventsObserver), arrayOf([]), false));
|
|
1723
1723
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
1724
|
-
tmp_5.
|
|
1724
|
+
tmp_5.i9l_1 = Instance(di, tmp$ret$6, null).u63(this, mechanicEventsObserver$factory());
|
|
1725
1725
|
var tmp_7 = this;
|
|
1726
1726
|
// Inline function 'org.kodein.di.instance' call
|
|
1727
1727
|
// Inline function 'org.kodein.type.generic' call
|
|
1728
1728
|
var tmp_8 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
1729
1729
|
var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
1730
|
-
tmp_7.
|
|
1730
|
+
tmp_7.j9l_1 = Instance(di, tmp$ret$8, null).u63(this, playerConnectionInteractor$factory());
|
|
1731
1731
|
var tmp_9 = this;
|
|
1732
1732
|
// Inline function 'org.kodein.di.instance' call
|
|
1733
1733
|
// Inline function 'org.kodein.type.generic' call
|
|
1734
1734
|
var tmp_10 = typeToken(createKType(getKClass(TeamsLogicProvider), arrayOf([]), false));
|
|
1735
1735
|
var tmp$ret$10 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
1736
|
-
tmp_9.
|
|
1736
|
+
tmp_9.k9l_1 = Instance(di, tmp$ret$10, null).u63(this, teamsLogicProvider$factory());
|
|
1737
1737
|
var tmp_11 = this;
|
|
1738
|
-
tmp_11.
|
|
1738
|
+
tmp_11.l9l_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
1739
1739
|
var tmp_12 = this;
|
|
1740
1740
|
// Inline function 'org.kodein.di.instance' call
|
|
1741
1741
|
// Inline function 'org.kodein.type.generic' call
|
|
1742
1742
|
var tmp_13 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
1743
1743
|
var tmp$ret$12 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
1744
|
-
tmp_12.
|
|
1744
|
+
tmp_12.m9l_1 = Instance(di, tmp$ret$12, null).u63(this, idsProvider$factory());
|
|
1745
1745
|
var tmp_14 = this;
|
|
1746
|
-
var tmp0_externalMiddlewares = plus(storeContract.
|
|
1747
|
-
var tmp1_externalReducers = plus(storeContract.
|
|
1748
|
-
tmp_14.
|
|
1746
|
+
var tmp0_externalMiddlewares = plus(storeContract.i95(), externalMiddlewares);
|
|
1747
|
+
var tmp1_externalReducers = plus(storeContract.h95(), externalReducers);
|
|
1748
|
+
tmp_14.n9l_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
1749
1749
|
}
|
|
1750
|
-
protoOf(GameServer).
|
|
1751
|
-
return this.
|
|
1752
|
-
};
|
|
1753
|
-
protoOf(GameServer).d5l = function () {
|
|
1754
|
-
return this.g6b().o6r().id;
|
|
1750
|
+
protoOf(GameServer).c6q = function () {
|
|
1751
|
+
return this.n9l_1;
|
|
1755
1752
|
};
|
|
1756
|
-
protoOf(GameServer).
|
|
1757
|
-
return this.
|
|
1753
|
+
protoOf(GameServer).e5l = function () {
|
|
1754
|
+
return this.h6b().p6r().id;
|
|
1758
1755
|
};
|
|
1759
1756
|
protoOf(GameServer).p6r = function () {
|
|
1760
|
-
return this.
|
|
1757
|
+
return this.h6b().p6r();
|
|
1761
1758
|
};
|
|
1762
1759
|
protoOf(GameServer).q6r = function () {
|
|
1763
|
-
return this.
|
|
1760
|
+
return this.h6b().q6r();
|
|
1761
|
+
};
|
|
1762
|
+
protoOf(GameServer).r6r = function () {
|
|
1763
|
+
return this.h6b().p6q_1;
|
|
1764
1764
|
};
|
|
1765
1765
|
protoOf(GameServer).subscribeToClientAction = function (subscriber) {
|
|
1766
|
-
var tmp = this.
|
|
1767
|
-
tmp.
|
|
1766
|
+
var tmp = this.a6q();
|
|
1767
|
+
tmp.s6g(VOID, GameServer$subscribeToClientAction$slambda_0(this, subscriber, null));
|
|
1768
1768
|
};
|
|
1769
1769
|
protoOf(GameServer).subscribeServerStateUpdate = function (subscriber) {
|
|
1770
|
-
var tmp = this.
|
|
1771
|
-
tmp.
|
|
1770
|
+
var tmp = this.a6q();
|
|
1771
|
+
tmp.s6g(VOID, GameServer$subscribeServerStateUpdate$slambda_0(this, subscriber, null));
|
|
1772
1772
|
};
|
|
1773
1773
|
protoOf(GameServer).subscribeWith = function (subscriber) {
|
|
1774
|
-
var tmp = this.
|
|
1775
|
-
tmp.
|
|
1774
|
+
var tmp = this.a6q();
|
|
1775
|
+
tmp.s6g(VOID, GameServer$subscribeWith$slambda_0(this, subscriber, null));
|
|
1776
1776
|
};
|
|
1777
1777
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
1778
1778
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
1779
|
-
this.
|
|
1779
|
+
this.n9l_1.o6r(GameServer$fromClientEvent$slambda_0(action, null));
|
|
1780
1780
|
};
|
|
1781
1781
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
1782
1782
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
1783
|
-
this.
|
|
1783
|
+
this.n9l_1.o6r(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
1784
1784
|
};
|
|
1785
1785
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
1786
1786
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLive: ' + playerId);
|
|
1787
|
-
this.
|
|
1787
|
+
this.n9l_1.o6r(GameServer$playerLive$slambda_0(playerId, null));
|
|
1788
1788
|
};
|
|
1789
1789
|
protoOf(GameServer).playerLeft = function (playerId) {
|
|
1790
1790
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
1791
|
-
this.
|
|
1791
|
+
this.n9l_1.o6r(GameServer$playerLeft$slambda_0(playerId, null));
|
|
1792
1792
|
};
|
|
1793
|
-
protoOf(GameServer).
|
|
1793
|
+
protoOf(GameServer).c9u = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
1794
1794
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
1795
|
-
this.
|
|
1795
|
+
this.n9l_1.o6r(GameServer$roomOnCreate$slambda_0(usersArray, gameCreatorId, config, transition, this, spectators, roomId, null));
|
|
1796
1796
|
};
|
|
1797
1797
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
1798
|
-
this.
|
|
1799
|
-
this.
|
|
1798
|
+
this.n9l_1.o6r(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
1799
|
+
this.n9l_1.o6r(GameServer$roomOnContinueFromState$slambda_2(state, null));
|
|
1800
1800
|
};
|
|
1801
1801
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
1802
|
-
this.
|
|
1803
|
-
this.
|
|
1802
|
+
this.n9l_1.o6r(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
1803
|
+
this.n9l_1.o6r(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
1804
1804
|
};
|
|
1805
1805
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
1806
|
-
this.
|
|
1806
|
+
this.n9l_1.o6r(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
1807
1807
|
};
|
|
1808
1808
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
1809
|
-
this.
|
|
1809
|
+
this.n9l_1.o6r(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
1810
1810
|
};
|
|
1811
1811
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
1812
1812
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
1813
|
-
this.
|
|
1813
|
+
this.n9l_1.o6r(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
1814
1814
|
};
|
|
1815
|
-
protoOf(GameServer).
|
|
1815
|
+
protoOf(GameServer).d9u = function (newRid) {
|
|
1816
1816
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnDelete: ' + newRid);
|
|
1817
|
-
this.
|
|
1817
|
+
this.n9l_1.o6r(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
1818
1818
|
};
|
|
1819
1819
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
1820
1820
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
1821
|
-
this.
|
|
1821
|
+
this.n9l_1.o6r(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
1822
1822
|
};
|
|
1823
|
-
protoOf(GameServer).
|
|
1823
|
+
protoOf(GameServer).e9u = function (reason, roomId) {
|
|
1824
1824
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
1825
|
-
this.
|
|
1825
|
+
this.n9l_1.o6r(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
1826
1826
|
};
|
|
1827
1827
|
protoOf(GameServer).clear = function () {
|
|
1828
1828
|
return this.a2();
|
|
@@ -1927,7 +1927,7 @@
|
|
|
1927
1927
|
}
|
|
1928
1928
|
function Companion_0() {
|
|
1929
1929
|
}
|
|
1930
|
-
protoOf(Companion_0).
|
|
1930
|
+
protoOf(Companion_0).f9u = function (fromRound) {
|
|
1931
1931
|
return new ServerConfig(fromRound, true);
|
|
1932
1932
|
};
|
|
1933
1933
|
var Companion_instance_8;
|
|
@@ -1935,23 +1935,23 @@
|
|
|
1935
1935
|
return Companion_instance_8;
|
|
1936
1936
|
}
|
|
1937
1937
|
function ServerConfig(fromRound, canStartNewGame) {
|
|
1938
|
-
this.
|
|
1939
|
-
this.
|
|
1938
|
+
this.l9t_1 = fromRound;
|
|
1939
|
+
this.m9t_1 = canStartNewGame;
|
|
1940
1940
|
}
|
|
1941
|
-
protoOf(ServerConfig).
|
|
1941
|
+
protoOf(ServerConfig).g9u = function (fromRound, canStartNewGame) {
|
|
1942
1942
|
return new ServerConfig(fromRound, canStartNewGame);
|
|
1943
1943
|
};
|
|
1944
|
-
protoOf(ServerConfig).
|
|
1945
|
-
fromRound = fromRound === VOID ? this.
|
|
1946
|
-
canStartNewGame = canStartNewGame === VOID ? this.
|
|
1947
|
-
return $super === VOID ? this.
|
|
1944
|
+
protoOf(ServerConfig).n9t = function (fromRound, canStartNewGame, $super) {
|
|
1945
|
+
fromRound = fromRound === VOID ? this.l9t_1 : fromRound;
|
|
1946
|
+
canStartNewGame = canStartNewGame === VOID ? this.m9t_1 : canStartNewGame;
|
|
1947
|
+
return $super === VOID ? this.g9u(fromRound, canStartNewGame) : $super.g9u.call(this, fromRound, canStartNewGame);
|
|
1948
1948
|
};
|
|
1949
1949
|
protoOf(ServerConfig).toString = function () {
|
|
1950
|
-
return 'ServerConfig(fromRound=' + this.
|
|
1950
|
+
return 'ServerConfig(fromRound=' + this.l9t_1 + ', canStartNewGame=' + this.m9t_1 + ')';
|
|
1951
1951
|
};
|
|
1952
1952
|
protoOf(ServerConfig).hashCode = function () {
|
|
1953
|
-
var result = this.
|
|
1954
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
1953
|
+
var result = this.l9t_1 == null ? 0 : this.l9t_1;
|
|
1954
|
+
result = imul(result, 31) + getBooleanHashCode(this.m9t_1) | 0;
|
|
1955
1955
|
return result;
|
|
1956
1956
|
};
|
|
1957
1957
|
protoOf(ServerConfig).equals = function (other) {
|
|
@@ -1960,9 +1960,9 @@
|
|
|
1960
1960
|
if (!(other instanceof ServerConfig))
|
|
1961
1961
|
return false;
|
|
1962
1962
|
var tmp0_other_with_cast = other instanceof ServerConfig ? other : THROW_CCE();
|
|
1963
|
-
if (!(this.
|
|
1963
|
+
if (!(this.l9t_1 == tmp0_other_with_cast.l9t_1))
|
|
1964
1964
|
return false;
|
|
1965
|
-
if (!(this.
|
|
1965
|
+
if (!(this.m9t_1 === tmp0_other_with_cast.m9t_1))
|
|
1966
1966
|
return false;
|
|
1967
1967
|
return true;
|
|
1968
1968
|
};
|
|
@@ -1971,18 +1971,18 @@
|
|
|
1971
1971
|
function TableStateUpdate(table) {
|
|
1972
1972
|
this.table = table;
|
|
1973
1973
|
}
|
|
1974
|
-
protoOf(TableStateUpdate).
|
|
1974
|
+
protoOf(TableStateUpdate).p6r = function () {
|
|
1975
1975
|
return this.table;
|
|
1976
1976
|
};
|
|
1977
1977
|
protoOf(TableStateUpdate).pe = function () {
|
|
1978
1978
|
return this.table;
|
|
1979
1979
|
};
|
|
1980
|
-
protoOf(TableStateUpdate).
|
|
1980
|
+
protoOf(TableStateUpdate).h9u = function (table) {
|
|
1981
1981
|
return new TableStateUpdate(table);
|
|
1982
1982
|
};
|
|
1983
1983
|
protoOf(TableStateUpdate).copy = function (table, $super) {
|
|
1984
1984
|
table = table === VOID ? this.table : table;
|
|
1985
|
-
return this.
|
|
1985
|
+
return this.h9u(table);
|
|
1986
1986
|
};
|
|
1987
1987
|
protoOf(TableStateUpdate).toString = function () {
|
|
1988
1988
|
return 'TableStateUpdate(table=' + this.table.toString() + ')';
|
|
@@ -2003,18 +2003,18 @@
|
|
|
2003
2003
|
function ActionsStateUpdate(actions) {
|
|
2004
2004
|
this.actions = actions;
|
|
2005
2005
|
}
|
|
2006
|
-
protoOf(ActionsStateUpdate).
|
|
2006
|
+
protoOf(ActionsStateUpdate).e8l = function () {
|
|
2007
2007
|
return this.actions;
|
|
2008
2008
|
};
|
|
2009
2009
|
protoOf(ActionsStateUpdate).pe = function () {
|
|
2010
2010
|
return this.actions;
|
|
2011
2011
|
};
|
|
2012
|
-
protoOf(ActionsStateUpdate).
|
|
2012
|
+
protoOf(ActionsStateUpdate).i9u = function (actions) {
|
|
2013
2013
|
return new ActionsStateUpdate(actions);
|
|
2014
2014
|
};
|
|
2015
2015
|
protoOf(ActionsStateUpdate).copy = function (actions, $super) {
|
|
2016
2016
|
actions = actions === VOID ? this.actions : actions;
|
|
2017
|
-
return this.
|
|
2017
|
+
return this.i9u(actions);
|
|
2018
2018
|
};
|
|
2019
2019
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
2020
2020
|
return 'ActionsStateUpdate(actions=' + toString(this.actions) + ')';
|
|
@@ -2042,77 +2042,77 @@
|
|
|
2042
2042
|
}
|
|
2043
2043
|
function getServerEngineGameDI$lambda$lambda($this$provider) {
|
|
2044
2044
|
// Inline function 'org.kodein.di.instance' call
|
|
2045
|
-
var tmp = $this$provider.
|
|
2045
|
+
var tmp = $this$provider.m5z();
|
|
2046
2046
|
// Inline function 'org.kodein.type.generic' call
|
|
2047
2047
|
var tmp_0 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
2048
2048
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
2049
|
-
var tmp_1 = tmp.
|
|
2049
|
+
var tmp_1 = tmp.l5z(tmp$ret$0, null);
|
|
2050
2050
|
// Inline function 'org.kodein.di.instance' call
|
|
2051
|
-
var tmp_2 = $this$provider.
|
|
2051
|
+
var tmp_2 = $this$provider.m5z();
|
|
2052
2052
|
// Inline function 'org.kodein.type.generic' call
|
|
2053
2053
|
var tmp_3 = typeToken(createKType(getKClass(TableLifecycleReducer), arrayOf([]), false));
|
|
2054
2054
|
var tmp$ret$2 = isInterface(tmp_3, TypeToken) ? tmp_3 : THROW_CCE();
|
|
2055
|
-
var tmp_4 = tmp_2.
|
|
2055
|
+
var tmp_4 = tmp_2.l5z(tmp$ret$2, null);
|
|
2056
2056
|
// Inline function 'org.kodein.di.instance' call
|
|
2057
|
-
var tmp_5 = $this$provider.
|
|
2057
|
+
var tmp_5 = $this$provider.m5z();
|
|
2058
2058
|
// Inline function 'org.kodein.type.generic' call
|
|
2059
2059
|
var tmp_6 = typeToken(createKType(getKClass(RandomPoolProvider), arrayOf([]), false));
|
|
2060
2060
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2061
|
-
var tmp$ret$5 = tmp_5.
|
|
2061
|
+
var tmp$ret$5 = tmp_5.l5z(tmp$ret$4, null);
|
|
2062
2062
|
return new ServerMechanicLifecycleReducer(tmp_1, tmp_4, tmp$ret$5);
|
|
2063
2063
|
}
|
|
2064
2064
|
function getServerEngineGameDI$lambda$lambda_0($this$provider) {
|
|
2065
2065
|
// Inline function 'org.kodein.di.instance' call
|
|
2066
|
-
var tmp = $this$provider.
|
|
2066
|
+
var tmp = $this$provider.m5z();
|
|
2067
2067
|
// Inline function 'org.kodein.type.generic' call
|
|
2068
2068
|
var tmp_0 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
2069
2069
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
2070
|
-
var tmp0_serverConfig = tmp.
|
|
2070
|
+
var tmp0_serverConfig = tmp.l5z(tmp$ret$0, null);
|
|
2071
2071
|
// Inline function 'org.kodein.di.instance' call
|
|
2072
|
-
var tmp_1 = $this$provider.
|
|
2072
|
+
var tmp_1 = $this$provider.m5z();
|
|
2073
2073
|
// Inline function 'org.kodein.type.generic' call
|
|
2074
2074
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
2075
2075
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
2076
|
-
var tmp1_logger = tmp_1.
|
|
2076
|
+
var tmp1_logger = tmp_1.l5z(tmp$ret$2, null);
|
|
2077
2077
|
// Inline function 'org.kodein.di.instance' call
|
|
2078
|
-
var tmp_3 = $this$provider.
|
|
2078
|
+
var tmp_3 = $this$provider.m5z();
|
|
2079
2079
|
// Inline function 'org.kodein.type.generic' call
|
|
2080
2080
|
var tmp_4 = typeToken(createKType(getKClass(PlayerTurnMechanicReducer), arrayOf([]), false));
|
|
2081
2081
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
2082
|
-
var tmp2_playerTurnMechanicReducer = tmp_3.
|
|
2082
|
+
var tmp2_playerTurnMechanicReducer = tmp_3.l5z(tmp$ret$4, null);
|
|
2083
2083
|
// Inline function 'org.kodein.di.instance' call
|
|
2084
|
-
var tmp_5 = $this$provider.
|
|
2084
|
+
var tmp_5 = $this$provider.m5z();
|
|
2085
2085
|
// Inline function 'org.kodein.type.generic' call
|
|
2086
2086
|
var tmp_6 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
2087
2087
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2088
|
-
var tmp3_idsProvider = tmp_5.
|
|
2088
|
+
var tmp3_idsProvider = tmp_5.l5z(tmp$ret$6, null);
|
|
2089
2089
|
// Inline function 'org.kodein.di.instance' call
|
|
2090
|
-
var tmp_7 = $this$provider.
|
|
2090
|
+
var tmp_7 = $this$provider.m5z();
|
|
2091
2091
|
// Inline function 'org.kodein.type.generic' call
|
|
2092
2092
|
var tmp_8 = typeToken(createKType(getKClass(EngineLogicConfig), arrayOf([]), false));
|
|
2093
2093
|
var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
2094
|
-
var tmp4_engineLogicConfig = tmp_7.
|
|
2094
|
+
var tmp4_engineLogicConfig = tmp_7.l5z(tmp$ret$8, null);
|
|
2095
2095
|
return new PlayerConnectionInteractor(tmp0_serverConfig, tmp4_engineLogicConfig, tmp1_logger, tmp2_playerTurnMechanicReducer, tmp3_idsProvider);
|
|
2096
2096
|
}
|
|
2097
2097
|
function getServerEngineGameDI$lambda$lambda_1($this$singleton) {
|
|
2098
2098
|
// Inline function 'org.kodein.di.instance' call
|
|
2099
|
-
var tmp = $this$singleton.
|
|
2099
|
+
var tmp = $this$singleton.m5z();
|
|
2100
2100
|
// Inline function 'org.kodein.type.generic' call
|
|
2101
2101
|
var tmp_0 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
2102
2102
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
2103
|
-
var tmp_1 = tmp.
|
|
2103
|
+
var tmp_1 = tmp.l5z(tmp$ret$0, null);
|
|
2104
2104
|
// Inline function 'org.kodein.di.instance' call
|
|
2105
|
-
var tmp_2 = $this$singleton.
|
|
2105
|
+
var tmp_2 = $this$singleton.m5z();
|
|
2106
2106
|
// Inline function 'org.kodein.type.generic' call
|
|
2107
2107
|
var tmp_3 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
2108
2108
|
var tmp$ret$2 = isInterface(tmp_3, TypeToken) ? tmp_3 : THROW_CCE();
|
|
2109
|
-
var tmp_4 = tmp_2.
|
|
2109
|
+
var tmp_4 = tmp_2.l5z(tmp$ret$2, null);
|
|
2110
2110
|
// Inline function 'org.kodein.di.instance' call
|
|
2111
|
-
var tmp_5 = $this$singleton.
|
|
2111
|
+
var tmp_5 = $this$singleton.m5z();
|
|
2112
2112
|
// Inline function 'org.kodein.type.generic' call
|
|
2113
2113
|
var tmp_6 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
2114
2114
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2115
|
-
var tmp$ret$5 = tmp_5.
|
|
2115
|
+
var tmp$ret$5 = tmp_5.l5z(tmp$ret$4, null);
|
|
2116
2116
|
return new ToClientEventsObserverImpl(tmp_1, tmp_4, tmp$ret$5);
|
|
2117
2117
|
}
|
|
2118
2118
|
function getServerEngineGameDI$lambda$lambda_2($this$singleton) {
|
|
@@ -2120,64 +2120,64 @@
|
|
|
2120
2120
|
}
|
|
2121
2121
|
function getServerEngineGameDI$lambda($engineBotConfig, $engineLogicConfig, $dealerConfig) {
|
|
2122
2122
|
return function ($this$Module) {
|
|
2123
|
-
$this$Module.
|
|
2124
|
-
$this$Module.
|
|
2123
|
+
$this$Module.b5y(jsonModule(emptyList()));
|
|
2124
|
+
$this$Module.b5y(getEngineGameModule($engineBotConfig, $engineLogicConfig, $dealerConfig));
|
|
2125
2125
|
// Inline function 'org.kodein.di.bind' call
|
|
2126
2126
|
// Inline function 'org.kodein.type.generic' call
|
|
2127
2127
|
var tmp = typeToken(createKType(getKClass(MechanicLifecycleReducer), arrayOf([]), false));
|
|
2128
2128
|
var tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
|
|
2129
|
-
var tmp_0 = $this$Module.
|
|
2129
|
+
var tmp_0 = $this$Module.z5x(tmp$ret$0, null, null);
|
|
2130
2130
|
// Inline function 'org.kodein.di.provider' call
|
|
2131
2131
|
var creator = getServerEngineGameDI$lambda$lambda;
|
|
2132
|
-
var tmp_1 = $this$Module.
|
|
2132
|
+
var tmp_1 = $this$Module.c5y();
|
|
2133
2133
|
// Inline function 'org.kodein.type.generic' call
|
|
2134
2134
|
var tmp_2 = typeToken(createKType(getKClass(ServerMechanicLifecycleReducer), arrayOf([]), false));
|
|
2135
2135
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
2136
2136
|
var tmp$ret$3 = new Provider(tmp_1, tmp$ret$2, creator);
|
|
2137
|
-
tmp_0.
|
|
2137
|
+
tmp_0.x61(tmp$ret$3);
|
|
2138
2138
|
// Inline function 'org.kodein.di.bind' call
|
|
2139
2139
|
// Inline function 'org.kodein.type.generic' call
|
|
2140
2140
|
var tmp_3 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
2141
2141
|
var tmp$ret$4 = isInterface(tmp_3, TypeToken) ? tmp_3 : THROW_CCE();
|
|
2142
|
-
var tmp_4 = $this$Module.
|
|
2142
|
+
var tmp_4 = $this$Module.z5x(tmp$ret$4, null, null);
|
|
2143
2143
|
// Inline function 'org.kodein.di.provider' call
|
|
2144
2144
|
var creator_0 = getServerEngineGameDI$lambda$lambda_0;
|
|
2145
|
-
var tmp_5 = $this$Module.
|
|
2145
|
+
var tmp_5 = $this$Module.c5y();
|
|
2146
2146
|
// Inline function 'org.kodein.type.generic' call
|
|
2147
2147
|
var tmp_6 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
2148
2148
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2149
2149
|
var tmp$ret$7 = new Provider(tmp_5, tmp$ret$6, creator_0);
|
|
2150
|
-
tmp_4.
|
|
2150
|
+
tmp_4.x61(tmp$ret$7);
|
|
2151
2151
|
// Inline function 'org.kodein.di.bind' call
|
|
2152
2152
|
// Inline function 'org.kodein.type.generic' call
|
|
2153
2153
|
var tmp_7 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
|
|
2154
2154
|
var tmp$ret$8 = isInterface(tmp_7, TypeToken) ? tmp_7 : THROW_CCE();
|
|
2155
|
-
var tmp_8 = $this$Module.
|
|
2155
|
+
var tmp_8 = $this$Module.z5x(tmp$ret$8, null, null);
|
|
2156
2156
|
// Inline function 'org.kodein.di.singleton' call
|
|
2157
2157
|
var creator_1 = getServerEngineGameDI$lambda$lambda_1;
|
|
2158
|
-
var tmp_9 = $this$Module.
|
|
2159
|
-
var tmp_10 = $this$Module.
|
|
2160
|
-
var tmp_11 = $this$Module.
|
|
2158
|
+
var tmp_9 = $this$Module.e5y();
|
|
2159
|
+
var tmp_10 = $this$Module.c5y();
|
|
2160
|
+
var tmp_11 = $this$Module.d5y();
|
|
2161
2161
|
// Inline function 'org.kodein.type.generic' call
|
|
2162
2162
|
var tmp_12 = typeToken(createKType(getKClass(ToClientEventsObserverImpl), arrayOf([]), false));
|
|
2163
2163
|
var tmp$ret$10 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
2164
2164
|
var tmp$ret$11 = new Singleton(tmp_9, tmp_10, tmp_11, tmp$ret$10, null, true, creator_1);
|
|
2165
|
-
tmp_8.
|
|
2165
|
+
tmp_8.x61(tmp$ret$11);
|
|
2166
2166
|
// Inline function 'org.kodein.di.bind' call
|
|
2167
2167
|
// Inline function 'org.kodein.type.generic' call
|
|
2168
2168
|
var tmp_13 = typeToken(createKType(getKClass(MechanicEventsObserver), arrayOf([]), false));
|
|
2169
2169
|
var tmp$ret$12 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
2170
|
-
var tmp_14 = $this$Module.
|
|
2170
|
+
var tmp_14 = $this$Module.z5x(tmp$ret$12, null, null);
|
|
2171
2171
|
// Inline function 'org.kodein.di.singleton' call
|
|
2172
2172
|
var creator_2 = getServerEngineGameDI$lambda$lambda_2;
|
|
2173
|
-
var tmp_15 = $this$Module.
|
|
2174
|
-
var tmp_16 = $this$Module.
|
|
2175
|
-
var tmp_17 = $this$Module.
|
|
2173
|
+
var tmp_15 = $this$Module.e5y();
|
|
2174
|
+
var tmp_16 = $this$Module.c5y();
|
|
2175
|
+
var tmp_17 = $this$Module.d5y();
|
|
2176
2176
|
// Inline function 'org.kodein.type.generic' call
|
|
2177
2177
|
var tmp_18 = typeToken(createKType(getKClass(MechanicEventsObserverImpl), arrayOf([]), false));
|
|
2178
2178
|
var tmp$ret$14 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
2179
2179
|
var tmp$ret$15 = new Singleton(tmp_15, tmp_16, tmp_17, tmp$ret$14, null, true, creator_2);
|
|
2180
|
-
tmp_14.
|
|
2180
|
+
tmp_14.x61(tmp$ret$15);
|
|
2181
2181
|
return Unit_instance;
|
|
2182
2182
|
};
|
|
2183
2183
|
}
|
|
@@ -2187,27 +2187,27 @@
|
|
|
2187
2187
|
};
|
|
2188
2188
|
}
|
|
2189
2189
|
function createGameServerDI$lambda$lambda_0($this$singleton) {
|
|
2190
|
-
return new ServerGameStoreContract($this$singleton.
|
|
2190
|
+
return new ServerGameStoreContract($this$singleton.j5y());
|
|
2191
2191
|
}
|
|
2192
2192
|
function createGameServerDI$lambda$lambda_1($externalReducers, $externalMiddlewares) {
|
|
2193
2193
|
return function ($this$singleton) {
|
|
2194
|
-
var tmp = $this$singleton.
|
|
2194
|
+
var tmp = $this$singleton.j5y();
|
|
2195
2195
|
// Inline function 'org.kodein.di.instance' call
|
|
2196
|
-
var tmp_0 = $this$singleton.
|
|
2196
|
+
var tmp_0 = $this$singleton.m5z();
|
|
2197
2197
|
// Inline function 'org.kodein.type.generic' call
|
|
2198
2198
|
var tmp_1 = typeToken(createKType(getKClass(StoreContract), arrayOf([]), false));
|
|
2199
2199
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
2200
|
-
var tmp$ret$1 = tmp_0.
|
|
2200
|
+
var tmp$ret$1 = tmp_0.l5z(tmp$ret$0, null);
|
|
2201
2201
|
return new GameServer(tmp, 'Game server', tmp$ret$1, VOID, $externalReducers, $externalMiddlewares);
|
|
2202
2202
|
};
|
|
2203
2203
|
}
|
|
2204
2204
|
function createGameServerDI$lambda$lambda_2($this$provider) {
|
|
2205
2205
|
// Inline function 'org.kodein.di.instance' call
|
|
2206
|
-
var tmp = $this$provider.
|
|
2206
|
+
var tmp = $this$provider.m5z();
|
|
2207
2207
|
// Inline function 'org.kodein.type.generic' call
|
|
2208
2208
|
var tmp_0 = typeToken(createKType(getKClass(GameServer), arrayOf([]), false));
|
|
2209
2209
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
2210
|
-
return tmp.
|
|
2210
|
+
return tmp.l5z(tmp$ret$0, null);
|
|
2211
2211
|
}
|
|
2212
2212
|
function createGameServerDI$lambda($botConfig, $logicConfig, $dealerConfig, $serverConfig, $externalReducers, $externalMiddlewares) {
|
|
2213
2213
|
return function ($this$Module) {
|
|
@@ -2215,61 +2215,61 @@
|
|
|
2215
2215
|
// Inline function 'org.kodein.type.generic' call
|
|
2216
2216
|
var tmp = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
2217
2217
|
var tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
|
|
2218
|
-
var tmp_0 = $this$Module.
|
|
2218
|
+
var tmp_0 = $this$Module.z5x(tmp$ret$0, null, null);
|
|
2219
2219
|
// Inline function 'org.kodein.di.singleton' call
|
|
2220
2220
|
var creator = createGameServerDI$lambda$lambda($serverConfig);
|
|
2221
|
-
var tmp_1 = $this$Module.
|
|
2222
|
-
var tmp_2 = $this$Module.
|
|
2223
|
-
var tmp_3 = $this$Module.
|
|
2221
|
+
var tmp_1 = $this$Module.e5y();
|
|
2222
|
+
var tmp_2 = $this$Module.c5y();
|
|
2223
|
+
var tmp_3 = $this$Module.d5y();
|
|
2224
2224
|
// Inline function 'org.kodein.type.generic' call
|
|
2225
2225
|
var tmp_4 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
2226
2226
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
2227
2227
|
var tmp$ret$3 = new Singleton(tmp_1, tmp_2, tmp_3, tmp$ret$2, null, true, creator);
|
|
2228
|
-
tmp_0.
|
|
2229
|
-
$this$Module.
|
|
2228
|
+
tmp_0.x61(tmp$ret$3);
|
|
2229
|
+
$this$Module.b5y(getServerEngineGameDI($botConfig, $logicConfig, $dealerConfig));
|
|
2230
2230
|
// Inline function 'org.kodein.di.bind' call
|
|
2231
2231
|
// Inline function 'org.kodein.type.generic' call
|
|
2232
2232
|
var tmp_5 = typeToken(createKType(getKClass(StoreContract), arrayOf([]), false));
|
|
2233
2233
|
var tmp$ret$4 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
2234
|
-
var tmp_6 = $this$Module.
|
|
2234
|
+
var tmp_6 = $this$Module.z5x(tmp$ret$4, null, null);
|
|
2235
2235
|
// Inline function 'org.kodein.di.singleton' call
|
|
2236
2236
|
var creator_0 = createGameServerDI$lambda$lambda_0;
|
|
2237
|
-
var tmp_7 = $this$Module.
|
|
2238
|
-
var tmp_8 = $this$Module.
|
|
2239
|
-
var tmp_9 = $this$Module.
|
|
2237
|
+
var tmp_7 = $this$Module.e5y();
|
|
2238
|
+
var tmp_8 = $this$Module.c5y();
|
|
2239
|
+
var tmp_9 = $this$Module.d5y();
|
|
2240
2240
|
// Inline function 'org.kodein.type.generic' call
|
|
2241
2241
|
var tmp_10 = typeToken(createKType(getKClass(ServerGameStoreContract), arrayOf([]), false));
|
|
2242
2242
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
2243
2243
|
var tmp$ret$7 = new Singleton(tmp_7, tmp_8, tmp_9, tmp$ret$6, null, true, creator_0);
|
|
2244
|
-
tmp_6.
|
|
2244
|
+
tmp_6.x61(tmp$ret$7);
|
|
2245
2245
|
// Inline function 'org.kodein.di.bind' call
|
|
2246
2246
|
// Inline function 'org.kodein.type.generic' call
|
|
2247
2247
|
var tmp_11 = typeToken(createKType(getKClass(GameServer), arrayOf([]), false));
|
|
2248
2248
|
var tmp$ret$8 = isInterface(tmp_11, TypeToken) ? tmp_11 : THROW_CCE();
|
|
2249
|
-
var tmp_12 = $this$Module.
|
|
2249
|
+
var tmp_12 = $this$Module.z5x(tmp$ret$8, null, null);
|
|
2250
2250
|
// Inline function 'org.kodein.di.singleton' call
|
|
2251
2251
|
var creator_1 = createGameServerDI$lambda$lambda_1($externalReducers, $externalMiddlewares);
|
|
2252
|
-
var tmp_13 = $this$Module.
|
|
2253
|
-
var tmp_14 = $this$Module.
|
|
2254
|
-
var tmp_15 = $this$Module.
|
|
2252
|
+
var tmp_13 = $this$Module.e5y();
|
|
2253
|
+
var tmp_14 = $this$Module.c5y();
|
|
2254
|
+
var tmp_15 = $this$Module.d5y();
|
|
2255
2255
|
// Inline function 'org.kodein.type.generic' call
|
|
2256
2256
|
var tmp_16 = typeToken(createKType(getKClass(GameServer), arrayOf([]), false));
|
|
2257
2257
|
var tmp$ret$10 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
2258
2258
|
var tmp$ret$11 = new Singleton(tmp_13, tmp_14, tmp_15, tmp$ret$10, null, true, creator_1);
|
|
2259
|
-
tmp_12.
|
|
2259
|
+
tmp_12.x61(tmp$ret$11);
|
|
2260
2260
|
// Inline function 'org.kodein.di.bind' call
|
|
2261
2261
|
// Inline function 'org.kodein.type.generic' call
|
|
2262
2262
|
var tmp_17 = typeToken(createKType(getKClass(StateProvider), arrayOf([]), false));
|
|
2263
2263
|
var tmp$ret$12 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
2264
|
-
var tmp_18 = $this$Module.
|
|
2264
|
+
var tmp_18 = $this$Module.z5x(tmp$ret$12, null, null);
|
|
2265
2265
|
// Inline function 'org.kodein.di.provider' call
|
|
2266
2266
|
var creator_2 = createGameServerDI$lambda$lambda_2;
|
|
2267
|
-
var tmp_19 = $this$Module.
|
|
2267
|
+
var tmp_19 = $this$Module.c5y();
|
|
2268
2268
|
// Inline function 'org.kodein.type.generic' call
|
|
2269
2269
|
var tmp_20 = typeToken(createKType(getKClass(GameServer), arrayOf([]), false));
|
|
2270
2270
|
var tmp$ret$14 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
2271
2271
|
var tmp$ret$15 = new Provider(tmp_19, tmp$ret$14, creator_2);
|
|
2272
|
-
tmp_18.
|
|
2272
|
+
tmp_18.x61(tmp$ret$15);
|
|
2273
2273
|
return Unit_instance;
|
|
2274
2274
|
};
|
|
2275
2275
|
}
|
|
@@ -2278,17 +2278,17 @@
|
|
|
2278
2278
|
function MechanicEventsObserver() {
|
|
2279
2279
|
}
|
|
2280
2280
|
function MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
2281
|
-
this.
|
|
2281
|
+
this.s9u_1 = $$this$unsafeFlow;
|
|
2282
2282
|
CoroutineImpl.call(this, resultContinuation);
|
|
2283
2283
|
}
|
|
2284
|
-
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda).
|
|
2285
|
-
var tmp = this.
|
|
2284
|
+
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda).j1i = function (value, $completion) {
|
|
2285
|
+
var tmp = this.k1i(value, $completion);
|
|
2286
2286
|
tmp.g9_1 = Unit_instance;
|
|
2287
2287
|
tmp.h9_1 = null;
|
|
2288
2288
|
return tmp.m9();
|
|
2289
2289
|
};
|
|
2290
2290
|
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda).w9 = function (p1, $completion) {
|
|
2291
|
-
return this.
|
|
2291
|
+
return this.j1i((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
2292
2292
|
};
|
|
2293
2293
|
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda).m9 = function () {
|
|
2294
2294
|
var suspendResult = this.g9_1;
|
|
@@ -2299,12 +2299,12 @@
|
|
|
2299
2299
|
case 0:
|
|
2300
2300
|
this.f9_1 = 2;
|
|
2301
2301
|
var tmp_0 = this;
|
|
2302
|
-
tmp_0.
|
|
2302
|
+
tmp_0.u9u_1 = this.s9u_1;
|
|
2303
2303
|
var tmp_1 = this;
|
|
2304
|
-
tmp_1.
|
|
2304
|
+
tmp_1.v9u_1 = this.t9u_1;
|
|
2305
2305
|
this.e9_1 = 1;
|
|
2306
|
-
var it = this.
|
|
2307
|
-
suspendResult = this.
|
|
2306
|
+
var it = this.v9u_1;
|
|
2307
|
+
suspendResult = this.u9u_1.q18(new ActionsStateUpdate(it), this);
|
|
2308
2308
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2309
2309
|
return suspendResult;
|
|
2310
2310
|
}
|
|
@@ -2326,23 +2326,23 @@
|
|
|
2326
2326
|
}
|
|
2327
2327
|
while (true);
|
|
2328
2328
|
};
|
|
2329
|
-
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda).
|
|
2330
|
-
var i = new MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda(this.
|
|
2331
|
-
i.
|
|
2329
|
+
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda).k1i = function (value, completion) {
|
|
2330
|
+
var i = new MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda(this.s9u_1, completion);
|
|
2331
|
+
i.t9u_1 = value;
|
|
2332
2332
|
return i;
|
|
2333
2333
|
};
|
|
2334
2334
|
function MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
2335
2335
|
var i = new MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation);
|
|
2336
2336
|
var l = function (value, $completion) {
|
|
2337
|
-
return i.
|
|
2337
|
+
return i.j1i(value, $completion);
|
|
2338
2338
|
};
|
|
2339
2339
|
l.$arity = 1;
|
|
2340
2340
|
return l;
|
|
2341
2341
|
}
|
|
2342
2342
|
function $collectCOROUTINE$0(_this__u8e3s4, collector, resultContinuation) {
|
|
2343
2343
|
CoroutineImpl.call(this, resultContinuation);
|
|
2344
|
-
this.
|
|
2345
|
-
this.
|
|
2344
|
+
this.e9v_1 = _this__u8e3s4;
|
|
2345
|
+
this.f9v_1 = collector;
|
|
2346
2346
|
}
|
|
2347
2347
|
protoOf($collectCOROUTINE$0).m9 = function () {
|
|
2348
2348
|
var suspendResult = this.g9_1;
|
|
@@ -2353,10 +2353,10 @@
|
|
|
2353
2353
|
case 0:
|
|
2354
2354
|
this.f9_1 = 2;
|
|
2355
2355
|
var tmp_0 = this;
|
|
2356
|
-
tmp_0.
|
|
2356
|
+
tmp_0.g9v_1 = this.f9v_1;
|
|
2357
2357
|
this.e9_1 = 1;
|
|
2358
|
-
var tmp_1 = MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda_0(this.
|
|
2359
|
-
suspendResult = this.
|
|
2358
|
+
var tmp_1 = MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda_0(this.g9v_1, null);
|
|
2359
|
+
suspendResult = this.e9v_1.h9v_1.n17(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_1), this);
|
|
2360
2360
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2361
2361
|
return suspendResult;
|
|
2362
2362
|
}
|
|
@@ -2379,30 +2379,30 @@
|
|
|
2379
2379
|
while (true);
|
|
2380
2380
|
};
|
|
2381
2381
|
function _no_name_provided__qut3iv($this) {
|
|
2382
|
-
this.
|
|
2382
|
+
this.h9v_1 = $this;
|
|
2383
2383
|
}
|
|
2384
|
-
protoOf(_no_name_provided__qut3iv).
|
|
2384
|
+
protoOf(_no_name_provided__qut3iv).r18 = function (collector, $completion) {
|
|
2385
2385
|
var tmp = new $collectCOROUTINE$0(this, collector, $completion);
|
|
2386
2386
|
tmp.g9_1 = Unit_instance;
|
|
2387
2387
|
tmp.h9_1 = null;
|
|
2388
2388
|
return tmp.m9();
|
|
2389
2389
|
};
|
|
2390
|
-
protoOf(_no_name_provided__qut3iv).
|
|
2391
|
-
return this.
|
|
2390
|
+
protoOf(_no_name_provided__qut3iv).n17 = function (collector, $completion) {
|
|
2391
|
+
return this.r18(collector, $completion);
|
|
2392
2392
|
};
|
|
2393
2393
|
function MechanicEventsObserverImpl$observeUpdates$slambda$slambda($table, this$0, resultContinuation) {
|
|
2394
|
-
this.
|
|
2395
|
-
this.
|
|
2394
|
+
this.q9v_1 = $table;
|
|
2395
|
+
this.r9v_1 = this$0;
|
|
2396
2396
|
CoroutineImpl.call(this, resultContinuation);
|
|
2397
2397
|
}
|
|
2398
|
-
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda).
|
|
2399
|
-
var tmp = this.
|
|
2398
|
+
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda).t9v = function ($this$flow, $completion) {
|
|
2399
|
+
var tmp = this.u9v($this$flow, $completion);
|
|
2400
2400
|
tmp.g9_1 = Unit_instance;
|
|
2401
2401
|
tmp.h9_1 = null;
|
|
2402
2402
|
return tmp.m9();
|
|
2403
2403
|
};
|
|
2404
2404
|
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda).w9 = function (p1, $completion) {
|
|
2405
|
-
return this.
|
|
2405
|
+
return this.t9v((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
2406
2406
|
};
|
|
2407
2407
|
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda).m9 = function () {
|
|
2408
2408
|
var suspendResult = this.g9_1;
|
|
@@ -2413,7 +2413,7 @@
|
|
|
2413
2413
|
case 0:
|
|
2414
2414
|
this.f9_1 = 3;
|
|
2415
2415
|
this.e9_1 = 1;
|
|
2416
|
-
suspendResult = this.
|
|
2416
|
+
suspendResult = this.s9v_1.q18(new TableStateUpdate(this.q9v_1), this);
|
|
2417
2417
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2418
2418
|
return suspendResult;
|
|
2419
2419
|
}
|
|
@@ -2421,8 +2421,8 @@
|
|
|
2421
2421
|
continue $sm;
|
|
2422
2422
|
case 1:
|
|
2423
2423
|
this.e9_1 = 2;
|
|
2424
|
-
var this_0 = windowedByInterval(this.
|
|
2425
|
-
suspendResult = emitAll(this.
|
|
2424
|
+
var this_0 = windowedByInterval(this.r9v_1.v9v_1, new Long(1000, 0));
|
|
2425
|
+
suspendResult = emitAll(this.s9v_1, new _no_name_provided__qut3iv(this_0), this);
|
|
2426
2426
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2427
2427
|
return suspendResult;
|
|
2428
2428
|
}
|
|
@@ -2444,31 +2444,31 @@
|
|
|
2444
2444
|
}
|
|
2445
2445
|
while (true);
|
|
2446
2446
|
};
|
|
2447
|
-
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda).
|
|
2448
|
-
var i = new MechanicEventsObserverImpl$observeUpdates$slambda$slambda(this.
|
|
2449
|
-
i.
|
|
2447
|
+
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda).u9v = function ($this$flow, completion) {
|
|
2448
|
+
var i = new MechanicEventsObserverImpl$observeUpdates$slambda$slambda(this.q9v_1, this.r9v_1, completion);
|
|
2449
|
+
i.s9v_1 = $this$flow;
|
|
2450
2450
|
return i;
|
|
2451
2451
|
};
|
|
2452
2452
|
function MechanicEventsObserverImpl$observeUpdates$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
2453
2453
|
var i = new MechanicEventsObserverImpl$observeUpdates$slambda$slambda($table, this$0, resultContinuation);
|
|
2454
2454
|
var l = function ($this$flow, $completion) {
|
|
2455
|
-
return i.
|
|
2455
|
+
return i.t9v($this$flow, $completion);
|
|
2456
2456
|
};
|
|
2457
2457
|
l.$arity = 1;
|
|
2458
2458
|
return l;
|
|
2459
2459
|
}
|
|
2460
2460
|
function MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
2461
|
-
this.
|
|
2461
|
+
this.e9w_1 = $$this$unsafeFlow;
|
|
2462
2462
|
CoroutineImpl.call(this, resultContinuation);
|
|
2463
2463
|
}
|
|
2464
|
-
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda).
|
|
2465
|
-
var tmp = this.
|
|
2464
|
+
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda).j1i = function (value, $completion) {
|
|
2465
|
+
var tmp = this.k1i(value, $completion);
|
|
2466
2466
|
tmp.g9_1 = Unit_instance;
|
|
2467
2467
|
tmp.h9_1 = null;
|
|
2468
2468
|
return tmp.m9();
|
|
2469
2469
|
};
|
|
2470
2470
|
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda).w9 = function (p1, $completion) {
|
|
2471
|
-
return this.
|
|
2471
|
+
return this.j1i((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
2472
2472
|
};
|
|
2473
2473
|
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda).m9 = function () {
|
|
2474
2474
|
var suspendResult = this.g9_1;
|
|
@@ -2479,12 +2479,12 @@
|
|
|
2479
2479
|
case 0:
|
|
2480
2480
|
this.f9_1 = 2;
|
|
2481
2481
|
var tmp_0 = this;
|
|
2482
|
-
tmp_0.
|
|
2482
|
+
tmp_0.g9w_1 = this.e9w_1;
|
|
2483
2483
|
var tmp_1 = this;
|
|
2484
|
-
tmp_1.
|
|
2484
|
+
tmp_1.h9w_1 = this.f9w_1;
|
|
2485
2485
|
this.e9_1 = 1;
|
|
2486
|
-
var state = this.
|
|
2487
|
-
suspendResult = this.
|
|
2486
|
+
var state = this.h9w_1;
|
|
2487
|
+
suspendResult = this.g9w_1.q18(state.p6r().gameInfo.roundNumberTotal, this);
|
|
2488
2488
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2489
2489
|
return suspendResult;
|
|
2490
2490
|
}
|
|
@@ -2506,23 +2506,23 @@
|
|
|
2506
2506
|
}
|
|
2507
2507
|
while (true);
|
|
2508
2508
|
};
|
|
2509
|
-
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda).
|
|
2510
|
-
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
2511
|
-
i.
|
|
2509
|
+
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda).k1i = function (value, completion) {
|
|
2510
|
+
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda(this.e9w_1, completion);
|
|
2511
|
+
i.f9w_1 = value;
|
|
2512
2512
|
return i;
|
|
2513
2513
|
};
|
|
2514
2514
|
function MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
2515
2515
|
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation);
|
|
2516
2516
|
var l = function (value, $completion) {
|
|
2517
|
-
return i.
|
|
2517
|
+
return i.j1i(value, $completion);
|
|
2518
2518
|
};
|
|
2519
2519
|
l.$arity = 1;
|
|
2520
2520
|
return l;
|
|
2521
2521
|
}
|
|
2522
2522
|
function $collectCOROUTINE$1(_this__u8e3s4, collector, resultContinuation) {
|
|
2523
2523
|
CoroutineImpl.call(this, resultContinuation);
|
|
2524
|
-
this.
|
|
2525
|
-
this.
|
|
2524
|
+
this.q9w_1 = _this__u8e3s4;
|
|
2525
|
+
this.r9w_1 = collector;
|
|
2526
2526
|
}
|
|
2527
2527
|
protoOf($collectCOROUTINE$1).m9 = function () {
|
|
2528
2528
|
var suspendResult = this.g9_1;
|
|
@@ -2533,10 +2533,10 @@
|
|
|
2533
2533
|
case 0:
|
|
2534
2534
|
this.f9_1 = 2;
|
|
2535
2535
|
var tmp_0 = this;
|
|
2536
|
-
tmp_0.
|
|
2536
|
+
tmp_0.s9w_1 = this.r9w_1;
|
|
2537
2537
|
this.e9_1 = 1;
|
|
2538
|
-
var tmp_1 = MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda_0(this.
|
|
2539
|
-
suspendResult = this.
|
|
2538
|
+
var tmp_1 = MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda_0(this.s9w_1, null);
|
|
2539
|
+
suspendResult = this.q9w_1.t9w_1.n17(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_1), this);
|
|
2540
2540
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2541
2541
|
return suspendResult;
|
|
2542
2542
|
}
|
|
@@ -2559,17 +2559,17 @@
|
|
|
2559
2559
|
while (true);
|
|
2560
2560
|
};
|
|
2561
2561
|
function MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
2562
|
-
this.
|
|
2562
|
+
this.c9x_1 = $$this$unsafeFlow;
|
|
2563
2563
|
CoroutineImpl.call(this, resultContinuation);
|
|
2564
2564
|
}
|
|
2565
|
-
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda).
|
|
2566
|
-
var tmp = this.
|
|
2565
|
+
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda).j1i = function (value, $completion) {
|
|
2566
|
+
var tmp = this.k1i(value, $completion);
|
|
2567
2567
|
tmp.g9_1 = Unit_instance;
|
|
2568
2568
|
tmp.h9_1 = null;
|
|
2569
2569
|
return tmp.m9();
|
|
2570
2570
|
};
|
|
2571
2571
|
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda).w9 = function (p1, $completion) {
|
|
2572
|
-
return this.
|
|
2572
|
+
return this.j1i((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
2573
2573
|
};
|
|
2574
2574
|
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda).m9 = function () {
|
|
2575
2575
|
var suspendResult = this.g9_1;
|
|
@@ -2583,33 +2583,33 @@
|
|
|
2583
2583
|
continue $sm;
|
|
2584
2584
|
case 1:
|
|
2585
2585
|
var tmp_0 = this;
|
|
2586
|
-
tmp_0.
|
|
2586
|
+
tmp_0.f9x_1 = this.c9x_1;
|
|
2587
2587
|
var tmp_1 = this;
|
|
2588
|
-
tmp_1.
|
|
2588
|
+
tmp_1.g9x_1 = this.d9x_1;
|
|
2589
2589
|
var tmp_2 = this;
|
|
2590
|
-
tmp_2.
|
|
2591
|
-
if (this.
|
|
2592
|
-
this.
|
|
2590
|
+
tmp_2.h9x_1 = this.g9x_1.n6q_1;
|
|
2591
|
+
if (this.h9x_1 == null) {
|
|
2592
|
+
this.e9x_1 = Unit_instance;
|
|
2593
2593
|
this.e9_1 = 4;
|
|
2594
2594
|
var tmp_3 = this;
|
|
2595
2595
|
continue $sm;
|
|
2596
2596
|
} else {
|
|
2597
|
-
this.
|
|
2597
|
+
this.i9x_1 = this.h9x_1;
|
|
2598
2598
|
this.e9_1 = 2;
|
|
2599
2599
|
continue $sm;
|
|
2600
2600
|
}
|
|
2601
2601
|
|
|
2602
2602
|
case 2:
|
|
2603
|
-
this.
|
|
2603
|
+
this.j9x_1 = this.i9x_1;
|
|
2604
2604
|
this.e9_1 = 3;
|
|
2605
|
-
suspendResult = this.
|
|
2605
|
+
suspendResult = this.f9x_1.q18(this.j9x_1, this);
|
|
2606
2606
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2607
2607
|
return suspendResult;
|
|
2608
2608
|
}
|
|
2609
2609
|
|
|
2610
2610
|
continue $sm;
|
|
2611
2611
|
case 3:
|
|
2612
|
-
this.
|
|
2612
|
+
this.e9x_1 = suspendResult;
|
|
2613
2613
|
if (false) {
|
|
2614
2614
|
this.e9_1 = 1;
|
|
2615
2615
|
continue $sm;
|
|
@@ -2633,23 +2633,23 @@
|
|
|
2633
2633
|
}
|
|
2634
2634
|
while (true);
|
|
2635
2635
|
};
|
|
2636
|
-
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda).
|
|
2637
|
-
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda(this.
|
|
2638
|
-
i.
|
|
2636
|
+
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda).k1i = function (value, completion) {
|
|
2637
|
+
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda(this.c9x_1, completion);
|
|
2638
|
+
i.d9x_1 = value;
|
|
2639
2639
|
return i;
|
|
2640
2640
|
};
|
|
2641
2641
|
function MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
2642
2642
|
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation);
|
|
2643
2643
|
var l = function (value, $completion) {
|
|
2644
|
-
return i.
|
|
2644
|
+
return i.j1i(value, $completion);
|
|
2645
2645
|
};
|
|
2646
2646
|
l.$arity = 1;
|
|
2647
2647
|
return l;
|
|
2648
2648
|
}
|
|
2649
2649
|
function $collectCOROUTINE$2(_this__u8e3s4, collector, resultContinuation) {
|
|
2650
2650
|
CoroutineImpl.call(this, resultContinuation);
|
|
2651
|
-
this.
|
|
2652
|
-
this.
|
|
2651
|
+
this.s9x_1 = _this__u8e3s4;
|
|
2652
|
+
this.t9x_1 = collector;
|
|
2653
2653
|
}
|
|
2654
2654
|
protoOf($collectCOROUTINE$2).m9 = function () {
|
|
2655
2655
|
var suspendResult = this.g9_1;
|
|
@@ -2660,10 +2660,10 @@
|
|
|
2660
2660
|
case 0:
|
|
2661
2661
|
this.f9_1 = 2;
|
|
2662
2662
|
var tmp_0 = this;
|
|
2663
|
-
tmp_0.
|
|
2663
|
+
tmp_0.u9x_1 = this.t9x_1;
|
|
2664
2664
|
this.e9_1 = 1;
|
|
2665
|
-
var tmp_1 = MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda_0(this.
|
|
2666
|
-
suspendResult = this.
|
|
2665
|
+
var tmp_1 = MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda_0(this.u9x_1, null);
|
|
2666
|
+
suspendResult = this.s9x_1.v9x_1.n17(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_1), this);
|
|
2667
2667
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2668
2668
|
return suspendResult;
|
|
2669
2669
|
}
|
|
@@ -2686,16 +2686,16 @@
|
|
|
2686
2686
|
while (true);
|
|
2687
2687
|
};
|
|
2688
2688
|
function _no_name_provided__qut3iv_0($this) {
|
|
2689
|
-
this.
|
|
2689
|
+
this.v9x_1 = $this;
|
|
2690
2690
|
}
|
|
2691
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
2691
|
+
protoOf(_no_name_provided__qut3iv_0).r18 = function (collector, $completion) {
|
|
2692
2692
|
var tmp = new $collectCOROUTINE$2(this, collector, $completion);
|
|
2693
2693
|
tmp.g9_1 = Unit_instance;
|
|
2694
2694
|
tmp.h9_1 = null;
|
|
2695
2695
|
return tmp.m9();
|
|
2696
2696
|
};
|
|
2697
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
2698
|
-
return this.
|
|
2697
|
+
protoOf(_no_name_provided__qut3iv_0).n17 = function (collector, $completion) {
|
|
2698
|
+
return this.r18(collector, $completion);
|
|
2699
2699
|
};
|
|
2700
2700
|
function observeTableWhenRoundChanges($this, observeState) {
|
|
2701
2701
|
// Inline function 'kotlinx.coroutines.flow.flatMapLatest' call
|
|
@@ -2707,20 +2707,20 @@
|
|
|
2707
2707
|
return transformLatest(this_0, MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda_0(observeState, null));
|
|
2708
2708
|
}
|
|
2709
2709
|
function Companion_1() {
|
|
2710
|
-
this.
|
|
2710
|
+
this.w9x_1 = 1000;
|
|
2711
2711
|
}
|
|
2712
2712
|
var Companion_instance_9;
|
|
2713
2713
|
function Companion_getInstance_2() {
|
|
2714
2714
|
return Companion_instance_9;
|
|
2715
2715
|
}
|
|
2716
2716
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
2717
|
-
this.
|
|
2717
|
+
this.x9x_1 = function_0;
|
|
2718
2718
|
}
|
|
2719
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).
|
|
2720
|
-
return this.
|
|
2719
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).q18 = function (value, $completion) {
|
|
2720
|
+
return this.x9x_1(value, $completion);
|
|
2721
2721
|
};
|
|
2722
2722
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).o3 = function () {
|
|
2723
|
-
return this.
|
|
2723
|
+
return this.x9x_1;
|
|
2724
2724
|
};
|
|
2725
2725
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
2726
2726
|
var tmp;
|
|
@@ -2741,13 +2741,13 @@
|
|
|
2741
2741
|
return hashCode(this.o3());
|
|
2742
2742
|
};
|
|
2743
2743
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
|
|
2744
|
-
this.
|
|
2744
|
+
this.y9x_1 = function_0;
|
|
2745
2745
|
}
|
|
2746
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).
|
|
2747
|
-
return this.
|
|
2746
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).q18 = function (value, $completion) {
|
|
2747
|
+
return this.y9x_1(value, $completion);
|
|
2748
2748
|
};
|
|
2749
2749
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).o3 = function () {
|
|
2750
|
-
return this.
|
|
2750
|
+
return this.y9x_1;
|
|
2751
2751
|
};
|
|
2752
2752
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
|
|
2753
2753
|
var tmp;
|
|
@@ -2768,18 +2768,18 @@
|
|
|
2768
2768
|
return hashCode(this.o3());
|
|
2769
2769
|
};
|
|
2770
2770
|
function MechanicEventsObserverImpl$observeUpdates$slambda(this$0, resultContinuation) {
|
|
2771
|
-
this.
|
|
2771
|
+
this.h9y_1 = this$0;
|
|
2772
2772
|
CoroutineImpl.call(this, resultContinuation);
|
|
2773
2773
|
}
|
|
2774
|
-
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda).
|
|
2775
|
-
var tmp = this.
|
|
2774
|
+
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda).k9y = function ($this$transformLatest, it, $completion) {
|
|
2775
|
+
var tmp = this.l9y($this$transformLatest, it, $completion);
|
|
2776
2776
|
tmp.g9_1 = Unit_instance;
|
|
2777
2777
|
tmp.h9_1 = null;
|
|
2778
2778
|
return tmp.m9();
|
|
2779
2779
|
};
|
|
2780
2780
|
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda).x9 = function (p1, p2, $completion) {
|
|
2781
2781
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
2782
|
-
return this.
|
|
2782
|
+
return this.k9y(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
2783
2783
|
};
|
|
2784
2784
|
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda).m9 = function () {
|
|
2785
2785
|
var suspendResult = this.g9_1;
|
|
@@ -2790,8 +2790,8 @@
|
|
|
2790
2790
|
case 0:
|
|
2791
2791
|
this.f9_1 = 2;
|
|
2792
2792
|
this.e9_1 = 1;
|
|
2793
|
-
var table = this.
|
|
2794
|
-
suspendResult = emitAll(this.
|
|
2793
|
+
var table = this.j9y_1;
|
|
2794
|
+
suspendResult = emitAll(this.i9y_1, flow(MechanicEventsObserverImpl$observeUpdates$slambda$slambda_0(table, this.h9y_1, null)), this);
|
|
2795
2795
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2796
2796
|
return suspendResult;
|
|
2797
2797
|
}
|
|
@@ -2813,45 +2813,45 @@
|
|
|
2813
2813
|
}
|
|
2814
2814
|
while (true);
|
|
2815
2815
|
};
|
|
2816
|
-
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda).
|
|
2817
|
-
var i = new MechanicEventsObserverImpl$observeUpdates$slambda(this.
|
|
2818
|
-
i.
|
|
2819
|
-
i.
|
|
2816
|
+
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda).l9y = function ($this$transformLatest, it, completion) {
|
|
2817
|
+
var i = new MechanicEventsObserverImpl$observeUpdates$slambda(this.h9y_1, completion);
|
|
2818
|
+
i.i9y_1 = $this$transformLatest;
|
|
2819
|
+
i.j9y_1 = it;
|
|
2820
2820
|
return i;
|
|
2821
2821
|
};
|
|
2822
2822
|
function MechanicEventsObserverImpl$observeUpdates$slambda_0(this$0, resultContinuation) {
|
|
2823
2823
|
var i = new MechanicEventsObserverImpl$observeUpdates$slambda(this$0, resultContinuation);
|
|
2824
2824
|
var l = function ($this$transformLatest, it, $completion) {
|
|
2825
|
-
return i.
|
|
2825
|
+
return i.k9y($this$transformLatest, it, $completion);
|
|
2826
2826
|
};
|
|
2827
2827
|
l.$arity = 2;
|
|
2828
2828
|
return l;
|
|
2829
2829
|
}
|
|
2830
2830
|
function _no_name_provided__qut3iv_1($this) {
|
|
2831
|
-
this.
|
|
2831
|
+
this.t9w_1 = $this;
|
|
2832
2832
|
}
|
|
2833
|
-
protoOf(_no_name_provided__qut3iv_1).
|
|
2833
|
+
protoOf(_no_name_provided__qut3iv_1).r18 = function (collector, $completion) {
|
|
2834
2834
|
var tmp = new $collectCOROUTINE$1(this, collector, $completion);
|
|
2835
2835
|
tmp.g9_1 = Unit_instance;
|
|
2836
2836
|
tmp.h9_1 = null;
|
|
2837
2837
|
return tmp.m9();
|
|
2838
2838
|
};
|
|
2839
|
-
protoOf(_no_name_provided__qut3iv_1).
|
|
2840
|
-
return this.
|
|
2839
|
+
protoOf(_no_name_provided__qut3iv_1).n17 = function (collector, $completion) {
|
|
2840
|
+
return this.r18(collector, $completion);
|
|
2841
2841
|
};
|
|
2842
2842
|
function MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda($observeState, resultContinuation) {
|
|
2843
|
-
this.
|
|
2843
|
+
this.u9y_1 = $observeState;
|
|
2844
2844
|
CoroutineImpl.call(this, resultContinuation);
|
|
2845
2845
|
}
|
|
2846
|
-
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda).
|
|
2847
|
-
var tmp = this.
|
|
2846
|
+
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda).k9y = function ($this$transformLatest, it, $completion) {
|
|
2847
|
+
var tmp = this.l9y($this$transformLatest, it, $completion);
|
|
2848
2848
|
tmp.g9_1 = Unit_instance;
|
|
2849
2849
|
tmp.h9_1 = null;
|
|
2850
2850
|
return tmp.m9();
|
|
2851
2851
|
};
|
|
2852
2852
|
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda).x9 = function (p1, p2, $completion) {
|
|
2853
2853
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
2854
|
-
return this.
|
|
2854
|
+
return this.k9y(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
2855
2855
|
};
|
|
2856
2856
|
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda).m9 = function () {
|
|
2857
2857
|
var suspendResult = this.g9_1;
|
|
@@ -2862,9 +2862,9 @@
|
|
|
2862
2862
|
case 0:
|
|
2863
2863
|
this.f9_1 = 2;
|
|
2864
2864
|
this.e9_1 = 1;
|
|
2865
|
-
this.
|
|
2866
|
-
var this_0 = this.
|
|
2867
|
-
suspendResult = emitAll(this.
|
|
2865
|
+
this.w9y_1;
|
|
2866
|
+
var this_0 = this.u9y_1;
|
|
2867
|
+
suspendResult = emitAll(this.v9y_1, new _no_name_provided__qut3iv_0(this_0), this);
|
|
2868
2868
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2869
2869
|
return suspendResult;
|
|
2870
2870
|
}
|
|
@@ -2886,27 +2886,27 @@
|
|
|
2886
2886
|
}
|
|
2887
2887
|
while (true);
|
|
2888
2888
|
};
|
|
2889
|
-
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda).
|
|
2890
|
-
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda(this.
|
|
2891
|
-
i.
|
|
2892
|
-
i.
|
|
2889
|
+
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda).l9y = function ($this$transformLatest, it, completion) {
|
|
2890
|
+
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda(this.u9y_1, completion);
|
|
2891
|
+
i.v9y_1 = $this$transformLatest;
|
|
2892
|
+
i.w9y_1 = it;
|
|
2893
2893
|
return i;
|
|
2894
2894
|
};
|
|
2895
2895
|
function MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda_0($observeState, resultContinuation) {
|
|
2896
2896
|
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda($observeState, resultContinuation);
|
|
2897
2897
|
var l = function ($this$transformLatest, it, $completion) {
|
|
2898
|
-
return i.
|
|
2898
|
+
return i.k9y($this$transformLatest, it, $completion);
|
|
2899
2899
|
};
|
|
2900
2900
|
l.$arity = 2;
|
|
2901
2901
|
return l;
|
|
2902
2902
|
}
|
|
2903
2903
|
function MechanicEventsObserverImpl() {
|
|
2904
|
-
this.
|
|
2904
|
+
this.v9v_1 = MutableSharedFlow();
|
|
2905
2905
|
}
|
|
2906
|
-
protoOf(MechanicEventsObserverImpl).
|
|
2907
|
-
return this.
|
|
2906
|
+
protoOf(MechanicEventsObserverImpl).j9u = function (event, $completion) {
|
|
2907
|
+
return this.v9v_1.q18(event, $completion);
|
|
2908
2908
|
};
|
|
2909
|
-
protoOf(MechanicEventsObserverImpl).
|
|
2909
|
+
protoOf(MechanicEventsObserverImpl).p9m = function (observeState) {
|
|
2910
2910
|
// Inline function 'kotlinx.coroutines.flow.flatMapLatest' call
|
|
2911
2911
|
var this_0 = observeTableWhenRoundChanges(this, observeState);
|
|
2912
2912
|
return transformLatest(this_0, MechanicEventsObserverImpl$observeUpdates$slambda_0(this, null));
|
|
@@ -2914,18 +2914,18 @@
|
|
|
2914
2914
|
function ToClientEventsObserver() {
|
|
2915
2915
|
}
|
|
2916
2916
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
2917
|
-
this.
|
|
2918
|
-
this.
|
|
2917
|
+
this.g9z_1 = this$0;
|
|
2918
|
+
this.h9z_1 = $actions;
|
|
2919
2919
|
CoroutineImpl.call(this, resultContinuation);
|
|
2920
2920
|
}
|
|
2921
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
2922
|
-
var tmp = this.
|
|
2921
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).o9z = function ($this$flow, $completion) {
|
|
2922
|
+
var tmp = this.p9z($this$flow, $completion);
|
|
2923
2923
|
tmp.g9_1 = Unit_instance;
|
|
2924
2924
|
tmp.h9_1 = null;
|
|
2925
2925
|
return tmp.m9();
|
|
2926
2926
|
};
|
|
2927
2927
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).w9 = function (p1, $completion) {
|
|
2928
|
-
return this.
|
|
2928
|
+
return this.o9z((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
2929
2929
|
};
|
|
2930
2930
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).m9 = function () {
|
|
2931
2931
|
var suspendResult = this.g9_1;
|
|
@@ -2936,23 +2936,23 @@
|
|
|
2936
2936
|
case 0:
|
|
2937
2937
|
this.f9_1 = 4;
|
|
2938
2938
|
var tmp_0 = this;
|
|
2939
|
-
tmp_0.
|
|
2939
|
+
tmp_0.j9z_1 = this.g9z_1.u9z_1;
|
|
2940
2940
|
var tmp_1 = this;
|
|
2941
|
-
tmp_1.
|
|
2942
|
-
this.
|
|
2941
|
+
tmp_1.k9z_1 = transformToEmits(this.g9z_1, this.h9z_1);
|
|
2942
|
+
this.l9z_1 = this.k9z_1.j();
|
|
2943
2943
|
this.e9_1 = 1;
|
|
2944
2944
|
continue $sm;
|
|
2945
2945
|
case 1:
|
|
2946
|
-
if (!this.
|
|
2946
|
+
if (!this.l9z_1.k()) {
|
|
2947
2947
|
this.e9_1 = 3;
|
|
2948
2948
|
continue $sm;
|
|
2949
2949
|
}
|
|
2950
2950
|
|
|
2951
|
-
this.
|
|
2951
|
+
this.m9z_1 = this.l9z_1.l();
|
|
2952
2952
|
var tmp_2 = this;
|
|
2953
|
-
tmp_2.
|
|
2953
|
+
tmp_2.n9z_1 = this.m9z_1;
|
|
2954
2954
|
this.e9_1 = 2;
|
|
2955
|
-
suspendResult = this.
|
|
2955
|
+
suspendResult = this.i9z_1.q18(this.n9z_1, this);
|
|
2956
2956
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2957
2957
|
return suspendResult;
|
|
2958
2958
|
}
|
|
@@ -2963,10 +2963,10 @@
|
|
|
2963
2963
|
continue $sm;
|
|
2964
2964
|
case 3:
|
|
2965
2965
|
l$ret$1: do {
|
|
2966
|
-
var this_0 = this.
|
|
2966
|
+
var this_0 = this.g9z_1.t9z_1;
|
|
2967
2967
|
while (true) {
|
|
2968
2968
|
var cur = this_0.kotlinx$atomicfu$value;
|
|
2969
|
-
var upd = cur - this.
|
|
2969
|
+
var upd = cur - this.h9z_1.m() | 0;
|
|
2970
2970
|
if (this_0.atomicfu$compareAndSet(cur, upd)) {
|
|
2971
2971
|
break l$ret$1;
|
|
2972
2972
|
}
|
|
@@ -2988,15 +2988,15 @@
|
|
|
2988
2988
|
}
|
|
2989
2989
|
while (true);
|
|
2990
2990
|
};
|
|
2991
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
2992
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
2993
|
-
i.
|
|
2991
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).p9z = function ($this$flow, completion) {
|
|
2992
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.g9z_1, this.h9z_1, completion);
|
|
2993
|
+
i.i9z_1 = $this$flow;
|
|
2994
2994
|
return i;
|
|
2995
2995
|
};
|
|
2996
2996
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
2997
2997
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
2998
2998
|
var l = function ($this$flow, $completion) {
|
|
2999
|
-
return i.
|
|
2999
|
+
return i.o9z($this$flow, $completion);
|
|
3000
3000
|
};
|
|
3001
3001
|
l.$arity = 1;
|
|
3002
3002
|
return l;
|
|
@@ -3069,29 +3069,29 @@
|
|
|
3069
3069
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
3070
3070
|
}
|
|
3071
3071
|
function mapFromGroupKey(_this__u8e3s4, $this) {
|
|
3072
|
-
var tmp = $this.
|
|
3072
|
+
var tmp = $this.s9z_1.v6h();
|
|
3073
3073
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3074
|
-
var this_0 = _this__u8e3s4.
|
|
3074
|
+
var this_0 = _this__u8e3s4.x9z_1;
|
|
3075
3075
|
var tmp_0 = copyToArray(this_0);
|
|
3076
3076
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3077
|
-
var this_1 = _this__u8e3s4.
|
|
3077
|
+
var this_1 = _this__u8e3s4.y9z_1;
|
|
3078
3078
|
var tmp$ret$1 = copyToArray(this_1);
|
|
3079
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
3079
|
+
return new ActionDeliveryPayload(_this__u8e3s4.w9z_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.z9z_1);
|
|
3080
3080
|
}
|
|
3081
3081
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
3082
|
-
this.
|
|
3083
|
-
this.
|
|
3084
|
-
this.
|
|
3085
|
-
this.
|
|
3082
|
+
this.w9z_1 = tableId;
|
|
3083
|
+
this.x9z_1 = includePlayers;
|
|
3084
|
+
this.y9z_1 = excludePlayers;
|
|
3085
|
+
this.z9z_1 = deliveryType;
|
|
3086
3086
|
}
|
|
3087
3087
|
protoOf(GroupKey).toString = function () {
|
|
3088
|
-
return 'GroupKey(tableId=' + this.
|
|
3088
|
+
return 'GroupKey(tableId=' + this.w9z_1 + ', includePlayers=' + toString(this.x9z_1) + ', excludePlayers=' + toString(this.y9z_1) + ', deliveryType=' + this.z9z_1.toString() + ')';
|
|
3089
3089
|
};
|
|
3090
3090
|
protoOf(GroupKey).hashCode = function () {
|
|
3091
|
-
var result = getStringHashCode(this.
|
|
3092
|
-
result = imul(result, 31) + hashCode(this.w9z_1) | 0;
|
|
3091
|
+
var result = getStringHashCode(this.w9z_1);
|
|
3093
3092
|
result = imul(result, 31) + hashCode(this.x9z_1) | 0;
|
|
3094
|
-
result = imul(result, 31) + this.y9z_1
|
|
3093
|
+
result = imul(result, 31) + hashCode(this.y9z_1) | 0;
|
|
3094
|
+
result = imul(result, 31) + this.z9z_1.hashCode() | 0;
|
|
3095
3095
|
return result;
|
|
3096
3096
|
};
|
|
3097
3097
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -3100,35 +3100,35 @@
|
|
|
3100
3100
|
if (!(other instanceof GroupKey))
|
|
3101
3101
|
return false;
|
|
3102
3102
|
var tmp0_other_with_cast = other instanceof GroupKey ? other : THROW_CCE();
|
|
3103
|
-
if (!(this.
|
|
3104
|
-
return false;
|
|
3105
|
-
if (!equals(this.w9z_1, tmp0_other_with_cast.w9z_1))
|
|
3103
|
+
if (!(this.w9z_1 === tmp0_other_with_cast.w9z_1))
|
|
3106
3104
|
return false;
|
|
3107
3105
|
if (!equals(this.x9z_1, tmp0_other_with_cast.x9z_1))
|
|
3108
3106
|
return false;
|
|
3109
|
-
if (!this.y9z_1
|
|
3107
|
+
if (!equals(this.y9z_1, tmp0_other_with_cast.y9z_1))
|
|
3108
|
+
return false;
|
|
3109
|
+
if (!this.z9z_1.equals(tmp0_other_with_cast.z9z_1))
|
|
3110
3110
|
return false;
|
|
3111
3111
|
return true;
|
|
3112
3112
|
};
|
|
3113
3113
|
function Companion_2() {
|
|
3114
|
-
this.
|
|
3114
|
+
this.aa0_1 = 6;
|
|
3115
3115
|
}
|
|
3116
3116
|
var Companion_instance_10;
|
|
3117
3117
|
function Companion_getInstance_3() {
|
|
3118
3118
|
return Companion_instance_10;
|
|
3119
3119
|
}
|
|
3120
3120
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
3121
|
-
this.
|
|
3121
|
+
this.ja0_1 = this$0;
|
|
3122
3122
|
CoroutineImpl.call(this, resultContinuation);
|
|
3123
3123
|
}
|
|
3124
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3125
|
-
var tmp = this.
|
|
3124
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).la0 = function (actions, $completion) {
|
|
3125
|
+
var tmp = this.ma0(actions, $completion);
|
|
3126
3126
|
tmp.g9_1 = Unit_instance;
|
|
3127
3127
|
tmp.h9_1 = null;
|
|
3128
3128
|
return tmp.m9();
|
|
3129
3129
|
};
|
|
3130
3130
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).w9 = function (p1, $completion) {
|
|
3131
|
-
return this.
|
|
3131
|
+
return this.la0((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
3132
3132
|
};
|
|
3133
3133
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).m9 = function () {
|
|
3134
3134
|
var suspendResult = this.g9_1;
|
|
@@ -3137,7 +3137,7 @@
|
|
|
3137
3137
|
var tmp = this.e9_1;
|
|
3138
3138
|
if (tmp === 0) {
|
|
3139
3139
|
this.f9_1 = 1;
|
|
3140
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
3140
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.ja0_1, this.ka0_1, null));
|
|
3141
3141
|
} else if (tmp === 1) {
|
|
3142
3142
|
throw this.h9_1;
|
|
3143
3143
|
}
|
|
@@ -3147,23 +3147,23 @@
|
|
|
3147
3147
|
}
|
|
3148
3148
|
while (true);
|
|
3149
3149
|
};
|
|
3150
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3151
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
3152
|
-
i.
|
|
3150
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).ma0 = function (actions, completion) {
|
|
3151
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.ja0_1, completion);
|
|
3152
|
+
i.ka0_1 = actions;
|
|
3153
3153
|
return i;
|
|
3154
3154
|
};
|
|
3155
3155
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
3156
3156
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
3157
3157
|
var l = function (actions, $completion) {
|
|
3158
|
-
return i.
|
|
3158
|
+
return i.la0(actions, $completion);
|
|
3159
3159
|
};
|
|
3160
3160
|
l.$arity = 1;
|
|
3161
3161
|
return l;
|
|
3162
3162
|
}
|
|
3163
3163
|
function $sentEventCOROUTINE$3(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
3164
3164
|
CoroutineImpl.call(this, resultContinuation);
|
|
3165
|
-
this.
|
|
3166
|
-
this.
|
|
3165
|
+
this.va0_1 = _this__u8e3s4;
|
|
3166
|
+
this.wa0_1 = fromEvent;
|
|
3167
3167
|
}
|
|
3168
3168
|
protoOf($sentEventCOROUTINE$3).m9 = function () {
|
|
3169
3169
|
var suspendResult = this.g9_1;
|
|
@@ -3174,9 +3174,9 @@
|
|
|
3174
3174
|
case 0:
|
|
3175
3175
|
this.f9_1 = 2;
|
|
3176
3176
|
var tmp_0 = this;
|
|
3177
|
-
tmp_0.
|
|
3177
|
+
tmp_0.xa0_1 = this.va0_1.u9z_1;
|
|
3178
3178
|
l$ret$1: do {
|
|
3179
|
-
var this_0 = this.
|
|
3179
|
+
var this_0 = this.va0_1.t9z_1;
|
|
3180
3180
|
while (true) {
|
|
3181
3181
|
var cur = this_0.kotlinx$atomicfu$value;
|
|
3182
3182
|
var upd = cur + 1 | 0;
|
|
@@ -3187,7 +3187,7 @@
|
|
|
3187
3187
|
}
|
|
3188
3188
|
while (false);
|
|
3189
3189
|
this.e9_1 = 1;
|
|
3190
|
-
suspendResult = this.
|
|
3190
|
+
suspendResult = this.va0_1.v9z_1.q18(this.wa0_1, this);
|
|
3191
3191
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3192
3192
|
return suspendResult;
|
|
3193
3193
|
}
|
|
@@ -3211,7 +3211,7 @@
|
|
|
3211
3211
|
};
|
|
3212
3212
|
function $waitForCOROUTINE$4(_this__u8e3s4, resultContinuation) {
|
|
3213
3213
|
CoroutineImpl.call(this, resultContinuation);
|
|
3214
|
-
this.
|
|
3214
|
+
this.ga1_1 = _this__u8e3s4;
|
|
3215
3215
|
}
|
|
3216
3216
|
protoOf($waitForCOROUTINE$4).m9 = function () {
|
|
3217
3217
|
var suspendResult = this.g9_1;
|
|
@@ -3222,12 +3222,12 @@
|
|
|
3222
3222
|
case 0:
|
|
3223
3223
|
this.f9_1 = 5;
|
|
3224
3224
|
var tmp_0 = this;
|
|
3225
|
-
tmp_0.
|
|
3226
|
-
this.
|
|
3225
|
+
tmp_0.ha1_1 = this.ga1_1.u9z_1;
|
|
3226
|
+
this.ia1_1 = 0;
|
|
3227
3227
|
this.e9_1 = 1;
|
|
3228
3228
|
continue $sm;
|
|
3229
3229
|
case 1:
|
|
3230
|
-
if (!!(this.
|
|
3230
|
+
if (!!(this.ga1_1.t9z_1.kotlinx$atomicfu$value === 0)) {
|
|
3231
3231
|
this.e9_1 = 4;
|
|
3232
3232
|
continue $sm;
|
|
3233
3233
|
}
|
|
@@ -3240,9 +3240,9 @@
|
|
|
3240
3240
|
|
|
3241
3241
|
continue $sm;
|
|
3242
3242
|
case 2:
|
|
3243
|
-
this.
|
|
3244
|
-
if (this.
|
|
3245
|
-
this.
|
|
3243
|
+
this.ia1_1 = this.ia1_1 + 1 | 0;
|
|
3244
|
+
if (this.ia1_1 > 6) {
|
|
3245
|
+
this.ga1_1.r9z_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.ga1_1.t9z_1.kotlinx$atomicfu$value);
|
|
3246
3246
|
this.e9_1 = 4;
|
|
3247
3247
|
continue $sm;
|
|
3248
3248
|
} else {
|
|
@@ -3270,42 +3270,42 @@
|
|
|
3270
3270
|
while (true);
|
|
3271
3271
|
};
|
|
3272
3272
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
3273
|
-
this.
|
|
3274
|
-
this.
|
|
3275
|
-
this.
|
|
3276
|
-
this.
|
|
3273
|
+
this.q9z_1 = serverReduxConfig;
|
|
3274
|
+
this.r9z_1 = logger;
|
|
3275
|
+
this.s9z_1 = idsProvider;
|
|
3276
|
+
this.t9z_1 = atomic$ref$1(0);
|
|
3277
3277
|
var tmp = this;
|
|
3278
3278
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
3279
|
-
tmp.
|
|
3280
|
-
this.
|
|
3279
|
+
tmp.u9z_1 = get_atomicfu$reentrantLock();
|
|
3280
|
+
this.v9z_1 = MutableSharedFlow();
|
|
3281
3281
|
}
|
|
3282
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3282
|
+
protoOf(ToClientEventsObserverImpl).x9y = function (fromEvent, $completion) {
|
|
3283
3283
|
var tmp = new $sentEventCOROUTINE$3(this, fromEvent, $completion);
|
|
3284
3284
|
tmp.g9_1 = Unit_instance;
|
|
3285
3285
|
tmp.h9_1 = null;
|
|
3286
3286
|
return tmp.m9();
|
|
3287
3287
|
};
|
|
3288
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3288
|
+
protoOf(ToClientEventsObserverImpl).d9c = function ($completion) {
|
|
3289
3289
|
var tmp = new $waitForCOROUTINE$4(this, $completion);
|
|
3290
3290
|
tmp.g9_1 = Unit_instance;
|
|
3291
3291
|
tmp.h9_1 = null;
|
|
3292
3292
|
return tmp.m9();
|
|
3293
3293
|
};
|
|
3294
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3295
|
-
if (!this.
|
|
3296
|
-
return this.
|
|
3294
|
+
protoOf(ToClientEventsObserverImpl).d9m = function () {
|
|
3295
|
+
if (!this.q9z_1.enabledCombinedEvents) {
|
|
3296
|
+
return this.v9z_1;
|
|
3297
3297
|
}
|
|
3298
|
-
var tmp = windowedByInterval(this.
|
|
3298
|
+
var tmp = windowedByInterval(this.v9z_1, toLong(this.q9z_1.combinedEventsPeriod));
|
|
3299
3299
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
3300
3300
|
};
|
|
3301
3301
|
function UpdateServerConfigAction(serverConfig) {
|
|
3302
|
-
this.
|
|
3302
|
+
this.ja1_1 = serverConfig;
|
|
3303
3303
|
}
|
|
3304
3304
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
3305
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
3305
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.ja1_1.toString() + ')';
|
|
3306
3306
|
};
|
|
3307
3307
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
3308
|
-
return this.
|
|
3308
|
+
return this.ja1_1.hashCode();
|
|
3309
3309
|
};
|
|
3310
3310
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
3311
3311
|
if (this === other)
|
|
@@ -3313,20 +3313,20 @@
|
|
|
3313
3313
|
if (!(other instanceof UpdateServerConfigAction))
|
|
3314
3314
|
return false;
|
|
3315
3315
|
var tmp0_other_with_cast = other instanceof UpdateServerConfigAction ? other : THROW_CCE();
|
|
3316
|
-
if (!this.
|
|
3316
|
+
if (!this.ja1_1.equals(tmp0_other_with_cast.ja1_1))
|
|
3317
3317
|
return false;
|
|
3318
3318
|
return true;
|
|
3319
3319
|
};
|
|
3320
3320
|
function SpectatorsAction() {
|
|
3321
3321
|
}
|
|
3322
3322
|
function AddSpectatorsAction(spectators) {
|
|
3323
|
-
this.
|
|
3323
|
+
this.ka1_1 = spectators;
|
|
3324
3324
|
}
|
|
3325
3325
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
3326
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
3326
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.ka1_1) + ')';
|
|
3327
3327
|
};
|
|
3328
3328
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
3329
|
-
return hashCode(this.
|
|
3329
|
+
return hashCode(this.ka1_1);
|
|
3330
3330
|
};
|
|
3331
3331
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
3332
3332
|
if (this === other)
|
|
@@ -3334,18 +3334,18 @@
|
|
|
3334
3334
|
if (!(other instanceof AddSpectatorsAction))
|
|
3335
3335
|
return false;
|
|
3336
3336
|
var tmp0_other_with_cast = other instanceof AddSpectatorsAction ? other : THROW_CCE();
|
|
3337
|
-
if (!equals(this.
|
|
3337
|
+
if (!equals(this.ka1_1, tmp0_other_with_cast.ka1_1))
|
|
3338
3338
|
return false;
|
|
3339
3339
|
return true;
|
|
3340
3340
|
};
|
|
3341
3341
|
function RemoveSpectatorsAction(spectators) {
|
|
3342
|
-
this.
|
|
3342
|
+
this.la1_1 = spectators;
|
|
3343
3343
|
}
|
|
3344
3344
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
3345
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
3345
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.la1_1) + ')';
|
|
3346
3346
|
};
|
|
3347
3347
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
3348
|
-
return hashCode(this.
|
|
3348
|
+
return hashCode(this.la1_1);
|
|
3349
3349
|
};
|
|
3350
3350
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
3351
3351
|
if (this === other)
|
|
@@ -3353,78 +3353,78 @@
|
|
|
3353
3353
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
3354
3354
|
return false;
|
|
3355
3355
|
var tmp0_other_with_cast = other instanceof RemoveSpectatorsAction ? other : THROW_CCE();
|
|
3356
|
-
if (!equals(this.
|
|
3356
|
+
if (!equals(this.la1_1, tmp0_other_with_cast.la1_1))
|
|
3357
3357
|
return false;
|
|
3358
3358
|
return true;
|
|
3359
3359
|
};
|
|
3360
3360
|
function _get_asyncProvider__jbpyhw($this) {
|
|
3361
3361
|
// Inline function 'kotlin.getValue' call
|
|
3362
|
-
var this_0 = $this.
|
|
3362
|
+
var this_0 = $this.ra1_1;
|
|
3363
3363
|
asyncProvider$factory_0();
|
|
3364
3364
|
return this_0.u();
|
|
3365
3365
|
}
|
|
3366
3366
|
function _get_logger__rkp4sl_0($this) {
|
|
3367
3367
|
// Inline function 'kotlin.getValue' call
|
|
3368
|
-
var this_0 = $this.
|
|
3368
|
+
var this_0 = $this.sa1_1;
|
|
3369
3369
|
logger$factory_2();
|
|
3370
3370
|
return this_0.u();
|
|
3371
3371
|
}
|
|
3372
3372
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
3373
3373
|
// Inline function 'kotlin.getValue' call
|
|
3374
|
-
var this_0 = $this.
|
|
3374
|
+
var this_0 = $this.ta1_1;
|
|
3375
3375
|
playerConnectionInteractor$factory_2();
|
|
3376
3376
|
return this_0.u();
|
|
3377
3377
|
}
|
|
3378
3378
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
3379
3379
|
// Inline function 'kotlin.getValue' call
|
|
3380
|
-
var this_0 = $this.
|
|
3380
|
+
var this_0 = $this.ua1_1;
|
|
3381
3381
|
lastCardInteractor$factory_0();
|
|
3382
3382
|
return this_0.u();
|
|
3383
3383
|
}
|
|
3384
3384
|
function _get_serverConfig__rk2g06($this) {
|
|
3385
3385
|
// Inline function 'kotlin.getValue' call
|
|
3386
|
-
var this_0 = $this.
|
|
3386
|
+
var this_0 = $this.va1_1;
|
|
3387
3387
|
serverConfig$factory_0();
|
|
3388
3388
|
return this_0.u();
|
|
3389
3389
|
}
|
|
3390
3390
|
function _get_logicConfig__52ww9d($this) {
|
|
3391
3391
|
// Inline function 'kotlin.getValue' call
|
|
3392
|
-
var this_0 = $this.
|
|
3392
|
+
var this_0 = $this.wa1_1;
|
|
3393
3393
|
logicConfig$factory_0();
|
|
3394
3394
|
return this_0.u();
|
|
3395
3395
|
}
|
|
3396
3396
|
function _get_idsProvider__fnfajc_0($this) {
|
|
3397
3397
|
// Inline function 'kotlin.getValue' call
|
|
3398
|
-
var this_0 = $this.
|
|
3398
|
+
var this_0 = $this.xa1_1;
|
|
3399
3399
|
idsProvider$factory_2();
|
|
3400
3400
|
return this_0.u();
|
|
3401
3401
|
}
|
|
3402
3402
|
function _get_botConfig__cpaxzc($this) {
|
|
3403
3403
|
// Inline function 'kotlin.getValue' call
|
|
3404
|
-
var this_0 = $this.
|
|
3404
|
+
var this_0 = $this.ya1_1;
|
|
3405
3405
|
botConfig$factory_0();
|
|
3406
3406
|
return this_0.u();
|
|
3407
3407
|
}
|
|
3408
3408
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
3409
3409
|
// Inline function 'kotlin.getValue' call
|
|
3410
|
-
var this_0 = $this.
|
|
3410
|
+
var this_0 = $this.za1_1;
|
|
3411
3411
|
scenePositionProvider$factory_0();
|
|
3412
3412
|
return this_0.u();
|
|
3413
3413
|
}
|
|
3414
3414
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
3415
3415
|
// Inline function 'kotlin.getValue' call
|
|
3416
|
-
var this_0 = $this.
|
|
3416
|
+
var this_0 = $this.aa2_1;
|
|
3417
3417
|
toClientEventsObserver$factory_2();
|
|
3418
3418
|
return this_0.u();
|
|
3419
3419
|
}
|
|
3420
3420
|
function _get_mechanicEventsObserver__ll1b9k_0($this) {
|
|
3421
3421
|
// Inline function 'kotlin.getValue' call
|
|
3422
|
-
var this_0 = $this.
|
|
3422
|
+
var this_0 = $this.ba2_1;
|
|
3423
3423
|
mechanicEventsObserver$factory_2();
|
|
3424
3424
|
return this_0.u();
|
|
3425
3425
|
}
|
|
3426
3426
|
function ServerGameStoreContract$_get_middlewares_$lambda_qmuw9r(player) {
|
|
3427
|
-
return !player.
|
|
3427
|
+
return !player.q6c();
|
|
3428
3428
|
}
|
|
3429
3429
|
function ServerGameStoreContract(di, validationStoreContract, timersStoreContract, botGameStoreContract, gameMechanicStoreContract, fileLoggerStoreContract) {
|
|
3430
3430
|
validationStoreContract = validationStoreContract === VOID ? new ValidationStoreContract(di, true, true, null) : validationStoreContract;
|
|
@@ -3432,83 +3432,83 @@
|
|
|
3432
3432
|
botGameStoreContract = botGameStoreContract === VOID ? new BotGameStoreContract(di) : botGameStoreContract;
|
|
3433
3433
|
gameMechanicStoreContract = gameMechanicStoreContract === VOID ? new GameMechanicStoreContract(di, null, true) : gameMechanicStoreContract;
|
|
3434
3434
|
fileLoggerStoreContract = fileLoggerStoreContract === VOID ? new FileLoggerStoreContract(di) : fileLoggerStoreContract;
|
|
3435
|
-
this.
|
|
3436
|
-
this.
|
|
3437
|
-
this.
|
|
3438
|
-
this.
|
|
3439
|
-
this.
|
|
3435
|
+
this.ma1_1 = validationStoreContract;
|
|
3436
|
+
this.na1_1 = timersStoreContract;
|
|
3437
|
+
this.oa1_1 = botGameStoreContract;
|
|
3438
|
+
this.pa1_1 = gameMechanicStoreContract;
|
|
3439
|
+
this.qa1_1 = fileLoggerStoreContract;
|
|
3440
3440
|
var tmp = this;
|
|
3441
3441
|
// Inline function 'org.kodein.di.instance' call
|
|
3442
3442
|
// Inline function 'org.kodein.type.generic' call
|
|
3443
3443
|
var tmp_0 = typeToken(createKType(getKClass(AsyncProvider), arrayOf([]), false));
|
|
3444
3444
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
3445
|
-
tmp.
|
|
3445
|
+
tmp.ra1_1 = Instance(di, tmp$ret$0, null).u63(this, asyncProvider$factory());
|
|
3446
3446
|
var tmp_1 = this;
|
|
3447
3447
|
// Inline function 'org.kodein.di.instance' call
|
|
3448
3448
|
// Inline function 'org.kodein.type.generic' call
|
|
3449
3449
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
3450
3450
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
3451
|
-
tmp_1.
|
|
3451
|
+
tmp_1.sa1_1 = Instance(di, tmp$ret$2, null).u63(this, logger$factory_1());
|
|
3452
3452
|
var tmp_3 = this;
|
|
3453
3453
|
// Inline function 'org.kodein.di.instance' call
|
|
3454
3454
|
// Inline function 'org.kodein.type.generic' call
|
|
3455
3455
|
var tmp_4 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
3456
3456
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
3457
|
-
tmp_3.
|
|
3457
|
+
tmp_3.ta1_1 = Instance(di, tmp$ret$4, null).u63(this, playerConnectionInteractor$factory_1());
|
|
3458
3458
|
var tmp_5 = this;
|
|
3459
3459
|
// Inline function 'org.kodein.di.instance' call
|
|
3460
3460
|
// Inline function 'org.kodein.type.generic' call
|
|
3461
3461
|
var tmp_6 = typeToken(createKType(getKClass(LastCardInteractor), arrayOf([]), false));
|
|
3462
3462
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
3463
|
-
tmp_5.
|
|
3463
|
+
tmp_5.ua1_1 = Instance(di, tmp$ret$6, null).u63(this, lastCardInteractor$factory());
|
|
3464
3464
|
var tmp_7 = this;
|
|
3465
3465
|
// Inline function 'org.kodein.di.instance' call
|
|
3466
3466
|
// Inline function 'org.kodein.type.generic' call
|
|
3467
3467
|
var tmp_8 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
3468
3468
|
var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
3469
|
-
tmp_7.
|
|
3469
|
+
tmp_7.va1_1 = Instance(di, tmp$ret$8, null).u63(this, serverConfig$factory());
|
|
3470
3470
|
var tmp_9 = this;
|
|
3471
3471
|
// Inline function 'org.kodein.di.instance' call
|
|
3472
3472
|
// Inline function 'org.kodein.type.generic' call
|
|
3473
3473
|
var tmp_10 = typeToken(createKType(getKClass(EngineLogicConfig), arrayOf([]), false));
|
|
3474
3474
|
var tmp$ret$10 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
3475
|
-
tmp_9.
|
|
3475
|
+
tmp_9.wa1_1 = Instance(di, tmp$ret$10, null).u63(this, logicConfig$factory());
|
|
3476
3476
|
var tmp_11 = this;
|
|
3477
3477
|
// Inline function 'org.kodein.di.instance' call
|
|
3478
3478
|
// Inline function 'org.kodein.type.generic' call
|
|
3479
3479
|
var tmp_12 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
3480
3480
|
var tmp$ret$12 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
3481
|
-
tmp_11.
|
|
3481
|
+
tmp_11.xa1_1 = Instance(di, tmp$ret$12, null).u63(this, idsProvider$factory_1());
|
|
3482
3482
|
var tmp_13 = this;
|
|
3483
3483
|
// Inline function 'org.kodein.di.instance' call
|
|
3484
3484
|
// Inline function 'org.kodein.type.generic' call
|
|
3485
3485
|
var tmp_14 = typeToken(createKType(getKClass(EngineBotConfig), arrayOf([]), false));
|
|
3486
3486
|
var tmp$ret$14 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
3487
|
-
tmp_13.
|
|
3487
|
+
tmp_13.ya1_1 = Instance(di, tmp$ret$14, null).u63(this, botConfig$factory());
|
|
3488
3488
|
var tmp_15 = this;
|
|
3489
3489
|
// Inline function 'org.kodein.di.instance' call
|
|
3490
3490
|
// Inline function 'org.kodein.type.generic' call
|
|
3491
3491
|
var tmp_16 = typeToken(createKType(getKClass(ScenePositionProvider), arrayOf([]), false));
|
|
3492
3492
|
var tmp$ret$16 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
3493
|
-
tmp_15.
|
|
3493
|
+
tmp_15.za1_1 = Instance(di, tmp$ret$16, null).u63(this, scenePositionProvider$factory());
|
|
3494
3494
|
var tmp_17 = this;
|
|
3495
3495
|
// Inline function 'org.kodein.di.instance' call
|
|
3496
3496
|
// Inline function 'org.kodein.type.generic' call
|
|
3497
3497
|
var tmp_18 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
|
|
3498
3498
|
var tmp$ret$18 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
3499
|
-
tmp_17.
|
|
3499
|
+
tmp_17.aa2_1 = Instance(di, tmp$ret$18, null).u63(this, toClientEventsObserver$factory_1());
|
|
3500
3500
|
var tmp_19 = this;
|
|
3501
3501
|
// Inline function 'org.kodein.di.instance' call
|
|
3502
3502
|
// Inline function 'org.kodein.type.generic' call
|
|
3503
3503
|
var tmp_20 = typeToken(createKType(getKClass(MechanicEventsObserver), arrayOf([]), false));
|
|
3504
3504
|
var tmp$ret$20 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
3505
|
-
tmp_19.
|
|
3505
|
+
tmp_19.ba2_1 = Instance(di, tmp$ret$20, null).u63(this, mechanicEventsObserver$factory_1());
|
|
3506
3506
|
}
|
|
3507
|
-
protoOf(ServerGameStoreContract).g95 = function () {
|
|
3508
|
-
return plus(plus(plus(plus(plus(this.la1_1.g95(), this.ma1_1.g95()), this.na1_1.g95()), this.oa1_1.g95()), this.pa1_1.g95()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl_0(this))]));
|
|
3509
|
-
};
|
|
3510
3507
|
protoOf(ServerGameStoreContract).h95 = function () {
|
|
3511
|
-
|
|
3508
|
+
return plus(plus(plus(plus(plus(this.ma1_1.h95(), this.na1_1.h95()), this.oa1_1.h95()), this.pa1_1.h95()), this.qa1_1.h95()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl_0(this))]));
|
|
3509
|
+
};
|
|
3510
|
+
protoOf(ServerGameStoreContract).i95 = function () {
|
|
3511
|
+
var tmp = plus(plus(plus(plus(plus(plus(plus(this.ma1_1.i95(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameIfAllBots ? checkBotsMiddleware(_get_logger__rkp4sl_0(this)) : null)), this.na1_1.i95()), this.oa1_1.i95()), this.pa1_1.i95()), this.qa1_1.i95()), 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))).a97(), finishingGameWhenCantStartNewMiddleware()]));
|
|
3512
3512
|
var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this));
|
|
3513
3513
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
3514
3514
|
var tmp1_logger = _get_logger__rkp4sl_0(this);
|
|
@@ -3640,28 +3640,28 @@
|
|
|
3640
3640
|
}
|
|
3641
3641
|
function _no_name_provided__qut3iv_2() {
|
|
3642
3642
|
}
|
|
3643
|
-
protoOf(_no_name_provided__qut3iv_2).
|
|
3643
|
+
protoOf(_no_name_provided__qut3iv_2).s6j = function (action) {
|
|
3644
3644
|
return action instanceof RoundEndedAction;
|
|
3645
3645
|
};
|
|
3646
|
-
protoOf(_no_name_provided__qut3iv_2).
|
|
3646
|
+
protoOf(_no_name_provided__qut3iv_2).j6l = function (store, next, action) {
|
|
3647
3647
|
// Inline function 'games.jass.logic.server.redux.middlewares.finishingGameWhenCantStartNewMiddleware.<anonymous>' call
|
|
3648
3648
|
var action_0 = action instanceof RoundEndedAction ? action : THROW_CCE();
|
|
3649
3649
|
next(action_0);
|
|
3650
3650
|
var state = store.state;
|
|
3651
|
-
if (!get_serverStatePayload_0(state).
|
|
3652
|
-
store.dispatch(Companion_instance_0.withAnalytics(new GameFinishedReason(Reason_DEPLOY_getInstance()), true, state.
|
|
3651
|
+
if (!get_serverStatePayload_0(state).k9t_1.m9t_1 && action_0.isGameFinished) {
|
|
3652
|
+
store.dispatch(Companion_instance_0.withAnalytics(new GameFinishedReason(Reason_DEPLOY_getInstance()), true, state.n6q_1));
|
|
3653
3653
|
}
|
|
3654
3654
|
};
|
|
3655
|
-
protoOf(_no_name_provided__qut3iv_2).
|
|
3656
|
-
return this.
|
|
3655
|
+
protoOf(_no_name_provided__qut3iv_2).r6j = function (store, next, action) {
|
|
3656
|
+
return this.j6l(store, next, action);
|
|
3657
3657
|
};
|
|
3658
3658
|
function _no_name_provided__qut3iv_3(this$0) {
|
|
3659
|
-
this.
|
|
3659
|
+
this.ea2_1 = this$0;
|
|
3660
3660
|
}
|
|
3661
|
-
protoOf(_no_name_provided__qut3iv_3).
|
|
3661
|
+
protoOf(_no_name_provided__qut3iv_3).s6j = function (action) {
|
|
3662
3662
|
return action instanceof MechanicAction;
|
|
3663
3663
|
};
|
|
3664
|
-
protoOf(_no_name_provided__qut3iv_3).
|
|
3664
|
+
protoOf(_no_name_provided__qut3iv_3).j6l = function (store, next, action) {
|
|
3665
3665
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>' call
|
|
3666
3666
|
var action_0 = action instanceof MechanicAction ? action : THROW_CCE();
|
|
3667
3667
|
var state = store.state;
|
|
@@ -3670,18 +3670,18 @@
|
|
|
3670
3670
|
var tmp;
|
|
3671
3671
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
3672
3672
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3673
|
-
var this_0 = this.
|
|
3674
|
-
var tableId = action_0.
|
|
3675
|
-
var gameCreatorPlayerId = action_0.
|
|
3673
|
+
var this_0 = this.ea2_1;
|
|
3674
|
+
var tableId = action_0.w7z_1;
|
|
3675
|
+
var gameCreatorPlayerId = action_0.y7z_1;
|
|
3676
3676
|
// Inline function 'kotlin.collections.map' call
|
|
3677
|
-
var this_1 = action_0.
|
|
3677
|
+
var this_1 = action_0.z7z_1;
|
|
3678
3678
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3679
3679
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
3680
3680
|
var tmp0_iterator = this_1.j();
|
|
3681
3681
|
while (tmp0_iterator.k()) {
|
|
3682
3682
|
var item = tmp0_iterator.l();
|
|
3683
3683
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3684
|
-
var tmp$ret$0 = to(item.
|
|
3684
|
+
var tmp$ret$0 = to(item.x6a_1, PlayerConnectionState_LIVE_getInstance());
|
|
3685
3685
|
destination.e(tmp$ret$0);
|
|
3686
3686
|
}
|
|
3687
3687
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
@@ -3715,7 +3715,7 @@
|
|
|
3715
3715
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3716
3716
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3717
3717
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3718
|
-
var tmp0_aid = this_0.
|
|
3718
|
+
var tmp0_aid = this_0.da2_1.v6h();
|
|
3719
3719
|
// Inline function 'kotlin.collections.map' call
|
|
3720
3720
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3721
3721
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -3740,17 +3740,17 @@
|
|
|
3740
3740
|
} else {
|
|
3741
3741
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
3742
3742
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3743
|
-
var this_2 = this.
|
|
3744
|
-
var table = state.
|
|
3743
|
+
var this_2 = this.ea2_1;
|
|
3744
|
+
var table = state.p6r();
|
|
3745
3745
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3746
|
-
var sendToPlayer_0 = new RoomActionPayload(this_2.
|
|
3746
|
+
var sendToPlayer_0 = new RoomActionPayload(this_2.da2_1.v6h(), table.id, null);
|
|
3747
3747
|
var tmp$ret$18 = mapToClient_16(action_0, sendToPlayer_0);
|
|
3748
3748
|
tmp = listOfNotNull(tmp$ret$18);
|
|
3749
3749
|
} else {
|
|
3750
3750
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
3751
3751
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3752
|
-
var this_3 = this.
|
|
3753
|
-
var tableId_0 = action_0.
|
|
3752
|
+
var this_3 = this.ea2_1;
|
|
3753
|
+
var tableId_0 = action_0.c80_1.id;
|
|
3754
3754
|
var gameCreatorPlayerId_0 = action_0.gameCreatorPlayerId;
|
|
3755
3755
|
// Inline function 'kotlin.collections.map' call
|
|
3756
3756
|
var this_4 = action_0.users;
|
|
@@ -3760,7 +3760,7 @@
|
|
|
3760
3760
|
while (tmp0_iterator_4.k()) {
|
|
3761
3761
|
var item_2 = tmp0_iterator_4.l();
|
|
3762
3762
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3763
|
-
var tmp$ret$20 = to(item_2.
|
|
3763
|
+
var tmp$ret$20 = to(item_2.x6a_1, PlayerConnectionState_LIVE_getInstance());
|
|
3764
3764
|
destination_4.e(tmp$ret$20);
|
|
3765
3765
|
}
|
|
3766
3766
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
@@ -3794,7 +3794,7 @@
|
|
|
3794
3794
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3795
3795
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3796
3796
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3797
|
-
var tmp0_aid_0 = this_3.
|
|
3797
|
+
var tmp0_aid_0 = this_3.da2_1.v6h();
|
|
3798
3798
|
// Inline function 'kotlin.collections.map' call
|
|
3799
3799
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3800
3800
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -3819,44 +3819,44 @@
|
|
|
3819
3819
|
} else {
|
|
3820
3820
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
3821
3821
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3822
|
-
var this_5 = this.
|
|
3823
|
-
var table_0 = state.
|
|
3822
|
+
var this_5 = this.ea2_1;
|
|
3823
|
+
var table_0 = state.p6r();
|
|
3824
3824
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3825
|
-
var sendToPlayer_2 = new RoomActionPayload(this_5.
|
|
3825
|
+
var sendToPlayer_2 = new RoomActionPayload(this_5.da2_1.v6h(), table_0.id, null);
|
|
3826
3826
|
var tmp$ret$38 = mapToClient_14(action_0, sendToPlayer_2);
|
|
3827
3827
|
tmp = listOfNotNull(tmp$ret$38);
|
|
3828
3828
|
} else {
|
|
3829
3829
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
3830
3830
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3831
|
-
var this_6 = this.
|
|
3832
|
-
var table_1 = state.
|
|
3831
|
+
var this_6 = this.ea2_1;
|
|
3832
|
+
var table_1 = state.p6r();
|
|
3833
3833
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3834
|
-
var sendToPlayer_3 = new RoomActionPayload(this_6.
|
|
3834
|
+
var sendToPlayer_3 = new RoomActionPayload(this_6.da2_1.v6h(), table_1.id, null);
|
|
3835
3835
|
var tmp$ret$40 = mapToClient_13(action_0, sendToPlayer_3);
|
|
3836
3836
|
tmp = listOfNotNull(tmp$ret$40);
|
|
3837
3837
|
} else {
|
|
3838
3838
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
3839
3839
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3840
|
-
var this_7 = this.
|
|
3841
|
-
var table_2 = state.
|
|
3840
|
+
var this_7 = this.ea2_1;
|
|
3841
|
+
var table_2 = state.p6r();
|
|
3842
3842
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3843
|
-
var sendToPlayer_4 = new RoomActionPayload(this_7.
|
|
3843
|
+
var sendToPlayer_4 = new RoomActionPayload(this_7.da2_1.v6h(), table_2.id, null);
|
|
3844
3844
|
var tmp$ret$42 = mapToClient_12(action_0, sendToPlayer_4);
|
|
3845
3845
|
tmp = listOfNotNull(tmp$ret$42);
|
|
3846
3846
|
} else {
|
|
3847
3847
|
if (action_0 instanceof ErrorAction) {
|
|
3848
3848
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3849
|
-
var this_8 = this.
|
|
3850
|
-
var table_3 = state.
|
|
3849
|
+
var this_8 = this.ea2_1;
|
|
3850
|
+
var table_3 = state.p6r();
|
|
3851
3851
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3852
|
-
var sendToPlayer_5 = new RoomActionPayload(this_8.
|
|
3852
|
+
var sendToPlayer_5 = new RoomActionPayload(this_8.da2_1.v6h(), table_3.id, null);
|
|
3853
3853
|
var tmp$ret$44 = mapToClient_11(action_0, sendToPlayer_5);
|
|
3854
3854
|
tmp = listOfNotNull(tmp$ret$44);
|
|
3855
3855
|
} else {
|
|
3856
3856
|
if (action_0 instanceof SceneMechanicAction) {
|
|
3857
3857
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
3858
|
-
var this_9 = this.
|
|
3859
|
-
var table_4 = state.
|
|
3858
|
+
var this_9 = this.ea2_1;
|
|
3859
|
+
var table_4 = state.p6r();
|
|
3860
3860
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3861
3861
|
var tableId_1 = table_4.id;
|
|
3862
3862
|
var gameCreatorPlayerId_1 = getGameCreator(table_4.players).playerId;
|
|
@@ -3892,7 +3892,7 @@
|
|
|
3892
3892
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3893
3893
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3894
3894
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3895
|
-
var tmp0_aid_1 = this_9.
|
|
3895
|
+
var tmp0_aid_1 = this_9.da2_1.v6h();
|
|
3896
3896
|
// Inline function 'kotlin.collections.map' call
|
|
3897
3897
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3898
3898
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -3917,8 +3917,8 @@
|
|
|
3917
3917
|
} else {
|
|
3918
3918
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
3919
3919
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
3920
|
-
var this_10 = this.
|
|
3921
|
-
var table_5 = state.
|
|
3920
|
+
var this_10 = this.ea2_1;
|
|
3921
|
+
var table_5 = state.p6r();
|
|
3922
3922
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3923
3923
|
var tableId_2 = table_5.id;
|
|
3924
3924
|
var gameCreatorPlayerId_2 = getGameCreator(table_5.players).playerId;
|
|
@@ -3954,7 +3954,7 @@
|
|
|
3954
3954
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3955
3955
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3956
3956
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3957
|
-
var tmp0_aid_2 = this_10.
|
|
3957
|
+
var tmp0_aid_2 = this_10.da2_1.v6h();
|
|
3958
3958
|
// Inline function 'kotlin.collections.map' call
|
|
3959
3959
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3960
3960
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -3979,8 +3979,8 @@
|
|
|
3979
3979
|
} else {
|
|
3980
3980
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
3981
3981
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
3982
|
-
var this_11 = this.
|
|
3983
|
-
var table_6 = state.
|
|
3982
|
+
var this_11 = this.ea2_1;
|
|
3983
|
+
var table_6 = state.p6r();
|
|
3984
3984
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3985
3985
|
var tableId_3 = table_6.id;
|
|
3986
3986
|
var gameCreatorPlayerId_3 = getGameCreator(table_6.players).playerId;
|
|
@@ -4016,7 +4016,7 @@
|
|
|
4016
4016
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
4017
4017
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
4018
4018
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4019
|
-
var tmp0_aid_3 = this_11.
|
|
4019
|
+
var tmp0_aid_3 = this_11.da2_1.v6h();
|
|
4020
4020
|
// Inline function 'kotlin.collections.map' call
|
|
4021
4021
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4022
4022
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -4029,7 +4029,7 @@
|
|
|
4029
4029
|
}
|
|
4030
4030
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tableId_3, gameCreatorPlayerId_3, element_8, destination_20);
|
|
4031
4031
|
var tmp_0;
|
|
4032
|
-
if (this.
|
|
4032
|
+
if (this.ea2_1.ca2_1.supportBackwardActions && getPlayer(state.p6r().players, sendToPlayer_8.e7e_1).k6x_1.o6x_1) {
|
|
4033
4033
|
tmp_0 = null;
|
|
4034
4034
|
} else {
|
|
4035
4035
|
tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
|
|
@@ -4047,79 +4047,79 @@
|
|
|
4047
4047
|
} else {
|
|
4048
4048
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
4049
4049
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4050
|
-
var this_12 = this.
|
|
4051
|
-
var table_7 = state.
|
|
4052
|
-
var exceptPlayerId = this.
|
|
4050
|
+
var this_12 = this.ea2_1;
|
|
4051
|
+
var table_7 = state.p6r();
|
|
4052
|
+
var exceptPlayerId = this.ea2_1.ca2_1.supportBackwardActions ? action_0.c81_1 : null;
|
|
4053
4053
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4054
|
-
var sendToPlayer_9 = new RoomActionPayload(this_12.
|
|
4054
|
+
var sendToPlayer_9 = new RoomActionPayload(this_12.da2_1.v6h(), table_7.id, exceptPlayerId);
|
|
4055
4055
|
var tmp$ret$94 = mapToClient_7(action_0, sendToPlayer_9);
|
|
4056
4056
|
tmp = listOfNotNull(tmp$ret$94);
|
|
4057
4057
|
} else {
|
|
4058
4058
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
4059
4059
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4060
|
-
var this_13 = this.
|
|
4061
|
-
var table_8 = state.
|
|
4062
|
-
var exceptPlayerId_0 = this.
|
|
4060
|
+
var this_13 = this.ea2_1;
|
|
4061
|
+
var table_8 = state.p6r();
|
|
4062
|
+
var exceptPlayerId_0 = this.ea2_1.ca2_1.supportBackwardActions ? action_0.g81_1 : null;
|
|
4063
4063
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4064
|
-
var sendToPlayer_10 = new RoomActionPayload(this_13.
|
|
4064
|
+
var sendToPlayer_10 = new RoomActionPayload(this_13.da2_1.v6h(), table_8.id, exceptPlayerId_0);
|
|
4065
4065
|
var tmp$ret$96 = mapToClient_6(action_0, sendToPlayer_10);
|
|
4066
4066
|
tmp = listOfNotNull(tmp$ret$96);
|
|
4067
4067
|
} else {
|
|
4068
4068
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
4069
4069
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4070
|
-
var this_14 = this.
|
|
4071
|
-
var table_9 = state.
|
|
4070
|
+
var this_14 = this.ea2_1;
|
|
4071
|
+
var table_9 = state.p6r();
|
|
4072
4072
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4073
|
-
var sendToPlayer_11 = new RoomActionPayload(this_14.
|
|
4073
|
+
var sendToPlayer_11 = new RoomActionPayload(this_14.da2_1.v6h(), table_9.id, null);
|
|
4074
4074
|
var tmp$ret$98 = mapToClient_5(action_0, sendToPlayer_11);
|
|
4075
4075
|
tmp = listOfNotNull(tmp$ret$98);
|
|
4076
4076
|
} else {
|
|
4077
4077
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
4078
4078
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4079
|
-
var this_15 = this.
|
|
4080
|
-
var table_10 = state.
|
|
4081
|
-
var exceptPlayerId_1 = this.
|
|
4079
|
+
var this_15 = this.ea2_1;
|
|
4080
|
+
var table_10 = state.p6r();
|
|
4081
|
+
var exceptPlayerId_1 = this.ea2_1.ca2_1.supportBackwardActions ? action_0.n81_1 : null;
|
|
4082
4082
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4083
|
-
var sendToPlayer_12 = new RoomActionPayload(this_15.
|
|
4083
|
+
var sendToPlayer_12 = new RoomActionPayload(this_15.da2_1.v6h(), table_10.id, exceptPlayerId_1);
|
|
4084
4084
|
var tmp$ret$100 = mapToClient_4(action_0, sendToPlayer_12);
|
|
4085
4085
|
tmp = listOfNotNull(tmp$ret$100);
|
|
4086
4086
|
} else {
|
|
4087
4087
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
4088
4088
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4089
|
-
var this_16 = this.
|
|
4090
|
-
var table_11 = state.
|
|
4091
|
-
var exceptPlayerId_2 = this.
|
|
4089
|
+
var this_16 = this.ea2_1;
|
|
4090
|
+
var table_11 = state.p6r();
|
|
4091
|
+
var exceptPlayerId_2 = this.ea2_1.ca2_1.supportBackwardActions ? action_0.r81_1 : null;
|
|
4092
4092
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4093
|
-
var sendToPlayer_13 = new RoomActionPayload(this_16.
|
|
4093
|
+
var sendToPlayer_13 = new RoomActionPayload(this_16.da2_1.v6h(), table_11.id, exceptPlayerId_2);
|
|
4094
4094
|
var tmp$ret$102 = mapToClient_3(action_0, sendToPlayer_13);
|
|
4095
4095
|
tmp = listOfNotNull(tmp$ret$102);
|
|
4096
4096
|
} else {
|
|
4097
4097
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
4098
4098
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4099
|
-
var this_17 = this.
|
|
4100
|
-
var table_12 = state.
|
|
4099
|
+
var this_17 = this.ea2_1;
|
|
4100
|
+
var table_12 = state.p6r();
|
|
4101
4101
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4102
|
-
var sendToPlayer_14 = new RoomActionPayload(this_17.
|
|
4102
|
+
var sendToPlayer_14 = new RoomActionPayload(this_17.da2_1.v6h(), table_12.id, null);
|
|
4103
4103
|
var tmp$ret$104 = mapToClient_2(action_0, sendToPlayer_14);
|
|
4104
4104
|
tmp = listOfNotNull(tmp$ret$104);
|
|
4105
4105
|
} else {
|
|
4106
4106
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
4107
4107
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4108
|
-
var this_18 = this.
|
|
4109
|
-
var table_13 = state.
|
|
4108
|
+
var this_18 = this.ea2_1;
|
|
4109
|
+
var table_13 = state.p6r();
|
|
4110
4110
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4111
|
-
var sendToPlayer_15 = new RoomActionPayload(this_18.
|
|
4111
|
+
var sendToPlayer_15 = new RoomActionPayload(this_18.da2_1.v6h(), table_13.id, null);
|
|
4112
4112
|
var tmp$ret$106 = mapToClient_1(action_0, sendToPlayer_15);
|
|
4113
4113
|
tmp = listOfNotNull(tmp$ret$106);
|
|
4114
4114
|
} else {
|
|
4115
4115
|
if (action_0 instanceof MessageMechanicAction) {
|
|
4116
|
-
var message = action_0.
|
|
4116
|
+
var message = action_0.z81_1;
|
|
4117
4117
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4118
|
-
var this_19 = this.
|
|
4119
|
-
var table_14 = state.
|
|
4118
|
+
var this_19 = this.ea2_1;
|
|
4119
|
+
var table_14 = state.p6r();
|
|
4120
4120
|
var tmp_1;
|
|
4121
4121
|
var tmp_2;
|
|
4122
|
-
if (this.
|
|
4122
|
+
if (this.ea2_1.ca2_1.supportBackwardActions) {
|
|
4123
4123
|
tmp_2 = isInterface(message, UserMessage);
|
|
4124
4124
|
} else {
|
|
4125
4125
|
tmp_2 = false;
|
|
@@ -4131,17 +4131,17 @@
|
|
|
4131
4131
|
}
|
|
4132
4132
|
var exceptPlayerId_3 = tmp_1;
|
|
4133
4133
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4134
|
-
var sendToPlayer_16 = new RoomActionPayload(this_19.
|
|
4134
|
+
var sendToPlayer_16 = new RoomActionPayload(this_19.da2_1.v6h(), table_14.id, exceptPlayerId_3);
|
|
4135
4135
|
var tmp$ret$108 = mapToClient_0(action_0, sendToPlayer_16);
|
|
4136
4136
|
tmp = listOfNotNull(tmp$ret$108);
|
|
4137
4137
|
} else {
|
|
4138
4138
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
4139
4139
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4140
|
-
var this_20 = this.
|
|
4141
|
-
var table_15 = state.
|
|
4140
|
+
var this_20 = this.ea2_1;
|
|
4141
|
+
var table_15 = state.p6r();
|
|
4142
4142
|
var exceptPlayerId_4 = action_0.playerId;
|
|
4143
4143
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4144
|
-
var sendToPlayer_17 = new RoomActionPayload(this_20.
|
|
4144
|
+
var sendToPlayer_17 = new RoomActionPayload(this_20.da2_1.v6h(), table_15.id, exceptPlayerId_4);
|
|
4145
4145
|
var tmp$ret$110 = mapToClient(action_0, sendToPlayer_17);
|
|
4146
4146
|
tmp = listOfNotNull(tmp$ret$110);
|
|
4147
4147
|
} else {
|
|
@@ -4175,14 +4175,14 @@
|
|
|
4175
4175
|
}
|
|
4176
4176
|
next(action_0);
|
|
4177
4177
|
};
|
|
4178
|
-
protoOf(_no_name_provided__qut3iv_3).
|
|
4179
|
-
return this.
|
|
4178
|
+
protoOf(_no_name_provided__qut3iv_3).r6j = function (store, next, action) {
|
|
4179
|
+
return this.j6l(store, next, action);
|
|
4180
4180
|
};
|
|
4181
4181
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
4182
|
-
this.
|
|
4183
|
-
this.
|
|
4182
|
+
this.ca2_1 = logicConfig;
|
|
4183
|
+
this.da2_1 = idsProvider;
|
|
4184
4184
|
}
|
|
4185
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
4185
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).a97 = function () {
|
|
4186
4186
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
4187
4187
|
return new _no_name_provided__qut3iv_3(this);
|
|
4188
4188
|
};
|
|
@@ -4191,18 +4191,18 @@
|
|
|
4191
4191
|
return new _no_name_provided__qut3iv_4(asyncProvider, provider);
|
|
4192
4192
|
}
|
|
4193
4193
|
function sendMechanicEventsMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
4194
|
-
this.
|
|
4195
|
-
this.
|
|
4194
|
+
this.na2_1 = $provider;
|
|
4195
|
+
this.oa2_1 = $action;
|
|
4196
4196
|
CoroutineImpl.call(this, resultContinuation);
|
|
4197
4197
|
}
|
|
4198
|
-
protoOf(sendMechanicEventsMiddleware$o$handle$slambda).
|
|
4199
|
-
var tmp = this.
|
|
4198
|
+
protoOf(sendMechanicEventsMiddleware$o$handle$slambda).l1e = function ($this$launchDefault, $completion) {
|
|
4199
|
+
var tmp = this.m1e($this$launchDefault, $completion);
|
|
4200
4200
|
tmp.g9_1 = Unit_instance;
|
|
4201
4201
|
tmp.h9_1 = null;
|
|
4202
4202
|
return tmp.m9();
|
|
4203
4203
|
};
|
|
4204
4204
|
protoOf(sendMechanicEventsMiddleware$o$handle$slambda).w9 = function (p1, $completion) {
|
|
4205
|
-
return this.
|
|
4205
|
+
return this.l1e((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
4206
4206
|
};
|
|
4207
4207
|
protoOf(sendMechanicEventsMiddleware$o$handle$slambda).m9 = function () {
|
|
4208
4208
|
var suspendResult = this.g9_1;
|
|
@@ -4213,7 +4213,7 @@
|
|
|
4213
4213
|
case 0:
|
|
4214
4214
|
this.f9_1 = 2;
|
|
4215
4215
|
this.e9_1 = 1;
|
|
4216
|
-
suspendResult = this.
|
|
4216
|
+
suspendResult = this.na2_1.j9u(this.oa2_1, this);
|
|
4217
4217
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4218
4218
|
return suspendResult;
|
|
4219
4219
|
}
|
|
@@ -4235,52 +4235,52 @@
|
|
|
4235
4235
|
}
|
|
4236
4236
|
while (true);
|
|
4237
4237
|
};
|
|
4238
|
-
protoOf(sendMechanicEventsMiddleware$o$handle$slambda).
|
|
4239
|
-
var i = new sendMechanicEventsMiddleware$o$handle$slambda(this.
|
|
4240
|
-
i.
|
|
4238
|
+
protoOf(sendMechanicEventsMiddleware$o$handle$slambda).m1e = function ($this$launchDefault, completion) {
|
|
4239
|
+
var i = new sendMechanicEventsMiddleware$o$handle$slambda(this.na2_1, this.oa2_1, completion);
|
|
4240
|
+
i.pa2_1 = $this$launchDefault;
|
|
4241
4241
|
return i;
|
|
4242
4242
|
};
|
|
4243
4243
|
function sendMechanicEventsMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
4244
4244
|
var i = new sendMechanicEventsMiddleware$o$handle$slambda($provider, $action, resultContinuation);
|
|
4245
4245
|
var l = function ($this$launchDefault, $completion) {
|
|
4246
|
-
return i.
|
|
4246
|
+
return i.l1e($this$launchDefault, $completion);
|
|
4247
4247
|
};
|
|
4248
4248
|
l.$arity = 1;
|
|
4249
4249
|
return l;
|
|
4250
4250
|
}
|
|
4251
4251
|
function _no_name_provided__qut3iv_4($asyncProvider, $provider) {
|
|
4252
|
-
this.
|
|
4253
|
-
this.
|
|
4252
|
+
this.qa2_1 = $asyncProvider;
|
|
4253
|
+
this.ra2_1 = $provider;
|
|
4254
4254
|
}
|
|
4255
|
-
protoOf(_no_name_provided__qut3iv_4).
|
|
4255
|
+
protoOf(_no_name_provided__qut3iv_4).s6j = function (action) {
|
|
4256
4256
|
return action instanceof MechanicAction;
|
|
4257
4257
|
};
|
|
4258
|
-
protoOf(_no_name_provided__qut3iv_4).
|
|
4258
|
+
protoOf(_no_name_provided__qut3iv_4).j6l = function (store, next, action) {
|
|
4259
4259
|
// Inline function 'games.jass.logic.server.redux.middlewares.events.sendMechanicEventsMiddleware.<anonymous>' call
|
|
4260
4260
|
var action_0 = action instanceof MechanicAction ? action : THROW_CCE();
|
|
4261
|
-
this.
|
|
4261
|
+
this.qa2_1.s6g(VOID, sendMechanicEventsMiddleware$o$handle$slambda_0(this.ra2_1, action_0, null));
|
|
4262
4262
|
next(action_0);
|
|
4263
4263
|
};
|
|
4264
|
-
protoOf(_no_name_provided__qut3iv_4).
|
|
4265
|
-
return this.
|
|
4264
|
+
protoOf(_no_name_provided__qut3iv_4).r6j = function (store, next, action) {
|
|
4265
|
+
return this.j6l(store, next, action);
|
|
4266
4266
|
};
|
|
4267
4267
|
function sendToClientActionMiddleware(asyncProvider, provider) {
|
|
4268
4268
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
4269
4269
|
return new _no_name_provided__qut3iv_5(asyncProvider, provider);
|
|
4270
4270
|
}
|
|
4271
4271
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
4272
|
-
this.
|
|
4273
|
-
this.
|
|
4272
|
+
this.aa3_1 = $provider;
|
|
4273
|
+
this.ba3_1 = $action;
|
|
4274
4274
|
CoroutineImpl.call(this, resultContinuation);
|
|
4275
4275
|
}
|
|
4276
|
-
protoOf(sendToClientActionMiddleware$o$handle$slambda).
|
|
4277
|
-
var tmp = this.
|
|
4276
|
+
protoOf(sendToClientActionMiddleware$o$handle$slambda).l1e = function ($this$launchDefault, $completion) {
|
|
4277
|
+
var tmp = this.m1e($this$launchDefault, $completion);
|
|
4278
4278
|
tmp.g9_1 = Unit_instance;
|
|
4279
4279
|
tmp.h9_1 = null;
|
|
4280
4280
|
return tmp.m9();
|
|
4281
4281
|
};
|
|
4282
4282
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).w9 = function (p1, $completion) {
|
|
4283
|
-
return this.
|
|
4283
|
+
return this.l1e((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
4284
4284
|
};
|
|
4285
4285
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).m9 = function () {
|
|
4286
4286
|
var suspendResult = this.g9_1;
|
|
@@ -4291,7 +4291,7 @@
|
|
|
4291
4291
|
case 0:
|
|
4292
4292
|
this.f9_1 = 2;
|
|
4293
4293
|
this.e9_1 = 1;
|
|
4294
|
-
suspendResult = this.
|
|
4294
|
+
suspendResult = this.aa3_1.x9y(this.ba3_1, this);
|
|
4295
4295
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4296
4296
|
return suspendResult;
|
|
4297
4297
|
}
|
|
@@ -4313,34 +4313,34 @@
|
|
|
4313
4313
|
}
|
|
4314
4314
|
while (true);
|
|
4315
4315
|
};
|
|
4316
|
-
protoOf(sendToClientActionMiddleware$o$handle$slambda).
|
|
4317
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
4318
|
-
i.
|
|
4316
|
+
protoOf(sendToClientActionMiddleware$o$handle$slambda).m1e = function ($this$launchDefault, completion) {
|
|
4317
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.aa3_1, this.ba3_1, completion);
|
|
4318
|
+
i.ca3_1 = $this$launchDefault;
|
|
4319
4319
|
return i;
|
|
4320
4320
|
};
|
|
4321
4321
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
4322
4322
|
var i = new sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation);
|
|
4323
4323
|
var l = function ($this$launchDefault, $completion) {
|
|
4324
|
-
return i.
|
|
4324
|
+
return i.l1e($this$launchDefault, $completion);
|
|
4325
4325
|
};
|
|
4326
4326
|
l.$arity = 1;
|
|
4327
4327
|
return l;
|
|
4328
4328
|
}
|
|
4329
4329
|
function _no_name_provided__qut3iv_5($asyncProvider, $provider) {
|
|
4330
|
-
this.
|
|
4331
|
-
this.
|
|
4330
|
+
this.da3_1 = $asyncProvider;
|
|
4331
|
+
this.ea3_1 = $provider;
|
|
4332
4332
|
}
|
|
4333
|
-
protoOf(_no_name_provided__qut3iv_5).
|
|
4333
|
+
protoOf(_no_name_provided__qut3iv_5).s6j = function (action) {
|
|
4334
4334
|
return action instanceof ToClientAction;
|
|
4335
4335
|
};
|
|
4336
|
-
protoOf(_no_name_provided__qut3iv_5).
|
|
4336
|
+
protoOf(_no_name_provided__qut3iv_5).j6l = function (store, next, action) {
|
|
4337
4337
|
// Inline function 'games.jass.logic.server.redux.middlewares.events.sendToClientActionMiddleware.<anonymous>' call
|
|
4338
4338
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
4339
|
-
this.
|
|
4339
|
+
this.da3_1.s6g(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.ea3_1, action_0, null));
|
|
4340
4340
|
next(action_0);
|
|
4341
4341
|
};
|
|
4342
|
-
protoOf(_no_name_provided__qut3iv_5).
|
|
4343
|
-
return this.
|
|
4342
|
+
protoOf(_no_name_provided__qut3iv_5).r6j = function (store, next, action) {
|
|
4343
|
+
return this.j6l(store, next, action);
|
|
4344
4344
|
};
|
|
4345
4345
|
function serverConfigReducer() {
|
|
4346
4346
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
@@ -4348,96 +4348,96 @@
|
|
|
4348
4348
|
}
|
|
4349
4349
|
function _no_name_provided__qut3iv_6() {
|
|
4350
4350
|
}
|
|
4351
|
-
protoOf(_no_name_provided__qut3iv_6).
|
|
4351
|
+
protoOf(_no_name_provided__qut3iv_6).s6j = function (action) {
|
|
4352
4352
|
return action instanceof UpdateServerConfigAction;
|
|
4353
4353
|
};
|
|
4354
|
-
protoOf(_no_name_provided__qut3iv_6).
|
|
4354
|
+
protoOf(_no_name_provided__qut3iv_6).v9d = function (state, action) {
|
|
4355
4355
|
// Inline function 'games.jass.logic.server.redux.reducers.serverConfigReducer.<anonymous>' call
|
|
4356
4356
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
4357
|
-
return state.
|
|
4357
|
+
return state.k92(VOID, get_serverStatePayload_0(state).fa3(action_0.ja1_1));
|
|
4358
4358
|
};
|
|
4359
|
-
protoOf(_no_name_provided__qut3iv_6).
|
|
4360
|
-
return this.
|
|
4359
|
+
protoOf(_no_name_provided__qut3iv_6).k6l = function (state, action) {
|
|
4360
|
+
return this.v9d((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
4361
4361
|
};
|
|
4362
4362
|
function ServerMechanicLifecycleReducer$onStart$lambda($action) {
|
|
4363
4363
|
return function (it) {
|
|
4364
4364
|
var tmp = Companion_instance_1;
|
|
4365
4365
|
var tmp_0;
|
|
4366
4366
|
if (it.isBot) {
|
|
4367
|
-
tmp_0 = Companion_instance_2.
|
|
4367
|
+
tmp_0 = Companion_instance_2.z6b(PlayerConnectionState_LEFT_getInstance());
|
|
4368
4368
|
} else {
|
|
4369
4369
|
var tmp_1 = Companion_instance_2;
|
|
4370
4370
|
var tmp_2 = PlayerConnectionState_LIVE_getInstance();
|
|
4371
4371
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
4372
4372
|
Companion_getInstance();
|
|
4373
|
-
var this_0 = $action.
|
|
4373
|
+
var this_0 = $action.v7z_1.timeoutTimeMillis;
|
|
4374
4374
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
4375
|
-
tmp_0 = tmp_1.
|
|
4375
|
+
tmp_0 = tmp_1.y6b(tmp_2, tmp$ret$0);
|
|
4376
4376
|
}
|
|
4377
|
-
return tmp.
|
|
4377
|
+
return tmp.g6d(tmp_0);
|
|
4378
4378
|
};
|
|
4379
4379
|
}
|
|
4380
4380
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
4381
4381
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
4382
|
-
this.
|
|
4382
|
+
this.ia3_1 = logger;
|
|
4383
4383
|
}
|
|
4384
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
4385
|
-
var serverState = get_serverStatePayloadOrNull(state.
|
|
4384
|
+
protoOf(ServerMechanicLifecycleReducer).h9f = function (state, action) {
|
|
4385
|
+
var serverState = get_serverStatePayloadOrNull(state.o6q_1);
|
|
4386
4386
|
var tmp8_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
4387
|
-
var tmp0_$this = this.
|
|
4388
|
-
var tmp1_tableId = action.
|
|
4389
|
-
var tmp2_gameId = action.
|
|
4390
|
-
var tmp3_version = action.
|
|
4391
|
-
var tmp4_config = action.
|
|
4392
|
-
var tmp5_users = action.
|
|
4387
|
+
var tmp0_$this = this.i9f_1;
|
|
4388
|
+
var tmp1_tableId = action.w7z_1;
|
|
4389
|
+
var tmp2_gameId = action.w7z_1;
|
|
4390
|
+
var tmp3_version = action.x7z_1;
|
|
4391
|
+
var tmp4_config = action.v7z_1;
|
|
4392
|
+
var tmp5_users = action.z7z_1;
|
|
4393
4393
|
var tmp6_spectators = action.spectators;
|
|
4394
|
-
var tmp7_gameCreatorPlayerId = action.
|
|
4395
|
-
var tmp9_tableOrNull = tmp0_$this.
|
|
4394
|
+
var tmp7_gameCreatorPlayerId = action.y7z_1;
|
|
4395
|
+
var tmp9_tableOrNull = tmp0_$this.n9g(tmp1_tableId, tmp2_gameId, tmp4_config, tmp3_version, tmp5_users, tmp6_spectators, tmp7_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
|
|
4396
4396
|
var tmp;
|
|
4397
4397
|
if (serverState == null) {
|
|
4398
|
-
this.
|
|
4399
|
-
tmp = Companion_instance_11.
|
|
4398
|
+
this.ia3_1.w(VOID, 'ServerPayload is not onStart');
|
|
4399
|
+
tmp = Companion_instance_11.b9u();
|
|
4400
4400
|
} else {
|
|
4401
4401
|
tmp = serverState;
|
|
4402
4402
|
}
|
|
4403
4403
|
var tmp10_payload = tmp;
|
|
4404
|
-
return state.
|
|
4404
|
+
return state.k92(tmp9_tableOrNull, tmp10_payload, tmp8_gameLifecycleState);
|
|
4405
4405
|
};
|
|
4406
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
4406
|
+
protoOf(ServerMechanicLifecycleReducer).f9f = function (state, action) {
|
|
4407
4407
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
4408
|
-
var tmp2_tableOrNull = action.
|
|
4408
|
+
var tmp2_tableOrNull = action.c80_1;
|
|
4409
4409
|
var tmp = Companion_instance_11;
|
|
4410
|
-
var tmp_0 = get_serverStatePayload_0(state).
|
|
4411
|
-
var tmp_1 = action.
|
|
4410
|
+
var tmp_0 = get_serverStatePayload_0(state).k9t_1;
|
|
4411
|
+
var tmp_1 = action.d80_1;
|
|
4412
4412
|
var tmp0_safe_receiver = tmp_1 instanceof RestartRoundReason ? tmp_1 : null;
|
|
4413
|
-
var tmp3_payload = tmp.
|
|
4414
|
-
return state.
|
|
4413
|
+
var tmp3_payload = tmp.ja3(tmp_0.n9t(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.p69_1));
|
|
4414
|
+
return state.k92(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
|
|
4415
4415
|
};
|
|
4416
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
4417
|
-
this.
|
|
4416
|
+
protoOf(ServerMechanicLifecycleReducer).g9f = function (state, action) {
|
|
4417
|
+
this.j9f_1.h5r(action.previousGameId);
|
|
4418
4418
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
4419
|
-
var tmp1_tableOrNull = this.
|
|
4420
|
-
return state.
|
|
4419
|
+
var tmp1_tableOrNull = this.i9f_1.o9g(state.p6r(), action.gameId);
|
|
4420
|
+
return state.k92(tmp1_tableOrNull, VOID, tmp0_gameLifecycleState);
|
|
4421
4421
|
};
|
|
4422
4422
|
function spectatorsReducer(logger) {
|
|
4423
4423
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
4424
4424
|
return new _no_name_provided__qut3iv_7(logger);
|
|
4425
4425
|
}
|
|
4426
4426
|
function _no_name_provided__qut3iv_7($logger) {
|
|
4427
|
-
this.
|
|
4427
|
+
this.ka3_1 = $logger;
|
|
4428
4428
|
}
|
|
4429
|
-
protoOf(_no_name_provided__qut3iv_7).
|
|
4429
|
+
protoOf(_no_name_provided__qut3iv_7).s6j = function (action) {
|
|
4430
4430
|
return isInterface(action, SpectatorsAction);
|
|
4431
4431
|
};
|
|
4432
|
-
protoOf(_no_name_provided__qut3iv_7).
|
|
4432
|
+
protoOf(_no_name_provided__qut3iv_7).v9d = function (state, action) {
|
|
4433
4433
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>' call
|
|
4434
4434
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
4435
|
-
var table = state.
|
|
4435
|
+
var table = state.p6r();
|
|
4436
4436
|
var tmp;
|
|
4437
4437
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
4438
4438
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
4439
4439
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
4440
|
-
var this_0 = action_0.
|
|
4440
|
+
var this_0 = action_0.ka1_1;
|
|
4441
4441
|
var destination = ArrayList_init_$Create$_0();
|
|
4442
4442
|
// Inline function 'kotlin.collections.forEach' call
|
|
4443
4443
|
var tmp0_iterator = this_0.j();
|
|
@@ -4445,7 +4445,7 @@
|
|
|
4445
4445
|
var element = tmp0_iterator.l();
|
|
4446
4446
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
4447
4447
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>.<anonymous>' call
|
|
4448
|
-
var tmp0_safe_receiver = singleOrNull(filterByPlayerId(table.spectators, element.
|
|
4448
|
+
var tmp0_safe_receiver = singleOrNull(filterByPlayerId(table.spectators, element.x6a_1));
|
|
4449
4449
|
if (tmp0_safe_receiver == null)
|
|
4450
4450
|
null;
|
|
4451
4451
|
else {
|
|
@@ -4459,10 +4459,10 @@
|
|
|
4459
4459
|
var tmp_0;
|
|
4460
4460
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
4461
4461
|
if (!sameSpectators.p()) {
|
|
4462
|
-
this.
|
|
4462
|
+
this.ka3_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
4463
4463
|
// Inline function 'kotlin.collections.filterNot' call
|
|
4464
4464
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
4465
|
-
var this_1 = action_0.
|
|
4465
|
+
var this_1 = action_0.ka1_1;
|
|
4466
4466
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
4467
4467
|
var tmp0_iterator_0 = this_1.j();
|
|
4468
4468
|
while (tmp0_iterator_0.k()) {
|
|
@@ -4485,7 +4485,7 @@
|
|
|
4485
4485
|
while (tmp0_iterator_1.k()) {
|
|
4486
4486
|
var element_1 = tmp0_iterator_1.l();
|
|
4487
4487
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>.<anonymous>.<anonymous>' call
|
|
4488
|
-
if (element_0.
|
|
4488
|
+
if (element_0.x6a_1 === element_1.playerId) {
|
|
4489
4489
|
tmp$ret$5 = true;
|
|
4490
4490
|
break $l$block_0;
|
|
4491
4491
|
}
|
|
@@ -4498,7 +4498,7 @@
|
|
|
4498
4498
|
}
|
|
4499
4499
|
tmp_0 = destination_0;
|
|
4500
4500
|
} else {
|
|
4501
|
-
tmp_0 = action_0.
|
|
4501
|
+
tmp_0 = action_0.ka1_1;
|
|
4502
4502
|
}
|
|
4503
4503
|
var this_2 = tmp_0;
|
|
4504
4504
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -4511,12 +4511,12 @@
|
|
|
4511
4511
|
destination_1.e(tmp$ret$10);
|
|
4512
4512
|
}
|
|
4513
4513
|
var spectatorsToAdd = toSet(destination_1);
|
|
4514
|
-
tmp = state.
|
|
4514
|
+
tmp = state.k92(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
|
|
4515
4515
|
} else {
|
|
4516
4516
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
4517
4517
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
4518
4518
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
4519
|
-
var this_3 = action_0.
|
|
4519
|
+
var this_3 = action_0.la1_1;
|
|
4520
4520
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
4521
4521
|
// Inline function 'kotlin.collections.forEach' call
|
|
4522
4522
|
var tmp0_iterator_3 = this_3.j();
|
|
@@ -4524,7 +4524,7 @@
|
|
|
4524
4524
|
var element_2 = tmp0_iterator_3.l();
|
|
4525
4525
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
4526
4526
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>.<anonymous>' call
|
|
4527
|
-
var tmp0_safe_receiver_0 = singleOrNull(filterByPlayerId(table.spectators, element_2.
|
|
4527
|
+
var tmp0_safe_receiver_0 = singleOrNull(filterByPlayerId(table.spectators, element_2.x6a_1));
|
|
4528
4528
|
if (tmp0_safe_receiver_0 == null)
|
|
4529
4529
|
null;
|
|
4530
4530
|
else {
|
|
@@ -4537,10 +4537,10 @@
|
|
|
4537
4537
|
var tmp_2;
|
|
4538
4538
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
4539
4539
|
if (!sameSpectators_0.p()) {
|
|
4540
|
-
this.
|
|
4540
|
+
this.ka3_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
4541
4541
|
// Inline function 'kotlin.collections.filterNot' call
|
|
4542
4542
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
4543
|
-
var this_4 = action_0.
|
|
4543
|
+
var this_4 = action_0.la1_1;
|
|
4544
4544
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
4545
4545
|
var tmp0_iterator_4 = this_4.j();
|
|
4546
4546
|
while (tmp0_iterator_4.k()) {
|
|
@@ -4563,7 +4563,7 @@
|
|
|
4563
4563
|
while (tmp0_iterator_5.k()) {
|
|
4564
4564
|
var element_4 = tmp0_iterator_5.l();
|
|
4565
4565
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>.<anonymous>.<anonymous>' call
|
|
4566
|
-
if (element_3.
|
|
4566
|
+
if (element_3.x6a_1 === element_4.playerId) {
|
|
4567
4567
|
tmp$ret$18 = true;
|
|
4568
4568
|
break $l$block_2;
|
|
4569
4569
|
}
|
|
@@ -4576,7 +4576,7 @@
|
|
|
4576
4576
|
}
|
|
4577
4577
|
tmp_2 = destination_3;
|
|
4578
4578
|
} else {
|
|
4579
|
-
tmp_2 = action_0.
|
|
4579
|
+
tmp_2 = action_0.la1_1;
|
|
4580
4580
|
}
|
|
4581
4581
|
var spectatorsToRemove = toSet(tmp_2);
|
|
4582
4582
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -4604,7 +4604,7 @@
|
|
|
4604
4604
|
while (tmp0_iterator_7.k()) {
|
|
4605
4605
|
var element_6 = tmp0_iterator_7.l();
|
|
4606
4606
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>.<anonymous>.<anonymous>' call
|
|
4607
|
-
if (element_5.playerId === element_6.
|
|
4607
|
+
if (element_5.playerId === element_6.x6a_1) {
|
|
4608
4608
|
tmp$ret$23 = true;
|
|
4609
4609
|
break $l$block_4;
|
|
4610
4610
|
}
|
|
@@ -4615,40 +4615,40 @@
|
|
|
4615
4615
|
destination_4.e(element_5);
|
|
4616
4616
|
}
|
|
4617
4617
|
}
|
|
4618
|
-
tmp = state.
|
|
4618
|
+
tmp = state.k92(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
|
|
4619
4619
|
} else {
|
|
4620
4620
|
noWhenBranchMatchedException();
|
|
4621
4621
|
}
|
|
4622
4622
|
}
|
|
4623
4623
|
return tmp;
|
|
4624
4624
|
};
|
|
4625
|
-
protoOf(_no_name_provided__qut3iv_7).
|
|
4626
|
-
return this.
|
|
4625
|
+
protoOf(_no_name_provided__qut3iv_7).k6l = function (state, action) {
|
|
4626
|
+
return this.v9d((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
4627
4627
|
};
|
|
4628
4628
|
function Companion_3() {
|
|
4629
4629
|
}
|
|
4630
|
-
protoOf(Companion_3).
|
|
4630
|
+
protoOf(Companion_3).ja3 = function (config) {
|
|
4631
4631
|
return new ServerStatePayload(config);
|
|
4632
4632
|
};
|
|
4633
|
-
protoOf(Companion_3).
|
|
4634
|
-
config = config === VOID ? Companion_instance_8.
|
|
4635
|
-
return $super === VOID ? this.
|
|
4633
|
+
protoOf(Companion_3).b9u = function (config, $super) {
|
|
4634
|
+
config = config === VOID ? Companion_instance_8.f9u(null) : config;
|
|
4635
|
+
return $super === VOID ? this.ja3(config) : $super.ja3.call(this, config);
|
|
4636
4636
|
};
|
|
4637
4637
|
var Companion_instance_11;
|
|
4638
4638
|
function Companion_getInstance_4() {
|
|
4639
4639
|
return Companion_instance_11;
|
|
4640
4640
|
}
|
|
4641
4641
|
function ServerStatePayload(config) {
|
|
4642
|
-
this.
|
|
4642
|
+
this.k9t_1 = config;
|
|
4643
4643
|
}
|
|
4644
|
-
protoOf(ServerStatePayload).
|
|
4644
|
+
protoOf(ServerStatePayload).fa3 = function (config) {
|
|
4645
4645
|
return new ServerStatePayload(config);
|
|
4646
4646
|
};
|
|
4647
4647
|
protoOf(ServerStatePayload).toString = function () {
|
|
4648
|
-
return 'ServerStatePayload(config=' + this.
|
|
4648
|
+
return 'ServerStatePayload(config=' + this.k9t_1.toString() + ')';
|
|
4649
4649
|
};
|
|
4650
4650
|
protoOf(ServerStatePayload).hashCode = function () {
|
|
4651
|
-
return this.
|
|
4651
|
+
return this.k9t_1.hashCode();
|
|
4652
4652
|
};
|
|
4653
4653
|
protoOf(ServerStatePayload).equals = function (other) {
|
|
4654
4654
|
if (this === other)
|
|
@@ -4656,7 +4656,7 @@
|
|
|
4656
4656
|
if (!(other instanceof ServerStatePayload))
|
|
4657
4657
|
return false;
|
|
4658
4658
|
var tmp0_other_with_cast = other instanceof ServerStatePayload ? other : THROW_CCE();
|
|
4659
|
-
if (!this.
|
|
4659
|
+
if (!this.k9t_1.equals(tmp0_other_with_cast.k9t_1))
|
|
4660
4660
|
return false;
|
|
4661
4661
|
return true;
|
|
4662
4662
|
};
|
|
@@ -4668,7 +4668,7 @@
|
|
|
4668
4668
|
}
|
|
4669
4669
|
function get_serverStatePayload_0(_this__u8e3s4) {
|
|
4670
4670
|
// Inline function 'kotlin.requireNotNull' call
|
|
4671
|
-
var value = _this__u8e3s4.
|
|
4671
|
+
var value = _this__u8e3s4.o6q_1;
|
|
4672
4672
|
// Inline function 'kotlin.contracts.contract' call
|
|
4673
4673
|
var tmp$ret$1;
|
|
4674
4674
|
$l$block: {
|
|
@@ -4694,30 +4694,30 @@
|
|
|
4694
4694
|
}
|
|
4695
4695
|
function _get_controllerLogger__nbd727($this) {
|
|
4696
4696
|
// Inline function 'kotlin.getValue' call
|
|
4697
|
-
var this_0 = $this.
|
|
4697
|
+
var this_0 = $this.ta3_1;
|
|
4698
4698
|
controllerLogger$factory();
|
|
4699
4699
|
return this_0.u();
|
|
4700
4700
|
}
|
|
4701
4701
|
function _get_di__ndbzja($this) {
|
|
4702
4702
|
// Inline function 'kotlin.getValue' call
|
|
4703
|
-
var this_0 = $this.
|
|
4703
|
+
var this_0 = $this.ua3_1;
|
|
4704
4704
|
di$factory();
|
|
4705
4705
|
return this_0.u();
|
|
4706
4706
|
}
|
|
4707
4707
|
function createDI($this, combinedLogger, coreConfig, serverConfig, logicConfig, botConfig, dealerConfig, externalReducers, externalMiddlewares, externalModule) {
|
|
4708
4708
|
var tmp = Companion_instance_3;
|
|
4709
|
-
return tmp.
|
|
4709
|
+
return tmp.i5y(VOID, GameServerEngineControllerImpl$createDI$lambda(combinedLogger, externalModule, $this, coreConfig, serverConfig, logicConfig, botConfig, dealerConfig, externalReducers, externalMiddlewares));
|
|
4710
4710
|
}
|
|
4711
4711
|
function GameServerEngineControllerImpl$controllerLogger$delegate$lambda(this$0) {
|
|
4712
4712
|
return function () {
|
|
4713
4713
|
var tmp;
|
|
4714
|
-
if (this$0.
|
|
4714
|
+
if (this$0.ra3_1 == null) {
|
|
4715
4715
|
tmp = null;
|
|
4716
4716
|
} else {
|
|
4717
4717
|
// Inline function 'kotlin.let' call
|
|
4718
4718
|
// Inline function 'kotlin.contracts.contract' call
|
|
4719
4719
|
// Inline function 'GameServerEngineControllerImpl.controllerLogger$delegate.<anonymous>.<anonymous>' call
|
|
4720
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
4720
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.ra3_1)]));
|
|
4721
4721
|
}
|
|
4722
4722
|
var tmp1_elvis_lhs = tmp;
|
|
4723
4723
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -4734,38 +4734,38 @@
|
|
|
4734
4734
|
// Inline function 'org.kodein.type.generic' call
|
|
4735
4735
|
var tmp = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
4736
4736
|
var tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
|
|
4737
|
-
var tmp_0 = $this$DI.
|
|
4737
|
+
var tmp_0 = $this$DI.z5x(tmp$ret$0, null, null);
|
|
4738
4738
|
// Inline function 'org.kodein.di.provider' call
|
|
4739
4739
|
var creator = GameServerEngineControllerImpl$di$delegate$lambda$lambda$lambda(this$0);
|
|
4740
|
-
var tmp_1 = $this$DI.
|
|
4740
|
+
var tmp_1 = $this$DI.c5y();
|
|
4741
4741
|
// Inline function 'org.kodein.type.generic' call
|
|
4742
4742
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
4743
4743
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
4744
4744
|
var tmp$ret$3 = new Provider(tmp_1, tmp$ret$2, creator);
|
|
4745
|
-
tmp_0.
|
|
4746
|
-
$this$DI.
|
|
4747
|
-
$this$DI.
|
|
4748
|
-
$this$DI.
|
|
4745
|
+
tmp_0.x61(tmp$ret$3);
|
|
4746
|
+
$this$DI.b5y(jsonModule());
|
|
4747
|
+
$this$DI.b5y(serverHelpersModule());
|
|
4748
|
+
$this$DI.b5y(randomOrgModule(this$0.sa3_1));
|
|
4749
4749
|
return Unit_instance;
|
|
4750
4750
|
};
|
|
4751
4751
|
}
|
|
4752
4752
|
function GameServerEngineControllerImpl$di$delegate$lambda(this$0) {
|
|
4753
4753
|
return function () {
|
|
4754
4754
|
var tmp = Companion_instance_3;
|
|
4755
|
-
return tmp.
|
|
4755
|
+
return tmp.i5y(VOID, GameServerEngineControllerImpl$di$delegate$lambda$lambda(this$0));
|
|
4756
4756
|
};
|
|
4757
4757
|
}
|
|
4758
4758
|
function _no_name_provided__qut3iv_8($item) {
|
|
4759
|
-
this.
|
|
4759
|
+
this.aa4_1 = $item;
|
|
4760
4760
|
}
|
|
4761
|
-
protoOf(_no_name_provided__qut3iv_8).
|
|
4761
|
+
protoOf(_no_name_provided__qut3iv_8).s6j = function (action) {
|
|
4762
4762
|
return isInterface(action, Action);
|
|
4763
4763
|
};
|
|
4764
|
-
protoOf(_no_name_provided__qut3iv_8).
|
|
4765
|
-
return this.
|
|
4764
|
+
protoOf(_no_name_provided__qut3iv_8).v9d = function (state, action) {
|
|
4765
|
+
return this.aa4_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
4766
4766
|
};
|
|
4767
|
-
protoOf(_no_name_provided__qut3iv_8).
|
|
4768
|
-
return this.
|
|
4767
|
+
protoOf(_no_name_provided__qut3iv_8).k6l = function (state, action) {
|
|
4768
|
+
return this.v9d((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
4769
4769
|
};
|
|
4770
4770
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($fileLoggerOutput) {
|
|
4771
4771
|
return function ($this$singleton) {
|
|
@@ -4785,17 +4785,17 @@
|
|
|
4785
4785
|
// Inline function 'org.kodein.type.generic' call
|
|
4786
4786
|
var tmp_0 = typeToken(createKType(getKClass(FileLoggerOutput), arrayOf([]), false));
|
|
4787
4787
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
4788
|
-
var tmp_1 = $this$Module.
|
|
4788
|
+
var tmp_1 = $this$Module.z5x(tmp$ret$0, null, null);
|
|
4789
4789
|
// Inline function 'org.kodein.di.singleton' call
|
|
4790
4790
|
var creator = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($fileLoggerOutput);
|
|
4791
|
-
var tmp_2 = $this$Module.
|
|
4792
|
-
var tmp_3 = $this$Module.
|
|
4793
|
-
var tmp_4 = $this$Module.
|
|
4791
|
+
var tmp_2 = $this$Module.e5y();
|
|
4792
|
+
var tmp_3 = $this$Module.c5y();
|
|
4793
|
+
var tmp_4 = $this$Module.d5y();
|
|
4794
4794
|
// Inline function 'org.kodein.type.generic' call
|
|
4795
4795
|
var tmp_5 = typeToken(createKType(getKClass(FileLoggerOutputImpl), arrayOf([]), false));
|
|
4796
4796
|
var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
4797
4797
|
var tmp$ret$3 = new Singleton(tmp_2, tmp_3, tmp_4, tmp$ret$2, null, true, creator);
|
|
4798
|
-
tmp_1.
|
|
4798
|
+
tmp_1.x61(tmp$ret$3);
|
|
4799
4799
|
tmp = Unit_instance;
|
|
4800
4800
|
}
|
|
4801
4801
|
var tmp_6;
|
|
@@ -4804,17 +4804,17 @@
|
|
|
4804
4804
|
// Inline function 'org.kodein.type.generic' call
|
|
4805
4805
|
var tmp_7 = typeToken(createKType(getKClass(CallbackWrapperLoggerOutput), arrayOf([]), false));
|
|
4806
4806
|
var tmp$ret$4 = isInterface(tmp_7, TypeToken) ? tmp_7 : THROW_CCE();
|
|
4807
|
-
var tmp_8 = $this$Module.
|
|
4807
|
+
var tmp_8 = $this$Module.z5x(tmp$ret$4, null, null);
|
|
4808
4808
|
// Inline function 'org.kodein.di.singleton' call
|
|
4809
4809
|
var creator_0 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda_0($callbackWrapperLoggerOutput);
|
|
4810
|
-
var tmp_9 = $this$Module.
|
|
4811
|
-
var tmp_10 = $this$Module.
|
|
4812
|
-
var tmp_11 = $this$Module.
|
|
4810
|
+
var tmp_9 = $this$Module.e5y();
|
|
4811
|
+
var tmp_10 = $this$Module.c5y();
|
|
4812
|
+
var tmp_11 = $this$Module.d5y();
|
|
4813
4813
|
// Inline function 'org.kodein.type.generic' call
|
|
4814
4814
|
var tmp_12 = typeToken(createKType(getKClass(CallbackWrapperLoggerOutput), arrayOf([]), false));
|
|
4815
4815
|
var tmp$ret$6 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
4816
4816
|
var tmp$ret$7 = new Singleton(tmp_9, tmp_10, tmp_11, tmp$ret$6, null, true, creator_0);
|
|
4817
|
-
tmp_8.
|
|
4817
|
+
tmp_8.x61(tmp$ret$7);
|
|
4818
4818
|
tmp_6 = Unit_instance;
|
|
4819
4819
|
}
|
|
4820
4820
|
return Unit_instance;
|
|
@@ -4822,10 +4822,10 @@
|
|
|
4822
4822
|
}
|
|
4823
4823
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0($gameServer) {
|
|
4824
4824
|
return function (it) {
|
|
4825
|
-
var tmp0_elvis_lhs = Companion_instance_4.
|
|
4825
|
+
var tmp0_elvis_lhs = Companion_instance_4.q9i(it);
|
|
4826
4826
|
var tmp;
|
|
4827
4827
|
if (tmp0_elvis_lhs == null) {
|
|
4828
|
-
var tmp1_safe_receiver = $gameServer.
|
|
4828
|
+
var tmp1_safe_receiver = $gameServer.h6b().n6q_1;
|
|
4829
4829
|
tmp = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.gameId;
|
|
4830
4830
|
} else {
|
|
4831
4831
|
tmp = tmp0_elvis_lhs;
|
|
@@ -4835,10 +4835,10 @@
|
|
|
4835
4835
|
}
|
|
4836
4836
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1($gameServer) {
|
|
4837
4837
|
return function (it) {
|
|
4838
|
-
var tmp0_elvis_lhs = Companion_instance_5.
|
|
4838
|
+
var tmp0_elvis_lhs = Companion_instance_5.b9h(it);
|
|
4839
4839
|
var tmp;
|
|
4840
4840
|
if (tmp0_elvis_lhs == null) {
|
|
4841
|
-
var tmp1_safe_receiver = $gameServer.
|
|
4841
|
+
var tmp1_safe_receiver = $gameServer.h6b().n6q_1;
|
|
4842
4842
|
tmp = tmp1_safe_receiver == null ? null : toLoggerPayload(tmp1_safe_receiver);
|
|
4843
4843
|
} else {
|
|
4844
4844
|
tmp = tmp0_elvis_lhs;
|
|
@@ -4848,94 +4848,94 @@
|
|
|
4848
4848
|
}
|
|
4849
4849
|
function GameServerEngineControllerImpl$createDI$lambda($combinedLogger, $externalModule, this$0, $coreConfig, $serverConfig, $logicConfig, $botConfig, $dealerConfig, $externalReducers, $externalMiddlewares) {
|
|
4850
4850
|
return function ($this$DI) {
|
|
4851
|
-
$this$DI.
|
|
4851
|
+
$this$DI.b5y(combinedLoggerModule($combinedLogger));
|
|
4852
4852
|
var tmp0_safe_receiver = $externalModule;
|
|
4853
4853
|
if (tmp0_safe_receiver == null)
|
|
4854
4854
|
null;
|
|
4855
4855
|
else {
|
|
4856
4856
|
// Inline function 'kotlin.let' call
|
|
4857
4857
|
// Inline function 'kotlin.contracts.contract' call
|
|
4858
|
-
$this$DI.
|
|
4858
|
+
$this$DI.b5y(tmp0_safe_receiver);
|
|
4859
4859
|
}
|
|
4860
|
-
$this$DI.
|
|
4861
|
-
$this$DI.
|
|
4862
|
-
$this$DI.
|
|
4860
|
+
$this$DI.b5y(dealerModule(this$0.randomPoolProvider, this$0.sa3_1));
|
|
4861
|
+
$this$DI.b5y(coreModule($coreConfig));
|
|
4862
|
+
$this$DI.b5y(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $externalReducers, $externalMiddlewares));
|
|
4863
4863
|
return Unit_instance;
|
|
4864
4864
|
};
|
|
4865
4865
|
}
|
|
4866
4866
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
4867
4867
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
4868
4868
|
production = production === VOID ? true : production;
|
|
4869
|
-
this.
|
|
4870
|
-
this.
|
|
4871
|
-
AppEnvironment_getInstance().
|
|
4869
|
+
this.ra3_1 = loggerCallback;
|
|
4870
|
+
this.sa3_1 = randomOrgConfig;
|
|
4871
|
+
AppEnvironment_getInstance().v6p(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
|
|
4872
4872
|
var tmp = this;
|
|
4873
|
-
tmp.
|
|
4873
|
+
tmp.ta3_1 = lazy(GameServerEngineControllerImpl$controllerLogger$delegate$lambda(this));
|
|
4874
4874
|
var tmp_0 = this;
|
|
4875
|
-
tmp_0.
|
|
4875
|
+
tmp_0.ua3_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
4876
4876
|
var tmp_1 = this;
|
|
4877
4877
|
// Inline function 'org.kodein.di.instance' call
|
|
4878
4878
|
var this_0 = _get_di__ndbzja(this);
|
|
4879
4879
|
// Inline function 'org.kodein.type.generic' call
|
|
4880
4880
|
var tmp_2 = typeToken(createKType(getKClass(ParserHelper), arrayOf([]), false));
|
|
4881
4881
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
4882
|
-
tmp_1.
|
|
4882
|
+
tmp_1.va3_1 = Instance(this_0, tmp$ret$0, null).u63(this, parser$factory());
|
|
4883
4883
|
var tmp_3 = this;
|
|
4884
4884
|
// Inline function 'org.kodein.di.instance' call
|
|
4885
4885
|
var this_1 = _get_di__ndbzja(this);
|
|
4886
4886
|
// Inline function 'org.kodein.type.generic' call
|
|
4887
4887
|
var tmp_4 = typeToken(createKType(getKClass(GameHelper), arrayOf([]), false));
|
|
4888
4888
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
4889
|
-
tmp_3.
|
|
4889
|
+
tmp_3.wa3_1 = Instance(this_1, tmp$ret$2, null).u63(this, helper$factory());
|
|
4890
4890
|
var tmp_5 = this;
|
|
4891
4891
|
// Inline function 'org.kodein.di.instance' call
|
|
4892
4892
|
var this_2 = _get_di__ndbzja(this);
|
|
4893
4893
|
// Inline function 'org.kodein.type.generic' call
|
|
4894
4894
|
var tmp_6 = typeToken(createKType(getKClass(GameResources), arrayOf([]), false));
|
|
4895
4895
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
4896
|
-
tmp_5.
|
|
4896
|
+
tmp_5.xa3_1 = Instance(this_2, tmp$ret$4, null).u63(this, resources$factory());
|
|
4897
4897
|
var tmp_7 = this;
|
|
4898
4898
|
// Inline function 'org.kodein.di.instance' call
|
|
4899
4899
|
var this_3 = _get_di__ndbzja(this);
|
|
4900
4900
|
// Inline function 'org.kodein.type.generic' call
|
|
4901
4901
|
var tmp_8 = typeToken(createKType(getKClass(TestHelper), arrayOf([]), false));
|
|
4902
4902
|
var tmp$ret$6 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
4903
|
-
tmp_7.
|
|
4903
|
+
tmp_7.ya3_1 = Instance(this_3, tmp$ret$6, null).u63(this, test$factory());
|
|
4904
4904
|
var tmp_9 = this;
|
|
4905
4905
|
// Inline function 'org.kodein.di.instance' call
|
|
4906
4906
|
var this_4 = _get_di__ndbzja(this);
|
|
4907
4907
|
// Inline function 'org.kodein.type.generic' call
|
|
4908
4908
|
var tmp_10 = typeToken(createKType(getKClass(RandomPoolProvider), arrayOf([]), false));
|
|
4909
4909
|
var tmp$ret$8 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
4910
|
-
tmp_9.
|
|
4910
|
+
tmp_9.za3_1 = Instance(this_4, tmp$ret$8, null).u63(this, randomPoolProvider$factory());
|
|
4911
4911
|
}
|
|
4912
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4912
|
+
protoOf(GameServerEngineControllerImpl).la3 = function () {
|
|
4913
4913
|
// Inline function 'kotlin.getValue' call
|
|
4914
|
-
var this_0 = this.
|
|
4914
|
+
var this_0 = this.va3_1;
|
|
4915
4915
|
parser$factory_0();
|
|
4916
4916
|
return this_0.u();
|
|
4917
4917
|
};
|
|
4918
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4918
|
+
protoOf(GameServerEngineControllerImpl).na3 = function () {
|
|
4919
4919
|
// Inline function 'kotlin.getValue' call
|
|
4920
|
-
var this_0 = this.
|
|
4920
|
+
var this_0 = this.wa3_1;
|
|
4921
4921
|
helper$factory_0();
|
|
4922
4922
|
return this_0.u();
|
|
4923
4923
|
};
|
|
4924
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4924
|
+
protoOf(GameServerEngineControllerImpl).oa3 = function () {
|
|
4925
4925
|
// Inline function 'kotlin.getValue' call
|
|
4926
|
-
var this_0 = this.
|
|
4926
|
+
var this_0 = this.xa3_1;
|
|
4927
4927
|
resources$factory_0();
|
|
4928
4928
|
return this_0.u();
|
|
4929
4929
|
};
|
|
4930
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4930
|
+
protoOf(GameServerEngineControllerImpl).ma3 = function () {
|
|
4931
4931
|
// Inline function 'kotlin.getValue' call
|
|
4932
|
-
var this_0 = this.
|
|
4932
|
+
var this_0 = this.ya3_1;
|
|
4933
4933
|
test$factory_0();
|
|
4934
4934
|
return this_0.u();
|
|
4935
4935
|
};
|
|
4936
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4936
|
+
protoOf(GameServerEngineControllerImpl).pa3 = function () {
|
|
4937
4937
|
// Inline function 'kotlin.getValue' call
|
|
4938
|
-
var this_0 = this.
|
|
4938
|
+
var this_0 = this.za3_1;
|
|
4939
4939
|
randomPoolProvider$factory_0();
|
|
4940
4940
|
return this_0.u();
|
|
4941
4941
|
};
|
|
@@ -4945,7 +4945,7 @@
|
|
|
4945
4945
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
4946
4946
|
return this.createGameEngineWithLogic();
|
|
4947
4947
|
};
|
|
4948
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4948
|
+
protoOf(GameServerEngineControllerImpl).qa3 = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig) {
|
|
4949
4949
|
var combinedLogger = Companion_instance_6.qm();
|
|
4950
4950
|
var tmp;
|
|
4951
4951
|
if (coreConfig.fileLogsEnabled) {
|
|
@@ -4955,8 +4955,8 @@
|
|
|
4955
4955
|
}
|
|
4956
4956
|
var fileLoggerOutput = tmp;
|
|
4957
4957
|
var tmp_0;
|
|
4958
|
-
if (!(this.
|
|
4959
|
-
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.
|
|
4958
|
+
if (!(this.ra3_1 == null)) {
|
|
4959
|
+
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.ra3_1));
|
|
4960
4960
|
} else {
|
|
4961
4961
|
tmp_0 = null;
|
|
4962
4962
|
}
|
|
@@ -4992,19 +4992,19 @@
|
|
|
4992
4992
|
var tmp3_externalModule = Module_init_$Create$('External Module', VOID, VOID, GameServerEngineControllerImpl$createGameEngineWithLogic$lambda(fileLoggerOutput, callbackWrapperLoggerOutput));
|
|
4993
4993
|
var di = createDI(this, combinedLogger, coreConfig, serverConfig, logicConfig, tmp0_botConfig, dealerConfig, tmp1_externalReducers, tmp2_externalMiddlewares, tmp3_externalModule);
|
|
4994
4994
|
// Inline function 'org.kodein.di.instance' call
|
|
4995
|
-
var tmp_1 = get_direct(di).
|
|
4995
|
+
var tmp_1 = get_direct(di).m5z();
|
|
4996
4996
|
// Inline function 'org.kodein.type.generic' call
|
|
4997
4997
|
var tmp_2 = typeToken(createKType(getKClass(GameServer), arrayOf([]), false));
|
|
4998
4998
|
var tmp$ret$7 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
4999
|
-
var gameServer = tmp_1.
|
|
4999
|
+
var gameServer = tmp_1.l5z(tmp$ret$7, null);
|
|
5000
5000
|
if (!(fileLoggerOutput == null)) {
|
|
5001
5001
|
var tmp_3 = fileLoggerOutput;
|
|
5002
|
-
tmp_3.
|
|
5002
|
+
tmp_3.f9i_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0(gameServer);
|
|
5003
5003
|
combinedLogger.sm(fileLoggerOutput);
|
|
5004
5004
|
}
|
|
5005
5005
|
if (!(callbackWrapperLoggerOutput == null)) {
|
|
5006
5006
|
var tmp_4 = callbackWrapperLoggerOutput;
|
|
5007
|
-
tmp_4.
|
|
5007
|
+
tmp_4.d9h_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1(gameServer);
|
|
5008
5008
|
combinedLogger.sm(callbackWrapperLoggerOutput);
|
|
5009
5009
|
}
|
|
5010
5010
|
return gameServer;
|
|
@@ -5073,13 +5073,13 @@
|
|
|
5073
5073
|
}
|
|
5074
5074
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
5075
5075
|
// Inline function 'kotlin.getValue' call
|
|
5076
|
-
var this_0 = $this.
|
|
5076
|
+
var this_0 = $this.da4_1;
|
|
5077
5077
|
playerAnswerInteractor$factory_0();
|
|
5078
5078
|
return this_0.u();
|
|
5079
5079
|
}
|
|
5080
5080
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
5081
5081
|
return function ($this$singleton) {
|
|
5082
|
-
return this$0.
|
|
5082
|
+
return this$0.ba4_1;
|
|
5083
5083
|
};
|
|
5084
5084
|
}
|
|
5085
5085
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -5088,19 +5088,19 @@
|
|
|
5088
5088
|
// Inline function 'org.kodein.type.generic' call
|
|
5089
5089
|
var tmp = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
5090
5090
|
var tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
|
|
5091
|
-
var tmp_0 = $this$DI.
|
|
5091
|
+
var tmp_0 = $this$DI.z5x(tmp$ret$0, null, null);
|
|
5092
5092
|
// Inline function 'org.kodein.di.singleton' call
|
|
5093
5093
|
var creator = TestHelperImpl$di$lambda$lambda(this$0);
|
|
5094
|
-
var tmp_1 = $this$DI.
|
|
5095
|
-
var tmp_2 = $this$DI.
|
|
5096
|
-
var tmp_3 = $this$DI.
|
|
5094
|
+
var tmp_1 = $this$DI.e5y();
|
|
5095
|
+
var tmp_2 = $this$DI.c5y();
|
|
5096
|
+
var tmp_3 = $this$DI.d5y();
|
|
5097
5097
|
// Inline function 'org.kodein.type.generic' call
|
|
5098
5098
|
var tmp_4 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
5099
5099
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
5100
5100
|
var tmp$ret$3 = new Singleton(tmp_1, tmp_2, tmp_3, tmp$ret$2, null, true, creator);
|
|
5101
|
-
tmp_0.
|
|
5102
|
-
$this$DI.
|
|
5103
|
-
$this$DI.
|
|
5101
|
+
tmp_0.x61(tmp$ret$3);
|
|
5102
|
+
$this$DI.b5y(jsonModule(emptyList()));
|
|
5103
|
+
$this$DI.b5y(get_botGameModule());
|
|
5104
5104
|
return Unit_instance;
|
|
5105
5105
|
};
|
|
5106
5106
|
}
|
|
@@ -5108,20 +5108,20 @@
|
|
|
5108
5108
|
return emptyMap();
|
|
5109
5109
|
}
|
|
5110
5110
|
function TestHelperImpl(logger) {
|
|
5111
|
-
this.
|
|
5111
|
+
this.ba4_1 = logger;
|
|
5112
5112
|
var tmp = this;
|
|
5113
5113
|
var tmp_0 = Companion_instance_3;
|
|
5114
|
-
tmp.
|
|
5114
|
+
tmp.ca4_1 = tmp_0.i5y(VOID, TestHelperImpl$di$lambda(this));
|
|
5115
5115
|
var tmp_1 = this;
|
|
5116
5116
|
// Inline function 'org.kodein.di.instance' call
|
|
5117
|
-
var this_0 = this.
|
|
5117
|
+
var this_0 = this.ca4_1;
|
|
5118
5118
|
// Inline function 'org.kodein.type.generic' call
|
|
5119
5119
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
5120
5120
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5121
|
-
tmp_1.
|
|
5121
|
+
tmp_1.da4_1 = Instance(this_0, tmp$ret$0, null).u63(this, playerAnswerInteractor$factory());
|
|
5122
5122
|
}
|
|
5123
5123
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
5124
|
-
return _get_playerAnswerInteractor__msggz1(this).
|
|
5124
|
+
return _get_playerAnswerInteractor__msggz1(this).g8t(playerId, table, botConfig);
|
|
5125
5125
|
};
|
|
5126
5126
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
5127
5127
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
@@ -5129,7 +5129,7 @@
|
|
|
5129
5129
|
var tmp$ret$0;
|
|
5130
5130
|
$l$block_0: {
|
|
5131
5131
|
// Inline function 'kotlin.collections.any' call
|
|
5132
|
-
var this_0 = mechanicAction.
|
|
5132
|
+
var this_0 = mechanicAction.n94();
|
|
5133
5133
|
var tmp;
|
|
5134
5134
|
if (isInterface(this_0, Collection)) {
|
|
5135
5135
|
tmp = this_0.p();
|
|
@@ -5162,7 +5162,7 @@
|
|
|
5162
5162
|
var tmp$ret$0;
|
|
5163
5163
|
$l$block_0: {
|
|
5164
5164
|
// Inline function 'kotlin.collections.any' call
|
|
5165
|
-
var this_0 = action.
|
|
5165
|
+
var this_0 = action.n94();
|
|
5166
5166
|
var tmp;
|
|
5167
5167
|
if (isInterface(this_0, Collection)) {
|
|
5168
5168
|
tmp = this_0.p();
|
|
@@ -5204,80 +5204,80 @@
|
|
|
5204
5204
|
return Module_init_$Create$('Server helpers Module', VOID, VOID, serverHelpersModule$lambda);
|
|
5205
5205
|
}
|
|
5206
5206
|
function serverHelpersModule$lambda($this$Module) {
|
|
5207
|
-
$this$Module.
|
|
5208
|
-
$this$Module.
|
|
5207
|
+
$this$Module.b5y(get_ratingModule());
|
|
5208
|
+
$this$Module.b5y(engineHelpersModule());
|
|
5209
5209
|
// Inline function 'org.kodein.di.bind' call
|
|
5210
5210
|
// Inline function 'org.kodein.type.generic' call
|
|
5211
5211
|
var tmp = typeToken(createKType(getKClass(TestHelper), arrayOf([]), false));
|
|
5212
5212
|
var tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
|
|
5213
|
-
var tmp_0 = $this$Module.
|
|
5213
|
+
var tmp_0 = $this$Module.z5x(tmp$ret$0, null, null);
|
|
5214
5214
|
// Inline function 'org.kodein.di.singleton' call
|
|
5215
5215
|
var creator = serverHelpersModule$lambda$lambda;
|
|
5216
|
-
var tmp_1 = $this$Module.
|
|
5217
|
-
var tmp_2 = $this$Module.
|
|
5218
|
-
var tmp_3 = $this$Module.
|
|
5216
|
+
var tmp_1 = $this$Module.e5y();
|
|
5217
|
+
var tmp_2 = $this$Module.c5y();
|
|
5218
|
+
var tmp_3 = $this$Module.d5y();
|
|
5219
5219
|
// Inline function 'org.kodein.type.generic' call
|
|
5220
5220
|
var tmp_4 = typeToken(createKType(getKClass(TestHelperImpl), arrayOf([]), false));
|
|
5221
5221
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
5222
5222
|
var tmp$ret$3 = new Singleton(tmp_1, tmp_2, tmp_3, tmp$ret$2, null, true, creator);
|
|
5223
|
-
tmp_0.
|
|
5223
|
+
tmp_0.x61(tmp$ret$3);
|
|
5224
5224
|
return Unit_instance;
|
|
5225
5225
|
}
|
|
5226
5226
|
function serverHelpersModule$lambda$lambda($this$singleton) {
|
|
5227
5227
|
// Inline function 'org.kodein.di.instance' call
|
|
5228
|
-
var tmp = $this$singleton.
|
|
5228
|
+
var tmp = $this$singleton.m5z();
|
|
5229
5229
|
// Inline function 'org.kodein.type.generic' call
|
|
5230
5230
|
var tmp_0 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
5231
5231
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
5232
|
-
var tmp$ret$1 = tmp.
|
|
5232
|
+
var tmp$ret$1 = tmp.l5z(tmp$ret$0, null);
|
|
5233
5233
|
return new TestHelperImpl(tmp$ret$1);
|
|
5234
5234
|
}
|
|
5235
5235
|
//region block: post-declaration
|
|
5236
5236
|
defineProp(protoOf(GameServer$roomOnCreate$1$updatedUsers$previousTeams$1), 'playerId', function () {
|
|
5237
|
-
return this.
|
|
5237
|
+
return this.i6a();
|
|
5238
5238
|
});
|
|
5239
5239
|
protoOf(GameServer).roomOnCreate = roomOnCreate;
|
|
5240
5240
|
protoOf(GameServer).roomOnDelete = roomOnDelete;
|
|
5241
5241
|
protoOf(GameServer).shutdown = shutdown;
|
|
5242
5242
|
defineProp(protoOf(GameServer), 'id', function () {
|
|
5243
|
-
return this.
|
|
5243
|
+
return this.e5l();
|
|
5244
5244
|
});
|
|
5245
5245
|
defineProp(protoOf(GameServer), 'table', function () {
|
|
5246
|
-
return this.
|
|
5246
|
+
return this.p6r();
|
|
5247
5247
|
});
|
|
5248
5248
|
defineProp(protoOf(GameServer), 'isTableExists', function () {
|
|
5249
|
-
return this.
|
|
5249
|
+
return this.q6r();
|
|
5250
5250
|
});
|
|
5251
5251
|
defineProp(protoOf(GameServer), 'gameLifecycleState', function () {
|
|
5252
|
-
return this.
|
|
5252
|
+
return this.r6r();
|
|
5253
5253
|
});
|
|
5254
|
-
protoOf(UpdateServerConfigAction).
|
|
5254
|
+
protoOf(UpdateServerConfigAction).j6j = get_actionTag;
|
|
5255
5255
|
defineProp(protoOf(UpdateServerConfigAction), 'actionTag', function () {
|
|
5256
|
-
return this.
|
|
5256
|
+
return this.j6j();
|
|
5257
5257
|
});
|
|
5258
|
-
protoOf(AddSpectatorsAction).
|
|
5258
|
+
protoOf(AddSpectatorsAction).j6j = get_actionTag;
|
|
5259
5259
|
defineProp(protoOf(AddSpectatorsAction), 'actionTag', function () {
|
|
5260
|
-
return this.
|
|
5260
|
+
return this.j6j();
|
|
5261
5261
|
});
|
|
5262
|
-
protoOf(RemoveSpectatorsAction).
|
|
5262
|
+
protoOf(RemoveSpectatorsAction).j6j = get_actionTag;
|
|
5263
5263
|
defineProp(protoOf(RemoveSpectatorsAction), 'actionTag', function () {
|
|
5264
|
-
return this.
|
|
5264
|
+
return this.j6j();
|
|
5265
5265
|
});
|
|
5266
5266
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
5267
5267
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
5268
|
-
return this.
|
|
5268
|
+
return this.la3();
|
|
5269
5269
|
});
|
|
5270
5270
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
5271
|
-
return this.
|
|
5271
|
+
return this.na3();
|
|
5272
5272
|
});
|
|
5273
5273
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
5274
|
-
return this.
|
|
5274
|
+
return this.oa3();
|
|
5275
5275
|
});
|
|
5276
5276
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
5277
|
-
return this.
|
|
5277
|
+
return this.ma3();
|
|
5278
5278
|
});
|
|
5279
5279
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
5280
|
-
return this.
|
|
5280
|
+
return this.pa3();
|
|
5281
5281
|
});
|
|
5282
5282
|
//endregion
|
|
5283
5283
|
//region block: init
|