raspberry_games_server_game_logic 1.8.280 → 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 +933 -931
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +10 -10
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +13 -13
- package/kotlinx-coroutines-core.js +2183 -2183
- 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
|
@@ -112,6 +112,7 @@
|
|
|
112
112
|
var IdsProvider = kotlin_io_raspberryapps_game_engine_core.$_$.p1;
|
|
113
113
|
var plus = kotlin_kotlin.$_$.z8;
|
|
114
114
|
var GameStore = kotlin_io_raspberryapps_game_engine_engine.$_$.w3;
|
|
115
|
+
var toString_0 = kotlin_kotlin.$_$.vh;
|
|
115
116
|
var KProperty1 = kotlin_kotlin.$_$.pd;
|
|
116
117
|
var getPropertyCallableRef = kotlin_kotlin.$_$.qb;
|
|
117
118
|
var to = kotlin_kotlin.$_$.wh;
|
|
@@ -305,15 +306,15 @@
|
|
|
305
306
|
tmp = spectators;
|
|
306
307
|
}
|
|
307
308
|
spectators = tmp;
|
|
308
|
-
return this.
|
|
309
|
+
return this.c9u(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
309
310
|
}
|
|
310
311
|
function roomOnDelete(newRid, $super) {
|
|
311
312
|
newRid = newRid === VOID ? null : newRid;
|
|
312
|
-
return this.
|
|
313
|
+
return this.d9u(newRid);
|
|
313
314
|
}
|
|
314
315
|
function shutdown(reason, roomId, $super) {
|
|
315
316
|
roomId = roomId === VOID ? null : roomId;
|
|
316
|
-
return this.
|
|
317
|
+
return this.e9u(reason, roomId);
|
|
317
318
|
}
|
|
318
319
|
initMetadataForInterface(ServerGameEngineContract, 'ServerGameEngineContract', VOID, VOID, [GameStoreContract]);
|
|
319
320
|
initMetadataForClass(GameServer, 'GameServer', VOID, BaseGame, [BaseGame, ServerGameEngineContract]);
|
|
@@ -386,7 +387,7 @@
|
|
|
386
387
|
logicConfig = logicConfig === VOID ? new EngineLogicConfig() : logicConfig;
|
|
387
388
|
dealerConfig = dealerConfig === VOID ? new DealerConfig() : dealerConfig;
|
|
388
389
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
389
|
-
return this.
|
|
390
|
+
return this.qa3(reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig);
|
|
390
391
|
}
|
|
391
392
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
392
393
|
initMetadataForClass(_no_name_provided__qut3iv_8, VOID, VOID, VOID, [Reducer]);
|
|
@@ -395,17 +396,17 @@
|
|
|
395
396
|
initMetadataForClass(TestHelperImpl, 'TestHelperImpl', VOID, VOID, [TestHelper]);
|
|
396
397
|
//endregion
|
|
397
398
|
function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
|
|
398
|
-
this.
|
|
399
|
+
this.b9k_1 = $subscriber;
|
|
399
400
|
CoroutineImpl.call(this, resultContinuation);
|
|
400
401
|
}
|
|
401
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
402
|
-
var tmp = this.
|
|
402
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).d9k = function (it, $completion) {
|
|
403
|
+
var tmp = this.e9k(it, $completion);
|
|
403
404
|
tmp.g9_1 = Unit_instance;
|
|
404
405
|
tmp.h9_1 = null;
|
|
405
406
|
return tmp.m9();
|
|
406
407
|
};
|
|
407
408
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).w9 = function (p1, $completion) {
|
|
408
|
-
return this.
|
|
409
|
+
return this.d9k(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
409
410
|
};
|
|
410
411
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).m9 = function () {
|
|
411
412
|
var suspendResult = this.g9_1;
|
|
@@ -414,7 +415,7 @@
|
|
|
414
415
|
var tmp = this.e9_1;
|
|
415
416
|
if (tmp === 0) {
|
|
416
417
|
this.f9_1 = 1;
|
|
417
|
-
this.
|
|
418
|
+
this.b9k_1(this.c9k_1);
|
|
418
419
|
return Unit_instance;
|
|
419
420
|
} else if (tmp === 1) {
|
|
420
421
|
throw this.h9_1;
|
|
@@ -425,31 +426,31 @@
|
|
|
425
426
|
}
|
|
426
427
|
while (true);
|
|
427
428
|
};
|
|
428
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
429
|
-
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.
|
|
430
|
-
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;
|
|
431
432
|
return i;
|
|
432
433
|
};
|
|
433
434
|
function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
|
|
434
435
|
var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
|
|
435
436
|
var l = function (it, $completion) {
|
|
436
|
-
return i.
|
|
437
|
+
return i.d9k(it, $completion);
|
|
437
438
|
};
|
|
438
439
|
l.$arity = 1;
|
|
439
440
|
return l;
|
|
440
441
|
}
|
|
441
442
|
function GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation) {
|
|
442
|
-
this.
|
|
443
|
+
this.n9k_1 = $subscriber;
|
|
443
444
|
CoroutineImpl.call(this, resultContinuation);
|
|
444
445
|
}
|
|
445
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
446
|
-
var tmp = this.
|
|
446
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).p9k = function (it, $completion) {
|
|
447
|
+
var tmp = this.q9k(it, $completion);
|
|
447
448
|
tmp.g9_1 = Unit_instance;
|
|
448
449
|
tmp.h9_1 = null;
|
|
449
450
|
return tmp.m9();
|
|
450
451
|
};
|
|
451
452
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).w9 = function (p1, $completion) {
|
|
452
|
-
return this.
|
|
453
|
+
return this.p9k((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
|
|
453
454
|
};
|
|
454
455
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).m9 = function () {
|
|
455
456
|
var suspendResult = this.g9_1;
|
|
@@ -458,7 +459,7 @@
|
|
|
458
459
|
var tmp = this.e9_1;
|
|
459
460
|
if (tmp === 0) {
|
|
460
461
|
this.f9_1 = 1;
|
|
461
|
-
this.
|
|
462
|
+
this.n9k_1(this.o9k_1);
|
|
462
463
|
return Unit_instance;
|
|
463
464
|
} else if (tmp === 1) {
|
|
464
465
|
throw this.h9_1;
|
|
@@ -469,31 +470,31 @@
|
|
|
469
470
|
}
|
|
470
471
|
while (true);
|
|
471
472
|
};
|
|
472
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
473
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.
|
|
474
|
-
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;
|
|
475
476
|
return i;
|
|
476
477
|
};
|
|
477
478
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_0($subscriber, resultContinuation) {
|
|
478
479
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation);
|
|
479
480
|
var l = function (it, $completion) {
|
|
480
|
-
return i.
|
|
481
|
+
return i.p9k(it, $completion);
|
|
481
482
|
};
|
|
482
483
|
l.$arity = 1;
|
|
483
484
|
return l;
|
|
484
485
|
}
|
|
485
486
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
486
|
-
this.
|
|
487
|
+
this.z9k_1 = $subscriber;
|
|
487
488
|
CoroutineImpl.call(this, resultContinuation);
|
|
488
489
|
}
|
|
489
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
490
|
-
var tmp = this.
|
|
490
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).b9l = function (it, $completion) {
|
|
491
|
+
var tmp = this.c9l(it, $completion);
|
|
491
492
|
tmp.g9_1 = Unit_instance;
|
|
492
493
|
tmp.h9_1 = null;
|
|
493
494
|
return tmp.m9();
|
|
494
495
|
};
|
|
495
496
|
protoOf(GameServer$subscribeWith$slambda$slambda).w9 = function (p1, $completion) {
|
|
496
|
-
return this.
|
|
497
|
+
return this.b9l(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
497
498
|
};
|
|
498
499
|
protoOf(GameServer$subscribeWith$slambda$slambda).m9 = function () {
|
|
499
500
|
var suspendResult = this.g9_1;
|
|
@@ -502,7 +503,7 @@
|
|
|
502
503
|
var tmp = this.e9_1;
|
|
503
504
|
if (tmp === 0) {
|
|
504
505
|
this.f9_1 = 1;
|
|
505
|
-
this.
|
|
506
|
+
this.z9k_1(this.a9l_1);
|
|
506
507
|
return Unit_instance;
|
|
507
508
|
} else if (tmp === 1) {
|
|
508
509
|
throw this.h9_1;
|
|
@@ -513,82 +514,82 @@
|
|
|
513
514
|
}
|
|
514
515
|
while (true);
|
|
515
516
|
};
|
|
516
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
517
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
518
|
-
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;
|
|
519
520
|
return i;
|
|
520
521
|
};
|
|
521
522
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
522
523
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
523
524
|
var l = function (it, $completion) {
|
|
524
|
-
return i.
|
|
525
|
+
return i.b9l(it, $completion);
|
|
525
526
|
};
|
|
526
527
|
l.$arity = 1;
|
|
527
528
|
return l;
|
|
528
529
|
}
|
|
529
|
-
function GameServer$roomOnCreate$1$updatedUsers$previousTeams$1($
|
|
530
|
-
this.
|
|
530
|
+
function GameServer$roomOnCreate$1$updatedUsers$previousTeams$1($playerId) {
|
|
531
|
+
this.d9l_1 = $playerId;
|
|
531
532
|
}
|
|
532
|
-
protoOf(GameServer$roomOnCreate$1$updatedUsers$previousTeams$1).
|
|
533
|
-
return this.
|
|
533
|
+
protoOf(GameServer$roomOnCreate$1$updatedUsers$previousTeams$1).i6a = function () {
|
|
534
|
+
return this.d9l_1;
|
|
534
535
|
};
|
|
535
536
|
function _get_logger__rkp4sl($this) {
|
|
536
537
|
// Inline function 'kotlin.getValue' call
|
|
537
|
-
var this_0 = $this.
|
|
538
|
+
var this_0 = $this.g9l_1;
|
|
538
539
|
logger$factory_0();
|
|
539
540
|
return this_0.u();
|
|
540
541
|
}
|
|
541
542
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
542
543
|
// Inline function 'kotlin.getValue' call
|
|
543
|
-
var this_0 = $this.
|
|
544
|
+
var this_0 = $this.h9l_1;
|
|
544
545
|
toClientEventsObserver$factory_0();
|
|
545
546
|
return this_0.u();
|
|
546
547
|
}
|
|
547
548
|
function _get_mechanicEventsObserver__ll1b9k($this) {
|
|
548
549
|
// Inline function 'kotlin.getValue' call
|
|
549
|
-
var this_0 = $this.
|
|
550
|
+
var this_0 = $this.i9l_1;
|
|
550
551
|
mechanicEventsObserver$factory_0();
|
|
551
552
|
return this_0.u();
|
|
552
553
|
}
|
|
553
554
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
554
555
|
// Inline function 'kotlin.getValue' call
|
|
555
|
-
var this_0 = $this.
|
|
556
|
+
var this_0 = $this.j9l_1;
|
|
556
557
|
playerConnectionInteractor$factory_0();
|
|
557
558
|
return this_0.u();
|
|
558
559
|
}
|
|
559
560
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
560
561
|
// Inline function 'kotlin.getValue' call
|
|
561
|
-
var this_0 = $this.
|
|
562
|
+
var this_0 = $this.k9l_1;
|
|
562
563
|
teamsLogicProvider$factory_0();
|
|
563
564
|
return this_0.u();
|
|
564
565
|
}
|
|
565
566
|
function _get_random__h29cgo($this) {
|
|
566
567
|
// Inline function 'kotlin.getValue' call
|
|
567
|
-
var this_0 = $this.
|
|
568
|
+
var this_0 = $this.l9l_1;
|
|
568
569
|
random$factory();
|
|
569
570
|
return this_0.u();
|
|
570
571
|
}
|
|
571
572
|
function _get_idsProvider__fnfajc($this) {
|
|
572
573
|
// Inline function 'kotlin.getValue' call
|
|
573
|
-
var this_0 = $this.
|
|
574
|
+
var this_0 = $this.m9l_1;
|
|
574
575
|
idsProvider$factory_0();
|
|
575
576
|
return this_0.u();
|
|
576
577
|
}
|
|
577
578
|
function Companion() {
|
|
578
|
-
this.
|
|
579
|
+
this.o9l_1 = 'GameEngine_API';
|
|
579
580
|
}
|
|
580
581
|
var Companion_instance_7;
|
|
581
582
|
function Companion_getInstance_0() {
|
|
582
583
|
return Companion_instance_7;
|
|
583
584
|
}
|
|
584
585
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
585
|
-
this.
|
|
586
|
+
this.p9l_1 = function_0;
|
|
586
587
|
}
|
|
587
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
588
|
-
return this.
|
|
588
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).q18 = function (value, $completion) {
|
|
589
|
+
return this.p9l_1(value, $completion);
|
|
589
590
|
};
|
|
590
591
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).o3 = function () {
|
|
591
|
-
return this.
|
|
592
|
+
return this.p9l_1;
|
|
592
593
|
};
|
|
593
594
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
594
595
|
var tmp;
|
|
@@ -609,13 +610,13 @@
|
|
|
609
610
|
return hashCode(this.o3());
|
|
610
611
|
};
|
|
611
612
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
612
|
-
this.
|
|
613
|
+
this.q9l_1 = function_0;
|
|
613
614
|
}
|
|
614
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
615
|
-
return this.
|
|
615
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).q18 = function (value, $completion) {
|
|
616
|
+
return this.q9l_1(value, $completion);
|
|
616
617
|
};
|
|
617
618
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).o3 = function () {
|
|
618
|
-
return this.
|
|
619
|
+
return this.q9l_1;
|
|
619
620
|
};
|
|
620
621
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
621
622
|
var tmp;
|
|
@@ -636,13 +637,13 @@
|
|
|
636
637
|
return hashCode(this.o3());
|
|
637
638
|
};
|
|
638
639
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
639
|
-
this.
|
|
640
|
+
this.r9l_1 = function_0;
|
|
640
641
|
}
|
|
641
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).
|
|
642
|
-
return this.
|
|
642
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).q18 = function (value, $completion) {
|
|
643
|
+
return this.r9l_1(value, $completion);
|
|
643
644
|
};
|
|
644
645
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).o3 = function () {
|
|
645
|
-
return this.
|
|
646
|
+
return this.r9l_1;
|
|
646
647
|
};
|
|
647
648
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
648
649
|
var tmp;
|
|
@@ -668,18 +669,18 @@
|
|
|
668
669
|
};
|
|
669
670
|
}
|
|
670
671
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
671
|
-
this.
|
|
672
|
-
this.
|
|
672
|
+
this.a9m_1 = this$0;
|
|
673
|
+
this.b9m_1 = $subscriber;
|
|
673
674
|
CoroutineImpl.call(this, resultContinuation);
|
|
674
675
|
}
|
|
675
|
-
protoOf(GameServer$subscribeToClientAction$slambda).
|
|
676
|
-
var tmp = this.
|
|
676
|
+
protoOf(GameServer$subscribeToClientAction$slambda).l1e = function ($this$launchDefault, $completion) {
|
|
677
|
+
var tmp = this.m1e($this$launchDefault, $completion);
|
|
677
678
|
tmp.g9_1 = Unit_instance;
|
|
678
679
|
tmp.h9_1 = null;
|
|
679
680
|
return tmp.m9();
|
|
680
681
|
};
|
|
681
682
|
protoOf(GameServer$subscribeToClientAction$slambda).w9 = function (p1, $completion) {
|
|
682
|
-
return this.
|
|
683
|
+
return this.l1e((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
683
684
|
};
|
|
684
685
|
protoOf(GameServer$subscribeToClientAction$slambda).m9 = function () {
|
|
685
686
|
var suspendResult = this.g9_1;
|
|
@@ -690,9 +691,9 @@
|
|
|
690
691
|
case 0:
|
|
691
692
|
this.f9_1 = 2;
|
|
692
693
|
this.e9_1 = 1;
|
|
693
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
694
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
695
|
-
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);
|
|
696
697
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
697
698
|
return suspendResult;
|
|
698
699
|
}
|
|
@@ -714,32 +715,32 @@
|
|
|
714
715
|
}
|
|
715
716
|
while (true);
|
|
716
717
|
};
|
|
717
|
-
protoOf(GameServer$subscribeToClientAction$slambda).
|
|
718
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
719
|
-
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;
|
|
720
721
|
return i;
|
|
721
722
|
};
|
|
722
723
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
723
724
|
var i = new GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation);
|
|
724
725
|
var l = function ($this$launchDefault, $completion) {
|
|
725
|
-
return i.
|
|
726
|
+
return i.l1e($this$launchDefault, $completion);
|
|
726
727
|
};
|
|
727
728
|
l.$arity = 1;
|
|
728
729
|
return l;
|
|
729
730
|
}
|
|
730
731
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
731
|
-
this.
|
|
732
|
-
this.
|
|
732
|
+
this.m9m_1 = this$0;
|
|
733
|
+
this.n9m_1 = $subscriber;
|
|
733
734
|
CoroutineImpl.call(this, resultContinuation);
|
|
734
735
|
}
|
|
735
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda).
|
|
736
|
-
var tmp = this.
|
|
736
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda).l1e = function ($this$launchDefault, $completion) {
|
|
737
|
+
var tmp = this.m1e($this$launchDefault, $completion);
|
|
737
738
|
tmp.g9_1 = Unit_instance;
|
|
738
739
|
tmp.h9_1 = null;
|
|
739
740
|
return tmp.m9();
|
|
740
741
|
};
|
|
741
742
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).w9 = function (p1, $completion) {
|
|
742
|
-
return this.
|
|
743
|
+
return this.l1e((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
743
744
|
};
|
|
744
745
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).m9 = function () {
|
|
745
746
|
var suspendResult = this.g9_1;
|
|
@@ -750,9 +751,9 @@
|
|
|
750
751
|
case 0:
|
|
751
752
|
this.f9_1 = 2;
|
|
752
753
|
this.e9_1 = 1;
|
|
753
|
-
var tmp_0 = _get_mechanicEventsObserver__ll1b9k(this.
|
|
754
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
755
|
-
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);
|
|
756
757
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
757
758
|
return suspendResult;
|
|
758
759
|
}
|
|
@@ -774,32 +775,32 @@
|
|
|
774
775
|
}
|
|
775
776
|
while (true);
|
|
776
777
|
};
|
|
777
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda).
|
|
778
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
779
|
-
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;
|
|
780
781
|
return i;
|
|
781
782
|
};
|
|
782
783
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
783
784
|
var i = new GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation);
|
|
784
785
|
var l = function ($this$launchDefault, $completion) {
|
|
785
|
-
return i.
|
|
786
|
+
return i.l1e($this$launchDefault, $completion);
|
|
786
787
|
};
|
|
787
788
|
l.$arity = 1;
|
|
788
789
|
return l;
|
|
789
790
|
}
|
|
790
791
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
791
|
-
this.
|
|
792
|
-
this.
|
|
792
|
+
this.y9m_1 = this$0;
|
|
793
|
+
this.z9m_1 = $subscriber;
|
|
793
794
|
CoroutineImpl.call(this, resultContinuation);
|
|
794
795
|
}
|
|
795
|
-
protoOf(GameServer$subscribeWith$slambda).
|
|
796
|
-
var tmp = this.
|
|
796
|
+
protoOf(GameServer$subscribeWith$slambda).l1e = function ($this$launchDefault, $completion) {
|
|
797
|
+
var tmp = this.m1e($this$launchDefault, $completion);
|
|
797
798
|
tmp.g9_1 = Unit_instance;
|
|
798
799
|
tmp.h9_1 = null;
|
|
799
800
|
return tmp.m9();
|
|
800
801
|
};
|
|
801
802
|
protoOf(GameServer$subscribeWith$slambda).w9 = function (p1, $completion) {
|
|
802
|
-
return this.
|
|
803
|
+
return this.l1e((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
803
804
|
};
|
|
804
805
|
protoOf(GameServer$subscribeWith$slambda).m9 = function () {
|
|
805
806
|
var suspendResult = this.g9_1;
|
|
@@ -810,9 +811,9 @@
|
|
|
810
811
|
case 0:
|
|
811
812
|
this.f9_1 = 2;
|
|
812
813
|
this.e9_1 = 1;
|
|
813
|
-
var tmp_0 = distinctUntilChanged(this.
|
|
814
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
815
|
-
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);
|
|
816
817
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
817
818
|
return suspendResult;
|
|
818
819
|
}
|
|
@@ -834,32 +835,32 @@
|
|
|
834
835
|
}
|
|
835
836
|
while (true);
|
|
836
837
|
};
|
|
837
|
-
protoOf(GameServer$subscribeWith$slambda).
|
|
838
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
839
|
-
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;
|
|
840
841
|
return i;
|
|
841
842
|
};
|
|
842
843
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
843
844
|
var i = new GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation);
|
|
844
845
|
var l = function ($this$launchDefault, $completion) {
|
|
845
|
-
return i.
|
|
846
|
+
return i.l1e($this$launchDefault, $completion);
|
|
846
847
|
};
|
|
847
848
|
l.$arity = 1;
|
|
848
849
|
return l;
|
|
849
850
|
}
|
|
850
851
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
851
|
-
this.
|
|
852
|
+
this.j9n_1 = $action;
|
|
852
853
|
CoroutineImpl.call(this, resultContinuation);
|
|
853
854
|
}
|
|
854
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
855
|
-
var tmp = this.
|
|
855
|
+
protoOf(GameServer$fromClientEvent$slambda).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
856
|
+
var tmp = this.n9n($this$dispatchAsync, store, $completion);
|
|
856
857
|
tmp.g9_1 = Unit_instance;
|
|
857
858
|
tmp.h9_1 = null;
|
|
858
859
|
return tmp.m9();
|
|
859
860
|
};
|
|
860
861
|
protoOf(GameServer$fromClientEvent$slambda).x9 = function (p1, p2, $completion) {
|
|
861
862
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
862
|
-
return this.
|
|
863
|
+
return this.m9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
863
864
|
};
|
|
864
865
|
protoOf(GameServer$fromClientEvent$slambda).m9 = function () {
|
|
865
866
|
var suspendResult = this.g9_1;
|
|
@@ -868,11 +869,11 @@
|
|
|
868
869
|
var tmp = this.e9_1;
|
|
869
870
|
if (tmp === 0) {
|
|
870
871
|
this.f9_1 = 1;
|
|
871
|
-
if (this.
|
|
872
|
-
if (!get_isCreated(this.
|
|
872
|
+
if (this.j9n_1 instanceof PlayerReadyFromClientAction)
|
|
873
|
+
if (!get_isCreated(this.l9n_1.state)) {
|
|
873
874
|
return Unit_instance;
|
|
874
875
|
}
|
|
875
|
-
this.
|
|
876
|
+
this.l9n_1.dispatch(this.j9n_1);
|
|
876
877
|
return Unit_instance;
|
|
877
878
|
} else if (tmp === 1) {
|
|
878
879
|
throw this.h9_1;
|
|
@@ -883,33 +884,33 @@
|
|
|
883
884
|
}
|
|
884
885
|
while (true);
|
|
885
886
|
};
|
|
886
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
887
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
888
|
-
i.
|
|
889
|
-
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;
|
|
890
891
|
return i;
|
|
891
892
|
};
|
|
892
893
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
893
894
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
894
895
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
895
|
-
return i.
|
|
896
|
+
return i.m9n($this$dispatchAsync, store, $completion);
|
|
896
897
|
};
|
|
897
898
|
l.$arity = 2;
|
|
898
899
|
return l;
|
|
899
900
|
}
|
|
900
901
|
function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
|
|
901
|
-
this.
|
|
902
|
+
this.w9n_1 = $playerId;
|
|
902
903
|
CoroutineImpl.call(this, resultContinuation);
|
|
903
904
|
}
|
|
904
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
905
|
-
var tmp = this.
|
|
905
|
+
protoOf(GameServer$playerLostConnection$slambda).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
906
|
+
var tmp = this.n9n($this$dispatchAsync, store, $completion);
|
|
906
907
|
tmp.g9_1 = Unit_instance;
|
|
907
908
|
tmp.h9_1 = null;
|
|
908
909
|
return tmp.m9();
|
|
909
910
|
};
|
|
910
911
|
protoOf(GameServer$playerLostConnection$slambda).x9 = function (p1, p2, $completion) {
|
|
911
912
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
912
|
-
return this.
|
|
913
|
+
return this.m9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
913
914
|
};
|
|
914
915
|
protoOf(GameServer$playerLostConnection$slambda).m9 = function () {
|
|
915
916
|
var suspendResult = this.g9_1;
|
|
@@ -918,12 +919,12 @@
|
|
|
918
919
|
var tmp = this.e9_1;
|
|
919
920
|
if (tmp === 0) {
|
|
920
921
|
this.f9_1 = 1;
|
|
921
|
-
if (!get_isCreated(this.
|
|
922
|
+
if (!get_isCreated(this.y9n_1.state)) {
|
|
922
923
|
return Unit_instance;
|
|
923
924
|
}
|
|
924
|
-
var tmp_0 = this.
|
|
925
|
+
var tmp_0 = this.y9n_1.dispatch;
|
|
925
926
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
926
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
927
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.w9n_1));
|
|
927
928
|
return Unit_instance;
|
|
928
929
|
} else if (tmp === 1) {
|
|
929
930
|
throw this.h9_1;
|
|
@@ -934,33 +935,33 @@
|
|
|
934
935
|
}
|
|
935
936
|
while (true);
|
|
936
937
|
};
|
|
937
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
938
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
939
|
-
i.
|
|
940
|
-
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;
|
|
941
942
|
return i;
|
|
942
943
|
};
|
|
943
944
|
function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
|
|
944
945
|
var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
|
|
945
946
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
946
|
-
return i.
|
|
947
|
+
return i.m9n($this$dispatchAsync, store, $completion);
|
|
947
948
|
};
|
|
948
949
|
l.$arity = 2;
|
|
949
950
|
return l;
|
|
950
951
|
}
|
|
951
952
|
function GameServer$playerLive$slambda($playerId, resultContinuation) {
|
|
952
|
-
this.
|
|
953
|
+
this.h9o_1 = $playerId;
|
|
953
954
|
CoroutineImpl.call(this, resultContinuation);
|
|
954
955
|
}
|
|
955
|
-
protoOf(GameServer$playerLive$slambda).
|
|
956
|
-
var tmp = this.
|
|
956
|
+
protoOf(GameServer$playerLive$slambda).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
957
|
+
var tmp = this.n9n($this$dispatchAsync, store, $completion);
|
|
957
958
|
tmp.g9_1 = Unit_instance;
|
|
958
959
|
tmp.h9_1 = null;
|
|
959
960
|
return tmp.m9();
|
|
960
961
|
};
|
|
961
962
|
protoOf(GameServer$playerLive$slambda).x9 = function (p1, p2, $completion) {
|
|
962
963
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
963
|
-
return this.
|
|
964
|
+
return this.m9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
964
965
|
};
|
|
965
966
|
protoOf(GameServer$playerLive$slambda).m9 = function () {
|
|
966
967
|
var suspendResult = this.g9_1;
|
|
@@ -969,9 +970,9 @@
|
|
|
969
970
|
var tmp = this.e9_1;
|
|
970
971
|
if (tmp === 0) {
|
|
971
972
|
this.f9_1 = 1;
|
|
972
|
-
var tmp_0 = this.
|
|
973
|
+
var tmp_0 = this.j9o_1.dispatch;
|
|
973
974
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
974
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
975
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.h9o_1));
|
|
975
976
|
return Unit_instance;
|
|
976
977
|
} else if (tmp === 1) {
|
|
977
978
|
throw this.h9_1;
|
|
@@ -982,33 +983,33 @@
|
|
|
982
983
|
}
|
|
983
984
|
while (true);
|
|
984
985
|
};
|
|
985
|
-
protoOf(GameServer$playerLive$slambda).
|
|
986
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
987
|
-
i.
|
|
988
|
-
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;
|
|
989
990
|
return i;
|
|
990
991
|
};
|
|
991
992
|
function GameServer$playerLive$slambda_0($playerId, resultContinuation) {
|
|
992
993
|
var i = new GameServer$playerLive$slambda($playerId, resultContinuation);
|
|
993
994
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
994
|
-
return i.
|
|
995
|
+
return i.m9n($this$dispatchAsync, store, $completion);
|
|
995
996
|
};
|
|
996
997
|
l.$arity = 2;
|
|
997
998
|
return l;
|
|
998
999
|
}
|
|
999
1000
|
function GameServer$playerLeft$slambda($playerId, resultContinuation) {
|
|
1000
|
-
this.
|
|
1001
|
+
this.s9o_1 = $playerId;
|
|
1001
1002
|
CoroutineImpl.call(this, resultContinuation);
|
|
1002
1003
|
}
|
|
1003
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
1004
|
-
var tmp = this.
|
|
1004
|
+
protoOf(GameServer$playerLeft$slambda).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
1005
|
+
var tmp = this.n9n($this$dispatchAsync, store, $completion);
|
|
1005
1006
|
tmp.g9_1 = Unit_instance;
|
|
1006
1007
|
tmp.h9_1 = null;
|
|
1007
1008
|
return tmp.m9();
|
|
1008
1009
|
};
|
|
1009
1010
|
protoOf(GameServer$playerLeft$slambda).x9 = function (p1, p2, $completion) {
|
|
1010
1011
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1011
|
-
return this.
|
|
1012
|
+
return this.m9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1012
1013
|
};
|
|
1013
1014
|
protoOf(GameServer$playerLeft$slambda).m9 = function () {
|
|
1014
1015
|
var suspendResult = this.g9_1;
|
|
@@ -1017,9 +1018,9 @@
|
|
|
1017
1018
|
var tmp = this.e9_1;
|
|
1018
1019
|
if (tmp === 0) {
|
|
1019
1020
|
this.f9_1 = 1;
|
|
1020
|
-
var tmp_0 = this.
|
|
1021
|
+
var tmp_0 = this.u9o_1.dispatch;
|
|
1021
1022
|
var tmp0_connectionState = PlayerConnectionState_LEFT_getInstance();
|
|
1022
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
1023
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.s9o_1));
|
|
1023
1024
|
return Unit_instance;
|
|
1024
1025
|
} else if (tmp === 1) {
|
|
1025
1026
|
throw this.h9_1;
|
|
@@ -1030,39 +1031,39 @@
|
|
|
1030
1031
|
}
|
|
1031
1032
|
while (true);
|
|
1032
1033
|
};
|
|
1033
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
1034
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
1035
|
-
i.
|
|
1036
|
-
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;
|
|
1037
1038
|
return i;
|
|
1038
1039
|
};
|
|
1039
1040
|
function GameServer$playerLeft$slambda_0($playerId, resultContinuation) {
|
|
1040
1041
|
var i = new GameServer$playerLeft$slambda($playerId, resultContinuation);
|
|
1041
1042
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1042
|
-
return i.
|
|
1043
|
+
return i.m9n($this$dispatchAsync, store, $completion);
|
|
1043
1044
|
};
|
|
1044
1045
|
l.$arity = 2;
|
|
1045
1046
|
return l;
|
|
1046
1047
|
}
|
|
1047
1048
|
function GameServer$roomOnCreate$slambda($usersArray, $gameCreatorId, $config, $transition, this$0, $spectators, $roomId, resultContinuation) {
|
|
1048
|
-
this.
|
|
1049
|
-
this.
|
|
1050
|
-
this.
|
|
1051
|
-
this.
|
|
1052
|
-
this.
|
|
1053
|
-
this.
|
|
1054
|
-
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;
|
|
1055
1056
|
CoroutineImpl.call(this, resultContinuation);
|
|
1056
1057
|
}
|
|
1057
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
1058
|
-
var tmp = this.
|
|
1058
|
+
protoOf(GameServer$roomOnCreate$slambda).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
1059
|
+
var tmp = this.n9n($this$dispatchAsync, store, $completion);
|
|
1059
1060
|
tmp.g9_1 = Unit_instance;
|
|
1060
1061
|
tmp.h9_1 = null;
|
|
1061
1062
|
return tmp.m9();
|
|
1062
1063
|
};
|
|
1063
1064
|
protoOf(GameServer$roomOnCreate$slambda).x9 = function (p1, p2, $completion) {
|
|
1064
1065
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1065
|
-
return this.
|
|
1066
|
+
return this.m9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1066
1067
|
};
|
|
1067
1068
|
protoOf(GameServer$roomOnCreate$slambda).m9 = function () {
|
|
1068
1069
|
var suspendResult = this.g9_1;
|
|
@@ -1071,29 +1072,29 @@
|
|
|
1071
1072
|
var tmp = this.e9_1;
|
|
1072
1073
|
if (tmp === 0) {
|
|
1073
1074
|
this.f9_1 = 1;
|
|
1074
|
-
var users = toList(this.
|
|
1075
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
1075
|
+
var users = toList(this.d9p_1);
|
|
1076
|
+
var gameCreatorUser = getPlayer(users, this.e9p_1);
|
|
1076
1077
|
var tmp_0;
|
|
1077
|
-
if (this.
|
|
1078
|
-
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);
|
|
1079
1080
|
} else {
|
|
1080
|
-
var tmp0_safe_receiver = this.
|
|
1081
|
+
var tmp0_safe_receiver = this.g9p_1;
|
|
1081
1082
|
var previousPlayers = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.previousPlayers;
|
|
1082
1083
|
var tmp_1;
|
|
1083
|
-
if (!(previousPlayers == null) && this.
|
|
1084
|
-
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);
|
|
1085
1086
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(previousPlayers, 10));
|
|
1086
1087
|
var tmp0_iterator = previousPlayers.j();
|
|
1087
1088
|
while (tmp0_iterator.k()) {
|
|
1088
1089
|
var item = tmp0_iterator.l();
|
|
1089
1090
|
destination.e(new GameServer$roomOnCreate$1$updatedUsers$previousTeams$1(item));
|
|
1090
1091
|
}
|
|
1091
|
-
var previousTeams = tmp_2.
|
|
1092
|
+
var previousTeams = tmp_2.k8s(destination);
|
|
1092
1093
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
1093
1094
|
var tmp0_iterator_0 = users.j();
|
|
1094
1095
|
while (tmp0_iterator_0.k()) {
|
|
1095
1096
|
var element = tmp0_iterator_0.l();
|
|
1096
|
-
if (!previousPlayers.s1(element.
|
|
1097
|
+
if (!previousPlayers.s1(element.x6a_1)) {
|
|
1097
1098
|
destination_0.e(element);
|
|
1098
1099
|
}
|
|
1099
1100
|
}
|
|
@@ -1112,17 +1113,17 @@
|
|
|
1112
1113
|
destination_1.e(destination_2);
|
|
1113
1114
|
}
|
|
1114
1115
|
var updatedTeams = destination_1;
|
|
1115
|
-
tmp_1 = _get_teamsLogicProvider__u10pm6(this.
|
|
1116
|
+
tmp_1 = _get_teamsLogicProvider__u10pm6(this.h9p_1).o8s(updatedTeams);
|
|
1116
1117
|
} else {
|
|
1117
1118
|
tmp_1 = users;
|
|
1118
1119
|
}
|
|
1119
1120
|
tmp_0 = tmp_1;
|
|
1120
1121
|
}
|
|
1121
1122
|
var updatedUsers = tmp_0;
|
|
1122
|
-
var tmp_3 = this.
|
|
1123
|
+
var tmp_3 = this.l9p_1.dispatch;
|
|
1123
1124
|
var tmp1_version = GameEngineConfig_instance.version;
|
|
1124
|
-
var tmp2_spectators = toList(this.
|
|
1125
|
-
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));
|
|
1126
1127
|
return Unit_instance;
|
|
1127
1128
|
} else if (tmp === 1) {
|
|
1128
1129
|
throw this.h9_1;
|
|
@@ -1133,33 +1134,33 @@
|
|
|
1133
1134
|
}
|
|
1134
1135
|
while (true);
|
|
1135
1136
|
};
|
|
1136
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
1137
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
1138
|
-
i.
|
|
1139
|
-
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;
|
|
1140
1141
|
return i;
|
|
1141
1142
|
};
|
|
1142
1143
|
function GameServer$roomOnCreate$slambda_0($usersArray, $gameCreatorId, $config, $transition, this$0, $spectators, $roomId, resultContinuation) {
|
|
1143
1144
|
var i = new GameServer$roomOnCreate$slambda($usersArray, $gameCreatorId, $config, $transition, this$0, $spectators, $roomId, resultContinuation);
|
|
1144
1145
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1145
|
-
return i.
|
|
1146
|
+
return i.m9n($this$dispatchAsync, store, $completion);
|
|
1146
1147
|
};
|
|
1147
1148
|
l.$arity = 2;
|
|
1148
1149
|
return l;
|
|
1149
1150
|
}
|
|
1150
1151
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
1151
|
-
this.
|
|
1152
|
+
this.u9p_1 = $state;
|
|
1152
1153
|
CoroutineImpl.call(this, resultContinuation);
|
|
1153
1154
|
}
|
|
1154
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
1155
|
-
var tmp = this.
|
|
1155
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
1156
|
+
var tmp = this.n9n($this$dispatchAsync, store, $completion);
|
|
1156
1157
|
tmp.g9_1 = Unit_instance;
|
|
1157
1158
|
tmp.h9_1 = null;
|
|
1158
1159
|
return tmp.m9();
|
|
1159
1160
|
};
|
|
1160
1161
|
protoOf(GameServer$roomOnContinueFromState$slambda).x9 = function (p1, p2, $completion) {
|
|
1161
1162
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1162
|
-
return this.
|
|
1163
|
+
return this.m9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1163
1164
|
};
|
|
1164
1165
|
protoOf(GameServer$roomOnContinueFromState$slambda).m9 = function () {
|
|
1165
1166
|
var suspendResult = this.g9_1;
|
|
@@ -1168,9 +1169,9 @@
|
|
|
1168
1169
|
var tmp = this.e9_1;
|
|
1169
1170
|
if (tmp === 0) {
|
|
1170
1171
|
this.f9_1 = 1;
|
|
1171
|
-
var tmp_0 = this.
|
|
1172
|
+
var tmp_0 = this.w9p_1.dispatch;
|
|
1172
1173
|
var tmp0_reason = new RestartRoundReason(null);
|
|
1173
|
-
var tmp1_table = this.
|
|
1174
|
+
var tmp1_table = this.u9p_1.table;
|
|
1174
1175
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
1175
1176
|
return Unit_instance;
|
|
1176
1177
|
} else if (tmp === 1) {
|
|
@@ -1182,33 +1183,33 @@
|
|
|
1182
1183
|
}
|
|
1183
1184
|
while (true);
|
|
1184
1185
|
};
|
|
1185
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
1186
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
1187
|
-
i.
|
|
1188
|
-
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;
|
|
1189
1190
|
return i;
|
|
1190
1191
|
};
|
|
1191
1192
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
1192
1193
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
1193
1194
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1194
|
-
return i.
|
|
1195
|
+
return i.m9n($this$dispatchAsync, store, $completion);
|
|
1195
1196
|
};
|
|
1196
1197
|
l.$arity = 2;
|
|
1197
1198
|
return l;
|
|
1198
1199
|
}
|
|
1199
1200
|
function GameServer$roomOnContinueFromState$slambda_1($state, resultContinuation) {
|
|
1200
|
-
this.
|
|
1201
|
+
this.f9q_1 = $state;
|
|
1201
1202
|
CoroutineImpl.call(this, resultContinuation);
|
|
1202
1203
|
}
|
|
1203
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
1204
|
-
var tmp = this.
|
|
1204
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
1205
|
+
var tmp = this.n9n($this$dispatchAsync, store, $completion);
|
|
1205
1206
|
tmp.g9_1 = Unit_instance;
|
|
1206
1207
|
tmp.h9_1 = null;
|
|
1207
1208
|
return tmp.m9();
|
|
1208
1209
|
};
|
|
1209
1210
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).x9 = function (p1, p2, $completion) {
|
|
1210
1211
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1211
|
-
return this.
|
|
1212
|
+
return this.m9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1212
1213
|
};
|
|
1213
1214
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).m9 = function () {
|
|
1214
1215
|
var suspendResult = this.g9_1;
|
|
@@ -1217,10 +1218,10 @@
|
|
|
1217
1218
|
var tmp = this.e9_1;
|
|
1218
1219
|
if (tmp === 0) {
|
|
1219
1220
|
this.f9_1 = 1;
|
|
1220
|
-
var tmp0_iterator = this.
|
|
1221
|
+
var tmp0_iterator = this.f9q_1.actions.j();
|
|
1221
1222
|
while (tmp0_iterator.k()) {
|
|
1222
1223
|
var element = tmp0_iterator.l();
|
|
1223
|
-
this.
|
|
1224
|
+
this.h9q_1.dispatch(element);
|
|
1224
1225
|
}
|
|
1225
1226
|
return Unit_instance;
|
|
1226
1227
|
} else if (tmp === 1) {
|
|
@@ -1232,35 +1233,35 @@
|
|
|
1232
1233
|
}
|
|
1233
1234
|
while (true);
|
|
1234
1235
|
};
|
|
1235
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
1236
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
1237
|
-
i.
|
|
1238
|
-
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;
|
|
1239
1240
|
return i;
|
|
1240
1241
|
};
|
|
1241
1242
|
function GameServer$roomOnContinueFromState$slambda_2($state, resultContinuation) {
|
|
1242
1243
|
var i = new GameServer$roomOnContinueFromState$slambda_1($state, resultContinuation);
|
|
1243
1244
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1244
|
-
return i.
|
|
1245
|
+
return i.m9n($this$dispatchAsync, store, $completion);
|
|
1245
1246
|
};
|
|
1246
1247
|
l.$arity = 2;
|
|
1247
1248
|
return l;
|
|
1248
1249
|
}
|
|
1249
1250
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
1250
|
-
this.
|
|
1251
|
-
this.
|
|
1252
|
-
this.
|
|
1251
|
+
this.q9q_1 = $tableLite;
|
|
1252
|
+
this.r9q_1 = $roomId;
|
|
1253
|
+
this.s9q_1 = this$0;
|
|
1253
1254
|
CoroutineImpl.call(this, resultContinuation);
|
|
1254
1255
|
}
|
|
1255
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
1256
|
-
var tmp = this.
|
|
1256
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
1257
|
+
var tmp = this.n9n($this$dispatchAsync, store, $completion);
|
|
1257
1258
|
tmp.g9_1 = Unit_instance;
|
|
1258
1259
|
tmp.h9_1 = null;
|
|
1259
1260
|
return tmp.m9();
|
|
1260
1261
|
};
|
|
1261
1262
|
protoOf(GameServer$roomOnContinueFromRound$slambda).x9 = function (p1, p2, $completion) {
|
|
1262
1263
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1263
|
-
return this.
|
|
1264
|
+
return this.m9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1264
1265
|
};
|
|
1265
1266
|
protoOf(GameServer$roomOnContinueFromRound$slambda).m9 = function () {
|
|
1266
1267
|
var suspendResult = this.g9_1;
|
|
@@ -1269,9 +1270,9 @@
|
|
|
1269
1270
|
var tmp = this.e9_1;
|
|
1270
1271
|
if (tmp === 0) {
|
|
1271
1272
|
this.f9_1 = 1;
|
|
1272
|
-
var tmp_0 = this.
|
|
1273
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
1274
|
-
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);
|
|
1275
1276
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
1276
1277
|
return Unit_instance;
|
|
1277
1278
|
} else if (tmp === 1) {
|
|
@@ -1283,16 +1284,16 @@
|
|
|
1283
1284
|
}
|
|
1284
1285
|
while (true);
|
|
1285
1286
|
};
|
|
1286
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
1287
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
1288
|
-
i.
|
|
1289
|
-
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;
|
|
1290
1291
|
return i;
|
|
1291
1292
|
};
|
|
1292
1293
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
1293
1294
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
1294
1295
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1295
|
-
return i.
|
|
1296
|
+
return i.m9n($this$dispatchAsync, store, $completion);
|
|
1296
1297
|
};
|
|
1297
1298
|
l.$arity = 2;
|
|
1298
1299
|
return l;
|
|
@@ -1300,15 +1301,15 @@
|
|
|
1300
1301
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
1301
1302
|
CoroutineImpl.call(this, resultContinuation);
|
|
1302
1303
|
}
|
|
1303
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
1304
|
-
var tmp = this.
|
|
1304
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
1305
|
+
var tmp = this.n9n($this$dispatchAsync, store, $completion);
|
|
1305
1306
|
tmp.g9_1 = Unit_instance;
|
|
1306
1307
|
tmp.h9_1 = null;
|
|
1307
1308
|
return tmp.m9();
|
|
1308
1309
|
};
|
|
1309
1310
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).x9 = function (p1, p2, $completion) {
|
|
1310
1311
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1311
|
-
return this.
|
|
1312
|
+
return this.m9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1312
1313
|
};
|
|
1313
1314
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).m9 = function () {
|
|
1314
1315
|
var suspendResult = this.g9_1;
|
|
@@ -1317,7 +1318,7 @@
|
|
|
1317
1318
|
var tmp = this.e9_1;
|
|
1318
1319
|
if (tmp === 0) {
|
|
1319
1320
|
this.f9_1 = 1;
|
|
1320
|
-
this.
|
|
1321
|
+
this.e9r_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
1321
1322
|
return Unit_instance;
|
|
1322
1323
|
} else if (tmp === 1) {
|
|
1323
1324
|
throw this.h9_1;
|
|
@@ -1328,33 +1329,33 @@
|
|
|
1328
1329
|
}
|
|
1329
1330
|
while (true);
|
|
1330
1331
|
};
|
|
1331
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
1332
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).n9n = function ($this$dispatchAsync, store, completion) {
|
|
1332
1333
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
1333
|
-
i.
|
|
1334
|
-
i.
|
|
1334
|
+
i.d9r_1 = $this$dispatchAsync;
|
|
1335
|
+
i.e9r_1 = store;
|
|
1335
1336
|
return i;
|
|
1336
1337
|
};
|
|
1337
1338
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
1338
1339
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
1339
1340
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1340
|
-
return i.
|
|
1341
|
+
return i.m9n($this$dispatchAsync, store, $completion);
|
|
1341
1342
|
};
|
|
1342
1343
|
l.$arity = 2;
|
|
1343
1344
|
return l;
|
|
1344
1345
|
}
|
|
1345
1346
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
1346
|
-
this.
|
|
1347
|
+
this.n9r_1 = $spectators;
|
|
1347
1348
|
CoroutineImpl.call(this, resultContinuation);
|
|
1348
1349
|
}
|
|
1349
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
1350
|
-
var tmp = this.
|
|
1350
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
1351
|
+
var tmp = this.n9n($this$dispatchAsync, store, $completion);
|
|
1351
1352
|
tmp.g9_1 = Unit_instance;
|
|
1352
1353
|
tmp.h9_1 = null;
|
|
1353
1354
|
return tmp.m9();
|
|
1354
1355
|
};
|
|
1355
1356
|
protoOf(GameServer$addSpectatorsToRoom$slambda).x9 = function (p1, p2, $completion) {
|
|
1356
1357
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1357
|
-
return this.
|
|
1358
|
+
return this.m9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1358
1359
|
};
|
|
1359
1360
|
protoOf(GameServer$addSpectatorsToRoom$slambda).m9 = function () {
|
|
1360
1361
|
var suspendResult = this.g9_1;
|
|
@@ -1363,7 +1364,7 @@
|
|
|
1363
1364
|
var tmp = this.e9_1;
|
|
1364
1365
|
if (tmp === 0) {
|
|
1365
1366
|
this.f9_1 = 1;
|
|
1366
|
-
this.
|
|
1367
|
+
this.p9r_1.dispatch(new AddSpectatorsAction(toList(this.n9r_1)));
|
|
1367
1368
|
return Unit_instance;
|
|
1368
1369
|
} else if (tmp === 1) {
|
|
1369
1370
|
throw this.h9_1;
|
|
@@ -1374,33 +1375,33 @@
|
|
|
1374
1375
|
}
|
|
1375
1376
|
while (true);
|
|
1376
1377
|
};
|
|
1377
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
1378
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
1379
|
-
i.
|
|
1380
|
-
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;
|
|
1381
1382
|
return i;
|
|
1382
1383
|
};
|
|
1383
1384
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
1384
1385
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
1385
1386
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1386
|
-
return i.
|
|
1387
|
+
return i.m9n($this$dispatchAsync, store, $completion);
|
|
1387
1388
|
};
|
|
1388
1389
|
l.$arity = 2;
|
|
1389
1390
|
return l;
|
|
1390
1391
|
}
|
|
1391
1392
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
1392
|
-
this.
|
|
1393
|
+
this.y9r_1 = $spectators;
|
|
1393
1394
|
CoroutineImpl.call(this, resultContinuation);
|
|
1394
1395
|
}
|
|
1395
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
1396
|
-
var tmp = this.
|
|
1396
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
1397
|
+
var tmp = this.n9n($this$dispatchAsync, store, $completion);
|
|
1397
1398
|
tmp.g9_1 = Unit_instance;
|
|
1398
1399
|
tmp.h9_1 = null;
|
|
1399
1400
|
return tmp.m9();
|
|
1400
1401
|
};
|
|
1401
1402
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).x9 = function (p1, p2, $completion) {
|
|
1402
1403
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1403
|
-
return this.
|
|
1404
|
+
return this.m9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1404
1405
|
};
|
|
1405
1406
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).m9 = function () {
|
|
1406
1407
|
var suspendResult = this.g9_1;
|
|
@@ -1409,7 +1410,7 @@
|
|
|
1409
1410
|
var tmp = this.e9_1;
|
|
1410
1411
|
if (tmp === 0) {
|
|
1411
1412
|
this.f9_1 = 1;
|
|
1412
|
-
this.
|
|
1413
|
+
this.a9s_1.dispatch(new RemoveSpectatorsAction(toList(this.y9r_1)));
|
|
1413
1414
|
return Unit_instance;
|
|
1414
1415
|
} else if (tmp === 1) {
|
|
1415
1416
|
throw this.h9_1;
|
|
@@ -1420,34 +1421,34 @@
|
|
|
1420
1421
|
}
|
|
1421
1422
|
while (true);
|
|
1422
1423
|
};
|
|
1423
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
1424
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
1425
|
-
i.
|
|
1426
|
-
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;
|
|
1427
1428
|
return i;
|
|
1428
1429
|
};
|
|
1429
1430
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
1430
1431
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
1431
1432
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1432
|
-
return i.
|
|
1433
|
+
return i.m9n($this$dispatchAsync, store, $completion);
|
|
1433
1434
|
};
|
|
1434
1435
|
l.$arity = 2;
|
|
1435
1436
|
return l;
|
|
1436
1437
|
}
|
|
1437
1438
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
1438
|
-
this.
|
|
1439
|
-
this.
|
|
1439
|
+
this.j9s_1 = $playerId;
|
|
1440
|
+
this.k9s_1 = this$0;
|
|
1440
1441
|
CoroutineImpl.call(this, resultContinuation);
|
|
1441
1442
|
}
|
|
1442
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
1443
|
-
var tmp = this.
|
|
1443
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
1444
|
+
var tmp = this.n9n($this$dispatchAsync, store, $completion);
|
|
1444
1445
|
tmp.g9_1 = Unit_instance;
|
|
1445
1446
|
tmp.h9_1 = null;
|
|
1446
1447
|
return tmp.m9();
|
|
1447
1448
|
};
|
|
1448
1449
|
protoOf(GameServer$roomRefreshPlayerState$slambda).x9 = function (p1, p2, $completion) {
|
|
1449
1450
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1450
|
-
return this.
|
|
1451
|
+
return this.m9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1451
1452
|
};
|
|
1452
1453
|
protoOf(GameServer$roomRefreshPlayerState$slambda).m9 = function () {
|
|
1453
1454
|
var suspendResult = this.g9_1;
|
|
@@ -1456,14 +1457,14 @@
|
|
|
1456
1457
|
var tmp = this.e9_1;
|
|
1457
1458
|
if (tmp === 0) {
|
|
1458
1459
|
this.f9_1 = 1;
|
|
1459
|
-
var table = this.
|
|
1460
|
-
var player = getPlayer(table.players, this.
|
|
1461
|
-
if (player.
|
|
1462
|
-
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));
|
|
1463
1464
|
} else {
|
|
1464
|
-
var tmp_0 = this.
|
|
1465
|
+
var tmp_0 = this.m9s_1.dispatch;
|
|
1465
1466
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
1466
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
1467
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.j9s_1));
|
|
1467
1468
|
}
|
|
1468
1469
|
return Unit_instance;
|
|
1469
1470
|
} else if (tmp === 1) {
|
|
@@ -1475,34 +1476,34 @@
|
|
|
1475
1476
|
}
|
|
1476
1477
|
while (true);
|
|
1477
1478
|
};
|
|
1478
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
1479
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
1480
|
-
i.
|
|
1481
|
-
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;
|
|
1482
1483
|
return i;
|
|
1483
1484
|
};
|
|
1484
1485
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
1485
1486
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
1486
1487
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1487
|
-
return i.
|
|
1488
|
+
return i.m9n($this$dispatchAsync, store, $completion);
|
|
1488
1489
|
};
|
|
1489
1490
|
l.$arity = 2;
|
|
1490
1491
|
return l;
|
|
1491
1492
|
}
|
|
1492
1493
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
1493
|
-
this.
|
|
1494
|
-
this.
|
|
1494
|
+
this.v9s_1 = this$0;
|
|
1495
|
+
this.w9s_1 = $newRid;
|
|
1495
1496
|
CoroutineImpl.call(this, resultContinuation);
|
|
1496
1497
|
}
|
|
1497
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
1498
|
-
var tmp = this.
|
|
1498
|
+
protoOf(GameServer$roomOnDelete$slambda).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
1499
|
+
var tmp = this.n9n($this$dispatchAsync, store, $completion);
|
|
1499
1500
|
tmp.g9_1 = Unit_instance;
|
|
1500
1501
|
tmp.h9_1 = null;
|
|
1501
1502
|
return tmp.m9();
|
|
1502
1503
|
};
|
|
1503
1504
|
protoOf(GameServer$roomOnDelete$slambda).x9 = function (p1, p2, $completion) {
|
|
1504
1505
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1505
|
-
return this.
|
|
1506
|
+
return this.m9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1506
1507
|
};
|
|
1507
1508
|
protoOf(GameServer$roomOnDelete$slambda).m9 = function () {
|
|
1508
1509
|
var suspendResult = this.g9_1;
|
|
@@ -1511,19 +1512,19 @@
|
|
|
1511
1512
|
var tmp = this.e9_1;
|
|
1512
1513
|
if (tmp === 0) {
|
|
1513
1514
|
this.f9_1 = 1;
|
|
1514
|
-
var it = this.
|
|
1515
|
+
var it = this.v9s_1.h6b().q6q_1;
|
|
1515
1516
|
var tmp_0;
|
|
1516
1517
|
if (it == null) {
|
|
1517
|
-
_get_logger__rkp4sl(this.
|
|
1518
|
+
_get_logger__rkp4sl(this.v9s_1).w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
1518
1519
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
1519
1520
|
} else {
|
|
1520
1521
|
tmp_0 = it;
|
|
1521
1522
|
}
|
|
1522
1523
|
var terminationState = tmp_0;
|
|
1523
|
-
var gameTransition = terminationState.
|
|
1524
|
+
var gameTransition = terminationState.m92_1;
|
|
1524
1525
|
var tmp_1;
|
|
1525
1526
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
1526
|
-
var value = this.
|
|
1527
|
+
var value = this.w9s_1;
|
|
1527
1528
|
var tmp$ret$0 = Unit_instance;
|
|
1528
1529
|
l$ret$1: do {
|
|
1529
1530
|
if (value == null) {
|
|
@@ -1540,9 +1541,9 @@
|
|
|
1540
1541
|
tmp_1 = gameTransition;
|
|
1541
1542
|
}
|
|
1542
1543
|
var transition = tmp_1;
|
|
1543
|
-
var tmp_2 = this.
|
|
1544
|
-
var tmp0_reason = terminationState.
|
|
1545
|
-
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;
|
|
1546
1547
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
1547
1548
|
return Unit_instance;
|
|
1548
1549
|
} else if (tmp === 1) {
|
|
@@ -1554,33 +1555,33 @@
|
|
|
1554
1555
|
}
|
|
1555
1556
|
while (true);
|
|
1556
1557
|
};
|
|
1557
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
1558
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
1559
|
-
i.
|
|
1560
|
-
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;
|
|
1561
1562
|
return i;
|
|
1562
1563
|
};
|
|
1563
1564
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
1564
1565
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
1565
1566
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1566
|
-
return i.
|
|
1567
|
+
return i.m9n($this$dispatchAsync, store, $completion);
|
|
1567
1568
|
};
|
|
1568
1569
|
l.$arity = 2;
|
|
1569
1570
|
return l;
|
|
1570
1571
|
}
|
|
1571
1572
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
1572
|
-
this.
|
|
1573
|
+
this.h9t_1 = $enabled;
|
|
1573
1574
|
CoroutineImpl.call(this, resultContinuation);
|
|
1574
1575
|
}
|
|
1575
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
1576
|
-
var tmp = this.
|
|
1576
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
1577
|
+
var tmp = this.n9n($this$dispatchAsync, store, $completion);
|
|
1577
1578
|
tmp.g9_1 = Unit_instance;
|
|
1578
1579
|
tmp.h9_1 = null;
|
|
1579
1580
|
return tmp.m9();
|
|
1580
1581
|
};
|
|
1581
1582
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).x9 = function (p1, p2, $completion) {
|
|
1582
1583
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1583
|
-
return this.
|
|
1584
|
+
return this.m9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1584
1585
|
};
|
|
1585
1586
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).m9 = function () {
|
|
1586
1587
|
var suspendResult = this.g9_1;
|
|
@@ -1589,7 +1590,7 @@
|
|
|
1589
1590
|
var tmp = this.e9_1;
|
|
1590
1591
|
if (tmp === 0) {
|
|
1591
1592
|
this.f9_1 = 1;
|
|
1592
|
-
this.
|
|
1593
|
+
this.j9t_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload_0(this.j9t_1.state).k9t_1.n9t(VOID, this.h9t_1)));
|
|
1593
1594
|
return Unit_instance;
|
|
1594
1595
|
} else if (tmp === 1) {
|
|
1595
1596
|
throw this.h9_1;
|
|
@@ -1600,35 +1601,35 @@
|
|
|
1600
1601
|
}
|
|
1601
1602
|
while (true);
|
|
1602
1603
|
};
|
|
1603
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
1604
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
1605
|
-
i.
|
|
1606
|
-
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;
|
|
1607
1608
|
return i;
|
|
1608
1609
|
};
|
|
1609
1610
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
1610
1611
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
1611
1612
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1612
|
-
return i.
|
|
1613
|
+
return i.m9n($this$dispatchAsync, store, $completion);
|
|
1613
1614
|
};
|
|
1614
1615
|
l.$arity = 2;
|
|
1615
1616
|
return l;
|
|
1616
1617
|
}
|
|
1617
1618
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
1618
|
-
this.
|
|
1619
|
-
this.
|
|
1620
|
-
this.
|
|
1619
|
+
this.w9t_1 = $reason;
|
|
1620
|
+
this.x9t_1 = this$0;
|
|
1621
|
+
this.y9t_1 = $roomId;
|
|
1621
1622
|
CoroutineImpl.call(this, resultContinuation);
|
|
1622
1623
|
}
|
|
1623
|
-
protoOf(GameServer$shutdown$slambda).
|
|
1624
|
-
var tmp = this.
|
|
1624
|
+
protoOf(GameServer$shutdown$slambda).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
1625
|
+
var tmp = this.n9n($this$dispatchAsync, store, $completion);
|
|
1625
1626
|
tmp.g9_1 = Unit_instance;
|
|
1626
1627
|
tmp.h9_1 = null;
|
|
1627
1628
|
return tmp.m9();
|
|
1628
1629
|
};
|
|
1629
1630
|
protoOf(GameServer$shutdown$slambda).x9 = function (p1, p2, $completion) {
|
|
1630
1631
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1631
|
-
return this.
|
|
1632
|
+
return this.m9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1632
1633
|
};
|
|
1633
1634
|
protoOf(GameServer$shutdown$slambda).m9 = function () {
|
|
1634
1635
|
var suspendResult = this.g9_1;
|
|
@@ -1637,11 +1638,11 @@
|
|
|
1637
1638
|
var tmp = this.e9_1;
|
|
1638
1639
|
if (tmp === 0) {
|
|
1639
1640
|
this.f9_1 = 1;
|
|
1640
|
-
var state = this.
|
|
1641
|
-
if (state.
|
|
1642
|
-
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());
|
|
1643
1644
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
1644
|
-
var tmp_0 = this.
|
|
1645
|
+
var tmp_0 = this.a9u_1.dispatch;
|
|
1645
1646
|
var tmp_1 = Companion_instance_0;
|
|
1646
1647
|
var tmp_2;
|
|
1647
1648
|
switch (shutdownReason.n2_1) {
|
|
@@ -1655,10 +1656,10 @@
|
|
|
1655
1656
|
noWhenBranchMatchedException();
|
|
1656
1657
|
break;
|
|
1657
1658
|
}
|
|
1658
|
-
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));
|
|
1659
1660
|
} else {
|
|
1660
|
-
_get_logger__rkp4sl(this.
|
|
1661
|
-
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());
|
|
1662
1663
|
}
|
|
1663
1664
|
return Unit_instance;
|
|
1664
1665
|
} else if (tmp === 1) {
|
|
@@ -1670,22 +1671,22 @@
|
|
|
1670
1671
|
}
|
|
1671
1672
|
while (true);
|
|
1672
1673
|
};
|
|
1673
|
-
protoOf(GameServer$shutdown$slambda).
|
|
1674
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
1675
|
-
i.
|
|
1676
|
-
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;
|
|
1677
1678
|
return i;
|
|
1678
1679
|
};
|
|
1679
1680
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
1680
1681
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
1681
1682
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1682
|
-
return i.
|
|
1683
|
+
return i.m9n($this$dispatchAsync, store, $completion);
|
|
1683
1684
|
};
|
|
1684
1685
|
l.$arity = 2;
|
|
1685
1686
|
return l;
|
|
1686
1687
|
}
|
|
1687
1688
|
function GameServer(di, tag, storeContract, preloadedState, externalReducers, externalMiddlewares) {
|
|
1688
|
-
preloadedState = preloadedState === VOID ? new AppState(VOID, Companion_instance_11.
|
|
1689
|
+
preloadedState = preloadedState === VOID ? new AppState(VOID, Companion_instance_11.b9u()) : preloadedState;
|
|
1689
1690
|
var tmp;
|
|
1690
1691
|
if (externalReducers === VOID) {
|
|
1691
1692
|
// Inline function 'kotlin.collections.listOf' call
|
|
@@ -1708,119 +1709,120 @@
|
|
|
1708
1709
|
// Inline function 'org.kodein.type.generic' call
|
|
1709
1710
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
1710
1711
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
1711
|
-
tmp_1.
|
|
1712
|
+
tmp_1.g9l_1 = Instance(di, tmp$ret$2, null).u63(this, logger$factory());
|
|
1712
1713
|
var tmp_3 = this;
|
|
1713
1714
|
// Inline function 'org.kodein.di.instance' call
|
|
1714
1715
|
// Inline function 'org.kodein.type.generic' call
|
|
1715
1716
|
var tmp_4 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
|
|
1716
1717
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
1717
|
-
tmp_3.
|
|
1718
|
+
tmp_3.h9l_1 = Instance(di, tmp$ret$4, null).u63(this, toClientEventsObserver$factory());
|
|
1718
1719
|
var tmp_5 = this;
|
|
1719
1720
|
// Inline function 'org.kodein.di.instance' call
|
|
1720
1721
|
// Inline function 'org.kodein.type.generic' call
|
|
1721
1722
|
var tmp_6 = typeToken(createKType(getKClass(MechanicEventsObserver), arrayOf([]), false));
|
|
1722
1723
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
1723
|
-
tmp_5.
|
|
1724
|
+
tmp_5.i9l_1 = Instance(di, tmp$ret$6, null).u63(this, mechanicEventsObserver$factory());
|
|
1724
1725
|
var tmp_7 = this;
|
|
1725
1726
|
// Inline function 'org.kodein.di.instance' call
|
|
1726
1727
|
// Inline function 'org.kodein.type.generic' call
|
|
1727
1728
|
var tmp_8 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
1728
1729
|
var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
1729
|
-
tmp_7.
|
|
1730
|
+
tmp_7.j9l_1 = Instance(di, tmp$ret$8, null).u63(this, playerConnectionInteractor$factory());
|
|
1730
1731
|
var tmp_9 = this;
|
|
1731
1732
|
// Inline function 'org.kodein.di.instance' call
|
|
1732
1733
|
// Inline function 'org.kodein.type.generic' call
|
|
1733
1734
|
var tmp_10 = typeToken(createKType(getKClass(TeamsLogicProvider), arrayOf([]), false));
|
|
1734
1735
|
var tmp$ret$10 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
1735
|
-
tmp_9.
|
|
1736
|
+
tmp_9.k9l_1 = Instance(di, tmp$ret$10, null).u63(this, teamsLogicProvider$factory());
|
|
1736
1737
|
var tmp_11 = this;
|
|
1737
|
-
tmp_11.
|
|
1738
|
+
tmp_11.l9l_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
1738
1739
|
var tmp_12 = this;
|
|
1739
1740
|
// Inline function 'org.kodein.di.instance' call
|
|
1740
1741
|
// Inline function 'org.kodein.type.generic' call
|
|
1741
1742
|
var tmp_13 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
1742
1743
|
var tmp$ret$12 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
1743
|
-
tmp_12.
|
|
1744
|
+
tmp_12.m9l_1 = Instance(di, tmp$ret$12, null).u63(this, idsProvider$factory());
|
|
1744
1745
|
var tmp_14 = this;
|
|
1745
|
-
var tmp0_externalMiddlewares = plus(storeContract.
|
|
1746
|
-
var tmp1_externalReducers = plus(storeContract.
|
|
1747
|
-
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);
|
|
1748
1749
|
}
|
|
1749
|
-
protoOf(GameServer).
|
|
1750
|
-
return this.
|
|
1751
|
-
};
|
|
1752
|
-
protoOf(GameServer).d5l = function () {
|
|
1753
|
-
return this.g6b().o6r().id;
|
|
1750
|
+
protoOf(GameServer).c6q = function () {
|
|
1751
|
+
return this.n9l_1;
|
|
1754
1752
|
};
|
|
1755
|
-
protoOf(GameServer).
|
|
1756
|
-
return this.
|
|
1753
|
+
protoOf(GameServer).e5l = function () {
|
|
1754
|
+
return this.h6b().p6r().id;
|
|
1757
1755
|
};
|
|
1758
1756
|
protoOf(GameServer).p6r = function () {
|
|
1759
|
-
return this.
|
|
1757
|
+
return this.h6b().p6r();
|
|
1760
1758
|
};
|
|
1761
1759
|
protoOf(GameServer).q6r = function () {
|
|
1762
|
-
return this.
|
|
1760
|
+
return this.h6b().q6r();
|
|
1761
|
+
};
|
|
1762
|
+
protoOf(GameServer).r6r = function () {
|
|
1763
|
+
return this.h6b().p6q_1;
|
|
1763
1764
|
};
|
|
1764
1765
|
protoOf(GameServer).subscribeToClientAction = function (subscriber) {
|
|
1765
|
-
var tmp = this.
|
|
1766
|
-
tmp.
|
|
1766
|
+
var tmp = this.a6q();
|
|
1767
|
+
tmp.s6g(VOID, GameServer$subscribeToClientAction$slambda_0(this, subscriber, null));
|
|
1767
1768
|
};
|
|
1768
1769
|
protoOf(GameServer).subscribeServerStateUpdate = function (subscriber) {
|
|
1769
|
-
var tmp = this.
|
|
1770
|
-
tmp.
|
|
1770
|
+
var tmp = this.a6q();
|
|
1771
|
+
tmp.s6g(VOID, GameServer$subscribeServerStateUpdate$slambda_0(this, subscriber, null));
|
|
1771
1772
|
};
|
|
1772
1773
|
protoOf(GameServer).subscribeWith = function (subscriber) {
|
|
1773
|
-
var tmp = this.
|
|
1774
|
-
tmp.
|
|
1774
|
+
var tmp = this.a6q();
|
|
1775
|
+
tmp.s6g(VOID, GameServer$subscribeWith$slambda_0(this, subscriber, null));
|
|
1775
1776
|
};
|
|
1776
1777
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
1777
1778
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
1778
|
-
this.
|
|
1779
|
+
this.n9l_1.o6r(GameServer$fromClientEvent$slambda_0(action, null));
|
|
1779
1780
|
};
|
|
1780
1781
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
1781
1782
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
1782
|
-
this.
|
|
1783
|
+
this.n9l_1.o6r(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
1783
1784
|
};
|
|
1784
1785
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
1785
1786
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLive: ' + playerId);
|
|
1786
|
-
this.
|
|
1787
|
+
this.n9l_1.o6r(GameServer$playerLive$slambda_0(playerId, null));
|
|
1787
1788
|
};
|
|
1788
1789
|
protoOf(GameServer).playerLeft = function (playerId) {
|
|
1789
1790
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
1790
|
-
this.
|
|
1791
|
+
this.n9l_1.o6r(GameServer$playerLeft$slambda_0(playerId, null));
|
|
1791
1792
|
};
|
|
1792
|
-
protoOf(GameServer).
|
|
1793
|
-
this.
|
|
1793
|
+
protoOf(GameServer).c9u = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
1794
|
+
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
1795
|
+
this.n9l_1.o6r(GameServer$roomOnCreate$slambda_0(usersArray, gameCreatorId, config, transition, this, spectators, roomId, null));
|
|
1794
1796
|
};
|
|
1795
1797
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
1796
|
-
this.
|
|
1797
|
-
this.
|
|
1798
|
+
this.n9l_1.o6r(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
1799
|
+
this.n9l_1.o6r(GameServer$roomOnContinueFromState$slambda_2(state, null));
|
|
1798
1800
|
};
|
|
1799
1801
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
1800
|
-
this.
|
|
1801
|
-
this.
|
|
1802
|
+
this.n9l_1.o6r(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
1803
|
+
this.n9l_1.o6r(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
1802
1804
|
};
|
|
1803
1805
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
1804
|
-
this.
|
|
1806
|
+
this.n9l_1.o6r(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
1805
1807
|
};
|
|
1806
1808
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
1807
|
-
this.
|
|
1809
|
+
this.n9l_1.o6r(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
1808
1810
|
};
|
|
1809
1811
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
1810
1812
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
1811
|
-
this.
|
|
1813
|
+
this.n9l_1.o6r(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
1812
1814
|
};
|
|
1813
|
-
protoOf(GameServer).
|
|
1815
|
+
protoOf(GameServer).d9u = function (newRid) {
|
|
1814
1816
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnDelete: ' + newRid);
|
|
1815
|
-
this.
|
|
1817
|
+
this.n9l_1.o6r(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
1816
1818
|
};
|
|
1817
1819
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
1818
1820
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
1819
|
-
this.
|
|
1821
|
+
this.n9l_1.o6r(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
1820
1822
|
};
|
|
1821
|
-
protoOf(GameServer).
|
|
1823
|
+
protoOf(GameServer).e9u = function (reason, roomId) {
|
|
1822
1824
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
1823
|
-
this.
|
|
1825
|
+
this.n9l_1.o6r(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
1824
1826
|
};
|
|
1825
1827
|
protoOf(GameServer).clear = function () {
|
|
1826
1828
|
return this.a2();
|
|
@@ -1925,7 +1927,7 @@
|
|
|
1925
1927
|
}
|
|
1926
1928
|
function Companion_0() {
|
|
1927
1929
|
}
|
|
1928
|
-
protoOf(Companion_0).
|
|
1930
|
+
protoOf(Companion_0).f9u = function (fromRound) {
|
|
1929
1931
|
return new ServerConfig(fromRound, true);
|
|
1930
1932
|
};
|
|
1931
1933
|
var Companion_instance_8;
|
|
@@ -1933,23 +1935,23 @@
|
|
|
1933
1935
|
return Companion_instance_8;
|
|
1934
1936
|
}
|
|
1935
1937
|
function ServerConfig(fromRound, canStartNewGame) {
|
|
1936
|
-
this.
|
|
1937
|
-
this.
|
|
1938
|
+
this.l9t_1 = fromRound;
|
|
1939
|
+
this.m9t_1 = canStartNewGame;
|
|
1938
1940
|
}
|
|
1939
|
-
protoOf(ServerConfig).
|
|
1941
|
+
protoOf(ServerConfig).g9u = function (fromRound, canStartNewGame) {
|
|
1940
1942
|
return new ServerConfig(fromRound, canStartNewGame);
|
|
1941
1943
|
};
|
|
1942
|
-
protoOf(ServerConfig).
|
|
1943
|
-
fromRound = fromRound === VOID ? this.
|
|
1944
|
-
canStartNewGame = canStartNewGame === VOID ? this.
|
|
1945
|
-
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);
|
|
1946
1948
|
};
|
|
1947
1949
|
protoOf(ServerConfig).toString = function () {
|
|
1948
|
-
return 'ServerConfig(fromRound=' + this.
|
|
1950
|
+
return 'ServerConfig(fromRound=' + this.l9t_1 + ', canStartNewGame=' + this.m9t_1 + ')';
|
|
1949
1951
|
};
|
|
1950
1952
|
protoOf(ServerConfig).hashCode = function () {
|
|
1951
|
-
var result = this.
|
|
1952
|
-
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;
|
|
1953
1955
|
return result;
|
|
1954
1956
|
};
|
|
1955
1957
|
protoOf(ServerConfig).equals = function (other) {
|
|
@@ -1958,9 +1960,9 @@
|
|
|
1958
1960
|
if (!(other instanceof ServerConfig))
|
|
1959
1961
|
return false;
|
|
1960
1962
|
var tmp0_other_with_cast = other instanceof ServerConfig ? other : THROW_CCE();
|
|
1961
|
-
if (!(this.
|
|
1963
|
+
if (!(this.l9t_1 == tmp0_other_with_cast.l9t_1))
|
|
1962
1964
|
return false;
|
|
1963
|
-
if (!(this.
|
|
1965
|
+
if (!(this.m9t_1 === tmp0_other_with_cast.m9t_1))
|
|
1964
1966
|
return false;
|
|
1965
1967
|
return true;
|
|
1966
1968
|
};
|
|
@@ -1969,18 +1971,18 @@
|
|
|
1969
1971
|
function TableStateUpdate(table) {
|
|
1970
1972
|
this.table = table;
|
|
1971
1973
|
}
|
|
1972
|
-
protoOf(TableStateUpdate).
|
|
1974
|
+
protoOf(TableStateUpdate).p6r = function () {
|
|
1973
1975
|
return this.table;
|
|
1974
1976
|
};
|
|
1975
1977
|
protoOf(TableStateUpdate).pe = function () {
|
|
1976
1978
|
return this.table;
|
|
1977
1979
|
};
|
|
1978
|
-
protoOf(TableStateUpdate).
|
|
1980
|
+
protoOf(TableStateUpdate).h9u = function (table) {
|
|
1979
1981
|
return new TableStateUpdate(table);
|
|
1980
1982
|
};
|
|
1981
1983
|
protoOf(TableStateUpdate).copy = function (table, $super) {
|
|
1982
1984
|
table = table === VOID ? this.table : table;
|
|
1983
|
-
return this.
|
|
1985
|
+
return this.h9u(table);
|
|
1984
1986
|
};
|
|
1985
1987
|
protoOf(TableStateUpdate).toString = function () {
|
|
1986
1988
|
return 'TableStateUpdate(table=' + this.table.toString() + ')';
|
|
@@ -2001,18 +2003,18 @@
|
|
|
2001
2003
|
function ActionsStateUpdate(actions) {
|
|
2002
2004
|
this.actions = actions;
|
|
2003
2005
|
}
|
|
2004
|
-
protoOf(ActionsStateUpdate).
|
|
2006
|
+
protoOf(ActionsStateUpdate).e8l = function () {
|
|
2005
2007
|
return this.actions;
|
|
2006
2008
|
};
|
|
2007
2009
|
protoOf(ActionsStateUpdate).pe = function () {
|
|
2008
2010
|
return this.actions;
|
|
2009
2011
|
};
|
|
2010
|
-
protoOf(ActionsStateUpdate).
|
|
2012
|
+
protoOf(ActionsStateUpdate).i9u = function (actions) {
|
|
2011
2013
|
return new ActionsStateUpdate(actions);
|
|
2012
2014
|
};
|
|
2013
2015
|
protoOf(ActionsStateUpdate).copy = function (actions, $super) {
|
|
2014
2016
|
actions = actions === VOID ? this.actions : actions;
|
|
2015
|
-
return this.
|
|
2017
|
+
return this.i9u(actions);
|
|
2016
2018
|
};
|
|
2017
2019
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
2018
2020
|
return 'ActionsStateUpdate(actions=' + toString(this.actions) + ')';
|
|
@@ -2040,77 +2042,77 @@
|
|
|
2040
2042
|
}
|
|
2041
2043
|
function getServerEngineGameDI$lambda$lambda($this$provider) {
|
|
2042
2044
|
// Inline function 'org.kodein.di.instance' call
|
|
2043
|
-
var tmp = $this$provider.
|
|
2045
|
+
var tmp = $this$provider.m5z();
|
|
2044
2046
|
// Inline function 'org.kodein.type.generic' call
|
|
2045
2047
|
var tmp_0 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
2046
2048
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
2047
|
-
var tmp_1 = tmp.
|
|
2049
|
+
var tmp_1 = tmp.l5z(tmp$ret$0, null);
|
|
2048
2050
|
// Inline function 'org.kodein.di.instance' call
|
|
2049
|
-
var tmp_2 = $this$provider.
|
|
2051
|
+
var tmp_2 = $this$provider.m5z();
|
|
2050
2052
|
// Inline function 'org.kodein.type.generic' call
|
|
2051
2053
|
var tmp_3 = typeToken(createKType(getKClass(TableLifecycleReducer), arrayOf([]), false));
|
|
2052
2054
|
var tmp$ret$2 = isInterface(tmp_3, TypeToken) ? tmp_3 : THROW_CCE();
|
|
2053
|
-
var tmp_4 = tmp_2.
|
|
2055
|
+
var tmp_4 = tmp_2.l5z(tmp$ret$2, null);
|
|
2054
2056
|
// Inline function 'org.kodein.di.instance' call
|
|
2055
|
-
var tmp_5 = $this$provider.
|
|
2057
|
+
var tmp_5 = $this$provider.m5z();
|
|
2056
2058
|
// Inline function 'org.kodein.type.generic' call
|
|
2057
2059
|
var tmp_6 = typeToken(createKType(getKClass(RandomPoolProvider), arrayOf([]), false));
|
|
2058
2060
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2059
|
-
var tmp$ret$5 = tmp_5.
|
|
2061
|
+
var tmp$ret$5 = tmp_5.l5z(tmp$ret$4, null);
|
|
2060
2062
|
return new ServerMechanicLifecycleReducer(tmp_1, tmp_4, tmp$ret$5);
|
|
2061
2063
|
}
|
|
2062
2064
|
function getServerEngineGameDI$lambda$lambda_0($this$provider) {
|
|
2063
2065
|
// Inline function 'org.kodein.di.instance' call
|
|
2064
|
-
var tmp = $this$provider.
|
|
2066
|
+
var tmp = $this$provider.m5z();
|
|
2065
2067
|
// Inline function 'org.kodein.type.generic' call
|
|
2066
2068
|
var tmp_0 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
2067
2069
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
2068
|
-
var tmp0_serverConfig = tmp.
|
|
2070
|
+
var tmp0_serverConfig = tmp.l5z(tmp$ret$0, null);
|
|
2069
2071
|
// Inline function 'org.kodein.di.instance' call
|
|
2070
|
-
var tmp_1 = $this$provider.
|
|
2072
|
+
var tmp_1 = $this$provider.m5z();
|
|
2071
2073
|
// Inline function 'org.kodein.type.generic' call
|
|
2072
2074
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
2073
2075
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
2074
|
-
var tmp1_logger = tmp_1.
|
|
2076
|
+
var tmp1_logger = tmp_1.l5z(tmp$ret$2, null);
|
|
2075
2077
|
// Inline function 'org.kodein.di.instance' call
|
|
2076
|
-
var tmp_3 = $this$provider.
|
|
2078
|
+
var tmp_3 = $this$provider.m5z();
|
|
2077
2079
|
// Inline function 'org.kodein.type.generic' call
|
|
2078
2080
|
var tmp_4 = typeToken(createKType(getKClass(PlayerTurnMechanicReducer), arrayOf([]), false));
|
|
2079
2081
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
2080
|
-
var tmp2_playerTurnMechanicReducer = tmp_3.
|
|
2082
|
+
var tmp2_playerTurnMechanicReducer = tmp_3.l5z(tmp$ret$4, null);
|
|
2081
2083
|
// Inline function 'org.kodein.di.instance' call
|
|
2082
|
-
var tmp_5 = $this$provider.
|
|
2084
|
+
var tmp_5 = $this$provider.m5z();
|
|
2083
2085
|
// Inline function 'org.kodein.type.generic' call
|
|
2084
2086
|
var tmp_6 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
2085
2087
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2086
|
-
var tmp3_idsProvider = tmp_5.
|
|
2088
|
+
var tmp3_idsProvider = tmp_5.l5z(tmp$ret$6, null);
|
|
2087
2089
|
// Inline function 'org.kodein.di.instance' call
|
|
2088
|
-
var tmp_7 = $this$provider.
|
|
2090
|
+
var tmp_7 = $this$provider.m5z();
|
|
2089
2091
|
// Inline function 'org.kodein.type.generic' call
|
|
2090
2092
|
var tmp_8 = typeToken(createKType(getKClass(EngineLogicConfig), arrayOf([]), false));
|
|
2091
2093
|
var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
2092
|
-
var tmp4_engineLogicConfig = tmp_7.
|
|
2094
|
+
var tmp4_engineLogicConfig = tmp_7.l5z(tmp$ret$8, null);
|
|
2093
2095
|
return new PlayerConnectionInteractor(tmp0_serverConfig, tmp4_engineLogicConfig, tmp1_logger, tmp2_playerTurnMechanicReducer, tmp3_idsProvider);
|
|
2094
2096
|
}
|
|
2095
2097
|
function getServerEngineGameDI$lambda$lambda_1($this$singleton) {
|
|
2096
2098
|
// Inline function 'org.kodein.di.instance' call
|
|
2097
|
-
var tmp = $this$singleton.
|
|
2099
|
+
var tmp = $this$singleton.m5z();
|
|
2098
2100
|
// Inline function 'org.kodein.type.generic' call
|
|
2099
2101
|
var tmp_0 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
2100
2102
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
2101
|
-
var tmp_1 = tmp.
|
|
2103
|
+
var tmp_1 = tmp.l5z(tmp$ret$0, null);
|
|
2102
2104
|
// Inline function 'org.kodein.di.instance' call
|
|
2103
|
-
var tmp_2 = $this$singleton.
|
|
2105
|
+
var tmp_2 = $this$singleton.m5z();
|
|
2104
2106
|
// Inline function 'org.kodein.type.generic' call
|
|
2105
2107
|
var tmp_3 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
2106
2108
|
var tmp$ret$2 = isInterface(tmp_3, TypeToken) ? tmp_3 : THROW_CCE();
|
|
2107
|
-
var tmp_4 = tmp_2.
|
|
2109
|
+
var tmp_4 = tmp_2.l5z(tmp$ret$2, null);
|
|
2108
2110
|
// Inline function 'org.kodein.di.instance' call
|
|
2109
|
-
var tmp_5 = $this$singleton.
|
|
2111
|
+
var tmp_5 = $this$singleton.m5z();
|
|
2110
2112
|
// Inline function 'org.kodein.type.generic' call
|
|
2111
2113
|
var tmp_6 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
2112
2114
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2113
|
-
var tmp$ret$5 = tmp_5.
|
|
2115
|
+
var tmp$ret$5 = tmp_5.l5z(tmp$ret$4, null);
|
|
2114
2116
|
return new ToClientEventsObserverImpl(tmp_1, tmp_4, tmp$ret$5);
|
|
2115
2117
|
}
|
|
2116
2118
|
function getServerEngineGameDI$lambda$lambda_2($this$singleton) {
|
|
@@ -2118,64 +2120,64 @@
|
|
|
2118
2120
|
}
|
|
2119
2121
|
function getServerEngineGameDI$lambda($engineBotConfig, $engineLogicConfig, $dealerConfig) {
|
|
2120
2122
|
return function ($this$Module) {
|
|
2121
|
-
$this$Module.
|
|
2122
|
-
$this$Module.
|
|
2123
|
+
$this$Module.b5y(jsonModule(emptyList()));
|
|
2124
|
+
$this$Module.b5y(getEngineGameModule($engineBotConfig, $engineLogicConfig, $dealerConfig));
|
|
2123
2125
|
// Inline function 'org.kodein.di.bind' call
|
|
2124
2126
|
// Inline function 'org.kodein.type.generic' call
|
|
2125
2127
|
var tmp = typeToken(createKType(getKClass(MechanicLifecycleReducer), arrayOf([]), false));
|
|
2126
2128
|
var tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
|
|
2127
|
-
var tmp_0 = $this$Module.
|
|
2129
|
+
var tmp_0 = $this$Module.z5x(tmp$ret$0, null, null);
|
|
2128
2130
|
// Inline function 'org.kodein.di.provider' call
|
|
2129
2131
|
var creator = getServerEngineGameDI$lambda$lambda;
|
|
2130
|
-
var tmp_1 = $this$Module.
|
|
2132
|
+
var tmp_1 = $this$Module.c5y();
|
|
2131
2133
|
// Inline function 'org.kodein.type.generic' call
|
|
2132
2134
|
var tmp_2 = typeToken(createKType(getKClass(ServerMechanicLifecycleReducer), arrayOf([]), false));
|
|
2133
2135
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
2134
2136
|
var tmp$ret$3 = new Provider(tmp_1, tmp$ret$2, creator);
|
|
2135
|
-
tmp_0.
|
|
2137
|
+
tmp_0.x61(tmp$ret$3);
|
|
2136
2138
|
// Inline function 'org.kodein.di.bind' call
|
|
2137
2139
|
// Inline function 'org.kodein.type.generic' call
|
|
2138
2140
|
var tmp_3 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
2139
2141
|
var tmp$ret$4 = isInterface(tmp_3, TypeToken) ? tmp_3 : THROW_CCE();
|
|
2140
|
-
var tmp_4 = $this$Module.
|
|
2142
|
+
var tmp_4 = $this$Module.z5x(tmp$ret$4, null, null);
|
|
2141
2143
|
// Inline function 'org.kodein.di.provider' call
|
|
2142
2144
|
var creator_0 = getServerEngineGameDI$lambda$lambda_0;
|
|
2143
|
-
var tmp_5 = $this$Module.
|
|
2145
|
+
var tmp_5 = $this$Module.c5y();
|
|
2144
2146
|
// Inline function 'org.kodein.type.generic' call
|
|
2145
2147
|
var tmp_6 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
2146
2148
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2147
2149
|
var tmp$ret$7 = new Provider(tmp_5, tmp$ret$6, creator_0);
|
|
2148
|
-
tmp_4.
|
|
2150
|
+
tmp_4.x61(tmp$ret$7);
|
|
2149
2151
|
// Inline function 'org.kodein.di.bind' call
|
|
2150
2152
|
// Inline function 'org.kodein.type.generic' call
|
|
2151
2153
|
var tmp_7 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
|
|
2152
2154
|
var tmp$ret$8 = isInterface(tmp_7, TypeToken) ? tmp_7 : THROW_CCE();
|
|
2153
|
-
var tmp_8 = $this$Module.
|
|
2155
|
+
var tmp_8 = $this$Module.z5x(tmp$ret$8, null, null);
|
|
2154
2156
|
// Inline function 'org.kodein.di.singleton' call
|
|
2155
2157
|
var creator_1 = getServerEngineGameDI$lambda$lambda_1;
|
|
2156
|
-
var tmp_9 = $this$Module.
|
|
2157
|
-
var tmp_10 = $this$Module.
|
|
2158
|
-
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();
|
|
2159
2161
|
// Inline function 'org.kodein.type.generic' call
|
|
2160
2162
|
var tmp_12 = typeToken(createKType(getKClass(ToClientEventsObserverImpl), arrayOf([]), false));
|
|
2161
2163
|
var tmp$ret$10 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
2162
2164
|
var tmp$ret$11 = new Singleton(tmp_9, tmp_10, tmp_11, tmp$ret$10, null, true, creator_1);
|
|
2163
|
-
tmp_8.
|
|
2165
|
+
tmp_8.x61(tmp$ret$11);
|
|
2164
2166
|
// Inline function 'org.kodein.di.bind' call
|
|
2165
2167
|
// Inline function 'org.kodein.type.generic' call
|
|
2166
2168
|
var tmp_13 = typeToken(createKType(getKClass(MechanicEventsObserver), arrayOf([]), false));
|
|
2167
2169
|
var tmp$ret$12 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
2168
|
-
var tmp_14 = $this$Module.
|
|
2170
|
+
var tmp_14 = $this$Module.z5x(tmp$ret$12, null, null);
|
|
2169
2171
|
// Inline function 'org.kodein.di.singleton' call
|
|
2170
2172
|
var creator_2 = getServerEngineGameDI$lambda$lambda_2;
|
|
2171
|
-
var tmp_15 = $this$Module.
|
|
2172
|
-
var tmp_16 = $this$Module.
|
|
2173
|
-
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();
|
|
2174
2176
|
// Inline function 'org.kodein.type.generic' call
|
|
2175
2177
|
var tmp_18 = typeToken(createKType(getKClass(MechanicEventsObserverImpl), arrayOf([]), false));
|
|
2176
2178
|
var tmp$ret$14 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
2177
2179
|
var tmp$ret$15 = new Singleton(tmp_15, tmp_16, tmp_17, tmp$ret$14, null, true, creator_2);
|
|
2178
|
-
tmp_14.
|
|
2180
|
+
tmp_14.x61(tmp$ret$15);
|
|
2179
2181
|
return Unit_instance;
|
|
2180
2182
|
};
|
|
2181
2183
|
}
|
|
@@ -2185,27 +2187,27 @@
|
|
|
2185
2187
|
};
|
|
2186
2188
|
}
|
|
2187
2189
|
function createGameServerDI$lambda$lambda_0($this$singleton) {
|
|
2188
|
-
return new ServerGameStoreContract($this$singleton.
|
|
2190
|
+
return new ServerGameStoreContract($this$singleton.j5y());
|
|
2189
2191
|
}
|
|
2190
2192
|
function createGameServerDI$lambda$lambda_1($externalReducers, $externalMiddlewares) {
|
|
2191
2193
|
return function ($this$singleton) {
|
|
2192
|
-
var tmp = $this$singleton.
|
|
2194
|
+
var tmp = $this$singleton.j5y();
|
|
2193
2195
|
// Inline function 'org.kodein.di.instance' call
|
|
2194
|
-
var tmp_0 = $this$singleton.
|
|
2196
|
+
var tmp_0 = $this$singleton.m5z();
|
|
2195
2197
|
// Inline function 'org.kodein.type.generic' call
|
|
2196
2198
|
var tmp_1 = typeToken(createKType(getKClass(StoreContract), arrayOf([]), false));
|
|
2197
2199
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
2198
|
-
var tmp$ret$1 = tmp_0.
|
|
2200
|
+
var tmp$ret$1 = tmp_0.l5z(tmp$ret$0, null);
|
|
2199
2201
|
return new GameServer(tmp, 'Game server', tmp$ret$1, VOID, $externalReducers, $externalMiddlewares);
|
|
2200
2202
|
};
|
|
2201
2203
|
}
|
|
2202
2204
|
function createGameServerDI$lambda$lambda_2($this$provider) {
|
|
2203
2205
|
// Inline function 'org.kodein.di.instance' call
|
|
2204
|
-
var tmp = $this$provider.
|
|
2206
|
+
var tmp = $this$provider.m5z();
|
|
2205
2207
|
// Inline function 'org.kodein.type.generic' call
|
|
2206
2208
|
var tmp_0 = typeToken(createKType(getKClass(GameServer), arrayOf([]), false));
|
|
2207
2209
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
2208
|
-
return tmp.
|
|
2210
|
+
return tmp.l5z(tmp$ret$0, null);
|
|
2209
2211
|
}
|
|
2210
2212
|
function createGameServerDI$lambda($botConfig, $logicConfig, $dealerConfig, $serverConfig, $externalReducers, $externalMiddlewares) {
|
|
2211
2213
|
return function ($this$Module) {
|
|
@@ -2213,61 +2215,61 @@
|
|
|
2213
2215
|
// Inline function 'org.kodein.type.generic' call
|
|
2214
2216
|
var tmp = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
2215
2217
|
var tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
|
|
2216
|
-
var tmp_0 = $this$Module.
|
|
2218
|
+
var tmp_0 = $this$Module.z5x(tmp$ret$0, null, null);
|
|
2217
2219
|
// Inline function 'org.kodein.di.singleton' call
|
|
2218
2220
|
var creator = createGameServerDI$lambda$lambda($serverConfig);
|
|
2219
|
-
var tmp_1 = $this$Module.
|
|
2220
|
-
var tmp_2 = $this$Module.
|
|
2221
|
-
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();
|
|
2222
2224
|
// Inline function 'org.kodein.type.generic' call
|
|
2223
2225
|
var tmp_4 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
2224
2226
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
2225
2227
|
var tmp$ret$3 = new Singleton(tmp_1, tmp_2, tmp_3, tmp$ret$2, null, true, creator);
|
|
2226
|
-
tmp_0.
|
|
2227
|
-
$this$Module.
|
|
2228
|
+
tmp_0.x61(tmp$ret$3);
|
|
2229
|
+
$this$Module.b5y(getServerEngineGameDI($botConfig, $logicConfig, $dealerConfig));
|
|
2228
2230
|
// Inline function 'org.kodein.di.bind' call
|
|
2229
2231
|
// Inline function 'org.kodein.type.generic' call
|
|
2230
2232
|
var tmp_5 = typeToken(createKType(getKClass(StoreContract), arrayOf([]), false));
|
|
2231
2233
|
var tmp$ret$4 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
2232
|
-
var tmp_6 = $this$Module.
|
|
2234
|
+
var tmp_6 = $this$Module.z5x(tmp$ret$4, null, null);
|
|
2233
2235
|
// Inline function 'org.kodein.di.singleton' call
|
|
2234
2236
|
var creator_0 = createGameServerDI$lambda$lambda_0;
|
|
2235
|
-
var tmp_7 = $this$Module.
|
|
2236
|
-
var tmp_8 = $this$Module.
|
|
2237
|
-
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();
|
|
2238
2240
|
// Inline function 'org.kodein.type.generic' call
|
|
2239
2241
|
var tmp_10 = typeToken(createKType(getKClass(ServerGameStoreContract), arrayOf([]), false));
|
|
2240
2242
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
2241
2243
|
var tmp$ret$7 = new Singleton(tmp_7, tmp_8, tmp_9, tmp$ret$6, null, true, creator_0);
|
|
2242
|
-
tmp_6.
|
|
2244
|
+
tmp_6.x61(tmp$ret$7);
|
|
2243
2245
|
// Inline function 'org.kodein.di.bind' call
|
|
2244
2246
|
// Inline function 'org.kodein.type.generic' call
|
|
2245
2247
|
var tmp_11 = typeToken(createKType(getKClass(GameServer), arrayOf([]), false));
|
|
2246
2248
|
var tmp$ret$8 = isInterface(tmp_11, TypeToken) ? tmp_11 : THROW_CCE();
|
|
2247
|
-
var tmp_12 = $this$Module.
|
|
2249
|
+
var tmp_12 = $this$Module.z5x(tmp$ret$8, null, null);
|
|
2248
2250
|
// Inline function 'org.kodein.di.singleton' call
|
|
2249
2251
|
var creator_1 = createGameServerDI$lambda$lambda_1($externalReducers, $externalMiddlewares);
|
|
2250
|
-
var tmp_13 = $this$Module.
|
|
2251
|
-
var tmp_14 = $this$Module.
|
|
2252
|
-
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();
|
|
2253
2255
|
// Inline function 'org.kodein.type.generic' call
|
|
2254
2256
|
var tmp_16 = typeToken(createKType(getKClass(GameServer), arrayOf([]), false));
|
|
2255
2257
|
var tmp$ret$10 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
2256
2258
|
var tmp$ret$11 = new Singleton(tmp_13, tmp_14, tmp_15, tmp$ret$10, null, true, creator_1);
|
|
2257
|
-
tmp_12.
|
|
2259
|
+
tmp_12.x61(tmp$ret$11);
|
|
2258
2260
|
// Inline function 'org.kodein.di.bind' call
|
|
2259
2261
|
// Inline function 'org.kodein.type.generic' call
|
|
2260
2262
|
var tmp_17 = typeToken(createKType(getKClass(StateProvider), arrayOf([]), false));
|
|
2261
2263
|
var tmp$ret$12 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
2262
|
-
var tmp_18 = $this$Module.
|
|
2264
|
+
var tmp_18 = $this$Module.z5x(tmp$ret$12, null, null);
|
|
2263
2265
|
// Inline function 'org.kodein.di.provider' call
|
|
2264
2266
|
var creator_2 = createGameServerDI$lambda$lambda_2;
|
|
2265
|
-
var tmp_19 = $this$Module.
|
|
2267
|
+
var tmp_19 = $this$Module.c5y();
|
|
2266
2268
|
// Inline function 'org.kodein.type.generic' call
|
|
2267
2269
|
var tmp_20 = typeToken(createKType(getKClass(GameServer), arrayOf([]), false));
|
|
2268
2270
|
var tmp$ret$14 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
2269
2271
|
var tmp$ret$15 = new Provider(tmp_19, tmp$ret$14, creator_2);
|
|
2270
|
-
tmp_18.
|
|
2272
|
+
tmp_18.x61(tmp$ret$15);
|
|
2271
2273
|
return Unit_instance;
|
|
2272
2274
|
};
|
|
2273
2275
|
}
|
|
@@ -2276,17 +2278,17 @@
|
|
|
2276
2278
|
function MechanicEventsObserver() {
|
|
2277
2279
|
}
|
|
2278
2280
|
function MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
2279
|
-
this.
|
|
2281
|
+
this.s9u_1 = $$this$unsafeFlow;
|
|
2280
2282
|
CoroutineImpl.call(this, resultContinuation);
|
|
2281
2283
|
}
|
|
2282
|
-
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda).
|
|
2283
|
-
var tmp = this.
|
|
2284
|
+
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda).j1i = function (value, $completion) {
|
|
2285
|
+
var tmp = this.k1i(value, $completion);
|
|
2284
2286
|
tmp.g9_1 = Unit_instance;
|
|
2285
2287
|
tmp.h9_1 = null;
|
|
2286
2288
|
return tmp.m9();
|
|
2287
2289
|
};
|
|
2288
2290
|
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda).w9 = function (p1, $completion) {
|
|
2289
|
-
return this.
|
|
2291
|
+
return this.j1i((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
2290
2292
|
};
|
|
2291
2293
|
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda).m9 = function () {
|
|
2292
2294
|
var suspendResult = this.g9_1;
|
|
@@ -2297,12 +2299,12 @@
|
|
|
2297
2299
|
case 0:
|
|
2298
2300
|
this.f9_1 = 2;
|
|
2299
2301
|
var tmp_0 = this;
|
|
2300
|
-
tmp_0.
|
|
2302
|
+
tmp_0.u9u_1 = this.s9u_1;
|
|
2301
2303
|
var tmp_1 = this;
|
|
2302
|
-
tmp_1.
|
|
2304
|
+
tmp_1.v9u_1 = this.t9u_1;
|
|
2303
2305
|
this.e9_1 = 1;
|
|
2304
|
-
var it = this.
|
|
2305
|
-
suspendResult = this.
|
|
2306
|
+
var it = this.v9u_1;
|
|
2307
|
+
suspendResult = this.u9u_1.q18(new ActionsStateUpdate(it), this);
|
|
2306
2308
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2307
2309
|
return suspendResult;
|
|
2308
2310
|
}
|
|
@@ -2324,23 +2326,23 @@
|
|
|
2324
2326
|
}
|
|
2325
2327
|
while (true);
|
|
2326
2328
|
};
|
|
2327
|
-
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda).
|
|
2328
|
-
var i = new MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda(this.
|
|
2329
|
-
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;
|
|
2330
2332
|
return i;
|
|
2331
2333
|
};
|
|
2332
2334
|
function MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
2333
2335
|
var i = new MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation);
|
|
2334
2336
|
var l = function (value, $completion) {
|
|
2335
|
-
return i.
|
|
2337
|
+
return i.j1i(value, $completion);
|
|
2336
2338
|
};
|
|
2337
2339
|
l.$arity = 1;
|
|
2338
2340
|
return l;
|
|
2339
2341
|
}
|
|
2340
2342
|
function $collectCOROUTINE$0(_this__u8e3s4, collector, resultContinuation) {
|
|
2341
2343
|
CoroutineImpl.call(this, resultContinuation);
|
|
2342
|
-
this.
|
|
2343
|
-
this.
|
|
2344
|
+
this.e9v_1 = _this__u8e3s4;
|
|
2345
|
+
this.f9v_1 = collector;
|
|
2344
2346
|
}
|
|
2345
2347
|
protoOf($collectCOROUTINE$0).m9 = function () {
|
|
2346
2348
|
var suspendResult = this.g9_1;
|
|
@@ -2351,10 +2353,10 @@
|
|
|
2351
2353
|
case 0:
|
|
2352
2354
|
this.f9_1 = 2;
|
|
2353
2355
|
var tmp_0 = this;
|
|
2354
|
-
tmp_0.
|
|
2356
|
+
tmp_0.g9v_1 = this.f9v_1;
|
|
2355
2357
|
this.e9_1 = 1;
|
|
2356
|
-
var tmp_1 = MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda_0(this.
|
|
2357
|
-
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);
|
|
2358
2360
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2359
2361
|
return suspendResult;
|
|
2360
2362
|
}
|
|
@@ -2377,30 +2379,30 @@
|
|
|
2377
2379
|
while (true);
|
|
2378
2380
|
};
|
|
2379
2381
|
function _no_name_provided__qut3iv($this) {
|
|
2380
|
-
this.
|
|
2382
|
+
this.h9v_1 = $this;
|
|
2381
2383
|
}
|
|
2382
|
-
protoOf(_no_name_provided__qut3iv).
|
|
2384
|
+
protoOf(_no_name_provided__qut3iv).r18 = function (collector, $completion) {
|
|
2383
2385
|
var tmp = new $collectCOROUTINE$0(this, collector, $completion);
|
|
2384
2386
|
tmp.g9_1 = Unit_instance;
|
|
2385
2387
|
tmp.h9_1 = null;
|
|
2386
2388
|
return tmp.m9();
|
|
2387
2389
|
};
|
|
2388
|
-
protoOf(_no_name_provided__qut3iv).
|
|
2389
|
-
return this.
|
|
2390
|
+
protoOf(_no_name_provided__qut3iv).n17 = function (collector, $completion) {
|
|
2391
|
+
return this.r18(collector, $completion);
|
|
2390
2392
|
};
|
|
2391
2393
|
function MechanicEventsObserverImpl$observeUpdates$slambda$slambda($table, this$0, resultContinuation) {
|
|
2392
|
-
this.
|
|
2393
|
-
this.
|
|
2394
|
+
this.q9v_1 = $table;
|
|
2395
|
+
this.r9v_1 = this$0;
|
|
2394
2396
|
CoroutineImpl.call(this, resultContinuation);
|
|
2395
2397
|
}
|
|
2396
|
-
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda).
|
|
2397
|
-
var tmp = this.
|
|
2398
|
+
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda).t9v = function ($this$flow, $completion) {
|
|
2399
|
+
var tmp = this.u9v($this$flow, $completion);
|
|
2398
2400
|
tmp.g9_1 = Unit_instance;
|
|
2399
2401
|
tmp.h9_1 = null;
|
|
2400
2402
|
return tmp.m9();
|
|
2401
2403
|
};
|
|
2402
2404
|
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda).w9 = function (p1, $completion) {
|
|
2403
|
-
return this.
|
|
2405
|
+
return this.t9v((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
2404
2406
|
};
|
|
2405
2407
|
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda).m9 = function () {
|
|
2406
2408
|
var suspendResult = this.g9_1;
|
|
@@ -2411,7 +2413,7 @@
|
|
|
2411
2413
|
case 0:
|
|
2412
2414
|
this.f9_1 = 3;
|
|
2413
2415
|
this.e9_1 = 1;
|
|
2414
|
-
suspendResult = this.
|
|
2416
|
+
suspendResult = this.s9v_1.q18(new TableStateUpdate(this.q9v_1), this);
|
|
2415
2417
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2416
2418
|
return suspendResult;
|
|
2417
2419
|
}
|
|
@@ -2419,8 +2421,8 @@
|
|
|
2419
2421
|
continue $sm;
|
|
2420
2422
|
case 1:
|
|
2421
2423
|
this.e9_1 = 2;
|
|
2422
|
-
var this_0 = windowedByInterval(this.
|
|
2423
|
-
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);
|
|
2424
2426
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2425
2427
|
return suspendResult;
|
|
2426
2428
|
}
|
|
@@ -2442,31 +2444,31 @@
|
|
|
2442
2444
|
}
|
|
2443
2445
|
while (true);
|
|
2444
2446
|
};
|
|
2445
|
-
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda).
|
|
2446
|
-
var i = new MechanicEventsObserverImpl$observeUpdates$slambda$slambda(this.
|
|
2447
|
-
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;
|
|
2448
2450
|
return i;
|
|
2449
2451
|
};
|
|
2450
2452
|
function MechanicEventsObserverImpl$observeUpdates$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
2451
2453
|
var i = new MechanicEventsObserverImpl$observeUpdates$slambda$slambda($table, this$0, resultContinuation);
|
|
2452
2454
|
var l = function ($this$flow, $completion) {
|
|
2453
|
-
return i.
|
|
2455
|
+
return i.t9v($this$flow, $completion);
|
|
2454
2456
|
};
|
|
2455
2457
|
l.$arity = 1;
|
|
2456
2458
|
return l;
|
|
2457
2459
|
}
|
|
2458
2460
|
function MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
2459
|
-
this.
|
|
2461
|
+
this.e9w_1 = $$this$unsafeFlow;
|
|
2460
2462
|
CoroutineImpl.call(this, resultContinuation);
|
|
2461
2463
|
}
|
|
2462
|
-
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda).
|
|
2463
|
-
var tmp = this.
|
|
2464
|
+
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda).j1i = function (value, $completion) {
|
|
2465
|
+
var tmp = this.k1i(value, $completion);
|
|
2464
2466
|
tmp.g9_1 = Unit_instance;
|
|
2465
2467
|
tmp.h9_1 = null;
|
|
2466
2468
|
return tmp.m9();
|
|
2467
2469
|
};
|
|
2468
2470
|
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda).w9 = function (p1, $completion) {
|
|
2469
|
-
return this.
|
|
2471
|
+
return this.j1i((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
2470
2472
|
};
|
|
2471
2473
|
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda).m9 = function () {
|
|
2472
2474
|
var suspendResult = this.g9_1;
|
|
@@ -2477,12 +2479,12 @@
|
|
|
2477
2479
|
case 0:
|
|
2478
2480
|
this.f9_1 = 2;
|
|
2479
2481
|
var tmp_0 = this;
|
|
2480
|
-
tmp_0.
|
|
2482
|
+
tmp_0.g9w_1 = this.e9w_1;
|
|
2481
2483
|
var tmp_1 = this;
|
|
2482
|
-
tmp_1.
|
|
2484
|
+
tmp_1.h9w_1 = this.f9w_1;
|
|
2483
2485
|
this.e9_1 = 1;
|
|
2484
|
-
var state = this.
|
|
2485
|
-
suspendResult = this.
|
|
2486
|
+
var state = this.h9w_1;
|
|
2487
|
+
suspendResult = this.g9w_1.q18(state.p6r().gameInfo.roundNumberTotal, this);
|
|
2486
2488
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2487
2489
|
return suspendResult;
|
|
2488
2490
|
}
|
|
@@ -2504,23 +2506,23 @@
|
|
|
2504
2506
|
}
|
|
2505
2507
|
while (true);
|
|
2506
2508
|
};
|
|
2507
|
-
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda).
|
|
2508
|
-
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
2509
|
-
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;
|
|
2510
2512
|
return i;
|
|
2511
2513
|
};
|
|
2512
2514
|
function MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
2513
2515
|
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation);
|
|
2514
2516
|
var l = function (value, $completion) {
|
|
2515
|
-
return i.
|
|
2517
|
+
return i.j1i(value, $completion);
|
|
2516
2518
|
};
|
|
2517
2519
|
l.$arity = 1;
|
|
2518
2520
|
return l;
|
|
2519
2521
|
}
|
|
2520
2522
|
function $collectCOROUTINE$1(_this__u8e3s4, collector, resultContinuation) {
|
|
2521
2523
|
CoroutineImpl.call(this, resultContinuation);
|
|
2522
|
-
this.
|
|
2523
|
-
this.
|
|
2524
|
+
this.q9w_1 = _this__u8e3s4;
|
|
2525
|
+
this.r9w_1 = collector;
|
|
2524
2526
|
}
|
|
2525
2527
|
protoOf($collectCOROUTINE$1).m9 = function () {
|
|
2526
2528
|
var suspendResult = this.g9_1;
|
|
@@ -2531,10 +2533,10 @@
|
|
|
2531
2533
|
case 0:
|
|
2532
2534
|
this.f9_1 = 2;
|
|
2533
2535
|
var tmp_0 = this;
|
|
2534
|
-
tmp_0.
|
|
2536
|
+
tmp_0.s9w_1 = this.r9w_1;
|
|
2535
2537
|
this.e9_1 = 1;
|
|
2536
|
-
var tmp_1 = MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda_0(this.
|
|
2537
|
-
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);
|
|
2538
2540
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2539
2541
|
return suspendResult;
|
|
2540
2542
|
}
|
|
@@ -2557,17 +2559,17 @@
|
|
|
2557
2559
|
while (true);
|
|
2558
2560
|
};
|
|
2559
2561
|
function MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
2560
|
-
this.
|
|
2562
|
+
this.c9x_1 = $$this$unsafeFlow;
|
|
2561
2563
|
CoroutineImpl.call(this, resultContinuation);
|
|
2562
2564
|
}
|
|
2563
|
-
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda).
|
|
2564
|
-
var tmp = this.
|
|
2565
|
+
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda).j1i = function (value, $completion) {
|
|
2566
|
+
var tmp = this.k1i(value, $completion);
|
|
2565
2567
|
tmp.g9_1 = Unit_instance;
|
|
2566
2568
|
tmp.h9_1 = null;
|
|
2567
2569
|
return tmp.m9();
|
|
2568
2570
|
};
|
|
2569
2571
|
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda).w9 = function (p1, $completion) {
|
|
2570
|
-
return this.
|
|
2572
|
+
return this.j1i((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
2571
2573
|
};
|
|
2572
2574
|
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda).m9 = function () {
|
|
2573
2575
|
var suspendResult = this.g9_1;
|
|
@@ -2581,33 +2583,33 @@
|
|
|
2581
2583
|
continue $sm;
|
|
2582
2584
|
case 1:
|
|
2583
2585
|
var tmp_0 = this;
|
|
2584
|
-
tmp_0.
|
|
2586
|
+
tmp_0.f9x_1 = this.c9x_1;
|
|
2585
2587
|
var tmp_1 = this;
|
|
2586
|
-
tmp_1.
|
|
2588
|
+
tmp_1.g9x_1 = this.d9x_1;
|
|
2587
2589
|
var tmp_2 = this;
|
|
2588
|
-
tmp_2.
|
|
2589
|
-
if (this.
|
|
2590
|
-
this.
|
|
2590
|
+
tmp_2.h9x_1 = this.g9x_1.n6q_1;
|
|
2591
|
+
if (this.h9x_1 == null) {
|
|
2592
|
+
this.e9x_1 = Unit_instance;
|
|
2591
2593
|
this.e9_1 = 4;
|
|
2592
2594
|
var tmp_3 = this;
|
|
2593
2595
|
continue $sm;
|
|
2594
2596
|
} else {
|
|
2595
|
-
this.
|
|
2597
|
+
this.i9x_1 = this.h9x_1;
|
|
2596
2598
|
this.e9_1 = 2;
|
|
2597
2599
|
continue $sm;
|
|
2598
2600
|
}
|
|
2599
2601
|
|
|
2600
2602
|
case 2:
|
|
2601
|
-
this.
|
|
2603
|
+
this.j9x_1 = this.i9x_1;
|
|
2602
2604
|
this.e9_1 = 3;
|
|
2603
|
-
suspendResult = this.
|
|
2605
|
+
suspendResult = this.f9x_1.q18(this.j9x_1, this);
|
|
2604
2606
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2605
2607
|
return suspendResult;
|
|
2606
2608
|
}
|
|
2607
2609
|
|
|
2608
2610
|
continue $sm;
|
|
2609
2611
|
case 3:
|
|
2610
|
-
this.
|
|
2612
|
+
this.e9x_1 = suspendResult;
|
|
2611
2613
|
if (false) {
|
|
2612
2614
|
this.e9_1 = 1;
|
|
2613
2615
|
continue $sm;
|
|
@@ -2631,23 +2633,23 @@
|
|
|
2631
2633
|
}
|
|
2632
2634
|
while (true);
|
|
2633
2635
|
};
|
|
2634
|
-
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda).
|
|
2635
|
-
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda(this.
|
|
2636
|
-
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;
|
|
2637
2639
|
return i;
|
|
2638
2640
|
};
|
|
2639
2641
|
function MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
2640
2642
|
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation);
|
|
2641
2643
|
var l = function (value, $completion) {
|
|
2642
|
-
return i.
|
|
2644
|
+
return i.j1i(value, $completion);
|
|
2643
2645
|
};
|
|
2644
2646
|
l.$arity = 1;
|
|
2645
2647
|
return l;
|
|
2646
2648
|
}
|
|
2647
2649
|
function $collectCOROUTINE$2(_this__u8e3s4, collector, resultContinuation) {
|
|
2648
2650
|
CoroutineImpl.call(this, resultContinuation);
|
|
2649
|
-
this.
|
|
2650
|
-
this.
|
|
2651
|
+
this.s9x_1 = _this__u8e3s4;
|
|
2652
|
+
this.t9x_1 = collector;
|
|
2651
2653
|
}
|
|
2652
2654
|
protoOf($collectCOROUTINE$2).m9 = function () {
|
|
2653
2655
|
var suspendResult = this.g9_1;
|
|
@@ -2658,10 +2660,10 @@
|
|
|
2658
2660
|
case 0:
|
|
2659
2661
|
this.f9_1 = 2;
|
|
2660
2662
|
var tmp_0 = this;
|
|
2661
|
-
tmp_0.
|
|
2663
|
+
tmp_0.u9x_1 = this.t9x_1;
|
|
2662
2664
|
this.e9_1 = 1;
|
|
2663
|
-
var tmp_1 = MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda_0(this.
|
|
2664
|
-
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);
|
|
2665
2667
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2666
2668
|
return suspendResult;
|
|
2667
2669
|
}
|
|
@@ -2684,16 +2686,16 @@
|
|
|
2684
2686
|
while (true);
|
|
2685
2687
|
};
|
|
2686
2688
|
function _no_name_provided__qut3iv_0($this) {
|
|
2687
|
-
this.
|
|
2689
|
+
this.v9x_1 = $this;
|
|
2688
2690
|
}
|
|
2689
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
2691
|
+
protoOf(_no_name_provided__qut3iv_0).r18 = function (collector, $completion) {
|
|
2690
2692
|
var tmp = new $collectCOROUTINE$2(this, collector, $completion);
|
|
2691
2693
|
tmp.g9_1 = Unit_instance;
|
|
2692
2694
|
tmp.h9_1 = null;
|
|
2693
2695
|
return tmp.m9();
|
|
2694
2696
|
};
|
|
2695
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
2696
|
-
return this.
|
|
2697
|
+
protoOf(_no_name_provided__qut3iv_0).n17 = function (collector, $completion) {
|
|
2698
|
+
return this.r18(collector, $completion);
|
|
2697
2699
|
};
|
|
2698
2700
|
function observeTableWhenRoundChanges($this, observeState) {
|
|
2699
2701
|
// Inline function 'kotlinx.coroutines.flow.flatMapLatest' call
|
|
@@ -2705,20 +2707,20 @@
|
|
|
2705
2707
|
return transformLatest(this_0, MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda_0(observeState, null));
|
|
2706
2708
|
}
|
|
2707
2709
|
function Companion_1() {
|
|
2708
|
-
this.
|
|
2710
|
+
this.w9x_1 = 1000;
|
|
2709
2711
|
}
|
|
2710
2712
|
var Companion_instance_9;
|
|
2711
2713
|
function Companion_getInstance_2() {
|
|
2712
2714
|
return Companion_instance_9;
|
|
2713
2715
|
}
|
|
2714
2716
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
2715
|
-
this.
|
|
2717
|
+
this.x9x_1 = function_0;
|
|
2716
2718
|
}
|
|
2717
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).
|
|
2718
|
-
return this.
|
|
2719
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).q18 = function (value, $completion) {
|
|
2720
|
+
return this.x9x_1(value, $completion);
|
|
2719
2721
|
};
|
|
2720
2722
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).o3 = function () {
|
|
2721
|
-
return this.
|
|
2723
|
+
return this.x9x_1;
|
|
2722
2724
|
};
|
|
2723
2725
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
2724
2726
|
var tmp;
|
|
@@ -2739,13 +2741,13 @@
|
|
|
2739
2741
|
return hashCode(this.o3());
|
|
2740
2742
|
};
|
|
2741
2743
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
|
|
2742
|
-
this.
|
|
2744
|
+
this.y9x_1 = function_0;
|
|
2743
2745
|
}
|
|
2744
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).
|
|
2745
|
-
return this.
|
|
2746
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).q18 = function (value, $completion) {
|
|
2747
|
+
return this.y9x_1(value, $completion);
|
|
2746
2748
|
};
|
|
2747
2749
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).o3 = function () {
|
|
2748
|
-
return this.
|
|
2750
|
+
return this.y9x_1;
|
|
2749
2751
|
};
|
|
2750
2752
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
|
|
2751
2753
|
var tmp;
|
|
@@ -2766,18 +2768,18 @@
|
|
|
2766
2768
|
return hashCode(this.o3());
|
|
2767
2769
|
};
|
|
2768
2770
|
function MechanicEventsObserverImpl$observeUpdates$slambda(this$0, resultContinuation) {
|
|
2769
|
-
this.
|
|
2771
|
+
this.h9y_1 = this$0;
|
|
2770
2772
|
CoroutineImpl.call(this, resultContinuation);
|
|
2771
2773
|
}
|
|
2772
|
-
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda).
|
|
2773
|
-
var tmp = this.
|
|
2774
|
+
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda).k9y = function ($this$transformLatest, it, $completion) {
|
|
2775
|
+
var tmp = this.l9y($this$transformLatest, it, $completion);
|
|
2774
2776
|
tmp.g9_1 = Unit_instance;
|
|
2775
2777
|
tmp.h9_1 = null;
|
|
2776
2778
|
return tmp.m9();
|
|
2777
2779
|
};
|
|
2778
2780
|
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda).x9 = function (p1, p2, $completion) {
|
|
2779
2781
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
2780
|
-
return this.
|
|
2782
|
+
return this.k9y(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
2781
2783
|
};
|
|
2782
2784
|
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda).m9 = function () {
|
|
2783
2785
|
var suspendResult = this.g9_1;
|
|
@@ -2788,8 +2790,8 @@
|
|
|
2788
2790
|
case 0:
|
|
2789
2791
|
this.f9_1 = 2;
|
|
2790
2792
|
this.e9_1 = 1;
|
|
2791
|
-
var table = this.
|
|
2792
|
-
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);
|
|
2793
2795
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2794
2796
|
return suspendResult;
|
|
2795
2797
|
}
|
|
@@ -2811,45 +2813,45 @@
|
|
|
2811
2813
|
}
|
|
2812
2814
|
while (true);
|
|
2813
2815
|
};
|
|
2814
|
-
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda).
|
|
2815
|
-
var i = new MechanicEventsObserverImpl$observeUpdates$slambda(this.
|
|
2816
|
-
i.
|
|
2817
|
-
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;
|
|
2818
2820
|
return i;
|
|
2819
2821
|
};
|
|
2820
2822
|
function MechanicEventsObserverImpl$observeUpdates$slambda_0(this$0, resultContinuation) {
|
|
2821
2823
|
var i = new MechanicEventsObserverImpl$observeUpdates$slambda(this$0, resultContinuation);
|
|
2822
2824
|
var l = function ($this$transformLatest, it, $completion) {
|
|
2823
|
-
return i.
|
|
2825
|
+
return i.k9y($this$transformLatest, it, $completion);
|
|
2824
2826
|
};
|
|
2825
2827
|
l.$arity = 2;
|
|
2826
2828
|
return l;
|
|
2827
2829
|
}
|
|
2828
2830
|
function _no_name_provided__qut3iv_1($this) {
|
|
2829
|
-
this.
|
|
2831
|
+
this.t9w_1 = $this;
|
|
2830
2832
|
}
|
|
2831
|
-
protoOf(_no_name_provided__qut3iv_1).
|
|
2833
|
+
protoOf(_no_name_provided__qut3iv_1).r18 = function (collector, $completion) {
|
|
2832
2834
|
var tmp = new $collectCOROUTINE$1(this, collector, $completion);
|
|
2833
2835
|
tmp.g9_1 = Unit_instance;
|
|
2834
2836
|
tmp.h9_1 = null;
|
|
2835
2837
|
return tmp.m9();
|
|
2836
2838
|
};
|
|
2837
|
-
protoOf(_no_name_provided__qut3iv_1).
|
|
2838
|
-
return this.
|
|
2839
|
+
protoOf(_no_name_provided__qut3iv_1).n17 = function (collector, $completion) {
|
|
2840
|
+
return this.r18(collector, $completion);
|
|
2839
2841
|
};
|
|
2840
2842
|
function MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda($observeState, resultContinuation) {
|
|
2841
|
-
this.
|
|
2843
|
+
this.u9y_1 = $observeState;
|
|
2842
2844
|
CoroutineImpl.call(this, resultContinuation);
|
|
2843
2845
|
}
|
|
2844
|
-
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda).
|
|
2845
|
-
var tmp = this.
|
|
2846
|
+
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda).k9y = function ($this$transformLatest, it, $completion) {
|
|
2847
|
+
var tmp = this.l9y($this$transformLatest, it, $completion);
|
|
2846
2848
|
tmp.g9_1 = Unit_instance;
|
|
2847
2849
|
tmp.h9_1 = null;
|
|
2848
2850
|
return tmp.m9();
|
|
2849
2851
|
};
|
|
2850
2852
|
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda).x9 = function (p1, p2, $completion) {
|
|
2851
2853
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
2852
|
-
return this.
|
|
2854
|
+
return this.k9y(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
2853
2855
|
};
|
|
2854
2856
|
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda).m9 = function () {
|
|
2855
2857
|
var suspendResult = this.g9_1;
|
|
@@ -2860,9 +2862,9 @@
|
|
|
2860
2862
|
case 0:
|
|
2861
2863
|
this.f9_1 = 2;
|
|
2862
2864
|
this.e9_1 = 1;
|
|
2863
|
-
this.
|
|
2864
|
-
var this_0 = this.
|
|
2865
|
-
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);
|
|
2866
2868
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2867
2869
|
return suspendResult;
|
|
2868
2870
|
}
|
|
@@ -2884,27 +2886,27 @@
|
|
|
2884
2886
|
}
|
|
2885
2887
|
while (true);
|
|
2886
2888
|
};
|
|
2887
|
-
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda).
|
|
2888
|
-
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda(this.
|
|
2889
|
-
i.
|
|
2890
|
-
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;
|
|
2891
2893
|
return i;
|
|
2892
2894
|
};
|
|
2893
2895
|
function MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda_0($observeState, resultContinuation) {
|
|
2894
2896
|
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda($observeState, resultContinuation);
|
|
2895
2897
|
var l = function ($this$transformLatest, it, $completion) {
|
|
2896
|
-
return i.
|
|
2898
|
+
return i.k9y($this$transformLatest, it, $completion);
|
|
2897
2899
|
};
|
|
2898
2900
|
l.$arity = 2;
|
|
2899
2901
|
return l;
|
|
2900
2902
|
}
|
|
2901
2903
|
function MechanicEventsObserverImpl() {
|
|
2902
|
-
this.
|
|
2904
|
+
this.v9v_1 = MutableSharedFlow();
|
|
2903
2905
|
}
|
|
2904
|
-
protoOf(MechanicEventsObserverImpl).
|
|
2905
|
-
return this.
|
|
2906
|
+
protoOf(MechanicEventsObserverImpl).j9u = function (event, $completion) {
|
|
2907
|
+
return this.v9v_1.q18(event, $completion);
|
|
2906
2908
|
};
|
|
2907
|
-
protoOf(MechanicEventsObserverImpl).
|
|
2909
|
+
protoOf(MechanicEventsObserverImpl).p9m = function (observeState) {
|
|
2908
2910
|
// Inline function 'kotlinx.coroutines.flow.flatMapLatest' call
|
|
2909
2911
|
var this_0 = observeTableWhenRoundChanges(this, observeState);
|
|
2910
2912
|
return transformLatest(this_0, MechanicEventsObserverImpl$observeUpdates$slambda_0(this, null));
|
|
@@ -2912,18 +2914,18 @@
|
|
|
2912
2914
|
function ToClientEventsObserver() {
|
|
2913
2915
|
}
|
|
2914
2916
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
2915
|
-
this.
|
|
2916
|
-
this.
|
|
2917
|
+
this.g9z_1 = this$0;
|
|
2918
|
+
this.h9z_1 = $actions;
|
|
2917
2919
|
CoroutineImpl.call(this, resultContinuation);
|
|
2918
2920
|
}
|
|
2919
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
2920
|
-
var tmp = this.
|
|
2921
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).o9z = function ($this$flow, $completion) {
|
|
2922
|
+
var tmp = this.p9z($this$flow, $completion);
|
|
2921
2923
|
tmp.g9_1 = Unit_instance;
|
|
2922
2924
|
tmp.h9_1 = null;
|
|
2923
2925
|
return tmp.m9();
|
|
2924
2926
|
};
|
|
2925
2927
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).w9 = function (p1, $completion) {
|
|
2926
|
-
return this.
|
|
2928
|
+
return this.o9z((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
2927
2929
|
};
|
|
2928
2930
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).m9 = function () {
|
|
2929
2931
|
var suspendResult = this.g9_1;
|
|
@@ -2934,23 +2936,23 @@
|
|
|
2934
2936
|
case 0:
|
|
2935
2937
|
this.f9_1 = 4;
|
|
2936
2938
|
var tmp_0 = this;
|
|
2937
|
-
tmp_0.
|
|
2939
|
+
tmp_0.j9z_1 = this.g9z_1.u9z_1;
|
|
2938
2940
|
var tmp_1 = this;
|
|
2939
|
-
tmp_1.
|
|
2940
|
-
this.
|
|
2941
|
+
tmp_1.k9z_1 = transformToEmits(this.g9z_1, this.h9z_1);
|
|
2942
|
+
this.l9z_1 = this.k9z_1.j();
|
|
2941
2943
|
this.e9_1 = 1;
|
|
2942
2944
|
continue $sm;
|
|
2943
2945
|
case 1:
|
|
2944
|
-
if (!this.
|
|
2946
|
+
if (!this.l9z_1.k()) {
|
|
2945
2947
|
this.e9_1 = 3;
|
|
2946
2948
|
continue $sm;
|
|
2947
2949
|
}
|
|
2948
2950
|
|
|
2949
|
-
this.
|
|
2951
|
+
this.m9z_1 = this.l9z_1.l();
|
|
2950
2952
|
var tmp_2 = this;
|
|
2951
|
-
tmp_2.
|
|
2953
|
+
tmp_2.n9z_1 = this.m9z_1;
|
|
2952
2954
|
this.e9_1 = 2;
|
|
2953
|
-
suspendResult = this.
|
|
2955
|
+
suspendResult = this.i9z_1.q18(this.n9z_1, this);
|
|
2954
2956
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2955
2957
|
return suspendResult;
|
|
2956
2958
|
}
|
|
@@ -2961,10 +2963,10 @@
|
|
|
2961
2963
|
continue $sm;
|
|
2962
2964
|
case 3:
|
|
2963
2965
|
l$ret$1: do {
|
|
2964
|
-
var this_0 = this.
|
|
2966
|
+
var this_0 = this.g9z_1.t9z_1;
|
|
2965
2967
|
while (true) {
|
|
2966
2968
|
var cur = this_0.kotlinx$atomicfu$value;
|
|
2967
|
-
var upd = cur - this.
|
|
2969
|
+
var upd = cur - this.h9z_1.m() | 0;
|
|
2968
2970
|
if (this_0.atomicfu$compareAndSet(cur, upd)) {
|
|
2969
2971
|
break l$ret$1;
|
|
2970
2972
|
}
|
|
@@ -2986,15 +2988,15 @@
|
|
|
2986
2988
|
}
|
|
2987
2989
|
while (true);
|
|
2988
2990
|
};
|
|
2989
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
2990
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
2991
|
-
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;
|
|
2992
2994
|
return i;
|
|
2993
2995
|
};
|
|
2994
2996
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
2995
2997
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
2996
2998
|
var l = function ($this$flow, $completion) {
|
|
2997
|
-
return i.
|
|
2999
|
+
return i.o9z($this$flow, $completion);
|
|
2998
3000
|
};
|
|
2999
3001
|
l.$arity = 1;
|
|
3000
3002
|
return l;
|
|
@@ -3067,29 +3069,29 @@
|
|
|
3067
3069
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
3068
3070
|
}
|
|
3069
3071
|
function mapFromGroupKey(_this__u8e3s4, $this) {
|
|
3070
|
-
var tmp = $this.
|
|
3072
|
+
var tmp = $this.s9z_1.v6h();
|
|
3071
3073
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3072
|
-
var this_0 = _this__u8e3s4.
|
|
3074
|
+
var this_0 = _this__u8e3s4.x9z_1;
|
|
3073
3075
|
var tmp_0 = copyToArray(this_0);
|
|
3074
3076
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3075
|
-
var this_1 = _this__u8e3s4.
|
|
3077
|
+
var this_1 = _this__u8e3s4.y9z_1;
|
|
3076
3078
|
var tmp$ret$1 = copyToArray(this_1);
|
|
3077
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
3079
|
+
return new ActionDeliveryPayload(_this__u8e3s4.w9z_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.z9z_1);
|
|
3078
3080
|
}
|
|
3079
3081
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
3080
|
-
this.
|
|
3081
|
-
this.
|
|
3082
|
-
this.
|
|
3083
|
-
this.
|
|
3082
|
+
this.w9z_1 = tableId;
|
|
3083
|
+
this.x9z_1 = includePlayers;
|
|
3084
|
+
this.y9z_1 = excludePlayers;
|
|
3085
|
+
this.z9z_1 = deliveryType;
|
|
3084
3086
|
}
|
|
3085
3087
|
protoOf(GroupKey).toString = function () {
|
|
3086
|
-
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() + ')';
|
|
3087
3089
|
};
|
|
3088
3090
|
protoOf(GroupKey).hashCode = function () {
|
|
3089
|
-
var result = getStringHashCode(this.
|
|
3090
|
-
result = imul(result, 31) + hashCode(this.w9z_1) | 0;
|
|
3091
|
+
var result = getStringHashCode(this.w9z_1);
|
|
3091
3092
|
result = imul(result, 31) + hashCode(this.x9z_1) | 0;
|
|
3092
|
-
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;
|
|
3093
3095
|
return result;
|
|
3094
3096
|
};
|
|
3095
3097
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -3098,35 +3100,35 @@
|
|
|
3098
3100
|
if (!(other instanceof GroupKey))
|
|
3099
3101
|
return false;
|
|
3100
3102
|
var tmp0_other_with_cast = other instanceof GroupKey ? other : THROW_CCE();
|
|
3101
|
-
if (!(this.
|
|
3102
|
-
return false;
|
|
3103
|
-
if (!equals(this.w9z_1, tmp0_other_with_cast.w9z_1))
|
|
3103
|
+
if (!(this.w9z_1 === tmp0_other_with_cast.w9z_1))
|
|
3104
3104
|
return false;
|
|
3105
3105
|
if (!equals(this.x9z_1, tmp0_other_with_cast.x9z_1))
|
|
3106
3106
|
return false;
|
|
3107
|
-
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))
|
|
3108
3110
|
return false;
|
|
3109
3111
|
return true;
|
|
3110
3112
|
};
|
|
3111
3113
|
function Companion_2() {
|
|
3112
|
-
this.
|
|
3114
|
+
this.aa0_1 = 6;
|
|
3113
3115
|
}
|
|
3114
3116
|
var Companion_instance_10;
|
|
3115
3117
|
function Companion_getInstance_3() {
|
|
3116
3118
|
return Companion_instance_10;
|
|
3117
3119
|
}
|
|
3118
3120
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
3119
|
-
this.
|
|
3121
|
+
this.ja0_1 = this$0;
|
|
3120
3122
|
CoroutineImpl.call(this, resultContinuation);
|
|
3121
3123
|
}
|
|
3122
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3123
|
-
var tmp = this.
|
|
3124
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).la0 = function (actions, $completion) {
|
|
3125
|
+
var tmp = this.ma0(actions, $completion);
|
|
3124
3126
|
tmp.g9_1 = Unit_instance;
|
|
3125
3127
|
tmp.h9_1 = null;
|
|
3126
3128
|
return tmp.m9();
|
|
3127
3129
|
};
|
|
3128
3130
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).w9 = function (p1, $completion) {
|
|
3129
|
-
return this.
|
|
3131
|
+
return this.la0((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
3130
3132
|
};
|
|
3131
3133
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).m9 = function () {
|
|
3132
3134
|
var suspendResult = this.g9_1;
|
|
@@ -3135,7 +3137,7 @@
|
|
|
3135
3137
|
var tmp = this.e9_1;
|
|
3136
3138
|
if (tmp === 0) {
|
|
3137
3139
|
this.f9_1 = 1;
|
|
3138
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
3140
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.ja0_1, this.ka0_1, null));
|
|
3139
3141
|
} else if (tmp === 1) {
|
|
3140
3142
|
throw this.h9_1;
|
|
3141
3143
|
}
|
|
@@ -3145,23 +3147,23 @@
|
|
|
3145
3147
|
}
|
|
3146
3148
|
while (true);
|
|
3147
3149
|
};
|
|
3148
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3149
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
3150
|
-
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;
|
|
3151
3153
|
return i;
|
|
3152
3154
|
};
|
|
3153
3155
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
3154
3156
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
3155
3157
|
var l = function (actions, $completion) {
|
|
3156
|
-
return i.
|
|
3158
|
+
return i.la0(actions, $completion);
|
|
3157
3159
|
};
|
|
3158
3160
|
l.$arity = 1;
|
|
3159
3161
|
return l;
|
|
3160
3162
|
}
|
|
3161
3163
|
function $sentEventCOROUTINE$3(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
3162
3164
|
CoroutineImpl.call(this, resultContinuation);
|
|
3163
|
-
this.
|
|
3164
|
-
this.
|
|
3165
|
+
this.va0_1 = _this__u8e3s4;
|
|
3166
|
+
this.wa0_1 = fromEvent;
|
|
3165
3167
|
}
|
|
3166
3168
|
protoOf($sentEventCOROUTINE$3).m9 = function () {
|
|
3167
3169
|
var suspendResult = this.g9_1;
|
|
@@ -3172,9 +3174,9 @@
|
|
|
3172
3174
|
case 0:
|
|
3173
3175
|
this.f9_1 = 2;
|
|
3174
3176
|
var tmp_0 = this;
|
|
3175
|
-
tmp_0.
|
|
3177
|
+
tmp_0.xa0_1 = this.va0_1.u9z_1;
|
|
3176
3178
|
l$ret$1: do {
|
|
3177
|
-
var this_0 = this.
|
|
3179
|
+
var this_0 = this.va0_1.t9z_1;
|
|
3178
3180
|
while (true) {
|
|
3179
3181
|
var cur = this_0.kotlinx$atomicfu$value;
|
|
3180
3182
|
var upd = cur + 1 | 0;
|
|
@@ -3185,7 +3187,7 @@
|
|
|
3185
3187
|
}
|
|
3186
3188
|
while (false);
|
|
3187
3189
|
this.e9_1 = 1;
|
|
3188
|
-
suspendResult = this.
|
|
3190
|
+
suspendResult = this.va0_1.v9z_1.q18(this.wa0_1, this);
|
|
3189
3191
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3190
3192
|
return suspendResult;
|
|
3191
3193
|
}
|
|
@@ -3209,7 +3211,7 @@
|
|
|
3209
3211
|
};
|
|
3210
3212
|
function $waitForCOROUTINE$4(_this__u8e3s4, resultContinuation) {
|
|
3211
3213
|
CoroutineImpl.call(this, resultContinuation);
|
|
3212
|
-
this.
|
|
3214
|
+
this.ga1_1 = _this__u8e3s4;
|
|
3213
3215
|
}
|
|
3214
3216
|
protoOf($waitForCOROUTINE$4).m9 = function () {
|
|
3215
3217
|
var suspendResult = this.g9_1;
|
|
@@ -3220,12 +3222,12 @@
|
|
|
3220
3222
|
case 0:
|
|
3221
3223
|
this.f9_1 = 5;
|
|
3222
3224
|
var tmp_0 = this;
|
|
3223
|
-
tmp_0.
|
|
3224
|
-
this.
|
|
3225
|
+
tmp_0.ha1_1 = this.ga1_1.u9z_1;
|
|
3226
|
+
this.ia1_1 = 0;
|
|
3225
3227
|
this.e9_1 = 1;
|
|
3226
3228
|
continue $sm;
|
|
3227
3229
|
case 1:
|
|
3228
|
-
if (!!(this.
|
|
3230
|
+
if (!!(this.ga1_1.t9z_1.kotlinx$atomicfu$value === 0)) {
|
|
3229
3231
|
this.e9_1 = 4;
|
|
3230
3232
|
continue $sm;
|
|
3231
3233
|
}
|
|
@@ -3238,9 +3240,9 @@
|
|
|
3238
3240
|
|
|
3239
3241
|
continue $sm;
|
|
3240
3242
|
case 2:
|
|
3241
|
-
this.
|
|
3242
|
-
if (this.
|
|
3243
|
-
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);
|
|
3244
3246
|
this.e9_1 = 4;
|
|
3245
3247
|
continue $sm;
|
|
3246
3248
|
} else {
|
|
@@ -3268,42 +3270,42 @@
|
|
|
3268
3270
|
while (true);
|
|
3269
3271
|
};
|
|
3270
3272
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
3271
|
-
this.
|
|
3272
|
-
this.
|
|
3273
|
-
this.
|
|
3274
|
-
this.
|
|
3273
|
+
this.q9z_1 = serverReduxConfig;
|
|
3274
|
+
this.r9z_1 = logger;
|
|
3275
|
+
this.s9z_1 = idsProvider;
|
|
3276
|
+
this.t9z_1 = atomic$ref$1(0);
|
|
3275
3277
|
var tmp = this;
|
|
3276
3278
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
3277
|
-
tmp.
|
|
3278
|
-
this.
|
|
3279
|
+
tmp.u9z_1 = get_atomicfu$reentrantLock();
|
|
3280
|
+
this.v9z_1 = MutableSharedFlow();
|
|
3279
3281
|
}
|
|
3280
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3282
|
+
protoOf(ToClientEventsObserverImpl).x9y = function (fromEvent, $completion) {
|
|
3281
3283
|
var tmp = new $sentEventCOROUTINE$3(this, fromEvent, $completion);
|
|
3282
3284
|
tmp.g9_1 = Unit_instance;
|
|
3283
3285
|
tmp.h9_1 = null;
|
|
3284
3286
|
return tmp.m9();
|
|
3285
3287
|
};
|
|
3286
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3288
|
+
protoOf(ToClientEventsObserverImpl).d9c = function ($completion) {
|
|
3287
3289
|
var tmp = new $waitForCOROUTINE$4(this, $completion);
|
|
3288
3290
|
tmp.g9_1 = Unit_instance;
|
|
3289
3291
|
tmp.h9_1 = null;
|
|
3290
3292
|
return tmp.m9();
|
|
3291
3293
|
};
|
|
3292
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3293
|
-
if (!this.
|
|
3294
|
-
return this.
|
|
3294
|
+
protoOf(ToClientEventsObserverImpl).d9m = function () {
|
|
3295
|
+
if (!this.q9z_1.enabledCombinedEvents) {
|
|
3296
|
+
return this.v9z_1;
|
|
3295
3297
|
}
|
|
3296
|
-
var tmp = windowedByInterval(this.
|
|
3298
|
+
var tmp = windowedByInterval(this.v9z_1, toLong(this.q9z_1.combinedEventsPeriod));
|
|
3297
3299
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
3298
3300
|
};
|
|
3299
3301
|
function UpdateServerConfigAction(serverConfig) {
|
|
3300
|
-
this.
|
|
3302
|
+
this.ja1_1 = serverConfig;
|
|
3301
3303
|
}
|
|
3302
3304
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
3303
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
3305
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.ja1_1.toString() + ')';
|
|
3304
3306
|
};
|
|
3305
3307
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
3306
|
-
return this.
|
|
3308
|
+
return this.ja1_1.hashCode();
|
|
3307
3309
|
};
|
|
3308
3310
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
3309
3311
|
if (this === other)
|
|
@@ -3311,20 +3313,20 @@
|
|
|
3311
3313
|
if (!(other instanceof UpdateServerConfigAction))
|
|
3312
3314
|
return false;
|
|
3313
3315
|
var tmp0_other_with_cast = other instanceof UpdateServerConfigAction ? other : THROW_CCE();
|
|
3314
|
-
if (!this.
|
|
3316
|
+
if (!this.ja1_1.equals(tmp0_other_with_cast.ja1_1))
|
|
3315
3317
|
return false;
|
|
3316
3318
|
return true;
|
|
3317
3319
|
};
|
|
3318
3320
|
function SpectatorsAction() {
|
|
3319
3321
|
}
|
|
3320
3322
|
function AddSpectatorsAction(spectators) {
|
|
3321
|
-
this.
|
|
3323
|
+
this.ka1_1 = spectators;
|
|
3322
3324
|
}
|
|
3323
3325
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
3324
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
3326
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.ka1_1) + ')';
|
|
3325
3327
|
};
|
|
3326
3328
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
3327
|
-
return hashCode(this.
|
|
3329
|
+
return hashCode(this.ka1_1);
|
|
3328
3330
|
};
|
|
3329
3331
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
3330
3332
|
if (this === other)
|
|
@@ -3332,18 +3334,18 @@
|
|
|
3332
3334
|
if (!(other instanceof AddSpectatorsAction))
|
|
3333
3335
|
return false;
|
|
3334
3336
|
var tmp0_other_with_cast = other instanceof AddSpectatorsAction ? other : THROW_CCE();
|
|
3335
|
-
if (!equals(this.
|
|
3337
|
+
if (!equals(this.ka1_1, tmp0_other_with_cast.ka1_1))
|
|
3336
3338
|
return false;
|
|
3337
3339
|
return true;
|
|
3338
3340
|
};
|
|
3339
3341
|
function RemoveSpectatorsAction(spectators) {
|
|
3340
|
-
this.
|
|
3342
|
+
this.la1_1 = spectators;
|
|
3341
3343
|
}
|
|
3342
3344
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
3343
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
3345
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.la1_1) + ')';
|
|
3344
3346
|
};
|
|
3345
3347
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
3346
|
-
return hashCode(this.
|
|
3348
|
+
return hashCode(this.la1_1);
|
|
3347
3349
|
};
|
|
3348
3350
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
3349
3351
|
if (this === other)
|
|
@@ -3351,78 +3353,78 @@
|
|
|
3351
3353
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
3352
3354
|
return false;
|
|
3353
3355
|
var tmp0_other_with_cast = other instanceof RemoveSpectatorsAction ? other : THROW_CCE();
|
|
3354
|
-
if (!equals(this.
|
|
3356
|
+
if (!equals(this.la1_1, tmp0_other_with_cast.la1_1))
|
|
3355
3357
|
return false;
|
|
3356
3358
|
return true;
|
|
3357
3359
|
};
|
|
3358
3360
|
function _get_asyncProvider__jbpyhw($this) {
|
|
3359
3361
|
// Inline function 'kotlin.getValue' call
|
|
3360
|
-
var this_0 = $this.
|
|
3362
|
+
var this_0 = $this.ra1_1;
|
|
3361
3363
|
asyncProvider$factory_0();
|
|
3362
3364
|
return this_0.u();
|
|
3363
3365
|
}
|
|
3364
3366
|
function _get_logger__rkp4sl_0($this) {
|
|
3365
3367
|
// Inline function 'kotlin.getValue' call
|
|
3366
|
-
var this_0 = $this.
|
|
3368
|
+
var this_0 = $this.sa1_1;
|
|
3367
3369
|
logger$factory_2();
|
|
3368
3370
|
return this_0.u();
|
|
3369
3371
|
}
|
|
3370
3372
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
3371
3373
|
// Inline function 'kotlin.getValue' call
|
|
3372
|
-
var this_0 = $this.
|
|
3374
|
+
var this_0 = $this.ta1_1;
|
|
3373
3375
|
playerConnectionInteractor$factory_2();
|
|
3374
3376
|
return this_0.u();
|
|
3375
3377
|
}
|
|
3376
3378
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
3377
3379
|
// Inline function 'kotlin.getValue' call
|
|
3378
|
-
var this_0 = $this.
|
|
3380
|
+
var this_0 = $this.ua1_1;
|
|
3379
3381
|
lastCardInteractor$factory_0();
|
|
3380
3382
|
return this_0.u();
|
|
3381
3383
|
}
|
|
3382
3384
|
function _get_serverConfig__rk2g06($this) {
|
|
3383
3385
|
// Inline function 'kotlin.getValue' call
|
|
3384
|
-
var this_0 = $this.
|
|
3386
|
+
var this_0 = $this.va1_1;
|
|
3385
3387
|
serverConfig$factory_0();
|
|
3386
3388
|
return this_0.u();
|
|
3387
3389
|
}
|
|
3388
3390
|
function _get_logicConfig__52ww9d($this) {
|
|
3389
3391
|
// Inline function 'kotlin.getValue' call
|
|
3390
|
-
var this_0 = $this.
|
|
3392
|
+
var this_0 = $this.wa1_1;
|
|
3391
3393
|
logicConfig$factory_0();
|
|
3392
3394
|
return this_0.u();
|
|
3393
3395
|
}
|
|
3394
3396
|
function _get_idsProvider__fnfajc_0($this) {
|
|
3395
3397
|
// Inline function 'kotlin.getValue' call
|
|
3396
|
-
var this_0 = $this.
|
|
3398
|
+
var this_0 = $this.xa1_1;
|
|
3397
3399
|
idsProvider$factory_2();
|
|
3398
3400
|
return this_0.u();
|
|
3399
3401
|
}
|
|
3400
3402
|
function _get_botConfig__cpaxzc($this) {
|
|
3401
3403
|
// Inline function 'kotlin.getValue' call
|
|
3402
|
-
var this_0 = $this.
|
|
3404
|
+
var this_0 = $this.ya1_1;
|
|
3403
3405
|
botConfig$factory_0();
|
|
3404
3406
|
return this_0.u();
|
|
3405
3407
|
}
|
|
3406
3408
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
3407
3409
|
// Inline function 'kotlin.getValue' call
|
|
3408
|
-
var this_0 = $this.
|
|
3410
|
+
var this_0 = $this.za1_1;
|
|
3409
3411
|
scenePositionProvider$factory_0();
|
|
3410
3412
|
return this_0.u();
|
|
3411
3413
|
}
|
|
3412
3414
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
3413
3415
|
// Inline function 'kotlin.getValue' call
|
|
3414
|
-
var this_0 = $this.
|
|
3416
|
+
var this_0 = $this.aa2_1;
|
|
3415
3417
|
toClientEventsObserver$factory_2();
|
|
3416
3418
|
return this_0.u();
|
|
3417
3419
|
}
|
|
3418
3420
|
function _get_mechanicEventsObserver__ll1b9k_0($this) {
|
|
3419
3421
|
// Inline function 'kotlin.getValue' call
|
|
3420
|
-
var this_0 = $this.
|
|
3422
|
+
var this_0 = $this.ba2_1;
|
|
3421
3423
|
mechanicEventsObserver$factory_2();
|
|
3422
3424
|
return this_0.u();
|
|
3423
3425
|
}
|
|
3424
3426
|
function ServerGameStoreContract$_get_middlewares_$lambda_qmuw9r(player) {
|
|
3425
|
-
return !player.
|
|
3427
|
+
return !player.q6c();
|
|
3426
3428
|
}
|
|
3427
3429
|
function ServerGameStoreContract(di, validationStoreContract, timersStoreContract, botGameStoreContract, gameMechanicStoreContract, fileLoggerStoreContract) {
|
|
3428
3430
|
validationStoreContract = validationStoreContract === VOID ? new ValidationStoreContract(di, true, true, null) : validationStoreContract;
|
|
@@ -3430,83 +3432,83 @@
|
|
|
3430
3432
|
botGameStoreContract = botGameStoreContract === VOID ? new BotGameStoreContract(di) : botGameStoreContract;
|
|
3431
3433
|
gameMechanicStoreContract = gameMechanicStoreContract === VOID ? new GameMechanicStoreContract(di, null, true) : gameMechanicStoreContract;
|
|
3432
3434
|
fileLoggerStoreContract = fileLoggerStoreContract === VOID ? new FileLoggerStoreContract(di) : fileLoggerStoreContract;
|
|
3433
|
-
this.
|
|
3434
|
-
this.
|
|
3435
|
-
this.
|
|
3436
|
-
this.
|
|
3437
|
-
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;
|
|
3438
3440
|
var tmp = this;
|
|
3439
3441
|
// Inline function 'org.kodein.di.instance' call
|
|
3440
3442
|
// Inline function 'org.kodein.type.generic' call
|
|
3441
3443
|
var tmp_0 = typeToken(createKType(getKClass(AsyncProvider), arrayOf([]), false));
|
|
3442
3444
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
3443
|
-
tmp.
|
|
3445
|
+
tmp.ra1_1 = Instance(di, tmp$ret$0, null).u63(this, asyncProvider$factory());
|
|
3444
3446
|
var tmp_1 = this;
|
|
3445
3447
|
// Inline function 'org.kodein.di.instance' call
|
|
3446
3448
|
// Inline function 'org.kodein.type.generic' call
|
|
3447
3449
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
3448
3450
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
3449
|
-
tmp_1.
|
|
3451
|
+
tmp_1.sa1_1 = Instance(di, tmp$ret$2, null).u63(this, logger$factory_1());
|
|
3450
3452
|
var tmp_3 = this;
|
|
3451
3453
|
// Inline function 'org.kodein.di.instance' call
|
|
3452
3454
|
// Inline function 'org.kodein.type.generic' call
|
|
3453
3455
|
var tmp_4 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
3454
3456
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
3455
|
-
tmp_3.
|
|
3457
|
+
tmp_3.ta1_1 = Instance(di, tmp$ret$4, null).u63(this, playerConnectionInteractor$factory_1());
|
|
3456
3458
|
var tmp_5 = this;
|
|
3457
3459
|
// Inline function 'org.kodein.di.instance' call
|
|
3458
3460
|
// Inline function 'org.kodein.type.generic' call
|
|
3459
3461
|
var tmp_6 = typeToken(createKType(getKClass(LastCardInteractor), arrayOf([]), false));
|
|
3460
3462
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
3461
|
-
tmp_5.
|
|
3463
|
+
tmp_5.ua1_1 = Instance(di, tmp$ret$6, null).u63(this, lastCardInteractor$factory());
|
|
3462
3464
|
var tmp_7 = this;
|
|
3463
3465
|
// Inline function 'org.kodein.di.instance' call
|
|
3464
3466
|
// Inline function 'org.kodein.type.generic' call
|
|
3465
3467
|
var tmp_8 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
3466
3468
|
var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
3467
|
-
tmp_7.
|
|
3469
|
+
tmp_7.va1_1 = Instance(di, tmp$ret$8, null).u63(this, serverConfig$factory());
|
|
3468
3470
|
var tmp_9 = this;
|
|
3469
3471
|
// Inline function 'org.kodein.di.instance' call
|
|
3470
3472
|
// Inline function 'org.kodein.type.generic' call
|
|
3471
3473
|
var tmp_10 = typeToken(createKType(getKClass(EngineLogicConfig), arrayOf([]), false));
|
|
3472
3474
|
var tmp$ret$10 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
3473
|
-
tmp_9.
|
|
3475
|
+
tmp_9.wa1_1 = Instance(di, tmp$ret$10, null).u63(this, logicConfig$factory());
|
|
3474
3476
|
var tmp_11 = this;
|
|
3475
3477
|
// Inline function 'org.kodein.di.instance' call
|
|
3476
3478
|
// Inline function 'org.kodein.type.generic' call
|
|
3477
3479
|
var tmp_12 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
3478
3480
|
var tmp$ret$12 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
3479
|
-
tmp_11.
|
|
3481
|
+
tmp_11.xa1_1 = Instance(di, tmp$ret$12, null).u63(this, idsProvider$factory_1());
|
|
3480
3482
|
var tmp_13 = this;
|
|
3481
3483
|
// Inline function 'org.kodein.di.instance' call
|
|
3482
3484
|
// Inline function 'org.kodein.type.generic' call
|
|
3483
3485
|
var tmp_14 = typeToken(createKType(getKClass(EngineBotConfig), arrayOf([]), false));
|
|
3484
3486
|
var tmp$ret$14 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
3485
|
-
tmp_13.
|
|
3487
|
+
tmp_13.ya1_1 = Instance(di, tmp$ret$14, null).u63(this, botConfig$factory());
|
|
3486
3488
|
var tmp_15 = this;
|
|
3487
3489
|
// Inline function 'org.kodein.di.instance' call
|
|
3488
3490
|
// Inline function 'org.kodein.type.generic' call
|
|
3489
3491
|
var tmp_16 = typeToken(createKType(getKClass(ScenePositionProvider), arrayOf([]), false));
|
|
3490
3492
|
var tmp$ret$16 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
3491
|
-
tmp_15.
|
|
3493
|
+
tmp_15.za1_1 = Instance(di, tmp$ret$16, null).u63(this, scenePositionProvider$factory());
|
|
3492
3494
|
var tmp_17 = this;
|
|
3493
3495
|
// Inline function 'org.kodein.di.instance' call
|
|
3494
3496
|
// Inline function 'org.kodein.type.generic' call
|
|
3495
3497
|
var tmp_18 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
|
|
3496
3498
|
var tmp$ret$18 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
3497
|
-
tmp_17.
|
|
3499
|
+
tmp_17.aa2_1 = Instance(di, tmp$ret$18, null).u63(this, toClientEventsObserver$factory_1());
|
|
3498
3500
|
var tmp_19 = this;
|
|
3499
3501
|
// Inline function 'org.kodein.di.instance' call
|
|
3500
3502
|
// Inline function 'org.kodein.type.generic' call
|
|
3501
3503
|
var tmp_20 = typeToken(createKType(getKClass(MechanicEventsObserver), arrayOf([]), false));
|
|
3502
3504
|
var tmp$ret$20 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
3503
|
-
tmp_19.
|
|
3505
|
+
tmp_19.ba2_1 = Instance(di, tmp$ret$20, null).u63(this, mechanicEventsObserver$factory_1());
|
|
3504
3506
|
}
|
|
3505
|
-
protoOf(ServerGameStoreContract).g95 = function () {
|
|
3506
|
-
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))]));
|
|
3507
|
-
};
|
|
3508
3507
|
protoOf(ServerGameStoreContract).h95 = function () {
|
|
3509
|
-
|
|
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()]));
|
|
3510
3512
|
var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this));
|
|
3511
3513
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
3512
3514
|
var tmp1_logger = _get_logger__rkp4sl_0(this);
|
|
@@ -3638,28 +3640,28 @@
|
|
|
3638
3640
|
}
|
|
3639
3641
|
function _no_name_provided__qut3iv_2() {
|
|
3640
3642
|
}
|
|
3641
|
-
protoOf(_no_name_provided__qut3iv_2).
|
|
3643
|
+
protoOf(_no_name_provided__qut3iv_2).s6j = function (action) {
|
|
3642
3644
|
return action instanceof RoundEndedAction;
|
|
3643
3645
|
};
|
|
3644
|
-
protoOf(_no_name_provided__qut3iv_2).
|
|
3646
|
+
protoOf(_no_name_provided__qut3iv_2).j6l = function (store, next, action) {
|
|
3645
3647
|
// Inline function 'games.jass.logic.server.redux.middlewares.finishingGameWhenCantStartNewMiddleware.<anonymous>' call
|
|
3646
3648
|
var action_0 = action instanceof RoundEndedAction ? action : THROW_CCE();
|
|
3647
3649
|
next(action_0);
|
|
3648
3650
|
var state = store.state;
|
|
3649
|
-
if (!get_serverStatePayload_0(state).
|
|
3650
|
-
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));
|
|
3651
3653
|
}
|
|
3652
3654
|
};
|
|
3653
|
-
protoOf(_no_name_provided__qut3iv_2).
|
|
3654
|
-
return this.
|
|
3655
|
+
protoOf(_no_name_provided__qut3iv_2).r6j = function (store, next, action) {
|
|
3656
|
+
return this.j6l(store, next, action);
|
|
3655
3657
|
};
|
|
3656
3658
|
function _no_name_provided__qut3iv_3(this$0) {
|
|
3657
|
-
this.
|
|
3659
|
+
this.ea2_1 = this$0;
|
|
3658
3660
|
}
|
|
3659
|
-
protoOf(_no_name_provided__qut3iv_3).
|
|
3661
|
+
protoOf(_no_name_provided__qut3iv_3).s6j = function (action) {
|
|
3660
3662
|
return action instanceof MechanicAction;
|
|
3661
3663
|
};
|
|
3662
|
-
protoOf(_no_name_provided__qut3iv_3).
|
|
3664
|
+
protoOf(_no_name_provided__qut3iv_3).j6l = function (store, next, action) {
|
|
3663
3665
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>' call
|
|
3664
3666
|
var action_0 = action instanceof MechanicAction ? action : THROW_CCE();
|
|
3665
3667
|
var state = store.state;
|
|
@@ -3668,18 +3670,18 @@
|
|
|
3668
3670
|
var tmp;
|
|
3669
3671
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
3670
3672
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3671
|
-
var this_0 = this.
|
|
3672
|
-
var tableId = action_0.
|
|
3673
|
-
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;
|
|
3674
3676
|
// Inline function 'kotlin.collections.map' call
|
|
3675
|
-
var this_1 = action_0.
|
|
3677
|
+
var this_1 = action_0.z7z_1;
|
|
3676
3678
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3677
3679
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
3678
3680
|
var tmp0_iterator = this_1.j();
|
|
3679
3681
|
while (tmp0_iterator.k()) {
|
|
3680
3682
|
var item = tmp0_iterator.l();
|
|
3681
3683
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3682
|
-
var tmp$ret$0 = to(item.
|
|
3684
|
+
var tmp$ret$0 = to(item.x6a_1, PlayerConnectionState_LIVE_getInstance());
|
|
3683
3685
|
destination.e(tmp$ret$0);
|
|
3684
3686
|
}
|
|
3685
3687
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
@@ -3713,7 +3715,7 @@
|
|
|
3713
3715
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3714
3716
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3715
3717
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3716
|
-
var tmp0_aid = this_0.
|
|
3718
|
+
var tmp0_aid = this_0.da2_1.v6h();
|
|
3717
3719
|
// Inline function 'kotlin.collections.map' call
|
|
3718
3720
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3719
3721
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -3738,17 +3740,17 @@
|
|
|
3738
3740
|
} else {
|
|
3739
3741
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
3740
3742
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3741
|
-
var this_2 = this.
|
|
3742
|
-
var table = state.
|
|
3743
|
+
var this_2 = this.ea2_1;
|
|
3744
|
+
var table = state.p6r();
|
|
3743
3745
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3744
|
-
var sendToPlayer_0 = new RoomActionPayload(this_2.
|
|
3746
|
+
var sendToPlayer_0 = new RoomActionPayload(this_2.da2_1.v6h(), table.id, null);
|
|
3745
3747
|
var tmp$ret$18 = mapToClient_16(action_0, sendToPlayer_0);
|
|
3746
3748
|
tmp = listOfNotNull(tmp$ret$18);
|
|
3747
3749
|
} else {
|
|
3748
3750
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
3749
3751
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3750
|
-
var this_3 = this.
|
|
3751
|
-
var tableId_0 = action_0.
|
|
3752
|
+
var this_3 = this.ea2_1;
|
|
3753
|
+
var tableId_0 = action_0.c80_1.id;
|
|
3752
3754
|
var gameCreatorPlayerId_0 = action_0.gameCreatorPlayerId;
|
|
3753
3755
|
// Inline function 'kotlin.collections.map' call
|
|
3754
3756
|
var this_4 = action_0.users;
|
|
@@ -3758,7 +3760,7 @@
|
|
|
3758
3760
|
while (tmp0_iterator_4.k()) {
|
|
3759
3761
|
var item_2 = tmp0_iterator_4.l();
|
|
3760
3762
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3761
|
-
var tmp$ret$20 = to(item_2.
|
|
3763
|
+
var tmp$ret$20 = to(item_2.x6a_1, PlayerConnectionState_LIVE_getInstance());
|
|
3762
3764
|
destination_4.e(tmp$ret$20);
|
|
3763
3765
|
}
|
|
3764
3766
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
@@ -3792,7 +3794,7 @@
|
|
|
3792
3794
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3793
3795
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3794
3796
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3795
|
-
var tmp0_aid_0 = this_3.
|
|
3797
|
+
var tmp0_aid_0 = this_3.da2_1.v6h();
|
|
3796
3798
|
// Inline function 'kotlin.collections.map' call
|
|
3797
3799
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3798
3800
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -3817,44 +3819,44 @@
|
|
|
3817
3819
|
} else {
|
|
3818
3820
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
3819
3821
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3820
|
-
var this_5 = this.
|
|
3821
|
-
var table_0 = state.
|
|
3822
|
+
var this_5 = this.ea2_1;
|
|
3823
|
+
var table_0 = state.p6r();
|
|
3822
3824
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3823
|
-
var sendToPlayer_2 = new RoomActionPayload(this_5.
|
|
3825
|
+
var sendToPlayer_2 = new RoomActionPayload(this_5.da2_1.v6h(), table_0.id, null);
|
|
3824
3826
|
var tmp$ret$38 = mapToClient_14(action_0, sendToPlayer_2);
|
|
3825
3827
|
tmp = listOfNotNull(tmp$ret$38);
|
|
3826
3828
|
} else {
|
|
3827
3829
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
3828
3830
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3829
|
-
var this_6 = this.
|
|
3830
|
-
var table_1 = state.
|
|
3831
|
+
var this_6 = this.ea2_1;
|
|
3832
|
+
var table_1 = state.p6r();
|
|
3831
3833
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3832
|
-
var sendToPlayer_3 = new RoomActionPayload(this_6.
|
|
3834
|
+
var sendToPlayer_3 = new RoomActionPayload(this_6.da2_1.v6h(), table_1.id, null);
|
|
3833
3835
|
var tmp$ret$40 = mapToClient_13(action_0, sendToPlayer_3);
|
|
3834
3836
|
tmp = listOfNotNull(tmp$ret$40);
|
|
3835
3837
|
} else {
|
|
3836
3838
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
3837
3839
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3838
|
-
var this_7 = this.
|
|
3839
|
-
var table_2 = state.
|
|
3840
|
+
var this_7 = this.ea2_1;
|
|
3841
|
+
var table_2 = state.p6r();
|
|
3840
3842
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3841
|
-
var sendToPlayer_4 = new RoomActionPayload(this_7.
|
|
3843
|
+
var sendToPlayer_4 = new RoomActionPayload(this_7.da2_1.v6h(), table_2.id, null);
|
|
3842
3844
|
var tmp$ret$42 = mapToClient_12(action_0, sendToPlayer_4);
|
|
3843
3845
|
tmp = listOfNotNull(tmp$ret$42);
|
|
3844
3846
|
} else {
|
|
3845
3847
|
if (action_0 instanceof ErrorAction) {
|
|
3846
3848
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3847
|
-
var this_8 = this.
|
|
3848
|
-
var table_3 = state.
|
|
3849
|
+
var this_8 = this.ea2_1;
|
|
3850
|
+
var table_3 = state.p6r();
|
|
3849
3851
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3850
|
-
var sendToPlayer_5 = new RoomActionPayload(this_8.
|
|
3852
|
+
var sendToPlayer_5 = new RoomActionPayload(this_8.da2_1.v6h(), table_3.id, null);
|
|
3851
3853
|
var tmp$ret$44 = mapToClient_11(action_0, sendToPlayer_5);
|
|
3852
3854
|
tmp = listOfNotNull(tmp$ret$44);
|
|
3853
3855
|
} else {
|
|
3854
3856
|
if (action_0 instanceof SceneMechanicAction) {
|
|
3855
3857
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
3856
|
-
var this_9 = this.
|
|
3857
|
-
var table_4 = state.
|
|
3858
|
+
var this_9 = this.ea2_1;
|
|
3859
|
+
var table_4 = state.p6r();
|
|
3858
3860
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3859
3861
|
var tableId_1 = table_4.id;
|
|
3860
3862
|
var gameCreatorPlayerId_1 = getGameCreator(table_4.players).playerId;
|
|
@@ -3890,7 +3892,7 @@
|
|
|
3890
3892
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3891
3893
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3892
3894
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3893
|
-
var tmp0_aid_1 = this_9.
|
|
3895
|
+
var tmp0_aid_1 = this_9.da2_1.v6h();
|
|
3894
3896
|
// Inline function 'kotlin.collections.map' call
|
|
3895
3897
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3896
3898
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -3915,8 +3917,8 @@
|
|
|
3915
3917
|
} else {
|
|
3916
3918
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
3917
3919
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
3918
|
-
var this_10 = this.
|
|
3919
|
-
var table_5 = state.
|
|
3920
|
+
var this_10 = this.ea2_1;
|
|
3921
|
+
var table_5 = state.p6r();
|
|
3920
3922
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3921
3923
|
var tableId_2 = table_5.id;
|
|
3922
3924
|
var gameCreatorPlayerId_2 = getGameCreator(table_5.players).playerId;
|
|
@@ -3952,7 +3954,7 @@
|
|
|
3952
3954
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3953
3955
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3954
3956
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3955
|
-
var tmp0_aid_2 = this_10.
|
|
3957
|
+
var tmp0_aid_2 = this_10.da2_1.v6h();
|
|
3956
3958
|
// Inline function 'kotlin.collections.map' call
|
|
3957
3959
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3958
3960
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -3977,8 +3979,8 @@
|
|
|
3977
3979
|
} else {
|
|
3978
3980
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
3979
3981
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
3980
|
-
var this_11 = this.
|
|
3981
|
-
var table_6 = state.
|
|
3982
|
+
var this_11 = this.ea2_1;
|
|
3983
|
+
var table_6 = state.p6r();
|
|
3982
3984
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3983
3985
|
var tableId_3 = table_6.id;
|
|
3984
3986
|
var gameCreatorPlayerId_3 = getGameCreator(table_6.players).playerId;
|
|
@@ -4014,7 +4016,7 @@
|
|
|
4014
4016
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
4015
4017
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
4016
4018
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4017
|
-
var tmp0_aid_3 = this_11.
|
|
4019
|
+
var tmp0_aid_3 = this_11.da2_1.v6h();
|
|
4018
4020
|
// Inline function 'kotlin.collections.map' call
|
|
4019
4021
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4020
4022
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -4027,7 +4029,7 @@
|
|
|
4027
4029
|
}
|
|
4028
4030
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tableId_3, gameCreatorPlayerId_3, element_8, destination_20);
|
|
4029
4031
|
var tmp_0;
|
|
4030
|
-
if (this.
|
|
4032
|
+
if (this.ea2_1.ca2_1.supportBackwardActions && getPlayer(state.p6r().players, sendToPlayer_8.e7e_1).k6x_1.o6x_1) {
|
|
4031
4033
|
tmp_0 = null;
|
|
4032
4034
|
} else {
|
|
4033
4035
|
tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
|
|
@@ -4045,79 +4047,79 @@
|
|
|
4045
4047
|
} else {
|
|
4046
4048
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
4047
4049
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4048
|
-
var this_12 = this.
|
|
4049
|
-
var table_7 = state.
|
|
4050
|
-
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;
|
|
4051
4053
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4052
|
-
var sendToPlayer_9 = new RoomActionPayload(this_12.
|
|
4054
|
+
var sendToPlayer_9 = new RoomActionPayload(this_12.da2_1.v6h(), table_7.id, exceptPlayerId);
|
|
4053
4055
|
var tmp$ret$94 = mapToClient_7(action_0, sendToPlayer_9);
|
|
4054
4056
|
tmp = listOfNotNull(tmp$ret$94);
|
|
4055
4057
|
} else {
|
|
4056
4058
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
4057
4059
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4058
|
-
var this_13 = this.
|
|
4059
|
-
var table_8 = state.
|
|
4060
|
-
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;
|
|
4061
4063
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4062
|
-
var sendToPlayer_10 = new RoomActionPayload(this_13.
|
|
4064
|
+
var sendToPlayer_10 = new RoomActionPayload(this_13.da2_1.v6h(), table_8.id, exceptPlayerId_0);
|
|
4063
4065
|
var tmp$ret$96 = mapToClient_6(action_0, sendToPlayer_10);
|
|
4064
4066
|
tmp = listOfNotNull(tmp$ret$96);
|
|
4065
4067
|
} else {
|
|
4066
4068
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
4067
4069
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4068
|
-
var this_14 = this.
|
|
4069
|
-
var table_9 = state.
|
|
4070
|
+
var this_14 = this.ea2_1;
|
|
4071
|
+
var table_9 = state.p6r();
|
|
4070
4072
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4071
|
-
var sendToPlayer_11 = new RoomActionPayload(this_14.
|
|
4073
|
+
var sendToPlayer_11 = new RoomActionPayload(this_14.da2_1.v6h(), table_9.id, null);
|
|
4072
4074
|
var tmp$ret$98 = mapToClient_5(action_0, sendToPlayer_11);
|
|
4073
4075
|
tmp = listOfNotNull(tmp$ret$98);
|
|
4074
4076
|
} else {
|
|
4075
4077
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
4076
4078
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4077
|
-
var this_15 = this.
|
|
4078
|
-
var table_10 = state.
|
|
4079
|
-
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;
|
|
4080
4082
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4081
|
-
var sendToPlayer_12 = new RoomActionPayload(this_15.
|
|
4083
|
+
var sendToPlayer_12 = new RoomActionPayload(this_15.da2_1.v6h(), table_10.id, exceptPlayerId_1);
|
|
4082
4084
|
var tmp$ret$100 = mapToClient_4(action_0, sendToPlayer_12);
|
|
4083
4085
|
tmp = listOfNotNull(tmp$ret$100);
|
|
4084
4086
|
} else {
|
|
4085
4087
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
4086
4088
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4087
|
-
var this_16 = this.
|
|
4088
|
-
var table_11 = state.
|
|
4089
|
-
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;
|
|
4090
4092
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4091
|
-
var sendToPlayer_13 = new RoomActionPayload(this_16.
|
|
4093
|
+
var sendToPlayer_13 = new RoomActionPayload(this_16.da2_1.v6h(), table_11.id, exceptPlayerId_2);
|
|
4092
4094
|
var tmp$ret$102 = mapToClient_3(action_0, sendToPlayer_13);
|
|
4093
4095
|
tmp = listOfNotNull(tmp$ret$102);
|
|
4094
4096
|
} else {
|
|
4095
4097
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
4096
4098
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4097
|
-
var this_17 = this.
|
|
4098
|
-
var table_12 = state.
|
|
4099
|
+
var this_17 = this.ea2_1;
|
|
4100
|
+
var table_12 = state.p6r();
|
|
4099
4101
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4100
|
-
var sendToPlayer_14 = new RoomActionPayload(this_17.
|
|
4102
|
+
var sendToPlayer_14 = new RoomActionPayload(this_17.da2_1.v6h(), table_12.id, null);
|
|
4101
4103
|
var tmp$ret$104 = mapToClient_2(action_0, sendToPlayer_14);
|
|
4102
4104
|
tmp = listOfNotNull(tmp$ret$104);
|
|
4103
4105
|
} else {
|
|
4104
4106
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
4105
4107
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4106
|
-
var this_18 = this.
|
|
4107
|
-
var table_13 = state.
|
|
4108
|
+
var this_18 = this.ea2_1;
|
|
4109
|
+
var table_13 = state.p6r();
|
|
4108
4110
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4109
|
-
var sendToPlayer_15 = new RoomActionPayload(this_18.
|
|
4111
|
+
var sendToPlayer_15 = new RoomActionPayload(this_18.da2_1.v6h(), table_13.id, null);
|
|
4110
4112
|
var tmp$ret$106 = mapToClient_1(action_0, sendToPlayer_15);
|
|
4111
4113
|
tmp = listOfNotNull(tmp$ret$106);
|
|
4112
4114
|
} else {
|
|
4113
4115
|
if (action_0 instanceof MessageMechanicAction) {
|
|
4114
|
-
var message = action_0.
|
|
4116
|
+
var message = action_0.z81_1;
|
|
4115
4117
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4116
|
-
var this_19 = this.
|
|
4117
|
-
var table_14 = state.
|
|
4118
|
+
var this_19 = this.ea2_1;
|
|
4119
|
+
var table_14 = state.p6r();
|
|
4118
4120
|
var tmp_1;
|
|
4119
4121
|
var tmp_2;
|
|
4120
|
-
if (this.
|
|
4122
|
+
if (this.ea2_1.ca2_1.supportBackwardActions) {
|
|
4121
4123
|
tmp_2 = isInterface(message, UserMessage);
|
|
4122
4124
|
} else {
|
|
4123
4125
|
tmp_2 = false;
|
|
@@ -4129,17 +4131,17 @@
|
|
|
4129
4131
|
}
|
|
4130
4132
|
var exceptPlayerId_3 = tmp_1;
|
|
4131
4133
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4132
|
-
var sendToPlayer_16 = new RoomActionPayload(this_19.
|
|
4134
|
+
var sendToPlayer_16 = new RoomActionPayload(this_19.da2_1.v6h(), table_14.id, exceptPlayerId_3);
|
|
4133
4135
|
var tmp$ret$108 = mapToClient_0(action_0, sendToPlayer_16);
|
|
4134
4136
|
tmp = listOfNotNull(tmp$ret$108);
|
|
4135
4137
|
} else {
|
|
4136
4138
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
4137
4139
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4138
|
-
var this_20 = this.
|
|
4139
|
-
var table_15 = state.
|
|
4140
|
+
var this_20 = this.ea2_1;
|
|
4141
|
+
var table_15 = state.p6r();
|
|
4140
4142
|
var exceptPlayerId_4 = action_0.playerId;
|
|
4141
4143
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4142
|
-
var sendToPlayer_17 = new RoomActionPayload(this_20.
|
|
4144
|
+
var sendToPlayer_17 = new RoomActionPayload(this_20.da2_1.v6h(), table_15.id, exceptPlayerId_4);
|
|
4143
4145
|
var tmp$ret$110 = mapToClient(action_0, sendToPlayer_17);
|
|
4144
4146
|
tmp = listOfNotNull(tmp$ret$110);
|
|
4145
4147
|
} else {
|
|
@@ -4173,14 +4175,14 @@
|
|
|
4173
4175
|
}
|
|
4174
4176
|
next(action_0);
|
|
4175
4177
|
};
|
|
4176
|
-
protoOf(_no_name_provided__qut3iv_3).
|
|
4177
|
-
return this.
|
|
4178
|
+
protoOf(_no_name_provided__qut3iv_3).r6j = function (store, next, action) {
|
|
4179
|
+
return this.j6l(store, next, action);
|
|
4178
4180
|
};
|
|
4179
4181
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
4180
|
-
this.
|
|
4181
|
-
this.
|
|
4182
|
+
this.ca2_1 = logicConfig;
|
|
4183
|
+
this.da2_1 = idsProvider;
|
|
4182
4184
|
}
|
|
4183
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
4185
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).a97 = function () {
|
|
4184
4186
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
4185
4187
|
return new _no_name_provided__qut3iv_3(this);
|
|
4186
4188
|
};
|
|
@@ -4189,18 +4191,18 @@
|
|
|
4189
4191
|
return new _no_name_provided__qut3iv_4(asyncProvider, provider);
|
|
4190
4192
|
}
|
|
4191
4193
|
function sendMechanicEventsMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
4192
|
-
this.
|
|
4193
|
-
this.
|
|
4194
|
+
this.na2_1 = $provider;
|
|
4195
|
+
this.oa2_1 = $action;
|
|
4194
4196
|
CoroutineImpl.call(this, resultContinuation);
|
|
4195
4197
|
}
|
|
4196
|
-
protoOf(sendMechanicEventsMiddleware$o$handle$slambda).
|
|
4197
|
-
var tmp = this.
|
|
4198
|
+
protoOf(sendMechanicEventsMiddleware$o$handle$slambda).l1e = function ($this$launchDefault, $completion) {
|
|
4199
|
+
var tmp = this.m1e($this$launchDefault, $completion);
|
|
4198
4200
|
tmp.g9_1 = Unit_instance;
|
|
4199
4201
|
tmp.h9_1 = null;
|
|
4200
4202
|
return tmp.m9();
|
|
4201
4203
|
};
|
|
4202
4204
|
protoOf(sendMechanicEventsMiddleware$o$handle$slambda).w9 = function (p1, $completion) {
|
|
4203
|
-
return this.
|
|
4205
|
+
return this.l1e((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
4204
4206
|
};
|
|
4205
4207
|
protoOf(sendMechanicEventsMiddleware$o$handle$slambda).m9 = function () {
|
|
4206
4208
|
var suspendResult = this.g9_1;
|
|
@@ -4211,7 +4213,7 @@
|
|
|
4211
4213
|
case 0:
|
|
4212
4214
|
this.f9_1 = 2;
|
|
4213
4215
|
this.e9_1 = 1;
|
|
4214
|
-
suspendResult = this.
|
|
4216
|
+
suspendResult = this.na2_1.j9u(this.oa2_1, this);
|
|
4215
4217
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4216
4218
|
return suspendResult;
|
|
4217
4219
|
}
|
|
@@ -4233,52 +4235,52 @@
|
|
|
4233
4235
|
}
|
|
4234
4236
|
while (true);
|
|
4235
4237
|
};
|
|
4236
|
-
protoOf(sendMechanicEventsMiddleware$o$handle$slambda).
|
|
4237
|
-
var i = new sendMechanicEventsMiddleware$o$handle$slambda(this.
|
|
4238
|
-
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;
|
|
4239
4241
|
return i;
|
|
4240
4242
|
};
|
|
4241
4243
|
function sendMechanicEventsMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
4242
4244
|
var i = new sendMechanicEventsMiddleware$o$handle$slambda($provider, $action, resultContinuation);
|
|
4243
4245
|
var l = function ($this$launchDefault, $completion) {
|
|
4244
|
-
return i.
|
|
4246
|
+
return i.l1e($this$launchDefault, $completion);
|
|
4245
4247
|
};
|
|
4246
4248
|
l.$arity = 1;
|
|
4247
4249
|
return l;
|
|
4248
4250
|
}
|
|
4249
4251
|
function _no_name_provided__qut3iv_4($asyncProvider, $provider) {
|
|
4250
|
-
this.
|
|
4251
|
-
this.
|
|
4252
|
+
this.qa2_1 = $asyncProvider;
|
|
4253
|
+
this.ra2_1 = $provider;
|
|
4252
4254
|
}
|
|
4253
|
-
protoOf(_no_name_provided__qut3iv_4).
|
|
4255
|
+
protoOf(_no_name_provided__qut3iv_4).s6j = function (action) {
|
|
4254
4256
|
return action instanceof MechanicAction;
|
|
4255
4257
|
};
|
|
4256
|
-
protoOf(_no_name_provided__qut3iv_4).
|
|
4258
|
+
protoOf(_no_name_provided__qut3iv_4).j6l = function (store, next, action) {
|
|
4257
4259
|
// Inline function 'games.jass.logic.server.redux.middlewares.events.sendMechanicEventsMiddleware.<anonymous>' call
|
|
4258
4260
|
var action_0 = action instanceof MechanicAction ? action : THROW_CCE();
|
|
4259
|
-
this.
|
|
4261
|
+
this.qa2_1.s6g(VOID, sendMechanicEventsMiddleware$o$handle$slambda_0(this.ra2_1, action_0, null));
|
|
4260
4262
|
next(action_0);
|
|
4261
4263
|
};
|
|
4262
|
-
protoOf(_no_name_provided__qut3iv_4).
|
|
4263
|
-
return this.
|
|
4264
|
+
protoOf(_no_name_provided__qut3iv_4).r6j = function (store, next, action) {
|
|
4265
|
+
return this.j6l(store, next, action);
|
|
4264
4266
|
};
|
|
4265
4267
|
function sendToClientActionMiddleware(asyncProvider, provider) {
|
|
4266
4268
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
4267
4269
|
return new _no_name_provided__qut3iv_5(asyncProvider, provider);
|
|
4268
4270
|
}
|
|
4269
4271
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
4270
|
-
this.
|
|
4271
|
-
this.
|
|
4272
|
+
this.aa3_1 = $provider;
|
|
4273
|
+
this.ba3_1 = $action;
|
|
4272
4274
|
CoroutineImpl.call(this, resultContinuation);
|
|
4273
4275
|
}
|
|
4274
|
-
protoOf(sendToClientActionMiddleware$o$handle$slambda).
|
|
4275
|
-
var tmp = this.
|
|
4276
|
+
protoOf(sendToClientActionMiddleware$o$handle$slambda).l1e = function ($this$launchDefault, $completion) {
|
|
4277
|
+
var tmp = this.m1e($this$launchDefault, $completion);
|
|
4276
4278
|
tmp.g9_1 = Unit_instance;
|
|
4277
4279
|
tmp.h9_1 = null;
|
|
4278
4280
|
return tmp.m9();
|
|
4279
4281
|
};
|
|
4280
4282
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).w9 = function (p1, $completion) {
|
|
4281
|
-
return this.
|
|
4283
|
+
return this.l1e((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
4282
4284
|
};
|
|
4283
4285
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).m9 = function () {
|
|
4284
4286
|
var suspendResult = this.g9_1;
|
|
@@ -4289,7 +4291,7 @@
|
|
|
4289
4291
|
case 0:
|
|
4290
4292
|
this.f9_1 = 2;
|
|
4291
4293
|
this.e9_1 = 1;
|
|
4292
|
-
suspendResult = this.
|
|
4294
|
+
suspendResult = this.aa3_1.x9y(this.ba3_1, this);
|
|
4293
4295
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4294
4296
|
return suspendResult;
|
|
4295
4297
|
}
|
|
@@ -4311,34 +4313,34 @@
|
|
|
4311
4313
|
}
|
|
4312
4314
|
while (true);
|
|
4313
4315
|
};
|
|
4314
|
-
protoOf(sendToClientActionMiddleware$o$handle$slambda).
|
|
4315
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
4316
|
-
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;
|
|
4317
4319
|
return i;
|
|
4318
4320
|
};
|
|
4319
4321
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
4320
4322
|
var i = new sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation);
|
|
4321
4323
|
var l = function ($this$launchDefault, $completion) {
|
|
4322
|
-
return i.
|
|
4324
|
+
return i.l1e($this$launchDefault, $completion);
|
|
4323
4325
|
};
|
|
4324
4326
|
l.$arity = 1;
|
|
4325
4327
|
return l;
|
|
4326
4328
|
}
|
|
4327
4329
|
function _no_name_provided__qut3iv_5($asyncProvider, $provider) {
|
|
4328
|
-
this.
|
|
4329
|
-
this.
|
|
4330
|
+
this.da3_1 = $asyncProvider;
|
|
4331
|
+
this.ea3_1 = $provider;
|
|
4330
4332
|
}
|
|
4331
|
-
protoOf(_no_name_provided__qut3iv_5).
|
|
4333
|
+
protoOf(_no_name_provided__qut3iv_5).s6j = function (action) {
|
|
4332
4334
|
return action instanceof ToClientAction;
|
|
4333
4335
|
};
|
|
4334
|
-
protoOf(_no_name_provided__qut3iv_5).
|
|
4336
|
+
protoOf(_no_name_provided__qut3iv_5).j6l = function (store, next, action) {
|
|
4335
4337
|
// Inline function 'games.jass.logic.server.redux.middlewares.events.sendToClientActionMiddleware.<anonymous>' call
|
|
4336
4338
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
4337
|
-
this.
|
|
4339
|
+
this.da3_1.s6g(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.ea3_1, action_0, null));
|
|
4338
4340
|
next(action_0);
|
|
4339
4341
|
};
|
|
4340
|
-
protoOf(_no_name_provided__qut3iv_5).
|
|
4341
|
-
return this.
|
|
4342
|
+
protoOf(_no_name_provided__qut3iv_5).r6j = function (store, next, action) {
|
|
4343
|
+
return this.j6l(store, next, action);
|
|
4342
4344
|
};
|
|
4343
4345
|
function serverConfigReducer() {
|
|
4344
4346
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
@@ -4346,96 +4348,96 @@
|
|
|
4346
4348
|
}
|
|
4347
4349
|
function _no_name_provided__qut3iv_6() {
|
|
4348
4350
|
}
|
|
4349
|
-
protoOf(_no_name_provided__qut3iv_6).
|
|
4351
|
+
protoOf(_no_name_provided__qut3iv_6).s6j = function (action) {
|
|
4350
4352
|
return action instanceof UpdateServerConfigAction;
|
|
4351
4353
|
};
|
|
4352
|
-
protoOf(_no_name_provided__qut3iv_6).
|
|
4354
|
+
protoOf(_no_name_provided__qut3iv_6).v9d = function (state, action) {
|
|
4353
4355
|
// Inline function 'games.jass.logic.server.redux.reducers.serverConfigReducer.<anonymous>' call
|
|
4354
4356
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
4355
|
-
return state.
|
|
4357
|
+
return state.k92(VOID, get_serverStatePayload_0(state).fa3(action_0.ja1_1));
|
|
4356
4358
|
};
|
|
4357
|
-
protoOf(_no_name_provided__qut3iv_6).
|
|
4358
|
-
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);
|
|
4359
4361
|
};
|
|
4360
4362
|
function ServerMechanicLifecycleReducer$onStart$lambda($action) {
|
|
4361
4363
|
return function (it) {
|
|
4362
4364
|
var tmp = Companion_instance_1;
|
|
4363
4365
|
var tmp_0;
|
|
4364
4366
|
if (it.isBot) {
|
|
4365
|
-
tmp_0 = Companion_instance_2.
|
|
4367
|
+
tmp_0 = Companion_instance_2.z6b(PlayerConnectionState_LEFT_getInstance());
|
|
4366
4368
|
} else {
|
|
4367
4369
|
var tmp_1 = Companion_instance_2;
|
|
4368
4370
|
var tmp_2 = PlayerConnectionState_LIVE_getInstance();
|
|
4369
4371
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
4370
4372
|
Companion_getInstance();
|
|
4371
|
-
var this_0 = $action.
|
|
4373
|
+
var this_0 = $action.v7z_1.timeoutTimeMillis;
|
|
4372
4374
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
4373
|
-
tmp_0 = tmp_1.
|
|
4375
|
+
tmp_0 = tmp_1.y6b(tmp_2, tmp$ret$0);
|
|
4374
4376
|
}
|
|
4375
|
-
return tmp.
|
|
4377
|
+
return tmp.g6d(tmp_0);
|
|
4376
4378
|
};
|
|
4377
4379
|
}
|
|
4378
4380
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
4379
4381
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
4380
|
-
this.
|
|
4382
|
+
this.ia3_1 = logger;
|
|
4381
4383
|
}
|
|
4382
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
4383
|
-
var serverState = get_serverStatePayloadOrNull(state.
|
|
4384
|
+
protoOf(ServerMechanicLifecycleReducer).h9f = function (state, action) {
|
|
4385
|
+
var serverState = get_serverStatePayloadOrNull(state.o6q_1);
|
|
4384
4386
|
var tmp8_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
4385
|
-
var tmp0_$this = this.
|
|
4386
|
-
var tmp1_tableId = action.
|
|
4387
|
-
var tmp2_gameId = action.
|
|
4388
|
-
var tmp3_version = action.
|
|
4389
|
-
var tmp4_config = action.
|
|
4390
|
-
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;
|
|
4391
4393
|
var tmp6_spectators = action.spectators;
|
|
4392
|
-
var tmp7_gameCreatorPlayerId = action.
|
|
4393
|
-
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));
|
|
4394
4396
|
var tmp;
|
|
4395
4397
|
if (serverState == null) {
|
|
4396
|
-
this.
|
|
4397
|
-
tmp = Companion_instance_11.
|
|
4398
|
+
this.ia3_1.w(VOID, 'ServerPayload is not onStart');
|
|
4399
|
+
tmp = Companion_instance_11.b9u();
|
|
4398
4400
|
} else {
|
|
4399
4401
|
tmp = serverState;
|
|
4400
4402
|
}
|
|
4401
4403
|
var tmp10_payload = tmp;
|
|
4402
|
-
return state.
|
|
4404
|
+
return state.k92(tmp9_tableOrNull, tmp10_payload, tmp8_gameLifecycleState);
|
|
4403
4405
|
};
|
|
4404
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
4406
|
+
protoOf(ServerMechanicLifecycleReducer).f9f = function (state, action) {
|
|
4405
4407
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
4406
|
-
var tmp2_tableOrNull = action.
|
|
4408
|
+
var tmp2_tableOrNull = action.c80_1;
|
|
4407
4409
|
var tmp = Companion_instance_11;
|
|
4408
|
-
var tmp_0 = get_serverStatePayload_0(state).
|
|
4409
|
-
var tmp_1 = action.
|
|
4410
|
+
var tmp_0 = get_serverStatePayload_0(state).k9t_1;
|
|
4411
|
+
var tmp_1 = action.d80_1;
|
|
4410
4412
|
var tmp0_safe_receiver = tmp_1 instanceof RestartRoundReason ? tmp_1 : null;
|
|
4411
|
-
var tmp3_payload = tmp.
|
|
4412
|
-
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);
|
|
4413
4415
|
};
|
|
4414
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
4415
|
-
this.
|
|
4416
|
+
protoOf(ServerMechanicLifecycleReducer).g9f = function (state, action) {
|
|
4417
|
+
this.j9f_1.h5r(action.previousGameId);
|
|
4416
4418
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
4417
|
-
var tmp1_tableOrNull = this.
|
|
4418
|
-
return state.
|
|
4419
|
+
var tmp1_tableOrNull = this.i9f_1.o9g(state.p6r(), action.gameId);
|
|
4420
|
+
return state.k92(tmp1_tableOrNull, VOID, tmp0_gameLifecycleState);
|
|
4419
4421
|
};
|
|
4420
4422
|
function spectatorsReducer(logger) {
|
|
4421
4423
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
4422
4424
|
return new _no_name_provided__qut3iv_7(logger);
|
|
4423
4425
|
}
|
|
4424
4426
|
function _no_name_provided__qut3iv_7($logger) {
|
|
4425
|
-
this.
|
|
4427
|
+
this.ka3_1 = $logger;
|
|
4426
4428
|
}
|
|
4427
|
-
protoOf(_no_name_provided__qut3iv_7).
|
|
4429
|
+
protoOf(_no_name_provided__qut3iv_7).s6j = function (action) {
|
|
4428
4430
|
return isInterface(action, SpectatorsAction);
|
|
4429
4431
|
};
|
|
4430
|
-
protoOf(_no_name_provided__qut3iv_7).
|
|
4432
|
+
protoOf(_no_name_provided__qut3iv_7).v9d = function (state, action) {
|
|
4431
4433
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>' call
|
|
4432
4434
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
4433
|
-
var table = state.
|
|
4435
|
+
var table = state.p6r();
|
|
4434
4436
|
var tmp;
|
|
4435
4437
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
4436
4438
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
4437
4439
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
4438
|
-
var this_0 = action_0.
|
|
4440
|
+
var this_0 = action_0.ka1_1;
|
|
4439
4441
|
var destination = ArrayList_init_$Create$_0();
|
|
4440
4442
|
// Inline function 'kotlin.collections.forEach' call
|
|
4441
4443
|
var tmp0_iterator = this_0.j();
|
|
@@ -4443,7 +4445,7 @@
|
|
|
4443
4445
|
var element = tmp0_iterator.l();
|
|
4444
4446
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
4445
4447
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>.<anonymous>' call
|
|
4446
|
-
var tmp0_safe_receiver = singleOrNull(filterByPlayerId(table.spectators, element.
|
|
4448
|
+
var tmp0_safe_receiver = singleOrNull(filterByPlayerId(table.spectators, element.x6a_1));
|
|
4447
4449
|
if (tmp0_safe_receiver == null)
|
|
4448
4450
|
null;
|
|
4449
4451
|
else {
|
|
@@ -4457,10 +4459,10 @@
|
|
|
4457
4459
|
var tmp_0;
|
|
4458
4460
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
4459
4461
|
if (!sameSpectators.p()) {
|
|
4460
|
-
this.
|
|
4462
|
+
this.ka3_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
4461
4463
|
// Inline function 'kotlin.collections.filterNot' call
|
|
4462
4464
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
4463
|
-
var this_1 = action_0.
|
|
4465
|
+
var this_1 = action_0.ka1_1;
|
|
4464
4466
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
4465
4467
|
var tmp0_iterator_0 = this_1.j();
|
|
4466
4468
|
while (tmp0_iterator_0.k()) {
|
|
@@ -4483,7 +4485,7 @@
|
|
|
4483
4485
|
while (tmp0_iterator_1.k()) {
|
|
4484
4486
|
var element_1 = tmp0_iterator_1.l();
|
|
4485
4487
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>.<anonymous>.<anonymous>' call
|
|
4486
|
-
if (element_0.
|
|
4488
|
+
if (element_0.x6a_1 === element_1.playerId) {
|
|
4487
4489
|
tmp$ret$5 = true;
|
|
4488
4490
|
break $l$block_0;
|
|
4489
4491
|
}
|
|
@@ -4496,7 +4498,7 @@
|
|
|
4496
4498
|
}
|
|
4497
4499
|
tmp_0 = destination_0;
|
|
4498
4500
|
} else {
|
|
4499
|
-
tmp_0 = action_0.
|
|
4501
|
+
tmp_0 = action_0.ka1_1;
|
|
4500
4502
|
}
|
|
4501
4503
|
var this_2 = tmp_0;
|
|
4502
4504
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -4509,12 +4511,12 @@
|
|
|
4509
4511
|
destination_1.e(tmp$ret$10);
|
|
4510
4512
|
}
|
|
4511
4513
|
var spectatorsToAdd = toSet(destination_1);
|
|
4512
|
-
tmp = state.
|
|
4514
|
+
tmp = state.k92(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
|
|
4513
4515
|
} else {
|
|
4514
4516
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
4515
4517
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
4516
4518
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
4517
|
-
var this_3 = action_0.
|
|
4519
|
+
var this_3 = action_0.la1_1;
|
|
4518
4520
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
4519
4521
|
// Inline function 'kotlin.collections.forEach' call
|
|
4520
4522
|
var tmp0_iterator_3 = this_3.j();
|
|
@@ -4522,7 +4524,7 @@
|
|
|
4522
4524
|
var element_2 = tmp0_iterator_3.l();
|
|
4523
4525
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
4524
4526
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>.<anonymous>' call
|
|
4525
|
-
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));
|
|
4526
4528
|
if (tmp0_safe_receiver_0 == null)
|
|
4527
4529
|
null;
|
|
4528
4530
|
else {
|
|
@@ -4535,10 +4537,10 @@
|
|
|
4535
4537
|
var tmp_2;
|
|
4536
4538
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
4537
4539
|
if (!sameSpectators_0.p()) {
|
|
4538
|
-
this.
|
|
4540
|
+
this.ka3_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
4539
4541
|
// Inline function 'kotlin.collections.filterNot' call
|
|
4540
4542
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
4541
|
-
var this_4 = action_0.
|
|
4543
|
+
var this_4 = action_0.la1_1;
|
|
4542
4544
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
4543
4545
|
var tmp0_iterator_4 = this_4.j();
|
|
4544
4546
|
while (tmp0_iterator_4.k()) {
|
|
@@ -4561,7 +4563,7 @@
|
|
|
4561
4563
|
while (tmp0_iterator_5.k()) {
|
|
4562
4564
|
var element_4 = tmp0_iterator_5.l();
|
|
4563
4565
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>.<anonymous>.<anonymous>' call
|
|
4564
|
-
if (element_3.
|
|
4566
|
+
if (element_3.x6a_1 === element_4.playerId) {
|
|
4565
4567
|
tmp$ret$18 = true;
|
|
4566
4568
|
break $l$block_2;
|
|
4567
4569
|
}
|
|
@@ -4574,7 +4576,7 @@
|
|
|
4574
4576
|
}
|
|
4575
4577
|
tmp_2 = destination_3;
|
|
4576
4578
|
} else {
|
|
4577
|
-
tmp_2 = action_0.
|
|
4579
|
+
tmp_2 = action_0.la1_1;
|
|
4578
4580
|
}
|
|
4579
4581
|
var spectatorsToRemove = toSet(tmp_2);
|
|
4580
4582
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -4602,7 +4604,7 @@
|
|
|
4602
4604
|
while (tmp0_iterator_7.k()) {
|
|
4603
4605
|
var element_6 = tmp0_iterator_7.l();
|
|
4604
4606
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>.<anonymous>.<anonymous>' call
|
|
4605
|
-
if (element_5.playerId === element_6.
|
|
4607
|
+
if (element_5.playerId === element_6.x6a_1) {
|
|
4606
4608
|
tmp$ret$23 = true;
|
|
4607
4609
|
break $l$block_4;
|
|
4608
4610
|
}
|
|
@@ -4613,40 +4615,40 @@
|
|
|
4613
4615
|
destination_4.e(element_5);
|
|
4614
4616
|
}
|
|
4615
4617
|
}
|
|
4616
|
-
tmp = state.
|
|
4618
|
+
tmp = state.k92(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
|
|
4617
4619
|
} else {
|
|
4618
4620
|
noWhenBranchMatchedException();
|
|
4619
4621
|
}
|
|
4620
4622
|
}
|
|
4621
4623
|
return tmp;
|
|
4622
4624
|
};
|
|
4623
|
-
protoOf(_no_name_provided__qut3iv_7).
|
|
4624
|
-
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);
|
|
4625
4627
|
};
|
|
4626
4628
|
function Companion_3() {
|
|
4627
4629
|
}
|
|
4628
|
-
protoOf(Companion_3).
|
|
4630
|
+
protoOf(Companion_3).ja3 = function (config) {
|
|
4629
4631
|
return new ServerStatePayload(config);
|
|
4630
4632
|
};
|
|
4631
|
-
protoOf(Companion_3).
|
|
4632
|
-
config = config === VOID ? Companion_instance_8.
|
|
4633
|
-
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);
|
|
4634
4636
|
};
|
|
4635
4637
|
var Companion_instance_11;
|
|
4636
4638
|
function Companion_getInstance_4() {
|
|
4637
4639
|
return Companion_instance_11;
|
|
4638
4640
|
}
|
|
4639
4641
|
function ServerStatePayload(config) {
|
|
4640
|
-
this.
|
|
4642
|
+
this.k9t_1 = config;
|
|
4641
4643
|
}
|
|
4642
|
-
protoOf(ServerStatePayload).
|
|
4644
|
+
protoOf(ServerStatePayload).fa3 = function (config) {
|
|
4643
4645
|
return new ServerStatePayload(config);
|
|
4644
4646
|
};
|
|
4645
4647
|
protoOf(ServerStatePayload).toString = function () {
|
|
4646
|
-
return 'ServerStatePayload(config=' + this.
|
|
4648
|
+
return 'ServerStatePayload(config=' + this.k9t_1.toString() + ')';
|
|
4647
4649
|
};
|
|
4648
4650
|
protoOf(ServerStatePayload).hashCode = function () {
|
|
4649
|
-
return this.
|
|
4651
|
+
return this.k9t_1.hashCode();
|
|
4650
4652
|
};
|
|
4651
4653
|
protoOf(ServerStatePayload).equals = function (other) {
|
|
4652
4654
|
if (this === other)
|
|
@@ -4654,7 +4656,7 @@
|
|
|
4654
4656
|
if (!(other instanceof ServerStatePayload))
|
|
4655
4657
|
return false;
|
|
4656
4658
|
var tmp0_other_with_cast = other instanceof ServerStatePayload ? other : THROW_CCE();
|
|
4657
|
-
if (!this.
|
|
4659
|
+
if (!this.k9t_1.equals(tmp0_other_with_cast.k9t_1))
|
|
4658
4660
|
return false;
|
|
4659
4661
|
return true;
|
|
4660
4662
|
};
|
|
@@ -4666,7 +4668,7 @@
|
|
|
4666
4668
|
}
|
|
4667
4669
|
function get_serverStatePayload_0(_this__u8e3s4) {
|
|
4668
4670
|
// Inline function 'kotlin.requireNotNull' call
|
|
4669
|
-
var value = _this__u8e3s4.
|
|
4671
|
+
var value = _this__u8e3s4.o6q_1;
|
|
4670
4672
|
// Inline function 'kotlin.contracts.contract' call
|
|
4671
4673
|
var tmp$ret$1;
|
|
4672
4674
|
$l$block: {
|
|
@@ -4692,30 +4694,30 @@
|
|
|
4692
4694
|
}
|
|
4693
4695
|
function _get_controllerLogger__nbd727($this) {
|
|
4694
4696
|
// Inline function 'kotlin.getValue' call
|
|
4695
|
-
var this_0 = $this.
|
|
4697
|
+
var this_0 = $this.ta3_1;
|
|
4696
4698
|
controllerLogger$factory();
|
|
4697
4699
|
return this_0.u();
|
|
4698
4700
|
}
|
|
4699
4701
|
function _get_di__ndbzja($this) {
|
|
4700
4702
|
// Inline function 'kotlin.getValue' call
|
|
4701
|
-
var this_0 = $this.
|
|
4703
|
+
var this_0 = $this.ua3_1;
|
|
4702
4704
|
di$factory();
|
|
4703
4705
|
return this_0.u();
|
|
4704
4706
|
}
|
|
4705
4707
|
function createDI($this, combinedLogger, coreConfig, serverConfig, logicConfig, botConfig, dealerConfig, externalReducers, externalMiddlewares, externalModule) {
|
|
4706
4708
|
var tmp = Companion_instance_3;
|
|
4707
|
-
return tmp.
|
|
4709
|
+
return tmp.i5y(VOID, GameServerEngineControllerImpl$createDI$lambda(combinedLogger, externalModule, $this, coreConfig, serverConfig, logicConfig, botConfig, dealerConfig, externalReducers, externalMiddlewares));
|
|
4708
4710
|
}
|
|
4709
4711
|
function GameServerEngineControllerImpl$controllerLogger$delegate$lambda(this$0) {
|
|
4710
4712
|
return function () {
|
|
4711
4713
|
var tmp;
|
|
4712
|
-
if (this$0.
|
|
4714
|
+
if (this$0.ra3_1 == null) {
|
|
4713
4715
|
tmp = null;
|
|
4714
4716
|
} else {
|
|
4715
4717
|
// Inline function 'kotlin.let' call
|
|
4716
4718
|
// Inline function 'kotlin.contracts.contract' call
|
|
4717
4719
|
// Inline function 'GameServerEngineControllerImpl.controllerLogger$delegate.<anonymous>.<anonymous>' call
|
|
4718
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
4720
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.ra3_1)]));
|
|
4719
4721
|
}
|
|
4720
4722
|
var tmp1_elvis_lhs = tmp;
|
|
4721
4723
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -4732,38 +4734,38 @@
|
|
|
4732
4734
|
// Inline function 'org.kodein.type.generic' call
|
|
4733
4735
|
var tmp = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
4734
4736
|
var tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
|
|
4735
|
-
var tmp_0 = $this$DI.
|
|
4737
|
+
var tmp_0 = $this$DI.z5x(tmp$ret$0, null, null);
|
|
4736
4738
|
// Inline function 'org.kodein.di.provider' call
|
|
4737
4739
|
var creator = GameServerEngineControllerImpl$di$delegate$lambda$lambda$lambda(this$0);
|
|
4738
|
-
var tmp_1 = $this$DI.
|
|
4740
|
+
var tmp_1 = $this$DI.c5y();
|
|
4739
4741
|
// Inline function 'org.kodein.type.generic' call
|
|
4740
4742
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
4741
4743
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
4742
4744
|
var tmp$ret$3 = new Provider(tmp_1, tmp$ret$2, creator);
|
|
4743
|
-
tmp_0.
|
|
4744
|
-
$this$DI.
|
|
4745
|
-
$this$DI.
|
|
4746
|
-
$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));
|
|
4747
4749
|
return Unit_instance;
|
|
4748
4750
|
};
|
|
4749
4751
|
}
|
|
4750
4752
|
function GameServerEngineControllerImpl$di$delegate$lambda(this$0) {
|
|
4751
4753
|
return function () {
|
|
4752
4754
|
var tmp = Companion_instance_3;
|
|
4753
|
-
return tmp.
|
|
4755
|
+
return tmp.i5y(VOID, GameServerEngineControllerImpl$di$delegate$lambda$lambda(this$0));
|
|
4754
4756
|
};
|
|
4755
4757
|
}
|
|
4756
4758
|
function _no_name_provided__qut3iv_8($item) {
|
|
4757
|
-
this.
|
|
4759
|
+
this.aa4_1 = $item;
|
|
4758
4760
|
}
|
|
4759
|
-
protoOf(_no_name_provided__qut3iv_8).
|
|
4761
|
+
protoOf(_no_name_provided__qut3iv_8).s6j = function (action) {
|
|
4760
4762
|
return isInterface(action, Action);
|
|
4761
4763
|
};
|
|
4762
|
-
protoOf(_no_name_provided__qut3iv_8).
|
|
4763
|
-
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());
|
|
4764
4766
|
};
|
|
4765
|
-
protoOf(_no_name_provided__qut3iv_8).
|
|
4766
|
-
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);
|
|
4767
4769
|
};
|
|
4768
4770
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($fileLoggerOutput) {
|
|
4769
4771
|
return function ($this$singleton) {
|
|
@@ -4783,17 +4785,17 @@
|
|
|
4783
4785
|
// Inline function 'org.kodein.type.generic' call
|
|
4784
4786
|
var tmp_0 = typeToken(createKType(getKClass(FileLoggerOutput), arrayOf([]), false));
|
|
4785
4787
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
4786
|
-
var tmp_1 = $this$Module.
|
|
4788
|
+
var tmp_1 = $this$Module.z5x(tmp$ret$0, null, null);
|
|
4787
4789
|
// Inline function 'org.kodein.di.singleton' call
|
|
4788
4790
|
var creator = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($fileLoggerOutput);
|
|
4789
|
-
var tmp_2 = $this$Module.
|
|
4790
|
-
var tmp_3 = $this$Module.
|
|
4791
|
-
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();
|
|
4792
4794
|
// Inline function 'org.kodein.type.generic' call
|
|
4793
4795
|
var tmp_5 = typeToken(createKType(getKClass(FileLoggerOutputImpl), arrayOf([]), false));
|
|
4794
4796
|
var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
4795
4797
|
var tmp$ret$3 = new Singleton(tmp_2, tmp_3, tmp_4, tmp$ret$2, null, true, creator);
|
|
4796
|
-
tmp_1.
|
|
4798
|
+
tmp_1.x61(tmp$ret$3);
|
|
4797
4799
|
tmp = Unit_instance;
|
|
4798
4800
|
}
|
|
4799
4801
|
var tmp_6;
|
|
@@ -4802,17 +4804,17 @@
|
|
|
4802
4804
|
// Inline function 'org.kodein.type.generic' call
|
|
4803
4805
|
var tmp_7 = typeToken(createKType(getKClass(CallbackWrapperLoggerOutput), arrayOf([]), false));
|
|
4804
4806
|
var tmp$ret$4 = isInterface(tmp_7, TypeToken) ? tmp_7 : THROW_CCE();
|
|
4805
|
-
var tmp_8 = $this$Module.
|
|
4807
|
+
var tmp_8 = $this$Module.z5x(tmp$ret$4, null, null);
|
|
4806
4808
|
// Inline function 'org.kodein.di.singleton' call
|
|
4807
4809
|
var creator_0 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda_0($callbackWrapperLoggerOutput);
|
|
4808
|
-
var tmp_9 = $this$Module.
|
|
4809
|
-
var tmp_10 = $this$Module.
|
|
4810
|
-
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();
|
|
4811
4813
|
// Inline function 'org.kodein.type.generic' call
|
|
4812
4814
|
var tmp_12 = typeToken(createKType(getKClass(CallbackWrapperLoggerOutput), arrayOf([]), false));
|
|
4813
4815
|
var tmp$ret$6 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
4814
4816
|
var tmp$ret$7 = new Singleton(tmp_9, tmp_10, tmp_11, tmp$ret$6, null, true, creator_0);
|
|
4815
|
-
tmp_8.
|
|
4817
|
+
tmp_8.x61(tmp$ret$7);
|
|
4816
4818
|
tmp_6 = Unit_instance;
|
|
4817
4819
|
}
|
|
4818
4820
|
return Unit_instance;
|
|
@@ -4820,10 +4822,10 @@
|
|
|
4820
4822
|
}
|
|
4821
4823
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0($gameServer) {
|
|
4822
4824
|
return function (it) {
|
|
4823
|
-
var tmp0_elvis_lhs = Companion_instance_4.
|
|
4825
|
+
var tmp0_elvis_lhs = Companion_instance_4.q9i(it);
|
|
4824
4826
|
var tmp;
|
|
4825
4827
|
if (tmp0_elvis_lhs == null) {
|
|
4826
|
-
var tmp1_safe_receiver = $gameServer.
|
|
4828
|
+
var tmp1_safe_receiver = $gameServer.h6b().n6q_1;
|
|
4827
4829
|
tmp = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.gameId;
|
|
4828
4830
|
} else {
|
|
4829
4831
|
tmp = tmp0_elvis_lhs;
|
|
@@ -4833,10 +4835,10 @@
|
|
|
4833
4835
|
}
|
|
4834
4836
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1($gameServer) {
|
|
4835
4837
|
return function (it) {
|
|
4836
|
-
var tmp0_elvis_lhs = Companion_instance_5.
|
|
4838
|
+
var tmp0_elvis_lhs = Companion_instance_5.b9h(it);
|
|
4837
4839
|
var tmp;
|
|
4838
4840
|
if (tmp0_elvis_lhs == null) {
|
|
4839
|
-
var tmp1_safe_receiver = $gameServer.
|
|
4841
|
+
var tmp1_safe_receiver = $gameServer.h6b().n6q_1;
|
|
4840
4842
|
tmp = tmp1_safe_receiver == null ? null : toLoggerPayload(tmp1_safe_receiver);
|
|
4841
4843
|
} else {
|
|
4842
4844
|
tmp = tmp0_elvis_lhs;
|
|
@@ -4846,94 +4848,94 @@
|
|
|
4846
4848
|
}
|
|
4847
4849
|
function GameServerEngineControllerImpl$createDI$lambda($combinedLogger, $externalModule, this$0, $coreConfig, $serverConfig, $logicConfig, $botConfig, $dealerConfig, $externalReducers, $externalMiddlewares) {
|
|
4848
4850
|
return function ($this$DI) {
|
|
4849
|
-
$this$DI.
|
|
4851
|
+
$this$DI.b5y(combinedLoggerModule($combinedLogger));
|
|
4850
4852
|
var tmp0_safe_receiver = $externalModule;
|
|
4851
4853
|
if (tmp0_safe_receiver == null)
|
|
4852
4854
|
null;
|
|
4853
4855
|
else {
|
|
4854
4856
|
// Inline function 'kotlin.let' call
|
|
4855
4857
|
// Inline function 'kotlin.contracts.contract' call
|
|
4856
|
-
$this$DI.
|
|
4858
|
+
$this$DI.b5y(tmp0_safe_receiver);
|
|
4857
4859
|
}
|
|
4858
|
-
$this$DI.
|
|
4859
|
-
$this$DI.
|
|
4860
|
-
$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));
|
|
4861
4863
|
return Unit_instance;
|
|
4862
4864
|
};
|
|
4863
4865
|
}
|
|
4864
4866
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
4865
4867
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
4866
4868
|
production = production === VOID ? true : production;
|
|
4867
|
-
this.
|
|
4868
|
-
this.
|
|
4869
|
-
AppEnvironment_getInstance().
|
|
4869
|
+
this.ra3_1 = loggerCallback;
|
|
4870
|
+
this.sa3_1 = randomOrgConfig;
|
|
4871
|
+
AppEnvironment_getInstance().v6p(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
|
|
4870
4872
|
var tmp = this;
|
|
4871
|
-
tmp.
|
|
4873
|
+
tmp.ta3_1 = lazy(GameServerEngineControllerImpl$controllerLogger$delegate$lambda(this));
|
|
4872
4874
|
var tmp_0 = this;
|
|
4873
|
-
tmp_0.
|
|
4875
|
+
tmp_0.ua3_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
4874
4876
|
var tmp_1 = this;
|
|
4875
4877
|
// Inline function 'org.kodein.di.instance' call
|
|
4876
4878
|
var this_0 = _get_di__ndbzja(this);
|
|
4877
4879
|
// Inline function 'org.kodein.type.generic' call
|
|
4878
4880
|
var tmp_2 = typeToken(createKType(getKClass(ParserHelper), arrayOf([]), false));
|
|
4879
4881
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
4880
|
-
tmp_1.
|
|
4882
|
+
tmp_1.va3_1 = Instance(this_0, tmp$ret$0, null).u63(this, parser$factory());
|
|
4881
4883
|
var tmp_3 = this;
|
|
4882
4884
|
// Inline function 'org.kodein.di.instance' call
|
|
4883
4885
|
var this_1 = _get_di__ndbzja(this);
|
|
4884
4886
|
// Inline function 'org.kodein.type.generic' call
|
|
4885
4887
|
var tmp_4 = typeToken(createKType(getKClass(GameHelper), arrayOf([]), false));
|
|
4886
4888
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
4887
|
-
tmp_3.
|
|
4889
|
+
tmp_3.wa3_1 = Instance(this_1, tmp$ret$2, null).u63(this, helper$factory());
|
|
4888
4890
|
var tmp_5 = this;
|
|
4889
4891
|
// Inline function 'org.kodein.di.instance' call
|
|
4890
4892
|
var this_2 = _get_di__ndbzja(this);
|
|
4891
4893
|
// Inline function 'org.kodein.type.generic' call
|
|
4892
4894
|
var tmp_6 = typeToken(createKType(getKClass(GameResources), arrayOf([]), false));
|
|
4893
4895
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
4894
|
-
tmp_5.
|
|
4896
|
+
tmp_5.xa3_1 = Instance(this_2, tmp$ret$4, null).u63(this, resources$factory());
|
|
4895
4897
|
var tmp_7 = this;
|
|
4896
4898
|
// Inline function 'org.kodein.di.instance' call
|
|
4897
4899
|
var this_3 = _get_di__ndbzja(this);
|
|
4898
4900
|
// Inline function 'org.kodein.type.generic' call
|
|
4899
4901
|
var tmp_8 = typeToken(createKType(getKClass(TestHelper), arrayOf([]), false));
|
|
4900
4902
|
var tmp$ret$6 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
4901
|
-
tmp_7.
|
|
4903
|
+
tmp_7.ya3_1 = Instance(this_3, tmp$ret$6, null).u63(this, test$factory());
|
|
4902
4904
|
var tmp_9 = this;
|
|
4903
4905
|
// Inline function 'org.kodein.di.instance' call
|
|
4904
4906
|
var this_4 = _get_di__ndbzja(this);
|
|
4905
4907
|
// Inline function 'org.kodein.type.generic' call
|
|
4906
4908
|
var tmp_10 = typeToken(createKType(getKClass(RandomPoolProvider), arrayOf([]), false));
|
|
4907
4909
|
var tmp$ret$8 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
4908
|
-
tmp_9.
|
|
4910
|
+
tmp_9.za3_1 = Instance(this_4, tmp$ret$8, null).u63(this, randomPoolProvider$factory());
|
|
4909
4911
|
}
|
|
4910
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4912
|
+
protoOf(GameServerEngineControllerImpl).la3 = function () {
|
|
4911
4913
|
// Inline function 'kotlin.getValue' call
|
|
4912
|
-
var this_0 = this.
|
|
4914
|
+
var this_0 = this.va3_1;
|
|
4913
4915
|
parser$factory_0();
|
|
4914
4916
|
return this_0.u();
|
|
4915
4917
|
};
|
|
4916
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4918
|
+
protoOf(GameServerEngineControllerImpl).na3 = function () {
|
|
4917
4919
|
// Inline function 'kotlin.getValue' call
|
|
4918
|
-
var this_0 = this.
|
|
4920
|
+
var this_0 = this.wa3_1;
|
|
4919
4921
|
helper$factory_0();
|
|
4920
4922
|
return this_0.u();
|
|
4921
4923
|
};
|
|
4922
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4924
|
+
protoOf(GameServerEngineControllerImpl).oa3 = function () {
|
|
4923
4925
|
// Inline function 'kotlin.getValue' call
|
|
4924
|
-
var this_0 = this.
|
|
4926
|
+
var this_0 = this.xa3_1;
|
|
4925
4927
|
resources$factory_0();
|
|
4926
4928
|
return this_0.u();
|
|
4927
4929
|
};
|
|
4928
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4930
|
+
protoOf(GameServerEngineControllerImpl).ma3 = function () {
|
|
4929
4931
|
// Inline function 'kotlin.getValue' call
|
|
4930
|
-
var this_0 = this.
|
|
4932
|
+
var this_0 = this.ya3_1;
|
|
4931
4933
|
test$factory_0();
|
|
4932
4934
|
return this_0.u();
|
|
4933
4935
|
};
|
|
4934
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4936
|
+
protoOf(GameServerEngineControllerImpl).pa3 = function () {
|
|
4935
4937
|
// Inline function 'kotlin.getValue' call
|
|
4936
|
-
var this_0 = this.
|
|
4938
|
+
var this_0 = this.za3_1;
|
|
4937
4939
|
randomPoolProvider$factory_0();
|
|
4938
4940
|
return this_0.u();
|
|
4939
4941
|
};
|
|
@@ -4943,7 +4945,7 @@
|
|
|
4943
4945
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
4944
4946
|
return this.createGameEngineWithLogic();
|
|
4945
4947
|
};
|
|
4946
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4948
|
+
protoOf(GameServerEngineControllerImpl).qa3 = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig) {
|
|
4947
4949
|
var combinedLogger = Companion_instance_6.qm();
|
|
4948
4950
|
var tmp;
|
|
4949
4951
|
if (coreConfig.fileLogsEnabled) {
|
|
@@ -4953,8 +4955,8 @@
|
|
|
4953
4955
|
}
|
|
4954
4956
|
var fileLoggerOutput = tmp;
|
|
4955
4957
|
var tmp_0;
|
|
4956
|
-
if (!(this.
|
|
4957
|
-
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.
|
|
4958
|
+
if (!(this.ra3_1 == null)) {
|
|
4959
|
+
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.ra3_1));
|
|
4958
4960
|
} else {
|
|
4959
4961
|
tmp_0 = null;
|
|
4960
4962
|
}
|
|
@@ -4990,19 +4992,19 @@
|
|
|
4990
4992
|
var tmp3_externalModule = Module_init_$Create$('External Module', VOID, VOID, GameServerEngineControllerImpl$createGameEngineWithLogic$lambda(fileLoggerOutput, callbackWrapperLoggerOutput));
|
|
4991
4993
|
var di = createDI(this, combinedLogger, coreConfig, serverConfig, logicConfig, tmp0_botConfig, dealerConfig, tmp1_externalReducers, tmp2_externalMiddlewares, tmp3_externalModule);
|
|
4992
4994
|
// Inline function 'org.kodein.di.instance' call
|
|
4993
|
-
var tmp_1 = get_direct(di).
|
|
4995
|
+
var tmp_1 = get_direct(di).m5z();
|
|
4994
4996
|
// Inline function 'org.kodein.type.generic' call
|
|
4995
4997
|
var tmp_2 = typeToken(createKType(getKClass(GameServer), arrayOf([]), false));
|
|
4996
4998
|
var tmp$ret$7 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
4997
|
-
var gameServer = tmp_1.
|
|
4999
|
+
var gameServer = tmp_1.l5z(tmp$ret$7, null);
|
|
4998
5000
|
if (!(fileLoggerOutput == null)) {
|
|
4999
5001
|
var tmp_3 = fileLoggerOutput;
|
|
5000
|
-
tmp_3.
|
|
5002
|
+
tmp_3.f9i_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0(gameServer);
|
|
5001
5003
|
combinedLogger.sm(fileLoggerOutput);
|
|
5002
5004
|
}
|
|
5003
5005
|
if (!(callbackWrapperLoggerOutput == null)) {
|
|
5004
5006
|
var tmp_4 = callbackWrapperLoggerOutput;
|
|
5005
|
-
tmp_4.
|
|
5007
|
+
tmp_4.d9h_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1(gameServer);
|
|
5006
5008
|
combinedLogger.sm(callbackWrapperLoggerOutput);
|
|
5007
5009
|
}
|
|
5008
5010
|
return gameServer;
|
|
@@ -5071,13 +5073,13 @@
|
|
|
5071
5073
|
}
|
|
5072
5074
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
5073
5075
|
// Inline function 'kotlin.getValue' call
|
|
5074
|
-
var this_0 = $this.
|
|
5076
|
+
var this_0 = $this.da4_1;
|
|
5075
5077
|
playerAnswerInteractor$factory_0();
|
|
5076
5078
|
return this_0.u();
|
|
5077
5079
|
}
|
|
5078
5080
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
5079
5081
|
return function ($this$singleton) {
|
|
5080
|
-
return this$0.
|
|
5082
|
+
return this$0.ba4_1;
|
|
5081
5083
|
};
|
|
5082
5084
|
}
|
|
5083
5085
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -5086,19 +5088,19 @@
|
|
|
5086
5088
|
// Inline function 'org.kodein.type.generic' call
|
|
5087
5089
|
var tmp = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
5088
5090
|
var tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
|
|
5089
|
-
var tmp_0 = $this$DI.
|
|
5091
|
+
var tmp_0 = $this$DI.z5x(tmp$ret$0, null, null);
|
|
5090
5092
|
// Inline function 'org.kodein.di.singleton' call
|
|
5091
5093
|
var creator = TestHelperImpl$di$lambda$lambda(this$0);
|
|
5092
|
-
var tmp_1 = $this$DI.
|
|
5093
|
-
var tmp_2 = $this$DI.
|
|
5094
|
-
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();
|
|
5095
5097
|
// Inline function 'org.kodein.type.generic' call
|
|
5096
5098
|
var tmp_4 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
5097
5099
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
5098
5100
|
var tmp$ret$3 = new Singleton(tmp_1, tmp_2, tmp_3, tmp$ret$2, null, true, creator);
|
|
5099
|
-
tmp_0.
|
|
5100
|
-
$this$DI.
|
|
5101
|
-
$this$DI.
|
|
5101
|
+
tmp_0.x61(tmp$ret$3);
|
|
5102
|
+
$this$DI.b5y(jsonModule(emptyList()));
|
|
5103
|
+
$this$DI.b5y(get_botGameModule());
|
|
5102
5104
|
return Unit_instance;
|
|
5103
5105
|
};
|
|
5104
5106
|
}
|
|
@@ -5106,20 +5108,20 @@
|
|
|
5106
5108
|
return emptyMap();
|
|
5107
5109
|
}
|
|
5108
5110
|
function TestHelperImpl(logger) {
|
|
5109
|
-
this.
|
|
5111
|
+
this.ba4_1 = logger;
|
|
5110
5112
|
var tmp = this;
|
|
5111
5113
|
var tmp_0 = Companion_instance_3;
|
|
5112
|
-
tmp.
|
|
5114
|
+
tmp.ca4_1 = tmp_0.i5y(VOID, TestHelperImpl$di$lambda(this));
|
|
5113
5115
|
var tmp_1 = this;
|
|
5114
5116
|
// Inline function 'org.kodein.di.instance' call
|
|
5115
|
-
var this_0 = this.
|
|
5117
|
+
var this_0 = this.ca4_1;
|
|
5116
5118
|
// Inline function 'org.kodein.type.generic' call
|
|
5117
5119
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
5118
5120
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5119
|
-
tmp_1.
|
|
5121
|
+
tmp_1.da4_1 = Instance(this_0, tmp$ret$0, null).u63(this, playerAnswerInteractor$factory());
|
|
5120
5122
|
}
|
|
5121
5123
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
5122
|
-
return _get_playerAnswerInteractor__msggz1(this).
|
|
5124
|
+
return _get_playerAnswerInteractor__msggz1(this).g8t(playerId, table, botConfig);
|
|
5123
5125
|
};
|
|
5124
5126
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
5125
5127
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
@@ -5127,7 +5129,7 @@
|
|
|
5127
5129
|
var tmp$ret$0;
|
|
5128
5130
|
$l$block_0: {
|
|
5129
5131
|
// Inline function 'kotlin.collections.any' call
|
|
5130
|
-
var this_0 = mechanicAction.
|
|
5132
|
+
var this_0 = mechanicAction.n94();
|
|
5131
5133
|
var tmp;
|
|
5132
5134
|
if (isInterface(this_0, Collection)) {
|
|
5133
5135
|
tmp = this_0.p();
|
|
@@ -5160,7 +5162,7 @@
|
|
|
5160
5162
|
var tmp$ret$0;
|
|
5161
5163
|
$l$block_0: {
|
|
5162
5164
|
// Inline function 'kotlin.collections.any' call
|
|
5163
|
-
var this_0 = action.
|
|
5165
|
+
var this_0 = action.n94();
|
|
5164
5166
|
var tmp;
|
|
5165
5167
|
if (isInterface(this_0, Collection)) {
|
|
5166
5168
|
tmp = this_0.p();
|
|
@@ -5202,80 +5204,80 @@
|
|
|
5202
5204
|
return Module_init_$Create$('Server helpers Module', VOID, VOID, serverHelpersModule$lambda);
|
|
5203
5205
|
}
|
|
5204
5206
|
function serverHelpersModule$lambda($this$Module) {
|
|
5205
|
-
$this$Module.
|
|
5206
|
-
$this$Module.
|
|
5207
|
+
$this$Module.b5y(get_ratingModule());
|
|
5208
|
+
$this$Module.b5y(engineHelpersModule());
|
|
5207
5209
|
// Inline function 'org.kodein.di.bind' call
|
|
5208
5210
|
// Inline function 'org.kodein.type.generic' call
|
|
5209
5211
|
var tmp = typeToken(createKType(getKClass(TestHelper), arrayOf([]), false));
|
|
5210
5212
|
var tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
|
|
5211
|
-
var tmp_0 = $this$Module.
|
|
5213
|
+
var tmp_0 = $this$Module.z5x(tmp$ret$0, null, null);
|
|
5212
5214
|
// Inline function 'org.kodein.di.singleton' call
|
|
5213
5215
|
var creator = serverHelpersModule$lambda$lambda;
|
|
5214
|
-
var tmp_1 = $this$Module.
|
|
5215
|
-
var tmp_2 = $this$Module.
|
|
5216
|
-
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();
|
|
5217
5219
|
// Inline function 'org.kodein.type.generic' call
|
|
5218
5220
|
var tmp_4 = typeToken(createKType(getKClass(TestHelperImpl), arrayOf([]), false));
|
|
5219
5221
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
5220
5222
|
var tmp$ret$3 = new Singleton(tmp_1, tmp_2, tmp_3, tmp$ret$2, null, true, creator);
|
|
5221
|
-
tmp_0.
|
|
5223
|
+
tmp_0.x61(tmp$ret$3);
|
|
5222
5224
|
return Unit_instance;
|
|
5223
5225
|
}
|
|
5224
5226
|
function serverHelpersModule$lambda$lambda($this$singleton) {
|
|
5225
5227
|
// Inline function 'org.kodein.di.instance' call
|
|
5226
|
-
var tmp = $this$singleton.
|
|
5228
|
+
var tmp = $this$singleton.m5z();
|
|
5227
5229
|
// Inline function 'org.kodein.type.generic' call
|
|
5228
5230
|
var tmp_0 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
5229
5231
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
5230
|
-
var tmp$ret$1 = tmp.
|
|
5232
|
+
var tmp$ret$1 = tmp.l5z(tmp$ret$0, null);
|
|
5231
5233
|
return new TestHelperImpl(tmp$ret$1);
|
|
5232
5234
|
}
|
|
5233
5235
|
//region block: post-declaration
|
|
5234
5236
|
defineProp(protoOf(GameServer$roomOnCreate$1$updatedUsers$previousTeams$1), 'playerId', function () {
|
|
5235
|
-
return this.
|
|
5237
|
+
return this.i6a();
|
|
5236
5238
|
});
|
|
5237
5239
|
protoOf(GameServer).roomOnCreate = roomOnCreate;
|
|
5238
5240
|
protoOf(GameServer).roomOnDelete = roomOnDelete;
|
|
5239
5241
|
protoOf(GameServer).shutdown = shutdown;
|
|
5240
5242
|
defineProp(protoOf(GameServer), 'id', function () {
|
|
5241
|
-
return this.
|
|
5243
|
+
return this.e5l();
|
|
5242
5244
|
});
|
|
5243
5245
|
defineProp(protoOf(GameServer), 'table', function () {
|
|
5244
|
-
return this.
|
|
5246
|
+
return this.p6r();
|
|
5245
5247
|
});
|
|
5246
5248
|
defineProp(protoOf(GameServer), 'isTableExists', function () {
|
|
5247
|
-
return this.
|
|
5249
|
+
return this.q6r();
|
|
5248
5250
|
});
|
|
5249
5251
|
defineProp(protoOf(GameServer), 'gameLifecycleState', function () {
|
|
5250
|
-
return this.
|
|
5252
|
+
return this.r6r();
|
|
5251
5253
|
});
|
|
5252
|
-
protoOf(UpdateServerConfigAction).
|
|
5254
|
+
protoOf(UpdateServerConfigAction).j6j = get_actionTag;
|
|
5253
5255
|
defineProp(protoOf(UpdateServerConfigAction), 'actionTag', function () {
|
|
5254
|
-
return this.
|
|
5256
|
+
return this.j6j();
|
|
5255
5257
|
});
|
|
5256
|
-
protoOf(AddSpectatorsAction).
|
|
5258
|
+
protoOf(AddSpectatorsAction).j6j = get_actionTag;
|
|
5257
5259
|
defineProp(protoOf(AddSpectatorsAction), 'actionTag', function () {
|
|
5258
|
-
return this.
|
|
5260
|
+
return this.j6j();
|
|
5259
5261
|
});
|
|
5260
|
-
protoOf(RemoveSpectatorsAction).
|
|
5262
|
+
protoOf(RemoveSpectatorsAction).j6j = get_actionTag;
|
|
5261
5263
|
defineProp(protoOf(RemoveSpectatorsAction), 'actionTag', function () {
|
|
5262
|
-
return this.
|
|
5264
|
+
return this.j6j();
|
|
5263
5265
|
});
|
|
5264
5266
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
5265
5267
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
5266
|
-
return this.
|
|
5268
|
+
return this.la3();
|
|
5267
5269
|
});
|
|
5268
5270
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
5269
|
-
return this.
|
|
5271
|
+
return this.na3();
|
|
5270
5272
|
});
|
|
5271
5273
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
5272
|
-
return this.
|
|
5274
|
+
return this.oa3();
|
|
5273
5275
|
});
|
|
5274
5276
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
5275
|
-
return this.
|
|
5277
|
+
return this.ma3();
|
|
5276
5278
|
});
|
|
5277
5279
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
5278
|
-
return this.
|
|
5280
|
+
return this.pa3();
|
|
5279
5281
|
});
|
|
5280
5282
|
//endregion
|
|
5281
5283
|
//region block: init
|