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