raspberry_games_server_game_logic 1.8.282 → 1.8.284
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 +948 -957
- 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 +2184 -2184
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +311 -311
- package/kotlinx-serialization-kotlinx-serialization-core.js +1720 -1720
- package/kotlinx-serialization-kotlinx-serialization-json.js +1306 -1306
- package/ktor-ktor-client-content-negotiation.js +133 -133
- package/ktor-ktor-client-core.js +1515 -1515
- package/ktor-ktor-client-logging.js +278 -278
- package/ktor-ktor-events.js +6 -6
- package/ktor-ktor-http.js +584 -584
- package/ktor-ktor-io.js +1246 -1246
- package/ktor-ktor-serialization-kotlinx-json.js +6 -6
- package/ktor-ktor-serialization-kotlinx.js +136 -136
- package/ktor-ktor-serialization.js +62 -62
- package/ktor-ktor-utils.js +489 -489
- package/ktor-ktor-websockets.js +42 -42
- package/package.json +1 -1
- package/raspberry-cardgame-lib-core.js +159 -159
- package/raspberry-cardgame-lib-logger.js +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
|
@@ -86,8 +86,6 @@
|
|
|
86
86
|
var Reason_GAME_NOT_EXISTS_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.s3;
|
|
87
87
|
var GameErrorReason = kotlin_io_raspberryapps_game_engine_core.$_$.j1;
|
|
88
88
|
var TerminationState = kotlin_io_raspberryapps_game_engine_engine.$_$.p3;
|
|
89
|
-
var toString = kotlin_kotlin.$_$.yc;
|
|
90
|
-
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.s1;
|
|
91
89
|
var GameToRoomTransition = kotlin_io_raspberryapps_game_engine_engine.$_$.c2;
|
|
92
90
|
var FinishGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.a2;
|
|
93
91
|
var ClearAction = kotlin_io_raspberryapps_game_engine_engine.$_$.u2;
|
|
@@ -112,7 +110,7 @@
|
|
|
112
110
|
var IdsProvider = kotlin_io_raspberryapps_game_engine_core.$_$.p1;
|
|
113
111
|
var plus = kotlin_kotlin.$_$.z8;
|
|
114
112
|
var GameStore = kotlin_io_raspberryapps_game_engine_engine.$_$.w3;
|
|
115
|
-
var
|
|
113
|
+
var toString = kotlin_kotlin.$_$.vh;
|
|
116
114
|
var KProperty1 = kotlin_kotlin.$_$.pd;
|
|
117
115
|
var getPropertyCallableRef = kotlin_kotlin.$_$.qb;
|
|
118
116
|
var to = kotlin_kotlin.$_$.wh;
|
|
@@ -120,6 +118,7 @@
|
|
|
120
118
|
var Enum = kotlin_kotlin.$_$.hg;
|
|
121
119
|
var getBooleanHashCode = kotlin_kotlin.$_$.ob;
|
|
122
120
|
var initMetadataForInterface = kotlin_kotlin.$_$.wb;
|
|
121
|
+
var toString_0 = kotlin_kotlin.$_$.yc;
|
|
123
122
|
var Module_init_$Create$ = kotlin_org_kodein_di_kodein_di.$_$.a;
|
|
124
123
|
var TableLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.m3;
|
|
125
124
|
var RandomPoolProvider = kotlin_io_raspberryapps_cardgame_random.$_$.i;
|
|
@@ -231,6 +230,7 @@
|
|
|
231
230
|
var toSet = kotlin_kotlin.$_$.z9;
|
|
232
231
|
var Spectator = kotlin_io_raspberryapps_game_engine_engine.$_$.h;
|
|
233
232
|
var AppStatePayload = kotlin_io_raspberryapps_game_engine_engine.$_$.n3;
|
|
233
|
+
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.s1;
|
|
234
234
|
var DealerConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.k;
|
|
235
235
|
var CoreConfig = kotlin_io_raspberryapps_game_engine_core.$_$.i1;
|
|
236
236
|
var RandomOrgConfig = kotlin_io_raspberryapps_cardgame_random.$_$.b;
|
|
@@ -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,38 +1512,27 @@
|
|
|
1512
1512
|
var tmp = this.e9_1;
|
|
1513
1513
|
if (tmp === 0) {
|
|
1514
1514
|
this.f9_1 = 1;
|
|
1515
|
-
var it = this.
|
|
1515
|
+
var it = this.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
|
|
1528
|
-
|
|
1529
|
-
l$ret$1: do {
|
|
1530
|
-
if (value == null) {
|
|
1531
|
-
var message = 'Required value was null.';
|
|
1532
|
-
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1533
|
-
} else {
|
|
1534
|
-
tmp$ret$0 = value;
|
|
1535
|
-
break l$ret$1;
|
|
1536
|
-
}
|
|
1537
|
-
}
|
|
1538
|
-
while (false);
|
|
1539
|
-
tmp_1 = gameTransition.copy(tmp$ret$0);
|
|
1527
|
+
var tmp0_elvis_lhs = this.y9s_1;
|
|
1528
|
+
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
1540
1529
|
} else {
|
|
1541
1530
|
tmp_1 = gameTransition;
|
|
1542
1531
|
}
|
|
1543
1532
|
var transition = tmp_1;
|
|
1544
|
-
var tmp_2 = this.
|
|
1545
|
-
var tmp0_reason = terminationState.
|
|
1546
|
-
var tmp1_isGameFinished = this.
|
|
1533
|
+
var tmp_2 = this.a9t_1.dispatch;
|
|
1534
|
+
var tmp0_reason = terminationState.k92_1;
|
|
1535
|
+
var tmp1_isGameFinished = this.x9s_1.g6b().o6r().isGameFinished;
|
|
1547
1536
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
1548
1537
|
return Unit_instance;
|
|
1549
1538
|
} else if (tmp === 1) {
|
|
@@ -1555,33 +1544,33 @@
|
|
|
1555
1544
|
}
|
|
1556
1545
|
while (true);
|
|
1557
1546
|
};
|
|
1558
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
1559
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
1560
|
-
i.
|
|
1561
|
-
i.
|
|
1547
|
+
protoOf(GameServer$roomOnDelete$slambda).p9n = function ($this$dispatchAsync, store, completion) {
|
|
1548
|
+
var i = new GameServer$roomOnDelete$slambda(this.x9s_1, this.y9s_1, completion);
|
|
1549
|
+
i.z9s_1 = $this$dispatchAsync;
|
|
1550
|
+
i.a9t_1 = store;
|
|
1562
1551
|
return i;
|
|
1563
1552
|
};
|
|
1564
1553
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
1565
1554
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
1566
1555
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1567
|
-
return i.
|
|
1556
|
+
return i.o9n($this$dispatchAsync, store, $completion);
|
|
1568
1557
|
};
|
|
1569
1558
|
l.$arity = 2;
|
|
1570
1559
|
return l;
|
|
1571
1560
|
}
|
|
1572
1561
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
1573
|
-
this.
|
|
1562
|
+
this.j9t_1 = $enabled;
|
|
1574
1563
|
CoroutineImpl.call(this, resultContinuation);
|
|
1575
1564
|
}
|
|
1576
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
1577
|
-
var tmp = this.
|
|
1565
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).o9n = function ($this$dispatchAsync, store, $completion) {
|
|
1566
|
+
var tmp = this.p9n($this$dispatchAsync, store, $completion);
|
|
1578
1567
|
tmp.g9_1 = Unit_instance;
|
|
1579
1568
|
tmp.h9_1 = null;
|
|
1580
1569
|
return tmp.m9();
|
|
1581
1570
|
};
|
|
1582
1571
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).x9 = function (p1, p2, $completion) {
|
|
1583
1572
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1584
|
-
return this.
|
|
1573
|
+
return this.o9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1585
1574
|
};
|
|
1586
1575
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).m9 = function () {
|
|
1587
1576
|
var suspendResult = this.g9_1;
|
|
@@ -1590,7 +1579,7 @@
|
|
|
1590
1579
|
var tmp = this.e9_1;
|
|
1591
1580
|
if (tmp === 0) {
|
|
1592
1581
|
this.f9_1 = 1;
|
|
1593
|
-
this.
|
|
1582
|
+
this.l9t_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload_0(this.l9t_1.state).m9t_1.p9t(VOID, this.j9t_1)));
|
|
1594
1583
|
return Unit_instance;
|
|
1595
1584
|
} else if (tmp === 1) {
|
|
1596
1585
|
throw this.h9_1;
|
|
@@ -1601,35 +1590,35 @@
|
|
|
1601
1590
|
}
|
|
1602
1591
|
while (true);
|
|
1603
1592
|
};
|
|
1604
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
1605
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
1606
|
-
i.
|
|
1607
|
-
i.
|
|
1593
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).p9n = function ($this$dispatchAsync, store, completion) {
|
|
1594
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.j9t_1, completion);
|
|
1595
|
+
i.k9t_1 = $this$dispatchAsync;
|
|
1596
|
+
i.l9t_1 = store;
|
|
1608
1597
|
return i;
|
|
1609
1598
|
};
|
|
1610
1599
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
1611
1600
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
1612
1601
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1613
|
-
return i.
|
|
1602
|
+
return i.o9n($this$dispatchAsync, store, $completion);
|
|
1614
1603
|
};
|
|
1615
1604
|
l.$arity = 2;
|
|
1616
1605
|
return l;
|
|
1617
1606
|
}
|
|
1618
1607
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
1619
|
-
this.
|
|
1620
|
-
this.
|
|
1621
|
-
this.
|
|
1608
|
+
this.y9t_1 = $reason;
|
|
1609
|
+
this.z9t_1 = this$0;
|
|
1610
|
+
this.a9u_1 = $roomId;
|
|
1622
1611
|
CoroutineImpl.call(this, resultContinuation);
|
|
1623
1612
|
}
|
|
1624
|
-
protoOf(GameServer$shutdown$slambda).
|
|
1625
|
-
var tmp = this.
|
|
1613
|
+
protoOf(GameServer$shutdown$slambda).o9n = function ($this$dispatchAsync, store, $completion) {
|
|
1614
|
+
var tmp = this.p9n($this$dispatchAsync, store, $completion);
|
|
1626
1615
|
tmp.g9_1 = Unit_instance;
|
|
1627
1616
|
tmp.h9_1 = null;
|
|
1628
1617
|
return tmp.m9();
|
|
1629
1618
|
};
|
|
1630
1619
|
protoOf(GameServer$shutdown$slambda).x9 = function (p1, p2, $completion) {
|
|
1631
1620
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1632
|
-
return this.
|
|
1621
|
+
return this.o9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1633
1622
|
};
|
|
1634
1623
|
protoOf(GameServer$shutdown$slambda).m9 = function () {
|
|
1635
1624
|
var suspendResult = this.g9_1;
|
|
@@ -1638,11 +1627,11 @@
|
|
|
1638
1627
|
var tmp = this.e9_1;
|
|
1639
1628
|
if (tmp === 0) {
|
|
1640
1629
|
this.f9_1 = 1;
|
|
1641
|
-
var state = this.
|
|
1642
|
-
if (state.
|
|
1643
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
1630
|
+
var state = this.c9u_1.store.state;
|
|
1631
|
+
if (state.p6r()) {
|
|
1632
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.y9t_1, get_serverShutdownReasonMapping());
|
|
1644
1633
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
1645
|
-
var tmp_0 = this.
|
|
1634
|
+
var tmp_0 = this.c9u_1.dispatch;
|
|
1646
1635
|
var tmp_1 = Companion_instance_0;
|
|
1647
1636
|
var tmp_2;
|
|
1648
1637
|
switch (shutdownReason.n2_1) {
|
|
@@ -1656,10 +1645,10 @@
|
|
|
1656
1645
|
noWhenBranchMatchedException();
|
|
1657
1646
|
break;
|
|
1658
1647
|
}
|
|
1659
|
-
tmp_0(tmp_1.withAnalytics(tmp_2, this.
|
|
1648
|
+
tmp_0(tmp_1.withAnalytics(tmp_2, this.z9t_1.table.isGameFinished, this.z9t_1.table));
|
|
1660
1649
|
} else {
|
|
1661
|
-
_get_logger__rkp4sl(this.
|
|
1662
|
-
this.
|
|
1650
|
+
_get_logger__rkp4sl(this.z9t_1).w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.a9u_1);
|
|
1651
|
+
this.c9u_1.dispatch(new ClearAction());
|
|
1663
1652
|
}
|
|
1664
1653
|
return Unit_instance;
|
|
1665
1654
|
} else if (tmp === 1) {
|
|
@@ -1671,22 +1660,22 @@
|
|
|
1671
1660
|
}
|
|
1672
1661
|
while (true);
|
|
1673
1662
|
};
|
|
1674
|
-
protoOf(GameServer$shutdown$slambda).
|
|
1675
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
1676
|
-
i.
|
|
1677
|
-
i.
|
|
1663
|
+
protoOf(GameServer$shutdown$slambda).p9n = function ($this$dispatchAsync, store, completion) {
|
|
1664
|
+
var i = new GameServer$shutdown$slambda(this.y9t_1, this.z9t_1, this.a9u_1, completion);
|
|
1665
|
+
i.b9u_1 = $this$dispatchAsync;
|
|
1666
|
+
i.c9u_1 = store;
|
|
1678
1667
|
return i;
|
|
1679
1668
|
};
|
|
1680
1669
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
1681
1670
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
1682
1671
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1683
|
-
return i.
|
|
1672
|
+
return i.o9n($this$dispatchAsync, store, $completion);
|
|
1684
1673
|
};
|
|
1685
1674
|
l.$arity = 2;
|
|
1686
1675
|
return l;
|
|
1687
1676
|
}
|
|
1688
1677
|
function GameServer(di, tag, storeContract, preloadedState, externalReducers, externalMiddlewares) {
|
|
1689
|
-
preloadedState = preloadedState === VOID ? new AppState(VOID, Companion_instance_11.
|
|
1678
|
+
preloadedState = preloadedState === VOID ? new AppState(VOID, Companion_instance_11.d9u()) : preloadedState;
|
|
1690
1679
|
var tmp;
|
|
1691
1680
|
if (externalReducers === VOID) {
|
|
1692
1681
|
// Inline function 'kotlin.collections.listOf' call
|
|
@@ -1709,120 +1698,122 @@
|
|
|
1709
1698
|
// Inline function 'org.kodein.type.generic' call
|
|
1710
1699
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
1711
1700
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
1712
|
-
tmp_1.
|
|
1701
|
+
tmp_1.i9l_1 = Instance(di, tmp$ret$2, null).t63(this, logger$factory());
|
|
1713
1702
|
var tmp_3 = this;
|
|
1714
1703
|
// Inline function 'org.kodein.di.instance' call
|
|
1715
1704
|
// Inline function 'org.kodein.type.generic' call
|
|
1716
1705
|
var tmp_4 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
|
|
1717
1706
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
1718
|
-
tmp_3.
|
|
1707
|
+
tmp_3.j9l_1 = Instance(di, tmp$ret$4, null).t63(this, toClientEventsObserver$factory());
|
|
1719
1708
|
var tmp_5 = this;
|
|
1720
1709
|
// Inline function 'org.kodein.di.instance' call
|
|
1721
1710
|
// Inline function 'org.kodein.type.generic' call
|
|
1722
1711
|
var tmp_6 = typeToken(createKType(getKClass(MechanicEventsObserver), arrayOf([]), false));
|
|
1723
1712
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
1724
|
-
tmp_5.
|
|
1713
|
+
tmp_5.k9l_1 = Instance(di, tmp$ret$6, null).t63(this, mechanicEventsObserver$factory());
|
|
1725
1714
|
var tmp_7 = this;
|
|
1726
1715
|
// Inline function 'org.kodein.di.instance' call
|
|
1727
1716
|
// Inline function 'org.kodein.type.generic' call
|
|
1728
1717
|
var tmp_8 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
1729
1718
|
var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
1730
|
-
tmp_7.
|
|
1719
|
+
tmp_7.l9l_1 = Instance(di, tmp$ret$8, null).t63(this, playerConnectionInteractor$factory());
|
|
1731
1720
|
var tmp_9 = this;
|
|
1732
1721
|
// Inline function 'org.kodein.di.instance' call
|
|
1733
1722
|
// Inline function 'org.kodein.type.generic' call
|
|
1734
1723
|
var tmp_10 = typeToken(createKType(getKClass(TeamsLogicProvider), arrayOf([]), false));
|
|
1735
1724
|
var tmp$ret$10 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
1736
|
-
tmp_9.
|
|
1725
|
+
tmp_9.m9l_1 = Instance(di, tmp$ret$10, null).t63(this, teamsLogicProvider$factory());
|
|
1737
1726
|
var tmp_11 = this;
|
|
1738
|
-
tmp_11.
|
|
1727
|
+
tmp_11.n9l_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
1739
1728
|
var tmp_12 = this;
|
|
1740
1729
|
// Inline function 'org.kodein.di.instance' call
|
|
1741
1730
|
// Inline function 'org.kodein.type.generic' call
|
|
1742
1731
|
var tmp_13 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
1743
1732
|
var tmp$ret$12 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
1744
|
-
tmp_12.
|
|
1733
|
+
tmp_12.o9l_1 = Instance(di, tmp$ret$12, null).t63(this, idsProvider$factory());
|
|
1745
1734
|
var tmp_14 = this;
|
|
1746
|
-
var tmp0_externalMiddlewares = plus(storeContract.
|
|
1747
|
-
var tmp1_externalReducers = plus(storeContract.
|
|
1748
|
-
tmp_14.
|
|
1735
|
+
var tmp0_externalMiddlewares = plus(storeContract.h95(), externalMiddlewares);
|
|
1736
|
+
var tmp1_externalReducers = plus(storeContract.g95(), externalReducers);
|
|
1737
|
+
tmp_14.p9l_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
1749
1738
|
}
|
|
1750
|
-
protoOf(GameServer).
|
|
1751
|
-
return this.
|
|
1739
|
+
protoOf(GameServer).b6q = function () {
|
|
1740
|
+
return this.p9l_1;
|
|
1752
1741
|
};
|
|
1753
|
-
protoOf(GameServer).
|
|
1754
|
-
return this.
|
|
1742
|
+
protoOf(GameServer).d5l = function () {
|
|
1743
|
+
return this.g6b().o6r().id;
|
|
1744
|
+
};
|
|
1745
|
+
protoOf(GameServer).o6r = function () {
|
|
1746
|
+
return this.g6b().o6r();
|
|
1755
1747
|
};
|
|
1756
1748
|
protoOf(GameServer).p6r = function () {
|
|
1757
|
-
return this.
|
|
1749
|
+
return this.g6b().p6r();
|
|
1758
1750
|
};
|
|
1759
1751
|
protoOf(GameServer).q6r = function () {
|
|
1760
|
-
return this.
|
|
1761
|
-
};
|
|
1762
|
-
protoOf(GameServer).r6r = function () {
|
|
1763
|
-
return this.h6b().p6q_1;
|
|
1752
|
+
return this.g6b().o6q_1;
|
|
1764
1753
|
};
|
|
1765
1754
|
protoOf(GameServer).subscribeToClientAction = function (subscriber) {
|
|
1766
|
-
var tmp = this.
|
|
1767
|
-
tmp.
|
|
1755
|
+
var tmp = this.z6p();
|
|
1756
|
+
tmp.r6g(VOID, GameServer$subscribeToClientAction$slambda_0(this, subscriber, null));
|
|
1768
1757
|
};
|
|
1769
1758
|
protoOf(GameServer).subscribeServerStateUpdate = function (subscriber) {
|
|
1770
|
-
var tmp = this.
|
|
1771
|
-
tmp.
|
|
1759
|
+
var tmp = this.z6p();
|
|
1760
|
+
tmp.r6g(VOID, GameServer$subscribeServerStateUpdate$slambda_0(this, subscriber, null));
|
|
1772
1761
|
};
|
|
1773
1762
|
protoOf(GameServer).subscribeWith = function (subscriber) {
|
|
1774
|
-
var tmp = this.
|
|
1775
|
-
tmp.
|
|
1763
|
+
var tmp = this.z6p();
|
|
1764
|
+
tmp.r6g(VOID, GameServer$subscribeWith$slambda_0(this, subscriber, null));
|
|
1776
1765
|
};
|
|
1777
1766
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
1778
1767
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
1779
|
-
this.
|
|
1768
|
+
this.p9l_1.n6r(GameServer$fromClientEvent$slambda_0(action, null));
|
|
1780
1769
|
};
|
|
1781
1770
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
1782
1771
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
1783
|
-
this.
|
|
1772
|
+
this.p9l_1.n6r(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
1784
1773
|
};
|
|
1785
1774
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
1786
1775
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLive: ' + playerId);
|
|
1787
|
-
this.
|
|
1776
|
+
this.p9l_1.n6r(GameServer$playerLive$slambda_0(playerId, null));
|
|
1788
1777
|
};
|
|
1789
1778
|
protoOf(GameServer).playerLeft = function (playerId) {
|
|
1790
1779
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
1791
|
-
this.
|
|
1780
|
+
this.p9l_1.n6r(GameServer$playerLeft$slambda_0(playerId, null));
|
|
1792
1781
|
};
|
|
1793
|
-
protoOf(GameServer).
|
|
1794
|
-
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' +
|
|
1795
|
-
this.
|
|
1782
|
+
protoOf(GameServer).e9u = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
1783
|
+
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString(transition));
|
|
1784
|
+
this.p9l_1.n6r(GameServer$roomOnCreate$slambda_0(usersArray, gameCreatorId, config, transition, this, spectators, roomId, null));
|
|
1796
1785
|
};
|
|
1797
1786
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
1798
|
-
this.
|
|
1799
|
-
this.
|
|
1787
|
+
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
1788
|
+
this.p9l_1.n6r(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
1789
|
+
this.p9l_1.n6r(GameServer$roomOnContinueFromState$slambda_2(state, null));
|
|
1800
1790
|
};
|
|
1801
1791
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
1802
|
-
this.
|
|
1803
|
-
this.
|
|
1792
|
+
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
1793
|
+
this.p9l_1.n6r(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
1794
|
+
this.p9l_1.n6r(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
1804
1795
|
};
|
|
1805
1796
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
1806
|
-
this.
|
|
1797
|
+
this.p9l_1.n6r(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
1807
1798
|
};
|
|
1808
1799
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
1809
|
-
this.
|
|
1800
|
+
this.p9l_1.n6r(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
1810
1801
|
};
|
|
1811
1802
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
1812
1803
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
1813
|
-
this.
|
|
1804
|
+
this.p9l_1.n6r(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
1814
1805
|
};
|
|
1815
|
-
protoOf(GameServer).
|
|
1806
|
+
protoOf(GameServer).f9u = function (newRid) {
|
|
1816
1807
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnDelete: ' + newRid);
|
|
1817
|
-
this.
|
|
1808
|
+
this.p9l_1.n6r(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
1818
1809
|
};
|
|
1819
1810
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
1820
1811
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
1821
|
-
this.
|
|
1812
|
+
this.p9l_1.n6r(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
1822
1813
|
};
|
|
1823
|
-
protoOf(GameServer).
|
|
1814
|
+
protoOf(GameServer).g9u = function (reason, roomId) {
|
|
1824
1815
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
1825
|
-
this.
|
|
1816
|
+
this.p9l_1.n6r(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
1826
1817
|
};
|
|
1827
1818
|
protoOf(GameServer).clear = function () {
|
|
1828
1819
|
return this.a2();
|
|
@@ -1927,7 +1918,7 @@
|
|
|
1927
1918
|
}
|
|
1928
1919
|
function Companion_0() {
|
|
1929
1920
|
}
|
|
1930
|
-
protoOf(Companion_0).
|
|
1921
|
+
protoOf(Companion_0).h9u = function (fromRound) {
|
|
1931
1922
|
return new ServerConfig(fromRound, true);
|
|
1932
1923
|
};
|
|
1933
1924
|
var Companion_instance_8;
|
|
@@ -1935,23 +1926,23 @@
|
|
|
1935
1926
|
return Companion_instance_8;
|
|
1936
1927
|
}
|
|
1937
1928
|
function ServerConfig(fromRound, canStartNewGame) {
|
|
1938
|
-
this.
|
|
1939
|
-
this.
|
|
1929
|
+
this.n9t_1 = fromRound;
|
|
1930
|
+
this.o9t_1 = canStartNewGame;
|
|
1940
1931
|
}
|
|
1941
|
-
protoOf(ServerConfig).
|
|
1932
|
+
protoOf(ServerConfig).i9u = function (fromRound, canStartNewGame) {
|
|
1942
1933
|
return new ServerConfig(fromRound, canStartNewGame);
|
|
1943
1934
|
};
|
|
1944
|
-
protoOf(ServerConfig).
|
|
1945
|
-
fromRound = fromRound === VOID ? this.
|
|
1946
|
-
canStartNewGame = canStartNewGame === VOID ? this.
|
|
1947
|
-
return $super === VOID ? this.
|
|
1935
|
+
protoOf(ServerConfig).p9t = function (fromRound, canStartNewGame, $super) {
|
|
1936
|
+
fromRound = fromRound === VOID ? this.n9t_1 : fromRound;
|
|
1937
|
+
canStartNewGame = canStartNewGame === VOID ? this.o9t_1 : canStartNewGame;
|
|
1938
|
+
return $super === VOID ? this.i9u(fromRound, canStartNewGame) : $super.i9u.call(this, fromRound, canStartNewGame);
|
|
1948
1939
|
};
|
|
1949
1940
|
protoOf(ServerConfig).toString = function () {
|
|
1950
|
-
return 'ServerConfig(fromRound=' + this.
|
|
1941
|
+
return 'ServerConfig(fromRound=' + this.n9t_1 + ', canStartNewGame=' + this.o9t_1 + ')';
|
|
1951
1942
|
};
|
|
1952
1943
|
protoOf(ServerConfig).hashCode = function () {
|
|
1953
|
-
var result = this.
|
|
1954
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
1944
|
+
var result = this.n9t_1 == null ? 0 : this.n9t_1;
|
|
1945
|
+
result = imul(result, 31) + getBooleanHashCode(this.o9t_1) | 0;
|
|
1955
1946
|
return result;
|
|
1956
1947
|
};
|
|
1957
1948
|
protoOf(ServerConfig).equals = function (other) {
|
|
@@ -1960,9 +1951,9 @@
|
|
|
1960
1951
|
if (!(other instanceof ServerConfig))
|
|
1961
1952
|
return false;
|
|
1962
1953
|
var tmp0_other_with_cast = other instanceof ServerConfig ? other : THROW_CCE();
|
|
1963
|
-
if (!(this.
|
|
1954
|
+
if (!(this.n9t_1 == tmp0_other_with_cast.n9t_1))
|
|
1964
1955
|
return false;
|
|
1965
|
-
if (!(this.
|
|
1956
|
+
if (!(this.o9t_1 === tmp0_other_with_cast.o9t_1))
|
|
1966
1957
|
return false;
|
|
1967
1958
|
return true;
|
|
1968
1959
|
};
|
|
@@ -1971,18 +1962,18 @@
|
|
|
1971
1962
|
function TableStateUpdate(table) {
|
|
1972
1963
|
this.table = table;
|
|
1973
1964
|
}
|
|
1974
|
-
protoOf(TableStateUpdate).
|
|
1965
|
+
protoOf(TableStateUpdate).o6r = function () {
|
|
1975
1966
|
return this.table;
|
|
1976
1967
|
};
|
|
1977
1968
|
protoOf(TableStateUpdate).pe = function () {
|
|
1978
1969
|
return this.table;
|
|
1979
1970
|
};
|
|
1980
|
-
protoOf(TableStateUpdate).
|
|
1971
|
+
protoOf(TableStateUpdate).j9u = function (table) {
|
|
1981
1972
|
return new TableStateUpdate(table);
|
|
1982
1973
|
};
|
|
1983
1974
|
protoOf(TableStateUpdate).copy = function (table, $super) {
|
|
1984
1975
|
table = table === VOID ? this.table : table;
|
|
1985
|
-
return this.
|
|
1976
|
+
return this.j9u(table);
|
|
1986
1977
|
};
|
|
1987
1978
|
protoOf(TableStateUpdate).toString = function () {
|
|
1988
1979
|
return 'TableStateUpdate(table=' + this.table.toString() + ')';
|
|
@@ -2003,21 +1994,21 @@
|
|
|
2003
1994
|
function ActionsStateUpdate(actions) {
|
|
2004
1995
|
this.actions = actions;
|
|
2005
1996
|
}
|
|
2006
|
-
protoOf(ActionsStateUpdate).
|
|
1997
|
+
protoOf(ActionsStateUpdate).d8l = function () {
|
|
2007
1998
|
return this.actions;
|
|
2008
1999
|
};
|
|
2009
2000
|
protoOf(ActionsStateUpdate).pe = function () {
|
|
2010
2001
|
return this.actions;
|
|
2011
2002
|
};
|
|
2012
|
-
protoOf(ActionsStateUpdate).
|
|
2003
|
+
protoOf(ActionsStateUpdate).k9u = function (actions) {
|
|
2013
2004
|
return new ActionsStateUpdate(actions);
|
|
2014
2005
|
};
|
|
2015
2006
|
protoOf(ActionsStateUpdate).copy = function (actions, $super) {
|
|
2016
2007
|
actions = actions === VOID ? this.actions : actions;
|
|
2017
|
-
return this.
|
|
2008
|
+
return this.k9u(actions);
|
|
2018
2009
|
};
|
|
2019
2010
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
2020
|
-
return 'ActionsStateUpdate(actions=' +
|
|
2011
|
+
return 'ActionsStateUpdate(actions=' + toString_0(this.actions) + ')';
|
|
2021
2012
|
};
|
|
2022
2013
|
protoOf(ActionsStateUpdate).hashCode = function () {
|
|
2023
2014
|
return hashCode(this.actions);
|
|
@@ -2042,77 +2033,77 @@
|
|
|
2042
2033
|
}
|
|
2043
2034
|
function getServerEngineGameDI$lambda$lambda($this$provider) {
|
|
2044
2035
|
// Inline function 'org.kodein.di.instance' call
|
|
2045
|
-
var tmp = $this$provider.
|
|
2036
|
+
var tmp = $this$provider.l5z();
|
|
2046
2037
|
// Inline function 'org.kodein.type.generic' call
|
|
2047
2038
|
var tmp_0 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
2048
2039
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
2049
|
-
var tmp_1 = tmp.
|
|
2040
|
+
var tmp_1 = tmp.k5z(tmp$ret$0, null);
|
|
2050
2041
|
// Inline function 'org.kodein.di.instance' call
|
|
2051
|
-
var tmp_2 = $this$provider.
|
|
2042
|
+
var tmp_2 = $this$provider.l5z();
|
|
2052
2043
|
// Inline function 'org.kodein.type.generic' call
|
|
2053
2044
|
var tmp_3 = typeToken(createKType(getKClass(TableLifecycleReducer), arrayOf([]), false));
|
|
2054
2045
|
var tmp$ret$2 = isInterface(tmp_3, TypeToken) ? tmp_3 : THROW_CCE();
|
|
2055
|
-
var tmp_4 = tmp_2.
|
|
2046
|
+
var tmp_4 = tmp_2.k5z(tmp$ret$2, null);
|
|
2056
2047
|
// Inline function 'org.kodein.di.instance' call
|
|
2057
|
-
var tmp_5 = $this$provider.
|
|
2048
|
+
var tmp_5 = $this$provider.l5z();
|
|
2058
2049
|
// Inline function 'org.kodein.type.generic' call
|
|
2059
2050
|
var tmp_6 = typeToken(createKType(getKClass(RandomPoolProvider), arrayOf([]), false));
|
|
2060
2051
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2061
|
-
var tmp$ret$5 = tmp_5.
|
|
2052
|
+
var tmp$ret$5 = tmp_5.k5z(tmp$ret$4, null);
|
|
2062
2053
|
return new ServerMechanicLifecycleReducer(tmp_1, tmp_4, tmp$ret$5);
|
|
2063
2054
|
}
|
|
2064
2055
|
function getServerEngineGameDI$lambda$lambda_0($this$provider) {
|
|
2065
2056
|
// Inline function 'org.kodein.di.instance' call
|
|
2066
|
-
var tmp = $this$provider.
|
|
2057
|
+
var tmp = $this$provider.l5z();
|
|
2067
2058
|
// Inline function 'org.kodein.type.generic' call
|
|
2068
2059
|
var tmp_0 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
2069
2060
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
2070
|
-
var tmp0_serverConfig = tmp.
|
|
2061
|
+
var tmp0_serverConfig = tmp.k5z(tmp$ret$0, null);
|
|
2071
2062
|
// Inline function 'org.kodein.di.instance' call
|
|
2072
|
-
var tmp_1 = $this$provider.
|
|
2063
|
+
var tmp_1 = $this$provider.l5z();
|
|
2073
2064
|
// Inline function 'org.kodein.type.generic' call
|
|
2074
2065
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
2075
2066
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
2076
|
-
var tmp1_logger = tmp_1.
|
|
2067
|
+
var tmp1_logger = tmp_1.k5z(tmp$ret$2, null);
|
|
2077
2068
|
// Inline function 'org.kodein.di.instance' call
|
|
2078
|
-
var tmp_3 = $this$provider.
|
|
2069
|
+
var tmp_3 = $this$provider.l5z();
|
|
2079
2070
|
// Inline function 'org.kodein.type.generic' call
|
|
2080
2071
|
var tmp_4 = typeToken(createKType(getKClass(PlayerTurnMechanicReducer), arrayOf([]), false));
|
|
2081
2072
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
2082
|
-
var tmp2_playerTurnMechanicReducer = tmp_3.
|
|
2073
|
+
var tmp2_playerTurnMechanicReducer = tmp_3.k5z(tmp$ret$4, null);
|
|
2083
2074
|
// Inline function 'org.kodein.di.instance' call
|
|
2084
|
-
var tmp_5 = $this$provider.
|
|
2075
|
+
var tmp_5 = $this$provider.l5z();
|
|
2085
2076
|
// Inline function 'org.kodein.type.generic' call
|
|
2086
2077
|
var tmp_6 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
2087
2078
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2088
|
-
var tmp3_idsProvider = tmp_5.
|
|
2079
|
+
var tmp3_idsProvider = tmp_5.k5z(tmp$ret$6, null);
|
|
2089
2080
|
// Inline function 'org.kodein.di.instance' call
|
|
2090
|
-
var tmp_7 = $this$provider.
|
|
2081
|
+
var tmp_7 = $this$provider.l5z();
|
|
2091
2082
|
// Inline function 'org.kodein.type.generic' call
|
|
2092
2083
|
var tmp_8 = typeToken(createKType(getKClass(EngineLogicConfig), arrayOf([]), false));
|
|
2093
2084
|
var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
2094
|
-
var tmp4_engineLogicConfig = tmp_7.
|
|
2085
|
+
var tmp4_engineLogicConfig = tmp_7.k5z(tmp$ret$8, null);
|
|
2095
2086
|
return new PlayerConnectionInteractor(tmp0_serverConfig, tmp4_engineLogicConfig, tmp1_logger, tmp2_playerTurnMechanicReducer, tmp3_idsProvider);
|
|
2096
2087
|
}
|
|
2097
2088
|
function getServerEngineGameDI$lambda$lambda_1($this$singleton) {
|
|
2098
2089
|
// Inline function 'org.kodein.di.instance' call
|
|
2099
|
-
var tmp = $this$singleton.
|
|
2090
|
+
var tmp = $this$singleton.l5z();
|
|
2100
2091
|
// Inline function 'org.kodein.type.generic' call
|
|
2101
2092
|
var tmp_0 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
2102
2093
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
2103
|
-
var tmp_1 = tmp.
|
|
2094
|
+
var tmp_1 = tmp.k5z(tmp$ret$0, null);
|
|
2104
2095
|
// Inline function 'org.kodein.di.instance' call
|
|
2105
|
-
var tmp_2 = $this$singleton.
|
|
2096
|
+
var tmp_2 = $this$singleton.l5z();
|
|
2106
2097
|
// Inline function 'org.kodein.type.generic' call
|
|
2107
2098
|
var tmp_3 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
2108
2099
|
var tmp$ret$2 = isInterface(tmp_3, TypeToken) ? tmp_3 : THROW_CCE();
|
|
2109
|
-
var tmp_4 = tmp_2.
|
|
2100
|
+
var tmp_4 = tmp_2.k5z(tmp$ret$2, null);
|
|
2110
2101
|
// Inline function 'org.kodein.di.instance' call
|
|
2111
|
-
var tmp_5 = $this$singleton.
|
|
2102
|
+
var tmp_5 = $this$singleton.l5z();
|
|
2112
2103
|
// Inline function 'org.kodein.type.generic' call
|
|
2113
2104
|
var tmp_6 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
2114
2105
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2115
|
-
var tmp$ret$5 = tmp_5.
|
|
2106
|
+
var tmp$ret$5 = tmp_5.k5z(tmp$ret$4, null);
|
|
2116
2107
|
return new ToClientEventsObserverImpl(tmp_1, tmp_4, tmp$ret$5);
|
|
2117
2108
|
}
|
|
2118
2109
|
function getServerEngineGameDI$lambda$lambda_2($this$singleton) {
|
|
@@ -2120,64 +2111,64 @@
|
|
|
2120
2111
|
}
|
|
2121
2112
|
function getServerEngineGameDI$lambda($engineBotConfig, $engineLogicConfig, $dealerConfig) {
|
|
2122
2113
|
return function ($this$Module) {
|
|
2123
|
-
$this$Module.
|
|
2124
|
-
$this$Module.
|
|
2114
|
+
$this$Module.a5y(jsonModule(emptyList()));
|
|
2115
|
+
$this$Module.a5y(getEngineGameModule($engineBotConfig, $engineLogicConfig, $dealerConfig));
|
|
2125
2116
|
// Inline function 'org.kodein.di.bind' call
|
|
2126
2117
|
// Inline function 'org.kodein.type.generic' call
|
|
2127
2118
|
var tmp = typeToken(createKType(getKClass(MechanicLifecycleReducer), arrayOf([]), false));
|
|
2128
2119
|
var tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
|
|
2129
|
-
var tmp_0 = $this$Module.
|
|
2120
|
+
var tmp_0 = $this$Module.y5x(tmp$ret$0, null, null);
|
|
2130
2121
|
// Inline function 'org.kodein.di.provider' call
|
|
2131
2122
|
var creator = getServerEngineGameDI$lambda$lambda;
|
|
2132
|
-
var tmp_1 = $this$Module.
|
|
2123
|
+
var tmp_1 = $this$Module.b5y();
|
|
2133
2124
|
// Inline function 'org.kodein.type.generic' call
|
|
2134
2125
|
var tmp_2 = typeToken(createKType(getKClass(ServerMechanicLifecycleReducer), arrayOf([]), false));
|
|
2135
2126
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
2136
2127
|
var tmp$ret$3 = new Provider(tmp_1, tmp$ret$2, creator);
|
|
2137
|
-
tmp_0.
|
|
2128
|
+
tmp_0.w61(tmp$ret$3);
|
|
2138
2129
|
// Inline function 'org.kodein.di.bind' call
|
|
2139
2130
|
// Inline function 'org.kodein.type.generic' call
|
|
2140
2131
|
var tmp_3 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
2141
2132
|
var tmp$ret$4 = isInterface(tmp_3, TypeToken) ? tmp_3 : THROW_CCE();
|
|
2142
|
-
var tmp_4 = $this$Module.
|
|
2133
|
+
var tmp_4 = $this$Module.y5x(tmp$ret$4, null, null);
|
|
2143
2134
|
// Inline function 'org.kodein.di.provider' call
|
|
2144
2135
|
var creator_0 = getServerEngineGameDI$lambda$lambda_0;
|
|
2145
|
-
var tmp_5 = $this$Module.
|
|
2136
|
+
var tmp_5 = $this$Module.b5y();
|
|
2146
2137
|
// Inline function 'org.kodein.type.generic' call
|
|
2147
2138
|
var tmp_6 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
2148
2139
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2149
2140
|
var tmp$ret$7 = new Provider(tmp_5, tmp$ret$6, creator_0);
|
|
2150
|
-
tmp_4.
|
|
2141
|
+
tmp_4.w61(tmp$ret$7);
|
|
2151
2142
|
// Inline function 'org.kodein.di.bind' call
|
|
2152
2143
|
// Inline function 'org.kodein.type.generic' call
|
|
2153
2144
|
var tmp_7 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
|
|
2154
2145
|
var tmp$ret$8 = isInterface(tmp_7, TypeToken) ? tmp_7 : THROW_CCE();
|
|
2155
|
-
var tmp_8 = $this$Module.
|
|
2146
|
+
var tmp_8 = $this$Module.y5x(tmp$ret$8, null, null);
|
|
2156
2147
|
// Inline function 'org.kodein.di.singleton' call
|
|
2157
2148
|
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.
|
|
2149
|
+
var tmp_9 = $this$Module.d5y();
|
|
2150
|
+
var tmp_10 = $this$Module.b5y();
|
|
2151
|
+
var tmp_11 = $this$Module.c5y();
|
|
2161
2152
|
// Inline function 'org.kodein.type.generic' call
|
|
2162
2153
|
var tmp_12 = typeToken(createKType(getKClass(ToClientEventsObserverImpl), arrayOf([]), false));
|
|
2163
2154
|
var tmp$ret$10 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
2164
2155
|
var tmp$ret$11 = new Singleton(tmp_9, tmp_10, tmp_11, tmp$ret$10, null, true, creator_1);
|
|
2165
|
-
tmp_8.
|
|
2156
|
+
tmp_8.w61(tmp$ret$11);
|
|
2166
2157
|
// Inline function 'org.kodein.di.bind' call
|
|
2167
2158
|
// Inline function 'org.kodein.type.generic' call
|
|
2168
2159
|
var tmp_13 = typeToken(createKType(getKClass(MechanicEventsObserver), arrayOf([]), false));
|
|
2169
2160
|
var tmp$ret$12 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
2170
|
-
var tmp_14 = $this$Module.
|
|
2161
|
+
var tmp_14 = $this$Module.y5x(tmp$ret$12, null, null);
|
|
2171
2162
|
// Inline function 'org.kodein.di.singleton' call
|
|
2172
2163
|
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.
|
|
2164
|
+
var tmp_15 = $this$Module.d5y();
|
|
2165
|
+
var tmp_16 = $this$Module.b5y();
|
|
2166
|
+
var tmp_17 = $this$Module.c5y();
|
|
2176
2167
|
// Inline function 'org.kodein.type.generic' call
|
|
2177
2168
|
var tmp_18 = typeToken(createKType(getKClass(MechanicEventsObserverImpl), arrayOf([]), false));
|
|
2178
2169
|
var tmp$ret$14 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
2179
2170
|
var tmp$ret$15 = new Singleton(tmp_15, tmp_16, tmp_17, tmp$ret$14, null, true, creator_2);
|
|
2180
|
-
tmp_14.
|
|
2171
|
+
tmp_14.w61(tmp$ret$15);
|
|
2181
2172
|
return Unit_instance;
|
|
2182
2173
|
};
|
|
2183
2174
|
}
|
|
@@ -2187,27 +2178,27 @@
|
|
|
2187
2178
|
};
|
|
2188
2179
|
}
|
|
2189
2180
|
function createGameServerDI$lambda$lambda_0($this$singleton) {
|
|
2190
|
-
return new ServerGameStoreContract($this$singleton.
|
|
2181
|
+
return new ServerGameStoreContract($this$singleton.i5y());
|
|
2191
2182
|
}
|
|
2192
2183
|
function createGameServerDI$lambda$lambda_1($externalReducers, $externalMiddlewares) {
|
|
2193
2184
|
return function ($this$singleton) {
|
|
2194
|
-
var tmp = $this$singleton.
|
|
2185
|
+
var tmp = $this$singleton.i5y();
|
|
2195
2186
|
// Inline function 'org.kodein.di.instance' call
|
|
2196
|
-
var tmp_0 = $this$singleton.
|
|
2187
|
+
var tmp_0 = $this$singleton.l5z();
|
|
2197
2188
|
// Inline function 'org.kodein.type.generic' call
|
|
2198
2189
|
var tmp_1 = typeToken(createKType(getKClass(StoreContract), arrayOf([]), false));
|
|
2199
2190
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
2200
|
-
var tmp$ret$1 = tmp_0.
|
|
2191
|
+
var tmp$ret$1 = tmp_0.k5z(tmp$ret$0, null);
|
|
2201
2192
|
return new GameServer(tmp, 'Game server', tmp$ret$1, VOID, $externalReducers, $externalMiddlewares);
|
|
2202
2193
|
};
|
|
2203
2194
|
}
|
|
2204
2195
|
function createGameServerDI$lambda$lambda_2($this$provider) {
|
|
2205
2196
|
// Inline function 'org.kodein.di.instance' call
|
|
2206
|
-
var tmp = $this$provider.
|
|
2197
|
+
var tmp = $this$provider.l5z();
|
|
2207
2198
|
// Inline function 'org.kodein.type.generic' call
|
|
2208
2199
|
var tmp_0 = typeToken(createKType(getKClass(GameServer), arrayOf([]), false));
|
|
2209
2200
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
2210
|
-
return tmp.
|
|
2201
|
+
return tmp.k5z(tmp$ret$0, null);
|
|
2211
2202
|
}
|
|
2212
2203
|
function createGameServerDI$lambda($botConfig, $logicConfig, $dealerConfig, $serverConfig, $externalReducers, $externalMiddlewares) {
|
|
2213
2204
|
return function ($this$Module) {
|
|
@@ -2215,61 +2206,61 @@
|
|
|
2215
2206
|
// Inline function 'org.kodein.type.generic' call
|
|
2216
2207
|
var tmp = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
2217
2208
|
var tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
|
|
2218
|
-
var tmp_0 = $this$Module.
|
|
2209
|
+
var tmp_0 = $this$Module.y5x(tmp$ret$0, null, null);
|
|
2219
2210
|
// Inline function 'org.kodein.di.singleton' call
|
|
2220
2211
|
var creator = createGameServerDI$lambda$lambda($serverConfig);
|
|
2221
|
-
var tmp_1 = $this$Module.
|
|
2222
|
-
var tmp_2 = $this$Module.
|
|
2223
|
-
var tmp_3 = $this$Module.
|
|
2212
|
+
var tmp_1 = $this$Module.d5y();
|
|
2213
|
+
var tmp_2 = $this$Module.b5y();
|
|
2214
|
+
var tmp_3 = $this$Module.c5y();
|
|
2224
2215
|
// Inline function 'org.kodein.type.generic' call
|
|
2225
2216
|
var tmp_4 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
2226
2217
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
2227
2218
|
var tmp$ret$3 = new Singleton(tmp_1, tmp_2, tmp_3, tmp$ret$2, null, true, creator);
|
|
2228
|
-
tmp_0.
|
|
2229
|
-
$this$Module.
|
|
2219
|
+
tmp_0.w61(tmp$ret$3);
|
|
2220
|
+
$this$Module.a5y(getServerEngineGameDI($botConfig, $logicConfig, $dealerConfig));
|
|
2230
2221
|
// Inline function 'org.kodein.di.bind' call
|
|
2231
2222
|
// Inline function 'org.kodein.type.generic' call
|
|
2232
2223
|
var tmp_5 = typeToken(createKType(getKClass(StoreContract), arrayOf([]), false));
|
|
2233
2224
|
var tmp$ret$4 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
2234
|
-
var tmp_6 = $this$Module.
|
|
2225
|
+
var tmp_6 = $this$Module.y5x(tmp$ret$4, null, null);
|
|
2235
2226
|
// Inline function 'org.kodein.di.singleton' call
|
|
2236
2227
|
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.
|
|
2228
|
+
var tmp_7 = $this$Module.d5y();
|
|
2229
|
+
var tmp_8 = $this$Module.b5y();
|
|
2230
|
+
var tmp_9 = $this$Module.c5y();
|
|
2240
2231
|
// Inline function 'org.kodein.type.generic' call
|
|
2241
2232
|
var tmp_10 = typeToken(createKType(getKClass(ServerGameStoreContract), arrayOf([]), false));
|
|
2242
2233
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
2243
2234
|
var tmp$ret$7 = new Singleton(tmp_7, tmp_8, tmp_9, tmp$ret$6, null, true, creator_0);
|
|
2244
|
-
tmp_6.
|
|
2235
|
+
tmp_6.w61(tmp$ret$7);
|
|
2245
2236
|
// Inline function 'org.kodein.di.bind' call
|
|
2246
2237
|
// Inline function 'org.kodein.type.generic' call
|
|
2247
2238
|
var tmp_11 = typeToken(createKType(getKClass(GameServer), arrayOf([]), false));
|
|
2248
2239
|
var tmp$ret$8 = isInterface(tmp_11, TypeToken) ? tmp_11 : THROW_CCE();
|
|
2249
|
-
var tmp_12 = $this$Module.
|
|
2240
|
+
var tmp_12 = $this$Module.y5x(tmp$ret$8, null, null);
|
|
2250
2241
|
// Inline function 'org.kodein.di.singleton' call
|
|
2251
2242
|
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.
|
|
2243
|
+
var tmp_13 = $this$Module.d5y();
|
|
2244
|
+
var tmp_14 = $this$Module.b5y();
|
|
2245
|
+
var tmp_15 = $this$Module.c5y();
|
|
2255
2246
|
// Inline function 'org.kodein.type.generic' call
|
|
2256
2247
|
var tmp_16 = typeToken(createKType(getKClass(GameServer), arrayOf([]), false));
|
|
2257
2248
|
var tmp$ret$10 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
2258
2249
|
var tmp$ret$11 = new Singleton(tmp_13, tmp_14, tmp_15, tmp$ret$10, null, true, creator_1);
|
|
2259
|
-
tmp_12.
|
|
2250
|
+
tmp_12.w61(tmp$ret$11);
|
|
2260
2251
|
// Inline function 'org.kodein.di.bind' call
|
|
2261
2252
|
// Inline function 'org.kodein.type.generic' call
|
|
2262
2253
|
var tmp_17 = typeToken(createKType(getKClass(StateProvider), arrayOf([]), false));
|
|
2263
2254
|
var tmp$ret$12 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
2264
|
-
var tmp_18 = $this$Module.
|
|
2255
|
+
var tmp_18 = $this$Module.y5x(tmp$ret$12, null, null);
|
|
2265
2256
|
// Inline function 'org.kodein.di.provider' call
|
|
2266
2257
|
var creator_2 = createGameServerDI$lambda$lambda_2;
|
|
2267
|
-
var tmp_19 = $this$Module.
|
|
2258
|
+
var tmp_19 = $this$Module.b5y();
|
|
2268
2259
|
// Inline function 'org.kodein.type.generic' call
|
|
2269
2260
|
var tmp_20 = typeToken(createKType(getKClass(GameServer), arrayOf([]), false));
|
|
2270
2261
|
var tmp$ret$14 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
2271
2262
|
var tmp$ret$15 = new Provider(tmp_19, tmp$ret$14, creator_2);
|
|
2272
|
-
tmp_18.
|
|
2263
|
+
tmp_18.w61(tmp$ret$15);
|
|
2273
2264
|
return Unit_instance;
|
|
2274
2265
|
};
|
|
2275
2266
|
}
|
|
@@ -2278,17 +2269,17 @@
|
|
|
2278
2269
|
function MechanicEventsObserver() {
|
|
2279
2270
|
}
|
|
2280
2271
|
function MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
2281
|
-
this.
|
|
2272
|
+
this.u9u_1 = $$this$unsafeFlow;
|
|
2282
2273
|
CoroutineImpl.call(this, resultContinuation);
|
|
2283
2274
|
}
|
|
2284
|
-
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda).
|
|
2285
|
-
var tmp = this.
|
|
2275
|
+
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda).i1i = function (value, $completion) {
|
|
2276
|
+
var tmp = this.j1i(value, $completion);
|
|
2286
2277
|
tmp.g9_1 = Unit_instance;
|
|
2287
2278
|
tmp.h9_1 = null;
|
|
2288
2279
|
return tmp.m9();
|
|
2289
2280
|
};
|
|
2290
2281
|
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda).w9 = function (p1, $completion) {
|
|
2291
|
-
return this.
|
|
2282
|
+
return this.i1i((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
2292
2283
|
};
|
|
2293
2284
|
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda).m9 = function () {
|
|
2294
2285
|
var suspendResult = this.g9_1;
|
|
@@ -2299,12 +2290,12 @@
|
|
|
2299
2290
|
case 0:
|
|
2300
2291
|
this.f9_1 = 2;
|
|
2301
2292
|
var tmp_0 = this;
|
|
2302
|
-
tmp_0.
|
|
2293
|
+
tmp_0.w9u_1 = this.u9u_1;
|
|
2303
2294
|
var tmp_1 = this;
|
|
2304
|
-
tmp_1.
|
|
2295
|
+
tmp_1.x9u_1 = this.v9u_1;
|
|
2305
2296
|
this.e9_1 = 1;
|
|
2306
|
-
var it = this.
|
|
2307
|
-
suspendResult = this.
|
|
2297
|
+
var it = this.x9u_1;
|
|
2298
|
+
suspendResult = this.w9u_1.p18(new ActionsStateUpdate(it), this);
|
|
2308
2299
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2309
2300
|
return suspendResult;
|
|
2310
2301
|
}
|
|
@@ -2326,23 +2317,23 @@
|
|
|
2326
2317
|
}
|
|
2327
2318
|
while (true);
|
|
2328
2319
|
};
|
|
2329
|
-
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda).
|
|
2330
|
-
var i = new MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda(this.
|
|
2331
|
-
i.
|
|
2320
|
+
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda).j1i = function (value, completion) {
|
|
2321
|
+
var i = new MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda(this.u9u_1, completion);
|
|
2322
|
+
i.v9u_1 = value;
|
|
2332
2323
|
return i;
|
|
2333
2324
|
};
|
|
2334
2325
|
function MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
2335
2326
|
var i = new MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation);
|
|
2336
2327
|
var l = function (value, $completion) {
|
|
2337
|
-
return i.
|
|
2328
|
+
return i.i1i(value, $completion);
|
|
2338
2329
|
};
|
|
2339
2330
|
l.$arity = 1;
|
|
2340
2331
|
return l;
|
|
2341
2332
|
}
|
|
2342
2333
|
function $collectCOROUTINE$0(_this__u8e3s4, collector, resultContinuation) {
|
|
2343
2334
|
CoroutineImpl.call(this, resultContinuation);
|
|
2344
|
-
this.
|
|
2345
|
-
this.
|
|
2335
|
+
this.g9v_1 = _this__u8e3s4;
|
|
2336
|
+
this.h9v_1 = collector;
|
|
2346
2337
|
}
|
|
2347
2338
|
protoOf($collectCOROUTINE$0).m9 = function () {
|
|
2348
2339
|
var suspendResult = this.g9_1;
|
|
@@ -2353,10 +2344,10 @@
|
|
|
2353
2344
|
case 0:
|
|
2354
2345
|
this.f9_1 = 2;
|
|
2355
2346
|
var tmp_0 = this;
|
|
2356
|
-
tmp_0.
|
|
2347
|
+
tmp_0.i9v_1 = this.h9v_1;
|
|
2357
2348
|
this.e9_1 = 1;
|
|
2358
|
-
var tmp_1 = MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda_0(this.
|
|
2359
|
-
suspendResult = this.
|
|
2349
|
+
var tmp_1 = MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda_0(this.i9v_1, null);
|
|
2350
|
+
suspendResult = this.g9v_1.j9v_1.m17(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_1), this);
|
|
2360
2351
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2361
2352
|
return suspendResult;
|
|
2362
2353
|
}
|
|
@@ -2379,30 +2370,30 @@
|
|
|
2379
2370
|
while (true);
|
|
2380
2371
|
};
|
|
2381
2372
|
function _no_name_provided__qut3iv($this) {
|
|
2382
|
-
this.
|
|
2373
|
+
this.j9v_1 = $this;
|
|
2383
2374
|
}
|
|
2384
|
-
protoOf(_no_name_provided__qut3iv).
|
|
2375
|
+
protoOf(_no_name_provided__qut3iv).q18 = function (collector, $completion) {
|
|
2385
2376
|
var tmp = new $collectCOROUTINE$0(this, collector, $completion);
|
|
2386
2377
|
tmp.g9_1 = Unit_instance;
|
|
2387
2378
|
tmp.h9_1 = null;
|
|
2388
2379
|
return tmp.m9();
|
|
2389
2380
|
};
|
|
2390
|
-
protoOf(_no_name_provided__qut3iv).
|
|
2391
|
-
return this.
|
|
2381
|
+
protoOf(_no_name_provided__qut3iv).m17 = function (collector, $completion) {
|
|
2382
|
+
return this.q18(collector, $completion);
|
|
2392
2383
|
};
|
|
2393
2384
|
function MechanicEventsObserverImpl$observeUpdates$slambda$slambda($table, this$0, resultContinuation) {
|
|
2394
|
-
this.
|
|
2395
|
-
this.
|
|
2385
|
+
this.s9v_1 = $table;
|
|
2386
|
+
this.t9v_1 = this$0;
|
|
2396
2387
|
CoroutineImpl.call(this, resultContinuation);
|
|
2397
2388
|
}
|
|
2398
|
-
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda).
|
|
2399
|
-
var tmp = this.
|
|
2389
|
+
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda).v9v = function ($this$flow, $completion) {
|
|
2390
|
+
var tmp = this.w9v($this$flow, $completion);
|
|
2400
2391
|
tmp.g9_1 = Unit_instance;
|
|
2401
2392
|
tmp.h9_1 = null;
|
|
2402
2393
|
return tmp.m9();
|
|
2403
2394
|
};
|
|
2404
2395
|
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda).w9 = function (p1, $completion) {
|
|
2405
|
-
return this.
|
|
2396
|
+
return this.v9v((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
2406
2397
|
};
|
|
2407
2398
|
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda).m9 = function () {
|
|
2408
2399
|
var suspendResult = this.g9_1;
|
|
@@ -2413,7 +2404,7 @@
|
|
|
2413
2404
|
case 0:
|
|
2414
2405
|
this.f9_1 = 3;
|
|
2415
2406
|
this.e9_1 = 1;
|
|
2416
|
-
suspendResult = this.
|
|
2407
|
+
suspendResult = this.u9v_1.p18(new TableStateUpdate(this.s9v_1), this);
|
|
2417
2408
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2418
2409
|
return suspendResult;
|
|
2419
2410
|
}
|
|
@@ -2421,8 +2412,8 @@
|
|
|
2421
2412
|
continue $sm;
|
|
2422
2413
|
case 1:
|
|
2423
2414
|
this.e9_1 = 2;
|
|
2424
|
-
var this_0 = windowedByInterval(this.
|
|
2425
|
-
suspendResult = emitAll(this.
|
|
2415
|
+
var this_0 = windowedByInterval(this.t9v_1.x9v_1, new Long(1000, 0));
|
|
2416
|
+
suspendResult = emitAll(this.u9v_1, new _no_name_provided__qut3iv(this_0), this);
|
|
2426
2417
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2427
2418
|
return suspendResult;
|
|
2428
2419
|
}
|
|
@@ -2444,31 +2435,31 @@
|
|
|
2444
2435
|
}
|
|
2445
2436
|
while (true);
|
|
2446
2437
|
};
|
|
2447
|
-
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda).
|
|
2448
|
-
var i = new MechanicEventsObserverImpl$observeUpdates$slambda$slambda(this.
|
|
2449
|
-
i.
|
|
2438
|
+
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda).w9v = function ($this$flow, completion) {
|
|
2439
|
+
var i = new MechanicEventsObserverImpl$observeUpdates$slambda$slambda(this.s9v_1, this.t9v_1, completion);
|
|
2440
|
+
i.u9v_1 = $this$flow;
|
|
2450
2441
|
return i;
|
|
2451
2442
|
};
|
|
2452
2443
|
function MechanicEventsObserverImpl$observeUpdates$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
2453
2444
|
var i = new MechanicEventsObserverImpl$observeUpdates$slambda$slambda($table, this$0, resultContinuation);
|
|
2454
2445
|
var l = function ($this$flow, $completion) {
|
|
2455
|
-
return i.
|
|
2446
|
+
return i.v9v($this$flow, $completion);
|
|
2456
2447
|
};
|
|
2457
2448
|
l.$arity = 1;
|
|
2458
2449
|
return l;
|
|
2459
2450
|
}
|
|
2460
2451
|
function MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
2461
|
-
this.
|
|
2452
|
+
this.g9w_1 = $$this$unsafeFlow;
|
|
2462
2453
|
CoroutineImpl.call(this, resultContinuation);
|
|
2463
2454
|
}
|
|
2464
|
-
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda).
|
|
2465
|
-
var tmp = this.
|
|
2455
|
+
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda).i1i = function (value, $completion) {
|
|
2456
|
+
var tmp = this.j1i(value, $completion);
|
|
2466
2457
|
tmp.g9_1 = Unit_instance;
|
|
2467
2458
|
tmp.h9_1 = null;
|
|
2468
2459
|
return tmp.m9();
|
|
2469
2460
|
};
|
|
2470
2461
|
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda).w9 = function (p1, $completion) {
|
|
2471
|
-
return this.
|
|
2462
|
+
return this.i1i((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
2472
2463
|
};
|
|
2473
2464
|
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda).m9 = function () {
|
|
2474
2465
|
var suspendResult = this.g9_1;
|
|
@@ -2479,12 +2470,12 @@
|
|
|
2479
2470
|
case 0:
|
|
2480
2471
|
this.f9_1 = 2;
|
|
2481
2472
|
var tmp_0 = this;
|
|
2482
|
-
tmp_0.
|
|
2473
|
+
tmp_0.i9w_1 = this.g9w_1;
|
|
2483
2474
|
var tmp_1 = this;
|
|
2484
|
-
tmp_1.
|
|
2475
|
+
tmp_1.j9w_1 = this.h9w_1;
|
|
2485
2476
|
this.e9_1 = 1;
|
|
2486
|
-
var state = this.
|
|
2487
|
-
suspendResult = this.
|
|
2477
|
+
var state = this.j9w_1;
|
|
2478
|
+
suspendResult = this.i9w_1.p18(state.o6r().gameInfo.roundNumberTotal, this);
|
|
2488
2479
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2489
2480
|
return suspendResult;
|
|
2490
2481
|
}
|
|
@@ -2506,23 +2497,23 @@
|
|
|
2506
2497
|
}
|
|
2507
2498
|
while (true);
|
|
2508
2499
|
};
|
|
2509
|
-
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda).
|
|
2510
|
-
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
2511
|
-
i.
|
|
2500
|
+
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda).j1i = function (value, completion) {
|
|
2501
|
+
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda(this.g9w_1, completion);
|
|
2502
|
+
i.h9w_1 = value;
|
|
2512
2503
|
return i;
|
|
2513
2504
|
};
|
|
2514
2505
|
function MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
2515
2506
|
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation);
|
|
2516
2507
|
var l = function (value, $completion) {
|
|
2517
|
-
return i.
|
|
2508
|
+
return i.i1i(value, $completion);
|
|
2518
2509
|
};
|
|
2519
2510
|
l.$arity = 1;
|
|
2520
2511
|
return l;
|
|
2521
2512
|
}
|
|
2522
2513
|
function $collectCOROUTINE$1(_this__u8e3s4, collector, resultContinuation) {
|
|
2523
2514
|
CoroutineImpl.call(this, resultContinuation);
|
|
2524
|
-
this.
|
|
2525
|
-
this.
|
|
2515
|
+
this.s9w_1 = _this__u8e3s4;
|
|
2516
|
+
this.t9w_1 = collector;
|
|
2526
2517
|
}
|
|
2527
2518
|
protoOf($collectCOROUTINE$1).m9 = function () {
|
|
2528
2519
|
var suspendResult = this.g9_1;
|
|
@@ -2533,10 +2524,10 @@
|
|
|
2533
2524
|
case 0:
|
|
2534
2525
|
this.f9_1 = 2;
|
|
2535
2526
|
var tmp_0 = this;
|
|
2536
|
-
tmp_0.
|
|
2527
|
+
tmp_0.u9w_1 = this.t9w_1;
|
|
2537
2528
|
this.e9_1 = 1;
|
|
2538
|
-
var tmp_1 = MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda_0(this.
|
|
2539
|
-
suspendResult = this.
|
|
2529
|
+
var tmp_1 = MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda_0(this.u9w_1, null);
|
|
2530
|
+
suspendResult = this.s9w_1.v9w_1.m17(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_1), this);
|
|
2540
2531
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2541
2532
|
return suspendResult;
|
|
2542
2533
|
}
|
|
@@ -2559,17 +2550,17 @@
|
|
|
2559
2550
|
while (true);
|
|
2560
2551
|
};
|
|
2561
2552
|
function MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
2562
|
-
this.
|
|
2553
|
+
this.e9x_1 = $$this$unsafeFlow;
|
|
2563
2554
|
CoroutineImpl.call(this, resultContinuation);
|
|
2564
2555
|
}
|
|
2565
|
-
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda).
|
|
2566
|
-
var tmp = this.
|
|
2556
|
+
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda).i1i = function (value, $completion) {
|
|
2557
|
+
var tmp = this.j1i(value, $completion);
|
|
2567
2558
|
tmp.g9_1 = Unit_instance;
|
|
2568
2559
|
tmp.h9_1 = null;
|
|
2569
2560
|
return tmp.m9();
|
|
2570
2561
|
};
|
|
2571
2562
|
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda).w9 = function (p1, $completion) {
|
|
2572
|
-
return this.
|
|
2563
|
+
return this.i1i((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
2573
2564
|
};
|
|
2574
2565
|
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda).m9 = function () {
|
|
2575
2566
|
var suspendResult = this.g9_1;
|
|
@@ -2583,33 +2574,33 @@
|
|
|
2583
2574
|
continue $sm;
|
|
2584
2575
|
case 1:
|
|
2585
2576
|
var tmp_0 = this;
|
|
2586
|
-
tmp_0.
|
|
2577
|
+
tmp_0.h9x_1 = this.e9x_1;
|
|
2587
2578
|
var tmp_1 = this;
|
|
2588
|
-
tmp_1.
|
|
2579
|
+
tmp_1.i9x_1 = this.f9x_1;
|
|
2589
2580
|
var tmp_2 = this;
|
|
2590
|
-
tmp_2.
|
|
2591
|
-
if (this.
|
|
2592
|
-
this.
|
|
2581
|
+
tmp_2.j9x_1 = this.i9x_1.m6q_1;
|
|
2582
|
+
if (this.j9x_1 == null) {
|
|
2583
|
+
this.g9x_1 = Unit_instance;
|
|
2593
2584
|
this.e9_1 = 4;
|
|
2594
2585
|
var tmp_3 = this;
|
|
2595
2586
|
continue $sm;
|
|
2596
2587
|
} else {
|
|
2597
|
-
this.
|
|
2588
|
+
this.k9x_1 = this.j9x_1;
|
|
2598
2589
|
this.e9_1 = 2;
|
|
2599
2590
|
continue $sm;
|
|
2600
2591
|
}
|
|
2601
2592
|
|
|
2602
2593
|
case 2:
|
|
2603
|
-
this.
|
|
2594
|
+
this.l9x_1 = this.k9x_1;
|
|
2604
2595
|
this.e9_1 = 3;
|
|
2605
|
-
suspendResult = this.
|
|
2596
|
+
suspendResult = this.h9x_1.p18(this.l9x_1, this);
|
|
2606
2597
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2607
2598
|
return suspendResult;
|
|
2608
2599
|
}
|
|
2609
2600
|
|
|
2610
2601
|
continue $sm;
|
|
2611
2602
|
case 3:
|
|
2612
|
-
this.
|
|
2603
|
+
this.g9x_1 = suspendResult;
|
|
2613
2604
|
if (false) {
|
|
2614
2605
|
this.e9_1 = 1;
|
|
2615
2606
|
continue $sm;
|
|
@@ -2633,23 +2624,23 @@
|
|
|
2633
2624
|
}
|
|
2634
2625
|
while (true);
|
|
2635
2626
|
};
|
|
2636
|
-
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda).
|
|
2637
|
-
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda(this.
|
|
2638
|
-
i.
|
|
2627
|
+
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda).j1i = function (value, completion) {
|
|
2628
|
+
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda(this.e9x_1, completion);
|
|
2629
|
+
i.f9x_1 = value;
|
|
2639
2630
|
return i;
|
|
2640
2631
|
};
|
|
2641
2632
|
function MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
2642
2633
|
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation);
|
|
2643
2634
|
var l = function (value, $completion) {
|
|
2644
|
-
return i.
|
|
2635
|
+
return i.i1i(value, $completion);
|
|
2645
2636
|
};
|
|
2646
2637
|
l.$arity = 1;
|
|
2647
2638
|
return l;
|
|
2648
2639
|
}
|
|
2649
2640
|
function $collectCOROUTINE$2(_this__u8e3s4, collector, resultContinuation) {
|
|
2650
2641
|
CoroutineImpl.call(this, resultContinuation);
|
|
2651
|
-
this.
|
|
2652
|
-
this.
|
|
2642
|
+
this.u9x_1 = _this__u8e3s4;
|
|
2643
|
+
this.v9x_1 = collector;
|
|
2653
2644
|
}
|
|
2654
2645
|
protoOf($collectCOROUTINE$2).m9 = function () {
|
|
2655
2646
|
var suspendResult = this.g9_1;
|
|
@@ -2660,10 +2651,10 @@
|
|
|
2660
2651
|
case 0:
|
|
2661
2652
|
this.f9_1 = 2;
|
|
2662
2653
|
var tmp_0 = this;
|
|
2663
|
-
tmp_0.
|
|
2654
|
+
tmp_0.w9x_1 = this.v9x_1;
|
|
2664
2655
|
this.e9_1 = 1;
|
|
2665
|
-
var tmp_1 = MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda_0(this.
|
|
2666
|
-
suspendResult = this.
|
|
2656
|
+
var tmp_1 = MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda_0(this.w9x_1, null);
|
|
2657
|
+
suspendResult = this.u9x_1.x9x_1.m17(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_1), this);
|
|
2667
2658
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2668
2659
|
return suspendResult;
|
|
2669
2660
|
}
|
|
@@ -2686,16 +2677,16 @@
|
|
|
2686
2677
|
while (true);
|
|
2687
2678
|
};
|
|
2688
2679
|
function _no_name_provided__qut3iv_0($this) {
|
|
2689
|
-
this.
|
|
2680
|
+
this.x9x_1 = $this;
|
|
2690
2681
|
}
|
|
2691
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
2682
|
+
protoOf(_no_name_provided__qut3iv_0).q18 = function (collector, $completion) {
|
|
2692
2683
|
var tmp = new $collectCOROUTINE$2(this, collector, $completion);
|
|
2693
2684
|
tmp.g9_1 = Unit_instance;
|
|
2694
2685
|
tmp.h9_1 = null;
|
|
2695
2686
|
return tmp.m9();
|
|
2696
2687
|
};
|
|
2697
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
2698
|
-
return this.
|
|
2688
|
+
protoOf(_no_name_provided__qut3iv_0).m17 = function (collector, $completion) {
|
|
2689
|
+
return this.q18(collector, $completion);
|
|
2699
2690
|
};
|
|
2700
2691
|
function observeTableWhenRoundChanges($this, observeState) {
|
|
2701
2692
|
// Inline function 'kotlinx.coroutines.flow.flatMapLatest' call
|
|
@@ -2707,20 +2698,20 @@
|
|
|
2707
2698
|
return transformLatest(this_0, MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda_0(observeState, null));
|
|
2708
2699
|
}
|
|
2709
2700
|
function Companion_1() {
|
|
2710
|
-
this.
|
|
2701
|
+
this.y9x_1 = 1000;
|
|
2711
2702
|
}
|
|
2712
2703
|
var Companion_instance_9;
|
|
2713
2704
|
function Companion_getInstance_2() {
|
|
2714
2705
|
return Companion_instance_9;
|
|
2715
2706
|
}
|
|
2716
2707
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
2717
|
-
this.
|
|
2708
|
+
this.z9x_1 = function_0;
|
|
2718
2709
|
}
|
|
2719
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).
|
|
2720
|
-
return this.
|
|
2710
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).p18 = function (value, $completion) {
|
|
2711
|
+
return this.z9x_1(value, $completion);
|
|
2721
2712
|
};
|
|
2722
2713
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).o3 = function () {
|
|
2723
|
-
return this.
|
|
2714
|
+
return this.z9x_1;
|
|
2724
2715
|
};
|
|
2725
2716
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
2726
2717
|
var tmp;
|
|
@@ -2741,13 +2732,13 @@
|
|
|
2741
2732
|
return hashCode(this.o3());
|
|
2742
2733
|
};
|
|
2743
2734
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
|
|
2744
|
-
this.
|
|
2735
|
+
this.a9y_1 = function_0;
|
|
2745
2736
|
}
|
|
2746
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).
|
|
2747
|
-
return this.
|
|
2737
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).p18 = function (value, $completion) {
|
|
2738
|
+
return this.a9y_1(value, $completion);
|
|
2748
2739
|
};
|
|
2749
2740
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).o3 = function () {
|
|
2750
|
-
return this.
|
|
2741
|
+
return this.a9y_1;
|
|
2751
2742
|
};
|
|
2752
2743
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
|
|
2753
2744
|
var tmp;
|
|
@@ -2768,18 +2759,18 @@
|
|
|
2768
2759
|
return hashCode(this.o3());
|
|
2769
2760
|
};
|
|
2770
2761
|
function MechanicEventsObserverImpl$observeUpdates$slambda(this$0, resultContinuation) {
|
|
2771
|
-
this.
|
|
2762
|
+
this.j9y_1 = this$0;
|
|
2772
2763
|
CoroutineImpl.call(this, resultContinuation);
|
|
2773
2764
|
}
|
|
2774
|
-
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda).
|
|
2775
|
-
var tmp = this.
|
|
2765
|
+
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda).m9y = function ($this$transformLatest, it, $completion) {
|
|
2766
|
+
var tmp = this.n9y($this$transformLatest, it, $completion);
|
|
2776
2767
|
tmp.g9_1 = Unit_instance;
|
|
2777
2768
|
tmp.h9_1 = null;
|
|
2778
2769
|
return tmp.m9();
|
|
2779
2770
|
};
|
|
2780
2771
|
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda).x9 = function (p1, p2, $completion) {
|
|
2781
2772
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
2782
|
-
return this.
|
|
2773
|
+
return this.m9y(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
2783
2774
|
};
|
|
2784
2775
|
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda).m9 = function () {
|
|
2785
2776
|
var suspendResult = this.g9_1;
|
|
@@ -2790,8 +2781,8 @@
|
|
|
2790
2781
|
case 0:
|
|
2791
2782
|
this.f9_1 = 2;
|
|
2792
2783
|
this.e9_1 = 1;
|
|
2793
|
-
var table = this.
|
|
2794
|
-
suspendResult = emitAll(this.
|
|
2784
|
+
var table = this.l9y_1;
|
|
2785
|
+
suspendResult = emitAll(this.k9y_1, flow(MechanicEventsObserverImpl$observeUpdates$slambda$slambda_0(table, this.j9y_1, null)), this);
|
|
2795
2786
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2796
2787
|
return suspendResult;
|
|
2797
2788
|
}
|
|
@@ -2813,45 +2804,45 @@
|
|
|
2813
2804
|
}
|
|
2814
2805
|
while (true);
|
|
2815
2806
|
};
|
|
2816
|
-
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda).
|
|
2817
|
-
var i = new MechanicEventsObserverImpl$observeUpdates$slambda(this.
|
|
2818
|
-
i.
|
|
2819
|
-
i.
|
|
2807
|
+
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda).n9y = function ($this$transformLatest, it, completion) {
|
|
2808
|
+
var i = new MechanicEventsObserverImpl$observeUpdates$slambda(this.j9y_1, completion);
|
|
2809
|
+
i.k9y_1 = $this$transformLatest;
|
|
2810
|
+
i.l9y_1 = it;
|
|
2820
2811
|
return i;
|
|
2821
2812
|
};
|
|
2822
2813
|
function MechanicEventsObserverImpl$observeUpdates$slambda_0(this$0, resultContinuation) {
|
|
2823
2814
|
var i = new MechanicEventsObserverImpl$observeUpdates$slambda(this$0, resultContinuation);
|
|
2824
2815
|
var l = function ($this$transformLatest, it, $completion) {
|
|
2825
|
-
return i.
|
|
2816
|
+
return i.m9y($this$transformLatest, it, $completion);
|
|
2826
2817
|
};
|
|
2827
2818
|
l.$arity = 2;
|
|
2828
2819
|
return l;
|
|
2829
2820
|
}
|
|
2830
2821
|
function _no_name_provided__qut3iv_1($this) {
|
|
2831
|
-
this.
|
|
2822
|
+
this.v9w_1 = $this;
|
|
2832
2823
|
}
|
|
2833
|
-
protoOf(_no_name_provided__qut3iv_1).
|
|
2824
|
+
protoOf(_no_name_provided__qut3iv_1).q18 = function (collector, $completion) {
|
|
2834
2825
|
var tmp = new $collectCOROUTINE$1(this, collector, $completion);
|
|
2835
2826
|
tmp.g9_1 = Unit_instance;
|
|
2836
2827
|
tmp.h9_1 = null;
|
|
2837
2828
|
return tmp.m9();
|
|
2838
2829
|
};
|
|
2839
|
-
protoOf(_no_name_provided__qut3iv_1).
|
|
2840
|
-
return this.
|
|
2830
|
+
protoOf(_no_name_provided__qut3iv_1).m17 = function (collector, $completion) {
|
|
2831
|
+
return this.q18(collector, $completion);
|
|
2841
2832
|
};
|
|
2842
2833
|
function MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda($observeState, resultContinuation) {
|
|
2843
|
-
this.
|
|
2834
|
+
this.w9y_1 = $observeState;
|
|
2844
2835
|
CoroutineImpl.call(this, resultContinuation);
|
|
2845
2836
|
}
|
|
2846
|
-
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda).
|
|
2847
|
-
var tmp = this.
|
|
2837
|
+
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda).m9y = function ($this$transformLatest, it, $completion) {
|
|
2838
|
+
var tmp = this.n9y($this$transformLatest, it, $completion);
|
|
2848
2839
|
tmp.g9_1 = Unit_instance;
|
|
2849
2840
|
tmp.h9_1 = null;
|
|
2850
2841
|
return tmp.m9();
|
|
2851
2842
|
};
|
|
2852
2843
|
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda).x9 = function (p1, p2, $completion) {
|
|
2853
2844
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
2854
|
-
return this.
|
|
2845
|
+
return this.m9y(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
2855
2846
|
};
|
|
2856
2847
|
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda).m9 = function () {
|
|
2857
2848
|
var suspendResult = this.g9_1;
|
|
@@ -2862,9 +2853,9 @@
|
|
|
2862
2853
|
case 0:
|
|
2863
2854
|
this.f9_1 = 2;
|
|
2864
2855
|
this.e9_1 = 1;
|
|
2865
|
-
this.
|
|
2866
|
-
var this_0 = this.
|
|
2867
|
-
suspendResult = emitAll(this.
|
|
2856
|
+
this.y9y_1;
|
|
2857
|
+
var this_0 = this.w9y_1;
|
|
2858
|
+
suspendResult = emitAll(this.x9y_1, new _no_name_provided__qut3iv_0(this_0), this);
|
|
2868
2859
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2869
2860
|
return suspendResult;
|
|
2870
2861
|
}
|
|
@@ -2886,27 +2877,27 @@
|
|
|
2886
2877
|
}
|
|
2887
2878
|
while (true);
|
|
2888
2879
|
};
|
|
2889
|
-
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda).
|
|
2890
|
-
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda(this.
|
|
2891
|
-
i.
|
|
2892
|
-
i.
|
|
2880
|
+
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda).n9y = function ($this$transformLatest, it, completion) {
|
|
2881
|
+
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda(this.w9y_1, completion);
|
|
2882
|
+
i.x9y_1 = $this$transformLatest;
|
|
2883
|
+
i.y9y_1 = it;
|
|
2893
2884
|
return i;
|
|
2894
2885
|
};
|
|
2895
2886
|
function MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda_0($observeState, resultContinuation) {
|
|
2896
2887
|
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda($observeState, resultContinuation);
|
|
2897
2888
|
var l = function ($this$transformLatest, it, $completion) {
|
|
2898
|
-
return i.
|
|
2889
|
+
return i.m9y($this$transformLatest, it, $completion);
|
|
2899
2890
|
};
|
|
2900
2891
|
l.$arity = 2;
|
|
2901
2892
|
return l;
|
|
2902
2893
|
}
|
|
2903
2894
|
function MechanicEventsObserverImpl() {
|
|
2904
|
-
this.
|
|
2895
|
+
this.x9v_1 = MutableSharedFlow();
|
|
2905
2896
|
}
|
|
2906
|
-
protoOf(MechanicEventsObserverImpl).
|
|
2907
|
-
return this.
|
|
2897
|
+
protoOf(MechanicEventsObserverImpl).l9u = function (event, $completion) {
|
|
2898
|
+
return this.x9v_1.p18(event, $completion);
|
|
2908
2899
|
};
|
|
2909
|
-
protoOf(MechanicEventsObserverImpl).
|
|
2900
|
+
protoOf(MechanicEventsObserverImpl).r9m = function (observeState) {
|
|
2910
2901
|
// Inline function 'kotlinx.coroutines.flow.flatMapLatest' call
|
|
2911
2902
|
var this_0 = observeTableWhenRoundChanges(this, observeState);
|
|
2912
2903
|
return transformLatest(this_0, MechanicEventsObserverImpl$observeUpdates$slambda_0(this, null));
|
|
@@ -2914,18 +2905,18 @@
|
|
|
2914
2905
|
function ToClientEventsObserver() {
|
|
2915
2906
|
}
|
|
2916
2907
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
2917
|
-
this.
|
|
2918
|
-
this.
|
|
2908
|
+
this.i9z_1 = this$0;
|
|
2909
|
+
this.j9z_1 = $actions;
|
|
2919
2910
|
CoroutineImpl.call(this, resultContinuation);
|
|
2920
2911
|
}
|
|
2921
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
2922
|
-
var tmp = this.
|
|
2912
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).q9z = function ($this$flow, $completion) {
|
|
2913
|
+
var tmp = this.r9z($this$flow, $completion);
|
|
2923
2914
|
tmp.g9_1 = Unit_instance;
|
|
2924
2915
|
tmp.h9_1 = null;
|
|
2925
2916
|
return tmp.m9();
|
|
2926
2917
|
};
|
|
2927
2918
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).w9 = function (p1, $completion) {
|
|
2928
|
-
return this.
|
|
2919
|
+
return this.q9z((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
2929
2920
|
};
|
|
2930
2921
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).m9 = function () {
|
|
2931
2922
|
var suspendResult = this.g9_1;
|
|
@@ -2936,23 +2927,23 @@
|
|
|
2936
2927
|
case 0:
|
|
2937
2928
|
this.f9_1 = 4;
|
|
2938
2929
|
var tmp_0 = this;
|
|
2939
|
-
tmp_0.
|
|
2930
|
+
tmp_0.l9z_1 = this.i9z_1.w9z_1;
|
|
2940
2931
|
var tmp_1 = this;
|
|
2941
|
-
tmp_1.
|
|
2942
|
-
this.
|
|
2932
|
+
tmp_1.m9z_1 = transformToEmits(this.i9z_1, this.j9z_1);
|
|
2933
|
+
this.n9z_1 = this.m9z_1.j();
|
|
2943
2934
|
this.e9_1 = 1;
|
|
2944
2935
|
continue $sm;
|
|
2945
2936
|
case 1:
|
|
2946
|
-
if (!this.
|
|
2937
|
+
if (!this.n9z_1.k()) {
|
|
2947
2938
|
this.e9_1 = 3;
|
|
2948
2939
|
continue $sm;
|
|
2949
2940
|
}
|
|
2950
2941
|
|
|
2951
|
-
this.
|
|
2942
|
+
this.o9z_1 = this.n9z_1.l();
|
|
2952
2943
|
var tmp_2 = this;
|
|
2953
|
-
tmp_2.
|
|
2944
|
+
tmp_2.p9z_1 = this.o9z_1;
|
|
2954
2945
|
this.e9_1 = 2;
|
|
2955
|
-
suspendResult = this.
|
|
2946
|
+
suspendResult = this.k9z_1.p18(this.p9z_1, this);
|
|
2956
2947
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2957
2948
|
return suspendResult;
|
|
2958
2949
|
}
|
|
@@ -2963,10 +2954,10 @@
|
|
|
2963
2954
|
continue $sm;
|
|
2964
2955
|
case 3:
|
|
2965
2956
|
l$ret$1: do {
|
|
2966
|
-
var this_0 = this.
|
|
2957
|
+
var this_0 = this.i9z_1.v9z_1;
|
|
2967
2958
|
while (true) {
|
|
2968
2959
|
var cur = this_0.kotlinx$atomicfu$value;
|
|
2969
|
-
var upd = cur - this.
|
|
2960
|
+
var upd = cur - this.j9z_1.m() | 0;
|
|
2970
2961
|
if (this_0.atomicfu$compareAndSet(cur, upd)) {
|
|
2971
2962
|
break l$ret$1;
|
|
2972
2963
|
}
|
|
@@ -2988,15 +2979,15 @@
|
|
|
2988
2979
|
}
|
|
2989
2980
|
while (true);
|
|
2990
2981
|
};
|
|
2991
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
2992
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
2993
|
-
i.
|
|
2982
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).r9z = function ($this$flow, completion) {
|
|
2983
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.i9z_1, this.j9z_1, completion);
|
|
2984
|
+
i.k9z_1 = $this$flow;
|
|
2994
2985
|
return i;
|
|
2995
2986
|
};
|
|
2996
2987
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
2997
2988
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
2998
2989
|
var l = function ($this$flow, $completion) {
|
|
2999
|
-
return i.
|
|
2990
|
+
return i.q9z($this$flow, $completion);
|
|
3000
2991
|
};
|
|
3001
2992
|
l.$arity = 1;
|
|
3002
2993
|
return l;
|
|
@@ -3069,29 +3060,29 @@
|
|
|
3069
3060
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
3070
3061
|
}
|
|
3071
3062
|
function mapFromGroupKey(_this__u8e3s4, $this) {
|
|
3072
|
-
var tmp = $this.
|
|
3063
|
+
var tmp = $this.u9z_1.u6h();
|
|
3073
3064
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3074
|
-
var this_0 = _this__u8e3s4.
|
|
3065
|
+
var this_0 = _this__u8e3s4.z9z_1;
|
|
3075
3066
|
var tmp_0 = copyToArray(this_0);
|
|
3076
3067
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3077
|
-
var this_1 = _this__u8e3s4.
|
|
3068
|
+
var this_1 = _this__u8e3s4.aa0_1;
|
|
3078
3069
|
var tmp$ret$1 = copyToArray(this_1);
|
|
3079
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
3070
|
+
return new ActionDeliveryPayload(_this__u8e3s4.y9z_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.ba0_1);
|
|
3080
3071
|
}
|
|
3081
3072
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
3082
|
-
this.
|
|
3083
|
-
this.
|
|
3084
|
-
this.
|
|
3085
|
-
this.
|
|
3073
|
+
this.y9z_1 = tableId;
|
|
3074
|
+
this.z9z_1 = includePlayers;
|
|
3075
|
+
this.aa0_1 = excludePlayers;
|
|
3076
|
+
this.ba0_1 = deliveryType;
|
|
3086
3077
|
}
|
|
3087
3078
|
protoOf(GroupKey).toString = function () {
|
|
3088
|
-
return 'GroupKey(tableId=' + this.
|
|
3079
|
+
return 'GroupKey(tableId=' + this.y9z_1 + ', includePlayers=' + toString_0(this.z9z_1) + ', excludePlayers=' + toString_0(this.aa0_1) + ', deliveryType=' + this.ba0_1.toString() + ')';
|
|
3089
3080
|
};
|
|
3090
3081
|
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.
|
|
3082
|
+
var result = getStringHashCode(this.y9z_1);
|
|
3083
|
+
result = imul(result, 31) + hashCode(this.z9z_1) | 0;
|
|
3084
|
+
result = imul(result, 31) + hashCode(this.aa0_1) | 0;
|
|
3085
|
+
result = imul(result, 31) + this.ba0_1.hashCode() | 0;
|
|
3095
3086
|
return result;
|
|
3096
3087
|
};
|
|
3097
3088
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -3100,35 +3091,35 @@
|
|
|
3100
3091
|
if (!(other instanceof GroupKey))
|
|
3101
3092
|
return false;
|
|
3102
3093
|
var tmp0_other_with_cast = other instanceof GroupKey ? other : THROW_CCE();
|
|
3103
|
-
if (!(this.
|
|
3094
|
+
if (!(this.y9z_1 === tmp0_other_with_cast.y9z_1))
|
|
3104
3095
|
return false;
|
|
3105
|
-
if (!equals(this.
|
|
3096
|
+
if (!equals(this.z9z_1, tmp0_other_with_cast.z9z_1))
|
|
3106
3097
|
return false;
|
|
3107
|
-
if (!equals(this.
|
|
3098
|
+
if (!equals(this.aa0_1, tmp0_other_with_cast.aa0_1))
|
|
3108
3099
|
return false;
|
|
3109
|
-
if (!this.
|
|
3100
|
+
if (!this.ba0_1.equals(tmp0_other_with_cast.ba0_1))
|
|
3110
3101
|
return false;
|
|
3111
3102
|
return true;
|
|
3112
3103
|
};
|
|
3113
3104
|
function Companion_2() {
|
|
3114
|
-
this.
|
|
3105
|
+
this.ca0_1 = 6;
|
|
3115
3106
|
}
|
|
3116
3107
|
var Companion_instance_10;
|
|
3117
3108
|
function Companion_getInstance_3() {
|
|
3118
3109
|
return Companion_instance_10;
|
|
3119
3110
|
}
|
|
3120
3111
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
3121
|
-
this.
|
|
3112
|
+
this.la0_1 = this$0;
|
|
3122
3113
|
CoroutineImpl.call(this, resultContinuation);
|
|
3123
3114
|
}
|
|
3124
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3125
|
-
var tmp = this.
|
|
3115
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).na0 = function (actions, $completion) {
|
|
3116
|
+
var tmp = this.oa0(actions, $completion);
|
|
3126
3117
|
tmp.g9_1 = Unit_instance;
|
|
3127
3118
|
tmp.h9_1 = null;
|
|
3128
3119
|
return tmp.m9();
|
|
3129
3120
|
};
|
|
3130
3121
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).w9 = function (p1, $completion) {
|
|
3131
|
-
return this.
|
|
3122
|
+
return this.na0((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
3132
3123
|
};
|
|
3133
3124
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).m9 = function () {
|
|
3134
3125
|
var suspendResult = this.g9_1;
|
|
@@ -3137,7 +3128,7 @@
|
|
|
3137
3128
|
var tmp = this.e9_1;
|
|
3138
3129
|
if (tmp === 0) {
|
|
3139
3130
|
this.f9_1 = 1;
|
|
3140
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
3131
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.la0_1, this.ma0_1, null));
|
|
3141
3132
|
} else if (tmp === 1) {
|
|
3142
3133
|
throw this.h9_1;
|
|
3143
3134
|
}
|
|
@@ -3147,23 +3138,23 @@
|
|
|
3147
3138
|
}
|
|
3148
3139
|
while (true);
|
|
3149
3140
|
};
|
|
3150
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3151
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
3152
|
-
i.
|
|
3141
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).oa0 = function (actions, completion) {
|
|
3142
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.la0_1, completion);
|
|
3143
|
+
i.ma0_1 = actions;
|
|
3153
3144
|
return i;
|
|
3154
3145
|
};
|
|
3155
3146
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
3156
3147
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
3157
3148
|
var l = function (actions, $completion) {
|
|
3158
|
-
return i.
|
|
3149
|
+
return i.na0(actions, $completion);
|
|
3159
3150
|
};
|
|
3160
3151
|
l.$arity = 1;
|
|
3161
3152
|
return l;
|
|
3162
3153
|
}
|
|
3163
3154
|
function $sentEventCOROUTINE$3(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
3164
3155
|
CoroutineImpl.call(this, resultContinuation);
|
|
3165
|
-
this.
|
|
3166
|
-
this.
|
|
3156
|
+
this.xa0_1 = _this__u8e3s4;
|
|
3157
|
+
this.ya0_1 = fromEvent;
|
|
3167
3158
|
}
|
|
3168
3159
|
protoOf($sentEventCOROUTINE$3).m9 = function () {
|
|
3169
3160
|
var suspendResult = this.g9_1;
|
|
@@ -3174,9 +3165,9 @@
|
|
|
3174
3165
|
case 0:
|
|
3175
3166
|
this.f9_1 = 2;
|
|
3176
3167
|
var tmp_0 = this;
|
|
3177
|
-
tmp_0.
|
|
3168
|
+
tmp_0.za0_1 = this.xa0_1.w9z_1;
|
|
3178
3169
|
l$ret$1: do {
|
|
3179
|
-
var this_0 = this.
|
|
3170
|
+
var this_0 = this.xa0_1.v9z_1;
|
|
3180
3171
|
while (true) {
|
|
3181
3172
|
var cur = this_0.kotlinx$atomicfu$value;
|
|
3182
3173
|
var upd = cur + 1 | 0;
|
|
@@ -3187,7 +3178,7 @@
|
|
|
3187
3178
|
}
|
|
3188
3179
|
while (false);
|
|
3189
3180
|
this.e9_1 = 1;
|
|
3190
|
-
suspendResult = this.
|
|
3181
|
+
suspendResult = this.xa0_1.x9z_1.p18(this.ya0_1, this);
|
|
3191
3182
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3192
3183
|
return suspendResult;
|
|
3193
3184
|
}
|
|
@@ -3211,7 +3202,7 @@
|
|
|
3211
3202
|
};
|
|
3212
3203
|
function $waitForCOROUTINE$4(_this__u8e3s4, resultContinuation) {
|
|
3213
3204
|
CoroutineImpl.call(this, resultContinuation);
|
|
3214
|
-
this.
|
|
3205
|
+
this.ia1_1 = _this__u8e3s4;
|
|
3215
3206
|
}
|
|
3216
3207
|
protoOf($waitForCOROUTINE$4).m9 = function () {
|
|
3217
3208
|
var suspendResult = this.g9_1;
|
|
@@ -3222,12 +3213,12 @@
|
|
|
3222
3213
|
case 0:
|
|
3223
3214
|
this.f9_1 = 5;
|
|
3224
3215
|
var tmp_0 = this;
|
|
3225
|
-
tmp_0.
|
|
3226
|
-
this.
|
|
3216
|
+
tmp_0.ja1_1 = this.ia1_1.w9z_1;
|
|
3217
|
+
this.ka1_1 = 0;
|
|
3227
3218
|
this.e9_1 = 1;
|
|
3228
3219
|
continue $sm;
|
|
3229
3220
|
case 1:
|
|
3230
|
-
if (!!(this.
|
|
3221
|
+
if (!!(this.ia1_1.v9z_1.kotlinx$atomicfu$value === 0)) {
|
|
3231
3222
|
this.e9_1 = 4;
|
|
3232
3223
|
continue $sm;
|
|
3233
3224
|
}
|
|
@@ -3240,9 +3231,9 @@
|
|
|
3240
3231
|
|
|
3241
3232
|
continue $sm;
|
|
3242
3233
|
case 2:
|
|
3243
|
-
this.
|
|
3244
|
-
if (this.
|
|
3245
|
-
this.
|
|
3234
|
+
this.ka1_1 = this.ka1_1 + 1 | 0;
|
|
3235
|
+
if (this.ka1_1 > 6) {
|
|
3236
|
+
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
3237
|
this.e9_1 = 4;
|
|
3247
3238
|
continue $sm;
|
|
3248
3239
|
} else {
|
|
@@ -3270,42 +3261,42 @@
|
|
|
3270
3261
|
while (true);
|
|
3271
3262
|
};
|
|
3272
3263
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
3273
|
-
this.
|
|
3274
|
-
this.
|
|
3275
|
-
this.
|
|
3276
|
-
this.
|
|
3264
|
+
this.s9z_1 = serverReduxConfig;
|
|
3265
|
+
this.t9z_1 = logger;
|
|
3266
|
+
this.u9z_1 = idsProvider;
|
|
3267
|
+
this.v9z_1 = atomic$ref$1(0);
|
|
3277
3268
|
var tmp = this;
|
|
3278
3269
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
3279
|
-
tmp.
|
|
3280
|
-
this.
|
|
3270
|
+
tmp.w9z_1 = get_atomicfu$reentrantLock();
|
|
3271
|
+
this.x9z_1 = MutableSharedFlow();
|
|
3281
3272
|
}
|
|
3282
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3273
|
+
protoOf(ToClientEventsObserverImpl).z9y = function (fromEvent, $completion) {
|
|
3283
3274
|
var tmp = new $sentEventCOROUTINE$3(this, fromEvent, $completion);
|
|
3284
3275
|
tmp.g9_1 = Unit_instance;
|
|
3285
3276
|
tmp.h9_1 = null;
|
|
3286
3277
|
return tmp.m9();
|
|
3287
3278
|
};
|
|
3288
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3279
|
+
protoOf(ToClientEventsObserverImpl).c9c = function ($completion) {
|
|
3289
3280
|
var tmp = new $waitForCOROUTINE$4(this, $completion);
|
|
3290
3281
|
tmp.g9_1 = Unit_instance;
|
|
3291
3282
|
tmp.h9_1 = null;
|
|
3292
3283
|
return tmp.m9();
|
|
3293
3284
|
};
|
|
3294
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3295
|
-
if (!this.
|
|
3296
|
-
return this.
|
|
3285
|
+
protoOf(ToClientEventsObserverImpl).f9m = function () {
|
|
3286
|
+
if (!this.s9z_1.enabledCombinedEvents) {
|
|
3287
|
+
return this.x9z_1;
|
|
3297
3288
|
}
|
|
3298
|
-
var tmp = windowedByInterval(this.
|
|
3289
|
+
var tmp = windowedByInterval(this.x9z_1, toLong(this.s9z_1.combinedEventsPeriod));
|
|
3299
3290
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
3300
3291
|
};
|
|
3301
3292
|
function UpdateServerConfigAction(serverConfig) {
|
|
3302
|
-
this.
|
|
3293
|
+
this.la1_1 = serverConfig;
|
|
3303
3294
|
}
|
|
3304
3295
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
3305
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
3296
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.la1_1.toString() + ')';
|
|
3306
3297
|
};
|
|
3307
3298
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
3308
|
-
return this.
|
|
3299
|
+
return this.la1_1.hashCode();
|
|
3309
3300
|
};
|
|
3310
3301
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
3311
3302
|
if (this === other)
|
|
@@ -3313,20 +3304,20 @@
|
|
|
3313
3304
|
if (!(other instanceof UpdateServerConfigAction))
|
|
3314
3305
|
return false;
|
|
3315
3306
|
var tmp0_other_with_cast = other instanceof UpdateServerConfigAction ? other : THROW_CCE();
|
|
3316
|
-
if (!this.
|
|
3307
|
+
if (!this.la1_1.equals(tmp0_other_with_cast.la1_1))
|
|
3317
3308
|
return false;
|
|
3318
3309
|
return true;
|
|
3319
3310
|
};
|
|
3320
3311
|
function SpectatorsAction() {
|
|
3321
3312
|
}
|
|
3322
3313
|
function AddSpectatorsAction(spectators) {
|
|
3323
|
-
this.
|
|
3314
|
+
this.ma1_1 = spectators;
|
|
3324
3315
|
}
|
|
3325
3316
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
3326
|
-
return 'AddSpectatorsAction(spectators=' +
|
|
3317
|
+
return 'AddSpectatorsAction(spectators=' + toString_0(this.ma1_1) + ')';
|
|
3327
3318
|
};
|
|
3328
3319
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
3329
|
-
return hashCode(this.
|
|
3320
|
+
return hashCode(this.ma1_1);
|
|
3330
3321
|
};
|
|
3331
3322
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
3332
3323
|
if (this === other)
|
|
@@ -3334,18 +3325,18 @@
|
|
|
3334
3325
|
if (!(other instanceof AddSpectatorsAction))
|
|
3335
3326
|
return false;
|
|
3336
3327
|
var tmp0_other_with_cast = other instanceof AddSpectatorsAction ? other : THROW_CCE();
|
|
3337
|
-
if (!equals(this.
|
|
3328
|
+
if (!equals(this.ma1_1, tmp0_other_with_cast.ma1_1))
|
|
3338
3329
|
return false;
|
|
3339
3330
|
return true;
|
|
3340
3331
|
};
|
|
3341
3332
|
function RemoveSpectatorsAction(spectators) {
|
|
3342
|
-
this.
|
|
3333
|
+
this.na1_1 = spectators;
|
|
3343
3334
|
}
|
|
3344
3335
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
3345
|
-
return 'RemoveSpectatorsAction(spectators=' +
|
|
3336
|
+
return 'RemoveSpectatorsAction(spectators=' + toString_0(this.na1_1) + ')';
|
|
3346
3337
|
};
|
|
3347
3338
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
3348
|
-
return hashCode(this.
|
|
3339
|
+
return hashCode(this.na1_1);
|
|
3349
3340
|
};
|
|
3350
3341
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
3351
3342
|
if (this === other)
|
|
@@ -3353,78 +3344,78 @@
|
|
|
3353
3344
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
3354
3345
|
return false;
|
|
3355
3346
|
var tmp0_other_with_cast = other instanceof RemoveSpectatorsAction ? other : THROW_CCE();
|
|
3356
|
-
if (!equals(this.
|
|
3347
|
+
if (!equals(this.na1_1, tmp0_other_with_cast.na1_1))
|
|
3357
3348
|
return false;
|
|
3358
3349
|
return true;
|
|
3359
3350
|
};
|
|
3360
3351
|
function _get_asyncProvider__jbpyhw($this) {
|
|
3361
3352
|
// Inline function 'kotlin.getValue' call
|
|
3362
|
-
var this_0 = $this.
|
|
3353
|
+
var this_0 = $this.ta1_1;
|
|
3363
3354
|
asyncProvider$factory_0();
|
|
3364
3355
|
return this_0.u();
|
|
3365
3356
|
}
|
|
3366
3357
|
function _get_logger__rkp4sl_0($this) {
|
|
3367
3358
|
// Inline function 'kotlin.getValue' call
|
|
3368
|
-
var this_0 = $this.
|
|
3359
|
+
var this_0 = $this.ua1_1;
|
|
3369
3360
|
logger$factory_2();
|
|
3370
3361
|
return this_0.u();
|
|
3371
3362
|
}
|
|
3372
3363
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
3373
3364
|
// Inline function 'kotlin.getValue' call
|
|
3374
|
-
var this_0 = $this.
|
|
3365
|
+
var this_0 = $this.va1_1;
|
|
3375
3366
|
playerConnectionInteractor$factory_2();
|
|
3376
3367
|
return this_0.u();
|
|
3377
3368
|
}
|
|
3378
3369
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
3379
3370
|
// Inline function 'kotlin.getValue' call
|
|
3380
|
-
var this_0 = $this.
|
|
3371
|
+
var this_0 = $this.wa1_1;
|
|
3381
3372
|
lastCardInteractor$factory_0();
|
|
3382
3373
|
return this_0.u();
|
|
3383
3374
|
}
|
|
3384
3375
|
function _get_serverConfig__rk2g06($this) {
|
|
3385
3376
|
// Inline function 'kotlin.getValue' call
|
|
3386
|
-
var this_0 = $this.
|
|
3377
|
+
var this_0 = $this.xa1_1;
|
|
3387
3378
|
serverConfig$factory_0();
|
|
3388
3379
|
return this_0.u();
|
|
3389
3380
|
}
|
|
3390
3381
|
function _get_logicConfig__52ww9d($this) {
|
|
3391
3382
|
// Inline function 'kotlin.getValue' call
|
|
3392
|
-
var this_0 = $this.
|
|
3383
|
+
var this_0 = $this.ya1_1;
|
|
3393
3384
|
logicConfig$factory_0();
|
|
3394
3385
|
return this_0.u();
|
|
3395
3386
|
}
|
|
3396
3387
|
function _get_idsProvider__fnfajc_0($this) {
|
|
3397
3388
|
// Inline function 'kotlin.getValue' call
|
|
3398
|
-
var this_0 = $this.
|
|
3389
|
+
var this_0 = $this.za1_1;
|
|
3399
3390
|
idsProvider$factory_2();
|
|
3400
3391
|
return this_0.u();
|
|
3401
3392
|
}
|
|
3402
3393
|
function _get_botConfig__cpaxzc($this) {
|
|
3403
3394
|
// Inline function 'kotlin.getValue' call
|
|
3404
|
-
var this_0 = $this.
|
|
3395
|
+
var this_0 = $this.aa2_1;
|
|
3405
3396
|
botConfig$factory_0();
|
|
3406
3397
|
return this_0.u();
|
|
3407
3398
|
}
|
|
3408
3399
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
3409
3400
|
// Inline function 'kotlin.getValue' call
|
|
3410
|
-
var this_0 = $this.
|
|
3401
|
+
var this_0 = $this.ba2_1;
|
|
3411
3402
|
scenePositionProvider$factory_0();
|
|
3412
3403
|
return this_0.u();
|
|
3413
3404
|
}
|
|
3414
3405
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
3415
3406
|
// Inline function 'kotlin.getValue' call
|
|
3416
|
-
var this_0 = $this.
|
|
3407
|
+
var this_0 = $this.ca2_1;
|
|
3417
3408
|
toClientEventsObserver$factory_2();
|
|
3418
3409
|
return this_0.u();
|
|
3419
3410
|
}
|
|
3420
3411
|
function _get_mechanicEventsObserver__ll1b9k_0($this) {
|
|
3421
3412
|
// Inline function 'kotlin.getValue' call
|
|
3422
|
-
var this_0 = $this.
|
|
3413
|
+
var this_0 = $this.da2_1;
|
|
3423
3414
|
mechanicEventsObserver$factory_2();
|
|
3424
3415
|
return this_0.u();
|
|
3425
3416
|
}
|
|
3426
3417
|
function ServerGameStoreContract$_get_middlewares_$lambda_qmuw9r(player) {
|
|
3427
|
-
return !player.
|
|
3418
|
+
return !player.p6c();
|
|
3428
3419
|
}
|
|
3429
3420
|
function ServerGameStoreContract(di, validationStoreContract, timersStoreContract, botGameStoreContract, gameMechanicStoreContract, fileLoggerStoreContract) {
|
|
3430
3421
|
validationStoreContract = validationStoreContract === VOID ? new ValidationStoreContract(di, true, true, null) : validationStoreContract;
|
|
@@ -3432,83 +3423,83 @@
|
|
|
3432
3423
|
botGameStoreContract = botGameStoreContract === VOID ? new BotGameStoreContract(di) : botGameStoreContract;
|
|
3433
3424
|
gameMechanicStoreContract = gameMechanicStoreContract === VOID ? new GameMechanicStoreContract(di, null, true) : gameMechanicStoreContract;
|
|
3434
3425
|
fileLoggerStoreContract = fileLoggerStoreContract === VOID ? new FileLoggerStoreContract(di) : fileLoggerStoreContract;
|
|
3435
|
-
this.
|
|
3436
|
-
this.
|
|
3437
|
-
this.
|
|
3438
|
-
this.
|
|
3439
|
-
this.
|
|
3426
|
+
this.oa1_1 = validationStoreContract;
|
|
3427
|
+
this.pa1_1 = timersStoreContract;
|
|
3428
|
+
this.qa1_1 = botGameStoreContract;
|
|
3429
|
+
this.ra1_1 = gameMechanicStoreContract;
|
|
3430
|
+
this.sa1_1 = fileLoggerStoreContract;
|
|
3440
3431
|
var tmp = this;
|
|
3441
3432
|
// Inline function 'org.kodein.di.instance' call
|
|
3442
3433
|
// Inline function 'org.kodein.type.generic' call
|
|
3443
3434
|
var tmp_0 = typeToken(createKType(getKClass(AsyncProvider), arrayOf([]), false));
|
|
3444
3435
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
3445
|
-
tmp.
|
|
3436
|
+
tmp.ta1_1 = Instance(di, tmp$ret$0, null).t63(this, asyncProvider$factory());
|
|
3446
3437
|
var tmp_1 = this;
|
|
3447
3438
|
// Inline function 'org.kodein.di.instance' call
|
|
3448
3439
|
// Inline function 'org.kodein.type.generic' call
|
|
3449
3440
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
3450
3441
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
3451
|
-
tmp_1.
|
|
3442
|
+
tmp_1.ua1_1 = Instance(di, tmp$ret$2, null).t63(this, logger$factory_1());
|
|
3452
3443
|
var tmp_3 = this;
|
|
3453
3444
|
// Inline function 'org.kodein.di.instance' call
|
|
3454
3445
|
// Inline function 'org.kodein.type.generic' call
|
|
3455
3446
|
var tmp_4 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
3456
3447
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
3457
|
-
tmp_3.
|
|
3448
|
+
tmp_3.va1_1 = Instance(di, tmp$ret$4, null).t63(this, playerConnectionInteractor$factory_1());
|
|
3458
3449
|
var tmp_5 = this;
|
|
3459
3450
|
// Inline function 'org.kodein.di.instance' call
|
|
3460
3451
|
// Inline function 'org.kodein.type.generic' call
|
|
3461
3452
|
var tmp_6 = typeToken(createKType(getKClass(LastCardInteractor), arrayOf([]), false));
|
|
3462
3453
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
3463
|
-
tmp_5.
|
|
3454
|
+
tmp_5.wa1_1 = Instance(di, tmp$ret$6, null).t63(this, lastCardInteractor$factory());
|
|
3464
3455
|
var tmp_7 = this;
|
|
3465
3456
|
// Inline function 'org.kodein.di.instance' call
|
|
3466
3457
|
// Inline function 'org.kodein.type.generic' call
|
|
3467
3458
|
var tmp_8 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
3468
3459
|
var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
3469
|
-
tmp_7.
|
|
3460
|
+
tmp_7.xa1_1 = Instance(di, tmp$ret$8, null).t63(this, serverConfig$factory());
|
|
3470
3461
|
var tmp_9 = this;
|
|
3471
3462
|
// Inline function 'org.kodein.di.instance' call
|
|
3472
3463
|
// Inline function 'org.kodein.type.generic' call
|
|
3473
3464
|
var tmp_10 = typeToken(createKType(getKClass(EngineLogicConfig), arrayOf([]), false));
|
|
3474
3465
|
var tmp$ret$10 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
3475
|
-
tmp_9.
|
|
3466
|
+
tmp_9.ya1_1 = Instance(di, tmp$ret$10, null).t63(this, logicConfig$factory());
|
|
3476
3467
|
var tmp_11 = this;
|
|
3477
3468
|
// Inline function 'org.kodein.di.instance' call
|
|
3478
3469
|
// Inline function 'org.kodein.type.generic' call
|
|
3479
3470
|
var tmp_12 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
3480
3471
|
var tmp$ret$12 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
3481
|
-
tmp_11.
|
|
3472
|
+
tmp_11.za1_1 = Instance(di, tmp$ret$12, null).t63(this, idsProvider$factory_1());
|
|
3482
3473
|
var tmp_13 = this;
|
|
3483
3474
|
// Inline function 'org.kodein.di.instance' call
|
|
3484
3475
|
// Inline function 'org.kodein.type.generic' call
|
|
3485
3476
|
var tmp_14 = typeToken(createKType(getKClass(EngineBotConfig), arrayOf([]), false));
|
|
3486
3477
|
var tmp$ret$14 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
3487
|
-
tmp_13.
|
|
3478
|
+
tmp_13.aa2_1 = Instance(di, tmp$ret$14, null).t63(this, botConfig$factory());
|
|
3488
3479
|
var tmp_15 = this;
|
|
3489
3480
|
// Inline function 'org.kodein.di.instance' call
|
|
3490
3481
|
// Inline function 'org.kodein.type.generic' call
|
|
3491
3482
|
var tmp_16 = typeToken(createKType(getKClass(ScenePositionProvider), arrayOf([]), false));
|
|
3492
3483
|
var tmp$ret$16 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
3493
|
-
tmp_15.
|
|
3484
|
+
tmp_15.ba2_1 = Instance(di, tmp$ret$16, null).t63(this, scenePositionProvider$factory());
|
|
3494
3485
|
var tmp_17 = this;
|
|
3495
3486
|
// Inline function 'org.kodein.di.instance' call
|
|
3496
3487
|
// Inline function 'org.kodein.type.generic' call
|
|
3497
3488
|
var tmp_18 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
|
|
3498
3489
|
var tmp$ret$18 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
3499
|
-
tmp_17.
|
|
3490
|
+
tmp_17.ca2_1 = Instance(di, tmp$ret$18, null).t63(this, toClientEventsObserver$factory_1());
|
|
3500
3491
|
var tmp_19 = this;
|
|
3501
3492
|
// Inline function 'org.kodein.di.instance' call
|
|
3502
3493
|
// Inline function 'org.kodein.type.generic' call
|
|
3503
3494
|
var tmp_20 = typeToken(createKType(getKClass(MechanicEventsObserver), arrayOf([]), false));
|
|
3504
3495
|
var tmp$ret$20 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
3505
|
-
tmp_19.
|
|
3496
|
+
tmp_19.da2_1 = Instance(di, tmp$ret$20, null).t63(this, mechanicEventsObserver$factory_1());
|
|
3506
3497
|
}
|
|
3507
|
-
protoOf(ServerGameStoreContract).
|
|
3508
|
-
return plus(plus(plus(plus(plus(this.
|
|
3498
|
+
protoOf(ServerGameStoreContract).g95 = function () {
|
|
3499
|
+
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
3500
|
};
|
|
3510
|
-
protoOf(ServerGameStoreContract).
|
|
3511
|
-
var tmp = plus(plus(plus(plus(plus(plus(plus(this.
|
|
3501
|
+
protoOf(ServerGameStoreContract).h95 = function () {
|
|
3502
|
+
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
3503
|
var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this));
|
|
3513
3504
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
3514
3505
|
var tmp1_logger = _get_logger__rkp4sl_0(this);
|
|
@@ -3640,28 +3631,28 @@
|
|
|
3640
3631
|
}
|
|
3641
3632
|
function _no_name_provided__qut3iv_2() {
|
|
3642
3633
|
}
|
|
3643
|
-
protoOf(_no_name_provided__qut3iv_2).
|
|
3634
|
+
protoOf(_no_name_provided__qut3iv_2).r6j = function (action) {
|
|
3644
3635
|
return action instanceof RoundEndedAction;
|
|
3645
3636
|
};
|
|
3646
|
-
protoOf(_no_name_provided__qut3iv_2).
|
|
3637
|
+
protoOf(_no_name_provided__qut3iv_2).i6l = function (store, next, action) {
|
|
3647
3638
|
// Inline function 'games.jass.logic.server.redux.middlewares.finishingGameWhenCantStartNewMiddleware.<anonymous>' call
|
|
3648
3639
|
var action_0 = action instanceof RoundEndedAction ? action : THROW_CCE();
|
|
3649
3640
|
next(action_0);
|
|
3650
3641
|
var state = store.state;
|
|
3651
|
-
if (!get_serverStatePayload_0(state).
|
|
3652
|
-
store.dispatch(Companion_instance_0.withAnalytics(new GameFinishedReason(Reason_DEPLOY_getInstance()), true, state.
|
|
3642
|
+
if (!get_serverStatePayload_0(state).m9t_1.o9t_1 && action_0.isGameFinished) {
|
|
3643
|
+
store.dispatch(Companion_instance_0.withAnalytics(new GameFinishedReason(Reason_DEPLOY_getInstance()), true, state.m6q_1));
|
|
3653
3644
|
}
|
|
3654
3645
|
};
|
|
3655
|
-
protoOf(_no_name_provided__qut3iv_2).
|
|
3656
|
-
return this.
|
|
3646
|
+
protoOf(_no_name_provided__qut3iv_2).q6j = function (store, next, action) {
|
|
3647
|
+
return this.i6l(store, next, action);
|
|
3657
3648
|
};
|
|
3658
3649
|
function _no_name_provided__qut3iv_3(this$0) {
|
|
3659
|
-
this.
|
|
3650
|
+
this.ga2_1 = this$0;
|
|
3660
3651
|
}
|
|
3661
|
-
protoOf(_no_name_provided__qut3iv_3).
|
|
3652
|
+
protoOf(_no_name_provided__qut3iv_3).r6j = function (action) {
|
|
3662
3653
|
return action instanceof MechanicAction;
|
|
3663
3654
|
};
|
|
3664
|
-
protoOf(_no_name_provided__qut3iv_3).
|
|
3655
|
+
protoOf(_no_name_provided__qut3iv_3).i6l = function (store, next, action) {
|
|
3665
3656
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>' call
|
|
3666
3657
|
var action_0 = action instanceof MechanicAction ? action : THROW_CCE();
|
|
3667
3658
|
var state = store.state;
|
|
@@ -3670,18 +3661,18 @@
|
|
|
3670
3661
|
var tmp;
|
|
3671
3662
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
3672
3663
|
// 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.
|
|
3664
|
+
var this_0 = this.ga2_1;
|
|
3665
|
+
var tableId = action_0.v7z_1;
|
|
3666
|
+
var gameCreatorPlayerId = action_0.x7z_1;
|
|
3676
3667
|
// Inline function 'kotlin.collections.map' call
|
|
3677
|
-
var this_1 = action_0.
|
|
3668
|
+
var this_1 = action_0.y7z_1;
|
|
3678
3669
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3679
3670
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
3680
3671
|
var tmp0_iterator = this_1.j();
|
|
3681
3672
|
while (tmp0_iterator.k()) {
|
|
3682
3673
|
var item = tmp0_iterator.l();
|
|
3683
3674
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3684
|
-
var tmp$ret$0 = to(item.
|
|
3675
|
+
var tmp$ret$0 = to(item.w6a_1, PlayerConnectionState_LIVE_getInstance());
|
|
3685
3676
|
destination.e(tmp$ret$0);
|
|
3686
3677
|
}
|
|
3687
3678
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
@@ -3715,7 +3706,7 @@
|
|
|
3715
3706
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3716
3707
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3717
3708
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3718
|
-
var tmp0_aid = this_0.
|
|
3709
|
+
var tmp0_aid = this_0.fa2_1.u6h();
|
|
3719
3710
|
// Inline function 'kotlin.collections.map' call
|
|
3720
3711
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3721
3712
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -3740,17 +3731,17 @@
|
|
|
3740
3731
|
} else {
|
|
3741
3732
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
3742
3733
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3743
|
-
var this_2 = this.
|
|
3744
|
-
var table = state.
|
|
3734
|
+
var this_2 = this.ga2_1;
|
|
3735
|
+
var table = state.o6r();
|
|
3745
3736
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3746
|
-
var sendToPlayer_0 = new RoomActionPayload(this_2.
|
|
3737
|
+
var sendToPlayer_0 = new RoomActionPayload(this_2.fa2_1.u6h(), table.id, null);
|
|
3747
3738
|
var tmp$ret$18 = mapToClient_16(action_0, sendToPlayer_0);
|
|
3748
3739
|
tmp = listOfNotNull(tmp$ret$18);
|
|
3749
3740
|
} else {
|
|
3750
3741
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
3751
3742
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3752
|
-
var this_3 = this.
|
|
3753
|
-
var tableId_0 = action_0.
|
|
3743
|
+
var this_3 = this.ga2_1;
|
|
3744
|
+
var tableId_0 = action_0.b80_1.id;
|
|
3754
3745
|
var gameCreatorPlayerId_0 = action_0.gameCreatorPlayerId;
|
|
3755
3746
|
// Inline function 'kotlin.collections.map' call
|
|
3756
3747
|
var this_4 = action_0.users;
|
|
@@ -3760,7 +3751,7 @@
|
|
|
3760
3751
|
while (tmp0_iterator_4.k()) {
|
|
3761
3752
|
var item_2 = tmp0_iterator_4.l();
|
|
3762
3753
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3763
|
-
var tmp$ret$20 = to(item_2.
|
|
3754
|
+
var tmp$ret$20 = to(item_2.w6a_1, PlayerConnectionState_LIVE_getInstance());
|
|
3764
3755
|
destination_4.e(tmp$ret$20);
|
|
3765
3756
|
}
|
|
3766
3757
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
@@ -3794,7 +3785,7 @@
|
|
|
3794
3785
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3795
3786
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3796
3787
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3797
|
-
var tmp0_aid_0 = this_3.
|
|
3788
|
+
var tmp0_aid_0 = this_3.fa2_1.u6h();
|
|
3798
3789
|
// Inline function 'kotlin.collections.map' call
|
|
3799
3790
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3800
3791
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -3819,44 +3810,44 @@
|
|
|
3819
3810
|
} else {
|
|
3820
3811
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
3821
3812
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3822
|
-
var this_5 = this.
|
|
3823
|
-
var table_0 = state.
|
|
3813
|
+
var this_5 = this.ga2_1;
|
|
3814
|
+
var table_0 = state.o6r();
|
|
3824
3815
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3825
|
-
var sendToPlayer_2 = new RoomActionPayload(this_5.
|
|
3816
|
+
var sendToPlayer_2 = new RoomActionPayload(this_5.fa2_1.u6h(), table_0.id, null);
|
|
3826
3817
|
var tmp$ret$38 = mapToClient_14(action_0, sendToPlayer_2);
|
|
3827
3818
|
tmp = listOfNotNull(tmp$ret$38);
|
|
3828
3819
|
} else {
|
|
3829
3820
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
3830
3821
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3831
|
-
var this_6 = this.
|
|
3832
|
-
var table_1 = state.
|
|
3822
|
+
var this_6 = this.ga2_1;
|
|
3823
|
+
var table_1 = state.o6r();
|
|
3833
3824
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3834
|
-
var sendToPlayer_3 = new RoomActionPayload(this_6.
|
|
3825
|
+
var sendToPlayer_3 = new RoomActionPayload(this_6.fa2_1.u6h(), table_1.id, null);
|
|
3835
3826
|
var tmp$ret$40 = mapToClient_13(action_0, sendToPlayer_3);
|
|
3836
3827
|
tmp = listOfNotNull(tmp$ret$40);
|
|
3837
3828
|
} else {
|
|
3838
3829
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
3839
3830
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3840
|
-
var this_7 = this.
|
|
3841
|
-
var table_2 = state.
|
|
3831
|
+
var this_7 = this.ga2_1;
|
|
3832
|
+
var table_2 = state.o6r();
|
|
3842
3833
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3843
|
-
var sendToPlayer_4 = new RoomActionPayload(this_7.
|
|
3834
|
+
var sendToPlayer_4 = new RoomActionPayload(this_7.fa2_1.u6h(), table_2.id, null);
|
|
3844
3835
|
var tmp$ret$42 = mapToClient_12(action_0, sendToPlayer_4);
|
|
3845
3836
|
tmp = listOfNotNull(tmp$ret$42);
|
|
3846
3837
|
} else {
|
|
3847
3838
|
if (action_0 instanceof ErrorAction) {
|
|
3848
3839
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3849
|
-
var this_8 = this.
|
|
3850
|
-
var table_3 = state.
|
|
3840
|
+
var this_8 = this.ga2_1;
|
|
3841
|
+
var table_3 = state.o6r();
|
|
3851
3842
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3852
|
-
var sendToPlayer_5 = new RoomActionPayload(this_8.
|
|
3843
|
+
var sendToPlayer_5 = new RoomActionPayload(this_8.fa2_1.u6h(), table_3.id, null);
|
|
3853
3844
|
var tmp$ret$44 = mapToClient_11(action_0, sendToPlayer_5);
|
|
3854
3845
|
tmp = listOfNotNull(tmp$ret$44);
|
|
3855
3846
|
} else {
|
|
3856
3847
|
if (action_0 instanceof SceneMechanicAction) {
|
|
3857
3848
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
3858
|
-
var this_9 = this.
|
|
3859
|
-
var table_4 = state.
|
|
3849
|
+
var this_9 = this.ga2_1;
|
|
3850
|
+
var table_4 = state.o6r();
|
|
3860
3851
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3861
3852
|
var tableId_1 = table_4.id;
|
|
3862
3853
|
var gameCreatorPlayerId_1 = getGameCreator(table_4.players).playerId;
|
|
@@ -3892,7 +3883,7 @@
|
|
|
3892
3883
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3893
3884
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3894
3885
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3895
|
-
var tmp0_aid_1 = this_9.
|
|
3886
|
+
var tmp0_aid_1 = this_9.fa2_1.u6h();
|
|
3896
3887
|
// Inline function 'kotlin.collections.map' call
|
|
3897
3888
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3898
3889
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -3917,8 +3908,8 @@
|
|
|
3917
3908
|
} else {
|
|
3918
3909
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
3919
3910
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
3920
|
-
var this_10 = this.
|
|
3921
|
-
var table_5 = state.
|
|
3911
|
+
var this_10 = this.ga2_1;
|
|
3912
|
+
var table_5 = state.o6r();
|
|
3922
3913
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3923
3914
|
var tableId_2 = table_5.id;
|
|
3924
3915
|
var gameCreatorPlayerId_2 = getGameCreator(table_5.players).playerId;
|
|
@@ -3954,7 +3945,7 @@
|
|
|
3954
3945
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3955
3946
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3956
3947
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3957
|
-
var tmp0_aid_2 = this_10.
|
|
3948
|
+
var tmp0_aid_2 = this_10.fa2_1.u6h();
|
|
3958
3949
|
// Inline function 'kotlin.collections.map' call
|
|
3959
3950
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3960
3951
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -3979,8 +3970,8 @@
|
|
|
3979
3970
|
} else {
|
|
3980
3971
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
3981
3972
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
3982
|
-
var this_11 = this.
|
|
3983
|
-
var table_6 = state.
|
|
3973
|
+
var this_11 = this.ga2_1;
|
|
3974
|
+
var table_6 = state.o6r();
|
|
3984
3975
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3985
3976
|
var tableId_3 = table_6.id;
|
|
3986
3977
|
var gameCreatorPlayerId_3 = getGameCreator(table_6.players).playerId;
|
|
@@ -4016,7 +4007,7 @@
|
|
|
4016
4007
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
4017
4008
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
4018
4009
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4019
|
-
var tmp0_aid_3 = this_11.
|
|
4010
|
+
var tmp0_aid_3 = this_11.fa2_1.u6h();
|
|
4020
4011
|
// Inline function 'kotlin.collections.map' call
|
|
4021
4012
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4022
4013
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -4029,7 +4020,7 @@
|
|
|
4029
4020
|
}
|
|
4030
4021
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tableId_3, gameCreatorPlayerId_3, element_8, destination_20);
|
|
4031
4022
|
var tmp_0;
|
|
4032
|
-
if (this.ea2_1.
|
|
4023
|
+
if (this.ga2_1.ea2_1.supportBackwardActions && getPlayer(state.o6r().players, sendToPlayer_8.d7e_1).j6x_1.n6x_1) {
|
|
4033
4024
|
tmp_0 = null;
|
|
4034
4025
|
} else {
|
|
4035
4026
|
tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
|
|
@@ -4047,79 +4038,79 @@
|
|
|
4047
4038
|
} else {
|
|
4048
4039
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
4049
4040
|
// 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.
|
|
4041
|
+
var this_12 = this.ga2_1;
|
|
4042
|
+
var table_7 = state.o6r();
|
|
4043
|
+
var exceptPlayerId = this.ga2_1.ea2_1.supportBackwardActions ? action_0.b81_1 : null;
|
|
4053
4044
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4054
|
-
var sendToPlayer_9 = new RoomActionPayload(this_12.
|
|
4045
|
+
var sendToPlayer_9 = new RoomActionPayload(this_12.fa2_1.u6h(), table_7.id, exceptPlayerId);
|
|
4055
4046
|
var tmp$ret$94 = mapToClient_7(action_0, sendToPlayer_9);
|
|
4056
4047
|
tmp = listOfNotNull(tmp$ret$94);
|
|
4057
4048
|
} else {
|
|
4058
4049
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
4059
4050
|
// 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.
|
|
4051
|
+
var this_13 = this.ga2_1;
|
|
4052
|
+
var table_8 = state.o6r();
|
|
4053
|
+
var exceptPlayerId_0 = this.ga2_1.ea2_1.supportBackwardActions ? action_0.f81_1 : null;
|
|
4063
4054
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4064
|
-
var sendToPlayer_10 = new RoomActionPayload(this_13.
|
|
4055
|
+
var sendToPlayer_10 = new RoomActionPayload(this_13.fa2_1.u6h(), table_8.id, exceptPlayerId_0);
|
|
4065
4056
|
var tmp$ret$96 = mapToClient_6(action_0, sendToPlayer_10);
|
|
4066
4057
|
tmp = listOfNotNull(tmp$ret$96);
|
|
4067
4058
|
} else {
|
|
4068
4059
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
4069
4060
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4070
|
-
var this_14 = this.
|
|
4071
|
-
var table_9 = state.
|
|
4061
|
+
var this_14 = this.ga2_1;
|
|
4062
|
+
var table_9 = state.o6r();
|
|
4072
4063
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4073
|
-
var sendToPlayer_11 = new RoomActionPayload(this_14.
|
|
4064
|
+
var sendToPlayer_11 = new RoomActionPayload(this_14.fa2_1.u6h(), table_9.id, null);
|
|
4074
4065
|
var tmp$ret$98 = mapToClient_5(action_0, sendToPlayer_11);
|
|
4075
4066
|
tmp = listOfNotNull(tmp$ret$98);
|
|
4076
4067
|
} else {
|
|
4077
4068
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
4078
4069
|
// 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.
|
|
4070
|
+
var this_15 = this.ga2_1;
|
|
4071
|
+
var table_10 = state.o6r();
|
|
4072
|
+
var exceptPlayerId_1 = this.ga2_1.ea2_1.supportBackwardActions ? action_0.m81_1 : null;
|
|
4082
4073
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4083
|
-
var sendToPlayer_12 = new RoomActionPayload(this_15.
|
|
4074
|
+
var sendToPlayer_12 = new RoomActionPayload(this_15.fa2_1.u6h(), table_10.id, exceptPlayerId_1);
|
|
4084
4075
|
var tmp$ret$100 = mapToClient_4(action_0, sendToPlayer_12);
|
|
4085
4076
|
tmp = listOfNotNull(tmp$ret$100);
|
|
4086
4077
|
} else {
|
|
4087
4078
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
4088
4079
|
// 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.
|
|
4080
|
+
var this_16 = this.ga2_1;
|
|
4081
|
+
var table_11 = state.o6r();
|
|
4082
|
+
var exceptPlayerId_2 = this.ga2_1.ea2_1.supportBackwardActions ? action_0.q81_1 : null;
|
|
4092
4083
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4093
|
-
var sendToPlayer_13 = new RoomActionPayload(this_16.
|
|
4084
|
+
var sendToPlayer_13 = new RoomActionPayload(this_16.fa2_1.u6h(), table_11.id, exceptPlayerId_2);
|
|
4094
4085
|
var tmp$ret$102 = mapToClient_3(action_0, sendToPlayer_13);
|
|
4095
4086
|
tmp = listOfNotNull(tmp$ret$102);
|
|
4096
4087
|
} else {
|
|
4097
4088
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
4098
4089
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4099
|
-
var this_17 = this.
|
|
4100
|
-
var table_12 = state.
|
|
4090
|
+
var this_17 = this.ga2_1;
|
|
4091
|
+
var table_12 = state.o6r();
|
|
4101
4092
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4102
|
-
var sendToPlayer_14 = new RoomActionPayload(this_17.
|
|
4093
|
+
var sendToPlayer_14 = new RoomActionPayload(this_17.fa2_1.u6h(), table_12.id, null);
|
|
4103
4094
|
var tmp$ret$104 = mapToClient_2(action_0, sendToPlayer_14);
|
|
4104
4095
|
tmp = listOfNotNull(tmp$ret$104);
|
|
4105
4096
|
} else {
|
|
4106
4097
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
4107
4098
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4108
|
-
var this_18 = this.
|
|
4109
|
-
var table_13 = state.
|
|
4099
|
+
var this_18 = this.ga2_1;
|
|
4100
|
+
var table_13 = state.o6r();
|
|
4110
4101
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4111
|
-
var sendToPlayer_15 = new RoomActionPayload(this_18.
|
|
4102
|
+
var sendToPlayer_15 = new RoomActionPayload(this_18.fa2_1.u6h(), table_13.id, null);
|
|
4112
4103
|
var tmp$ret$106 = mapToClient_1(action_0, sendToPlayer_15);
|
|
4113
4104
|
tmp = listOfNotNull(tmp$ret$106);
|
|
4114
4105
|
} else {
|
|
4115
4106
|
if (action_0 instanceof MessageMechanicAction) {
|
|
4116
|
-
var message = action_0.
|
|
4107
|
+
var message = action_0.y81_1;
|
|
4117
4108
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4118
|
-
var this_19 = this.
|
|
4119
|
-
var table_14 = state.
|
|
4109
|
+
var this_19 = this.ga2_1;
|
|
4110
|
+
var table_14 = state.o6r();
|
|
4120
4111
|
var tmp_1;
|
|
4121
4112
|
var tmp_2;
|
|
4122
|
-
if (this.ea2_1.
|
|
4113
|
+
if (this.ga2_1.ea2_1.supportBackwardActions) {
|
|
4123
4114
|
tmp_2 = isInterface(message, UserMessage);
|
|
4124
4115
|
} else {
|
|
4125
4116
|
tmp_2 = false;
|
|
@@ -4131,17 +4122,17 @@
|
|
|
4131
4122
|
}
|
|
4132
4123
|
var exceptPlayerId_3 = tmp_1;
|
|
4133
4124
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4134
|
-
var sendToPlayer_16 = new RoomActionPayload(this_19.
|
|
4125
|
+
var sendToPlayer_16 = new RoomActionPayload(this_19.fa2_1.u6h(), table_14.id, exceptPlayerId_3);
|
|
4135
4126
|
var tmp$ret$108 = mapToClient_0(action_0, sendToPlayer_16);
|
|
4136
4127
|
tmp = listOfNotNull(tmp$ret$108);
|
|
4137
4128
|
} else {
|
|
4138
4129
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
4139
4130
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4140
|
-
var this_20 = this.
|
|
4141
|
-
var table_15 = state.
|
|
4131
|
+
var this_20 = this.ga2_1;
|
|
4132
|
+
var table_15 = state.o6r();
|
|
4142
4133
|
var exceptPlayerId_4 = action_0.playerId;
|
|
4143
4134
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4144
|
-
var sendToPlayer_17 = new RoomActionPayload(this_20.
|
|
4135
|
+
var sendToPlayer_17 = new RoomActionPayload(this_20.fa2_1.u6h(), table_15.id, exceptPlayerId_4);
|
|
4145
4136
|
var tmp$ret$110 = mapToClient(action_0, sendToPlayer_17);
|
|
4146
4137
|
tmp = listOfNotNull(tmp$ret$110);
|
|
4147
4138
|
} else {
|
|
@@ -4175,14 +4166,14 @@
|
|
|
4175
4166
|
}
|
|
4176
4167
|
next(action_0);
|
|
4177
4168
|
};
|
|
4178
|
-
protoOf(_no_name_provided__qut3iv_3).
|
|
4179
|
-
return this.
|
|
4169
|
+
protoOf(_no_name_provided__qut3iv_3).q6j = function (store, next, action) {
|
|
4170
|
+
return this.i6l(store, next, action);
|
|
4180
4171
|
};
|
|
4181
4172
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
4182
|
-
this.
|
|
4183
|
-
this.
|
|
4173
|
+
this.ea2_1 = logicConfig;
|
|
4174
|
+
this.fa2_1 = idsProvider;
|
|
4184
4175
|
}
|
|
4185
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
4176
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).z96 = function () {
|
|
4186
4177
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
4187
4178
|
return new _no_name_provided__qut3iv_3(this);
|
|
4188
4179
|
};
|
|
@@ -4191,18 +4182,18 @@
|
|
|
4191
4182
|
return new _no_name_provided__qut3iv_4(asyncProvider, provider);
|
|
4192
4183
|
}
|
|
4193
4184
|
function sendMechanicEventsMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
4194
|
-
this.
|
|
4195
|
-
this.
|
|
4185
|
+
this.pa2_1 = $provider;
|
|
4186
|
+
this.qa2_1 = $action;
|
|
4196
4187
|
CoroutineImpl.call(this, resultContinuation);
|
|
4197
4188
|
}
|
|
4198
|
-
protoOf(sendMechanicEventsMiddleware$o$handle$slambda).
|
|
4199
|
-
var tmp = this.
|
|
4189
|
+
protoOf(sendMechanicEventsMiddleware$o$handle$slambda).k1e = function ($this$launchDefault, $completion) {
|
|
4190
|
+
var tmp = this.l1e($this$launchDefault, $completion);
|
|
4200
4191
|
tmp.g9_1 = Unit_instance;
|
|
4201
4192
|
tmp.h9_1 = null;
|
|
4202
4193
|
return tmp.m9();
|
|
4203
4194
|
};
|
|
4204
4195
|
protoOf(sendMechanicEventsMiddleware$o$handle$slambda).w9 = function (p1, $completion) {
|
|
4205
|
-
return this.
|
|
4196
|
+
return this.k1e((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
4206
4197
|
};
|
|
4207
4198
|
protoOf(sendMechanicEventsMiddleware$o$handle$slambda).m9 = function () {
|
|
4208
4199
|
var suspendResult = this.g9_1;
|
|
@@ -4213,7 +4204,7 @@
|
|
|
4213
4204
|
case 0:
|
|
4214
4205
|
this.f9_1 = 2;
|
|
4215
4206
|
this.e9_1 = 1;
|
|
4216
|
-
suspendResult = this.
|
|
4207
|
+
suspendResult = this.pa2_1.l9u(this.qa2_1, this);
|
|
4217
4208
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4218
4209
|
return suspendResult;
|
|
4219
4210
|
}
|
|
@@ -4235,52 +4226,52 @@
|
|
|
4235
4226
|
}
|
|
4236
4227
|
while (true);
|
|
4237
4228
|
};
|
|
4238
|
-
protoOf(sendMechanicEventsMiddleware$o$handle$slambda).
|
|
4239
|
-
var i = new sendMechanicEventsMiddleware$o$handle$slambda(this.
|
|
4240
|
-
i.
|
|
4229
|
+
protoOf(sendMechanicEventsMiddleware$o$handle$slambda).l1e = function ($this$launchDefault, completion) {
|
|
4230
|
+
var i = new sendMechanicEventsMiddleware$o$handle$slambda(this.pa2_1, this.qa2_1, completion);
|
|
4231
|
+
i.ra2_1 = $this$launchDefault;
|
|
4241
4232
|
return i;
|
|
4242
4233
|
};
|
|
4243
4234
|
function sendMechanicEventsMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
4244
4235
|
var i = new sendMechanicEventsMiddleware$o$handle$slambda($provider, $action, resultContinuation);
|
|
4245
4236
|
var l = function ($this$launchDefault, $completion) {
|
|
4246
|
-
return i.
|
|
4237
|
+
return i.k1e($this$launchDefault, $completion);
|
|
4247
4238
|
};
|
|
4248
4239
|
l.$arity = 1;
|
|
4249
4240
|
return l;
|
|
4250
4241
|
}
|
|
4251
4242
|
function _no_name_provided__qut3iv_4($asyncProvider, $provider) {
|
|
4252
|
-
this.
|
|
4253
|
-
this.
|
|
4243
|
+
this.sa2_1 = $asyncProvider;
|
|
4244
|
+
this.ta2_1 = $provider;
|
|
4254
4245
|
}
|
|
4255
|
-
protoOf(_no_name_provided__qut3iv_4).
|
|
4246
|
+
protoOf(_no_name_provided__qut3iv_4).r6j = function (action) {
|
|
4256
4247
|
return action instanceof MechanicAction;
|
|
4257
4248
|
};
|
|
4258
|
-
protoOf(_no_name_provided__qut3iv_4).
|
|
4249
|
+
protoOf(_no_name_provided__qut3iv_4).i6l = function (store, next, action) {
|
|
4259
4250
|
// Inline function 'games.jass.logic.server.redux.middlewares.events.sendMechanicEventsMiddleware.<anonymous>' call
|
|
4260
4251
|
var action_0 = action instanceof MechanicAction ? action : THROW_CCE();
|
|
4261
|
-
this.
|
|
4252
|
+
this.sa2_1.r6g(VOID, sendMechanicEventsMiddleware$o$handle$slambda_0(this.ta2_1, action_0, null));
|
|
4262
4253
|
next(action_0);
|
|
4263
4254
|
};
|
|
4264
|
-
protoOf(_no_name_provided__qut3iv_4).
|
|
4265
|
-
return this.
|
|
4255
|
+
protoOf(_no_name_provided__qut3iv_4).q6j = function (store, next, action) {
|
|
4256
|
+
return this.i6l(store, next, action);
|
|
4266
4257
|
};
|
|
4267
4258
|
function sendToClientActionMiddleware(asyncProvider, provider) {
|
|
4268
4259
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
4269
4260
|
return new _no_name_provided__qut3iv_5(asyncProvider, provider);
|
|
4270
4261
|
}
|
|
4271
4262
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
4272
|
-
this.
|
|
4273
|
-
this.
|
|
4263
|
+
this.ca3_1 = $provider;
|
|
4264
|
+
this.da3_1 = $action;
|
|
4274
4265
|
CoroutineImpl.call(this, resultContinuation);
|
|
4275
4266
|
}
|
|
4276
|
-
protoOf(sendToClientActionMiddleware$o$handle$slambda).
|
|
4277
|
-
var tmp = this.
|
|
4267
|
+
protoOf(sendToClientActionMiddleware$o$handle$slambda).k1e = function ($this$launchDefault, $completion) {
|
|
4268
|
+
var tmp = this.l1e($this$launchDefault, $completion);
|
|
4278
4269
|
tmp.g9_1 = Unit_instance;
|
|
4279
4270
|
tmp.h9_1 = null;
|
|
4280
4271
|
return tmp.m9();
|
|
4281
4272
|
};
|
|
4282
4273
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).w9 = function (p1, $completion) {
|
|
4283
|
-
return this.
|
|
4274
|
+
return this.k1e((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
4284
4275
|
};
|
|
4285
4276
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).m9 = function () {
|
|
4286
4277
|
var suspendResult = this.g9_1;
|
|
@@ -4291,7 +4282,7 @@
|
|
|
4291
4282
|
case 0:
|
|
4292
4283
|
this.f9_1 = 2;
|
|
4293
4284
|
this.e9_1 = 1;
|
|
4294
|
-
suspendResult = this.
|
|
4285
|
+
suspendResult = this.ca3_1.z9y(this.da3_1, this);
|
|
4295
4286
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4296
4287
|
return suspendResult;
|
|
4297
4288
|
}
|
|
@@ -4313,34 +4304,34 @@
|
|
|
4313
4304
|
}
|
|
4314
4305
|
while (true);
|
|
4315
4306
|
};
|
|
4316
|
-
protoOf(sendToClientActionMiddleware$o$handle$slambda).
|
|
4317
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
4318
|
-
i.
|
|
4307
|
+
protoOf(sendToClientActionMiddleware$o$handle$slambda).l1e = function ($this$launchDefault, completion) {
|
|
4308
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.ca3_1, this.da3_1, completion);
|
|
4309
|
+
i.ea3_1 = $this$launchDefault;
|
|
4319
4310
|
return i;
|
|
4320
4311
|
};
|
|
4321
4312
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
4322
4313
|
var i = new sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation);
|
|
4323
4314
|
var l = function ($this$launchDefault, $completion) {
|
|
4324
|
-
return i.
|
|
4315
|
+
return i.k1e($this$launchDefault, $completion);
|
|
4325
4316
|
};
|
|
4326
4317
|
l.$arity = 1;
|
|
4327
4318
|
return l;
|
|
4328
4319
|
}
|
|
4329
4320
|
function _no_name_provided__qut3iv_5($asyncProvider, $provider) {
|
|
4330
|
-
this.
|
|
4331
|
-
this.
|
|
4321
|
+
this.fa3_1 = $asyncProvider;
|
|
4322
|
+
this.ga3_1 = $provider;
|
|
4332
4323
|
}
|
|
4333
|
-
protoOf(_no_name_provided__qut3iv_5).
|
|
4324
|
+
protoOf(_no_name_provided__qut3iv_5).r6j = function (action) {
|
|
4334
4325
|
return action instanceof ToClientAction;
|
|
4335
4326
|
};
|
|
4336
|
-
protoOf(_no_name_provided__qut3iv_5).
|
|
4327
|
+
protoOf(_no_name_provided__qut3iv_5).i6l = function (store, next, action) {
|
|
4337
4328
|
// Inline function 'games.jass.logic.server.redux.middlewares.events.sendToClientActionMiddleware.<anonymous>' call
|
|
4338
4329
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
4339
|
-
this.
|
|
4330
|
+
this.fa3_1.r6g(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.ga3_1, action_0, null));
|
|
4340
4331
|
next(action_0);
|
|
4341
4332
|
};
|
|
4342
|
-
protoOf(_no_name_provided__qut3iv_5).
|
|
4343
|
-
return this.
|
|
4333
|
+
protoOf(_no_name_provided__qut3iv_5).q6j = function (store, next, action) {
|
|
4334
|
+
return this.i6l(store, next, action);
|
|
4344
4335
|
};
|
|
4345
4336
|
function serverConfigReducer() {
|
|
4346
4337
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
@@ -4348,96 +4339,96 @@
|
|
|
4348
4339
|
}
|
|
4349
4340
|
function _no_name_provided__qut3iv_6() {
|
|
4350
4341
|
}
|
|
4351
|
-
protoOf(_no_name_provided__qut3iv_6).
|
|
4342
|
+
protoOf(_no_name_provided__qut3iv_6).r6j = function (action) {
|
|
4352
4343
|
return action instanceof UpdateServerConfigAction;
|
|
4353
4344
|
};
|
|
4354
|
-
protoOf(_no_name_provided__qut3iv_6).
|
|
4345
|
+
protoOf(_no_name_provided__qut3iv_6).u9d = function (state, action) {
|
|
4355
4346
|
// Inline function 'games.jass.logic.server.redux.reducers.serverConfigReducer.<anonymous>' call
|
|
4356
4347
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
4357
|
-
return state.
|
|
4348
|
+
return state.j92(VOID, get_serverStatePayload_0(state).ha3(action_0.la1_1));
|
|
4358
4349
|
};
|
|
4359
|
-
protoOf(_no_name_provided__qut3iv_6).
|
|
4360
|
-
return this.
|
|
4350
|
+
protoOf(_no_name_provided__qut3iv_6).j6l = function (state, action) {
|
|
4351
|
+
return this.u9d((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
4361
4352
|
};
|
|
4362
4353
|
function ServerMechanicLifecycleReducer$onStart$lambda($action) {
|
|
4363
4354
|
return function (it) {
|
|
4364
4355
|
var tmp = Companion_instance_1;
|
|
4365
4356
|
var tmp_0;
|
|
4366
4357
|
if (it.isBot) {
|
|
4367
|
-
tmp_0 = Companion_instance_2.
|
|
4358
|
+
tmp_0 = Companion_instance_2.y6b(PlayerConnectionState_LEFT_getInstance());
|
|
4368
4359
|
} else {
|
|
4369
4360
|
var tmp_1 = Companion_instance_2;
|
|
4370
4361
|
var tmp_2 = PlayerConnectionState_LIVE_getInstance();
|
|
4371
4362
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
4372
4363
|
Companion_getInstance();
|
|
4373
|
-
var this_0 = $action.
|
|
4364
|
+
var this_0 = $action.u7z_1.timeoutTimeMillis;
|
|
4374
4365
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
4375
|
-
tmp_0 = tmp_1.
|
|
4366
|
+
tmp_0 = tmp_1.x6b(tmp_2, tmp$ret$0);
|
|
4376
4367
|
}
|
|
4377
|
-
return tmp.
|
|
4368
|
+
return tmp.f6d(tmp_0);
|
|
4378
4369
|
};
|
|
4379
4370
|
}
|
|
4380
4371
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
4381
4372
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
4382
|
-
this.
|
|
4373
|
+
this.ka3_1 = logger;
|
|
4383
4374
|
}
|
|
4384
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
4385
|
-
var serverState = get_serverStatePayloadOrNull(state.
|
|
4375
|
+
protoOf(ServerMechanicLifecycleReducer).g9f = function (state, action) {
|
|
4376
|
+
var serverState = get_serverStatePayloadOrNull(state.n6q_1);
|
|
4386
4377
|
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.
|
|
4378
|
+
var tmp0_$this = this.h9f_1;
|
|
4379
|
+
var tmp1_tableId = action.v7z_1;
|
|
4380
|
+
var tmp2_gameId = action.v7z_1;
|
|
4381
|
+
var tmp3_version = action.w7z_1;
|
|
4382
|
+
var tmp4_config = action.u7z_1;
|
|
4383
|
+
var tmp5_users = action.y7z_1;
|
|
4393
4384
|
var tmp6_spectators = action.spectators;
|
|
4394
|
-
var tmp7_gameCreatorPlayerId = action.
|
|
4395
|
-
var tmp9_tableOrNull = tmp0_$this.
|
|
4385
|
+
var tmp7_gameCreatorPlayerId = action.x7z_1;
|
|
4386
|
+
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
4387
|
var tmp;
|
|
4397
4388
|
if (serverState == null) {
|
|
4398
|
-
this.
|
|
4399
|
-
tmp = Companion_instance_11.
|
|
4389
|
+
this.ka3_1.w(VOID, 'ServerPayload is not onStart');
|
|
4390
|
+
tmp = Companion_instance_11.d9u();
|
|
4400
4391
|
} else {
|
|
4401
4392
|
tmp = serverState;
|
|
4402
4393
|
}
|
|
4403
4394
|
var tmp10_payload = tmp;
|
|
4404
|
-
return state.
|
|
4395
|
+
return state.j92(tmp9_tableOrNull, tmp10_payload, tmp8_gameLifecycleState);
|
|
4405
4396
|
};
|
|
4406
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
4397
|
+
protoOf(ServerMechanicLifecycleReducer).e9f = function (state, action) {
|
|
4407
4398
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
4408
|
-
var tmp2_tableOrNull = action.
|
|
4399
|
+
var tmp2_tableOrNull = action.b80_1;
|
|
4409
4400
|
var tmp = Companion_instance_11;
|
|
4410
|
-
var tmp_0 = get_serverStatePayload_0(state).
|
|
4411
|
-
var tmp_1 = action.
|
|
4401
|
+
var tmp_0 = get_serverStatePayload_0(state).m9t_1;
|
|
4402
|
+
var tmp_1 = action.c80_1;
|
|
4412
4403
|
var tmp0_safe_receiver = tmp_1 instanceof RestartRoundReason ? tmp_1 : null;
|
|
4413
|
-
var tmp3_payload = tmp.
|
|
4414
|
-
return state.
|
|
4404
|
+
var tmp3_payload = tmp.la3(tmp_0.p9t(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.o69_1));
|
|
4405
|
+
return state.j92(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
|
|
4415
4406
|
};
|
|
4416
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
4417
|
-
this.
|
|
4407
|
+
protoOf(ServerMechanicLifecycleReducer).f9f = function (state, action) {
|
|
4408
|
+
this.i9f_1.g5r(action.previousGameId);
|
|
4418
4409
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
4419
|
-
var tmp1_tableOrNull = this.
|
|
4420
|
-
return state.
|
|
4410
|
+
var tmp1_tableOrNull = this.h9f_1.n9g(state.o6r(), action.gameId);
|
|
4411
|
+
return state.j92(tmp1_tableOrNull, VOID, tmp0_gameLifecycleState);
|
|
4421
4412
|
};
|
|
4422
4413
|
function spectatorsReducer(logger) {
|
|
4423
4414
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
4424
4415
|
return new _no_name_provided__qut3iv_7(logger);
|
|
4425
4416
|
}
|
|
4426
4417
|
function _no_name_provided__qut3iv_7($logger) {
|
|
4427
|
-
this.
|
|
4418
|
+
this.ma3_1 = $logger;
|
|
4428
4419
|
}
|
|
4429
|
-
protoOf(_no_name_provided__qut3iv_7).
|
|
4420
|
+
protoOf(_no_name_provided__qut3iv_7).r6j = function (action) {
|
|
4430
4421
|
return isInterface(action, SpectatorsAction);
|
|
4431
4422
|
};
|
|
4432
|
-
protoOf(_no_name_provided__qut3iv_7).
|
|
4423
|
+
protoOf(_no_name_provided__qut3iv_7).u9d = function (state, action) {
|
|
4433
4424
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>' call
|
|
4434
4425
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
4435
|
-
var table = state.
|
|
4426
|
+
var table = state.o6r();
|
|
4436
4427
|
var tmp;
|
|
4437
4428
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
4438
4429
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
4439
4430
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
4440
|
-
var this_0 = action_0.
|
|
4431
|
+
var this_0 = action_0.ma1_1;
|
|
4441
4432
|
var destination = ArrayList_init_$Create$_0();
|
|
4442
4433
|
// Inline function 'kotlin.collections.forEach' call
|
|
4443
4434
|
var tmp0_iterator = this_0.j();
|
|
@@ -4445,7 +4436,7 @@
|
|
|
4445
4436
|
var element = tmp0_iterator.l();
|
|
4446
4437
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
4447
4438
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>.<anonymous>' call
|
|
4448
|
-
var tmp0_safe_receiver = singleOrNull(filterByPlayerId(table.spectators, element.
|
|
4439
|
+
var tmp0_safe_receiver = singleOrNull(filterByPlayerId(table.spectators, element.w6a_1));
|
|
4449
4440
|
if (tmp0_safe_receiver == null)
|
|
4450
4441
|
null;
|
|
4451
4442
|
else {
|
|
@@ -4459,10 +4450,10 @@
|
|
|
4459
4450
|
var tmp_0;
|
|
4460
4451
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
4461
4452
|
if (!sameSpectators.p()) {
|
|
4462
|
-
this.
|
|
4453
|
+
this.ma3_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString_0(sameSpectators));
|
|
4463
4454
|
// Inline function 'kotlin.collections.filterNot' call
|
|
4464
4455
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
4465
|
-
var this_1 = action_0.
|
|
4456
|
+
var this_1 = action_0.ma1_1;
|
|
4466
4457
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
4467
4458
|
var tmp0_iterator_0 = this_1.j();
|
|
4468
4459
|
while (tmp0_iterator_0.k()) {
|
|
@@ -4485,7 +4476,7 @@
|
|
|
4485
4476
|
while (tmp0_iterator_1.k()) {
|
|
4486
4477
|
var element_1 = tmp0_iterator_1.l();
|
|
4487
4478
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>.<anonymous>.<anonymous>' call
|
|
4488
|
-
if (element_0.
|
|
4479
|
+
if (element_0.w6a_1 === element_1.playerId) {
|
|
4489
4480
|
tmp$ret$5 = true;
|
|
4490
4481
|
break $l$block_0;
|
|
4491
4482
|
}
|
|
@@ -4498,7 +4489,7 @@
|
|
|
4498
4489
|
}
|
|
4499
4490
|
tmp_0 = destination_0;
|
|
4500
4491
|
} else {
|
|
4501
|
-
tmp_0 = action_0.
|
|
4492
|
+
tmp_0 = action_0.ma1_1;
|
|
4502
4493
|
}
|
|
4503
4494
|
var this_2 = tmp_0;
|
|
4504
4495
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -4511,12 +4502,12 @@
|
|
|
4511
4502
|
destination_1.e(tmp$ret$10);
|
|
4512
4503
|
}
|
|
4513
4504
|
var spectatorsToAdd = toSet(destination_1);
|
|
4514
|
-
tmp = state.
|
|
4505
|
+
tmp = state.j92(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
|
|
4515
4506
|
} else {
|
|
4516
4507
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
4517
4508
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
4518
4509
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
4519
|
-
var this_3 = action_0.
|
|
4510
|
+
var this_3 = action_0.na1_1;
|
|
4520
4511
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
4521
4512
|
// Inline function 'kotlin.collections.forEach' call
|
|
4522
4513
|
var tmp0_iterator_3 = this_3.j();
|
|
@@ -4524,7 +4515,7 @@
|
|
|
4524
4515
|
var element_2 = tmp0_iterator_3.l();
|
|
4525
4516
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
4526
4517
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>.<anonymous>' call
|
|
4527
|
-
var tmp0_safe_receiver_0 = singleOrNull(filterByPlayerId(table.spectators, element_2.
|
|
4518
|
+
var tmp0_safe_receiver_0 = singleOrNull(filterByPlayerId(table.spectators, element_2.w6a_1));
|
|
4528
4519
|
if (tmp0_safe_receiver_0 == null)
|
|
4529
4520
|
null;
|
|
4530
4521
|
else {
|
|
@@ -4537,10 +4528,10 @@
|
|
|
4537
4528
|
var tmp_2;
|
|
4538
4529
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
4539
4530
|
if (!sameSpectators_0.p()) {
|
|
4540
|
-
this.
|
|
4531
|
+
this.ma3_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString_0(sameSpectators_0));
|
|
4541
4532
|
// Inline function 'kotlin.collections.filterNot' call
|
|
4542
4533
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
4543
|
-
var this_4 = action_0.
|
|
4534
|
+
var this_4 = action_0.na1_1;
|
|
4544
4535
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
4545
4536
|
var tmp0_iterator_4 = this_4.j();
|
|
4546
4537
|
while (tmp0_iterator_4.k()) {
|
|
@@ -4563,7 +4554,7 @@
|
|
|
4563
4554
|
while (tmp0_iterator_5.k()) {
|
|
4564
4555
|
var element_4 = tmp0_iterator_5.l();
|
|
4565
4556
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>.<anonymous>.<anonymous>' call
|
|
4566
|
-
if (element_3.
|
|
4557
|
+
if (element_3.w6a_1 === element_4.playerId) {
|
|
4567
4558
|
tmp$ret$18 = true;
|
|
4568
4559
|
break $l$block_2;
|
|
4569
4560
|
}
|
|
@@ -4576,7 +4567,7 @@
|
|
|
4576
4567
|
}
|
|
4577
4568
|
tmp_2 = destination_3;
|
|
4578
4569
|
} else {
|
|
4579
|
-
tmp_2 = action_0.
|
|
4570
|
+
tmp_2 = action_0.na1_1;
|
|
4580
4571
|
}
|
|
4581
4572
|
var spectatorsToRemove = toSet(tmp_2);
|
|
4582
4573
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -4604,7 +4595,7 @@
|
|
|
4604
4595
|
while (tmp0_iterator_7.k()) {
|
|
4605
4596
|
var element_6 = tmp0_iterator_7.l();
|
|
4606
4597
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>.<anonymous>.<anonymous>' call
|
|
4607
|
-
if (element_5.playerId === element_6.
|
|
4598
|
+
if (element_5.playerId === element_6.w6a_1) {
|
|
4608
4599
|
tmp$ret$23 = true;
|
|
4609
4600
|
break $l$block_4;
|
|
4610
4601
|
}
|
|
@@ -4615,40 +4606,40 @@
|
|
|
4615
4606
|
destination_4.e(element_5);
|
|
4616
4607
|
}
|
|
4617
4608
|
}
|
|
4618
|
-
tmp = state.
|
|
4609
|
+
tmp = state.j92(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
|
|
4619
4610
|
} else {
|
|
4620
4611
|
noWhenBranchMatchedException();
|
|
4621
4612
|
}
|
|
4622
4613
|
}
|
|
4623
4614
|
return tmp;
|
|
4624
4615
|
};
|
|
4625
|
-
protoOf(_no_name_provided__qut3iv_7).
|
|
4626
|
-
return this.
|
|
4616
|
+
protoOf(_no_name_provided__qut3iv_7).j6l = function (state, action) {
|
|
4617
|
+
return this.u9d((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
4627
4618
|
};
|
|
4628
4619
|
function Companion_3() {
|
|
4629
4620
|
}
|
|
4630
|
-
protoOf(Companion_3).
|
|
4621
|
+
protoOf(Companion_3).la3 = function (config) {
|
|
4631
4622
|
return new ServerStatePayload(config);
|
|
4632
4623
|
};
|
|
4633
|
-
protoOf(Companion_3).
|
|
4634
|
-
config = config === VOID ? Companion_instance_8.
|
|
4635
|
-
return $super === VOID ? this.
|
|
4624
|
+
protoOf(Companion_3).d9u = function (config, $super) {
|
|
4625
|
+
config = config === VOID ? Companion_instance_8.h9u(null) : config;
|
|
4626
|
+
return $super === VOID ? this.la3(config) : $super.la3.call(this, config);
|
|
4636
4627
|
};
|
|
4637
4628
|
var Companion_instance_11;
|
|
4638
4629
|
function Companion_getInstance_4() {
|
|
4639
4630
|
return Companion_instance_11;
|
|
4640
4631
|
}
|
|
4641
4632
|
function ServerStatePayload(config) {
|
|
4642
|
-
this.
|
|
4633
|
+
this.m9t_1 = config;
|
|
4643
4634
|
}
|
|
4644
|
-
protoOf(ServerStatePayload).
|
|
4635
|
+
protoOf(ServerStatePayload).ha3 = function (config) {
|
|
4645
4636
|
return new ServerStatePayload(config);
|
|
4646
4637
|
};
|
|
4647
4638
|
protoOf(ServerStatePayload).toString = function () {
|
|
4648
|
-
return 'ServerStatePayload(config=' + this.
|
|
4639
|
+
return 'ServerStatePayload(config=' + this.m9t_1.toString() + ')';
|
|
4649
4640
|
};
|
|
4650
4641
|
protoOf(ServerStatePayload).hashCode = function () {
|
|
4651
|
-
return this.
|
|
4642
|
+
return this.m9t_1.hashCode();
|
|
4652
4643
|
};
|
|
4653
4644
|
protoOf(ServerStatePayload).equals = function (other) {
|
|
4654
4645
|
if (this === other)
|
|
@@ -4656,7 +4647,7 @@
|
|
|
4656
4647
|
if (!(other instanceof ServerStatePayload))
|
|
4657
4648
|
return false;
|
|
4658
4649
|
var tmp0_other_with_cast = other instanceof ServerStatePayload ? other : THROW_CCE();
|
|
4659
|
-
if (!this.
|
|
4650
|
+
if (!this.m9t_1.equals(tmp0_other_with_cast.m9t_1))
|
|
4660
4651
|
return false;
|
|
4661
4652
|
return true;
|
|
4662
4653
|
};
|
|
@@ -4668,7 +4659,7 @@
|
|
|
4668
4659
|
}
|
|
4669
4660
|
function get_serverStatePayload_0(_this__u8e3s4) {
|
|
4670
4661
|
// Inline function 'kotlin.requireNotNull' call
|
|
4671
|
-
var value = _this__u8e3s4.
|
|
4662
|
+
var value = _this__u8e3s4.n6q_1;
|
|
4672
4663
|
// Inline function 'kotlin.contracts.contract' call
|
|
4673
4664
|
var tmp$ret$1;
|
|
4674
4665
|
$l$block: {
|
|
@@ -4677,7 +4668,7 @@
|
|
|
4677
4668
|
if (value == null) {
|
|
4678
4669
|
// Inline function 'kotlin.requireNotNull.<anonymous>' call
|
|
4679
4670
|
var message = 'Required value was null.';
|
|
4680
|
-
throw IllegalArgumentException_init_$Create$(
|
|
4671
|
+
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
4681
4672
|
} else {
|
|
4682
4673
|
tmp$ret$1 = value;
|
|
4683
4674
|
break $l$block;
|
|
@@ -4692,32 +4683,32 @@
|
|
|
4692
4683
|
randomOrgConfig = randomOrgConfig === VOID ? new RandomOrgConfig() : randomOrgConfig;
|
|
4693
4684
|
return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
|
|
4694
4685
|
}
|
|
4695
|
-
function
|
|
4686
|
+
function _get_logger__rkp4sl_1($this) {
|
|
4696
4687
|
// Inline function 'kotlin.getValue' call
|
|
4697
|
-
var this_0 = $this.
|
|
4698
|
-
|
|
4688
|
+
var this_0 = $this.va3_1;
|
|
4689
|
+
logger$factory_3();
|
|
4699
4690
|
return this_0.u();
|
|
4700
4691
|
}
|
|
4701
4692
|
function _get_di__ndbzja($this) {
|
|
4702
4693
|
// Inline function 'kotlin.getValue' call
|
|
4703
|
-
var this_0 = $this.
|
|
4694
|
+
var this_0 = $this.wa3_1;
|
|
4704
4695
|
di$factory();
|
|
4705
4696
|
return this_0.u();
|
|
4706
4697
|
}
|
|
4707
4698
|
function createDI($this, combinedLogger, coreConfig, serverConfig, logicConfig, botConfig, dealerConfig, externalReducers, externalMiddlewares, externalModule) {
|
|
4708
4699
|
var tmp = Companion_instance_3;
|
|
4709
|
-
return tmp.
|
|
4700
|
+
return tmp.h5y(VOID, GameServerEngineControllerImpl$createDI$lambda(combinedLogger, externalModule, $this, coreConfig, serverConfig, logicConfig, botConfig, dealerConfig, externalReducers, externalMiddlewares));
|
|
4710
4701
|
}
|
|
4711
|
-
function GameServerEngineControllerImpl$
|
|
4702
|
+
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
4712
4703
|
return function () {
|
|
4713
4704
|
var tmp;
|
|
4714
|
-
if (this$0.
|
|
4705
|
+
if (this$0.ta3_1 == null) {
|
|
4715
4706
|
tmp = null;
|
|
4716
4707
|
} else {
|
|
4717
4708
|
// Inline function 'kotlin.let' call
|
|
4718
4709
|
// Inline function 'kotlin.contracts.contract' call
|
|
4719
|
-
// Inline function 'GameServerEngineControllerImpl.
|
|
4720
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
4710
|
+
// Inline function 'GameServerEngineControllerImpl.logger$delegate.<anonymous>.<anonymous>' call
|
|
4711
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.ta3_1)]));
|
|
4721
4712
|
}
|
|
4722
4713
|
var tmp1_elvis_lhs = tmp;
|
|
4723
4714
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -4725,7 +4716,7 @@
|
|
|
4725
4716
|
}
|
|
4726
4717
|
function GameServerEngineControllerImpl$di$delegate$lambda$lambda$lambda(this$0) {
|
|
4727
4718
|
return function ($this$provider) {
|
|
4728
|
-
return
|
|
4719
|
+
return _get_logger__rkp4sl_1(this$0);
|
|
4729
4720
|
};
|
|
4730
4721
|
}
|
|
4731
4722
|
function GameServerEngineControllerImpl$di$delegate$lambda$lambda(this$0) {
|
|
@@ -4734,38 +4725,38 @@
|
|
|
4734
4725
|
// Inline function 'org.kodein.type.generic' call
|
|
4735
4726
|
var tmp = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
4736
4727
|
var tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
|
|
4737
|
-
var tmp_0 = $this$DI.
|
|
4728
|
+
var tmp_0 = $this$DI.y5x(tmp$ret$0, null, null);
|
|
4738
4729
|
// Inline function 'org.kodein.di.provider' call
|
|
4739
4730
|
var creator = GameServerEngineControllerImpl$di$delegate$lambda$lambda$lambda(this$0);
|
|
4740
|
-
var tmp_1 = $this$DI.
|
|
4731
|
+
var tmp_1 = $this$DI.b5y();
|
|
4741
4732
|
// Inline function 'org.kodein.type.generic' call
|
|
4742
4733
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
4743
4734
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
4744
4735
|
var tmp$ret$3 = new Provider(tmp_1, tmp$ret$2, creator);
|
|
4745
|
-
tmp_0.
|
|
4746
|
-
$this$DI.
|
|
4747
|
-
$this$DI.
|
|
4748
|
-
$this$DI.
|
|
4736
|
+
tmp_0.w61(tmp$ret$3);
|
|
4737
|
+
$this$DI.a5y(jsonModule());
|
|
4738
|
+
$this$DI.a5y(serverHelpersModule());
|
|
4739
|
+
$this$DI.a5y(randomOrgModule(this$0.ua3_1));
|
|
4749
4740
|
return Unit_instance;
|
|
4750
4741
|
};
|
|
4751
4742
|
}
|
|
4752
4743
|
function GameServerEngineControllerImpl$di$delegate$lambda(this$0) {
|
|
4753
4744
|
return function () {
|
|
4754
4745
|
var tmp = Companion_instance_3;
|
|
4755
|
-
return tmp.
|
|
4746
|
+
return tmp.h5y(VOID, GameServerEngineControllerImpl$di$delegate$lambda$lambda(this$0));
|
|
4756
4747
|
};
|
|
4757
4748
|
}
|
|
4758
4749
|
function _no_name_provided__qut3iv_8($item) {
|
|
4759
|
-
this.
|
|
4750
|
+
this.ca4_1 = $item;
|
|
4760
4751
|
}
|
|
4761
|
-
protoOf(_no_name_provided__qut3iv_8).
|
|
4752
|
+
protoOf(_no_name_provided__qut3iv_8).r6j = function (action) {
|
|
4762
4753
|
return isInterface(action, Action);
|
|
4763
4754
|
};
|
|
4764
|
-
protoOf(_no_name_provided__qut3iv_8).
|
|
4765
|
-
return this.
|
|
4755
|
+
protoOf(_no_name_provided__qut3iv_8).u9d = function (state, action) {
|
|
4756
|
+
return this.ca4_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
4766
4757
|
};
|
|
4767
|
-
protoOf(_no_name_provided__qut3iv_8).
|
|
4768
|
-
return this.
|
|
4758
|
+
protoOf(_no_name_provided__qut3iv_8).j6l = function (state, action) {
|
|
4759
|
+
return this.u9d((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
4769
4760
|
};
|
|
4770
4761
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($fileLoggerOutput) {
|
|
4771
4762
|
return function ($this$singleton) {
|
|
@@ -4785,17 +4776,17 @@
|
|
|
4785
4776
|
// Inline function 'org.kodein.type.generic' call
|
|
4786
4777
|
var tmp_0 = typeToken(createKType(getKClass(FileLoggerOutput), arrayOf([]), false));
|
|
4787
4778
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
4788
|
-
var tmp_1 = $this$Module.
|
|
4779
|
+
var tmp_1 = $this$Module.y5x(tmp$ret$0, null, null);
|
|
4789
4780
|
// Inline function 'org.kodein.di.singleton' call
|
|
4790
4781
|
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.
|
|
4782
|
+
var tmp_2 = $this$Module.d5y();
|
|
4783
|
+
var tmp_3 = $this$Module.b5y();
|
|
4784
|
+
var tmp_4 = $this$Module.c5y();
|
|
4794
4785
|
// Inline function 'org.kodein.type.generic' call
|
|
4795
4786
|
var tmp_5 = typeToken(createKType(getKClass(FileLoggerOutputImpl), arrayOf([]), false));
|
|
4796
4787
|
var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
4797
4788
|
var tmp$ret$3 = new Singleton(tmp_2, tmp_3, tmp_4, tmp$ret$2, null, true, creator);
|
|
4798
|
-
tmp_1.
|
|
4789
|
+
tmp_1.w61(tmp$ret$3);
|
|
4799
4790
|
tmp = Unit_instance;
|
|
4800
4791
|
}
|
|
4801
4792
|
var tmp_6;
|
|
@@ -4804,17 +4795,17 @@
|
|
|
4804
4795
|
// Inline function 'org.kodein.type.generic' call
|
|
4805
4796
|
var tmp_7 = typeToken(createKType(getKClass(CallbackWrapperLoggerOutput), arrayOf([]), false));
|
|
4806
4797
|
var tmp$ret$4 = isInterface(tmp_7, TypeToken) ? tmp_7 : THROW_CCE();
|
|
4807
|
-
var tmp_8 = $this$Module.
|
|
4798
|
+
var tmp_8 = $this$Module.y5x(tmp$ret$4, null, null);
|
|
4808
4799
|
// Inline function 'org.kodein.di.singleton' call
|
|
4809
4800
|
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.
|
|
4801
|
+
var tmp_9 = $this$Module.d5y();
|
|
4802
|
+
var tmp_10 = $this$Module.b5y();
|
|
4803
|
+
var tmp_11 = $this$Module.c5y();
|
|
4813
4804
|
// Inline function 'org.kodein.type.generic' call
|
|
4814
4805
|
var tmp_12 = typeToken(createKType(getKClass(CallbackWrapperLoggerOutput), arrayOf([]), false));
|
|
4815
4806
|
var tmp$ret$6 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
4816
4807
|
var tmp$ret$7 = new Singleton(tmp_9, tmp_10, tmp_11, tmp$ret$6, null, true, creator_0);
|
|
4817
|
-
tmp_8.
|
|
4808
|
+
tmp_8.w61(tmp$ret$7);
|
|
4818
4809
|
tmp_6 = Unit_instance;
|
|
4819
4810
|
}
|
|
4820
4811
|
return Unit_instance;
|
|
@@ -4822,10 +4813,10 @@
|
|
|
4822
4813
|
}
|
|
4823
4814
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0($gameServer) {
|
|
4824
4815
|
return function (it) {
|
|
4825
|
-
var tmp0_elvis_lhs = Companion_instance_4.
|
|
4816
|
+
var tmp0_elvis_lhs = Companion_instance_4.p9i(it);
|
|
4826
4817
|
var tmp;
|
|
4827
4818
|
if (tmp0_elvis_lhs == null) {
|
|
4828
|
-
var tmp1_safe_receiver = $gameServer.
|
|
4819
|
+
var tmp1_safe_receiver = $gameServer.g6b().m6q_1;
|
|
4829
4820
|
tmp = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.gameId;
|
|
4830
4821
|
} else {
|
|
4831
4822
|
tmp = tmp0_elvis_lhs;
|
|
@@ -4835,10 +4826,10 @@
|
|
|
4835
4826
|
}
|
|
4836
4827
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1($gameServer) {
|
|
4837
4828
|
return function (it) {
|
|
4838
|
-
var tmp0_elvis_lhs = Companion_instance_5.
|
|
4829
|
+
var tmp0_elvis_lhs = Companion_instance_5.a9h(it);
|
|
4839
4830
|
var tmp;
|
|
4840
4831
|
if (tmp0_elvis_lhs == null) {
|
|
4841
|
-
var tmp1_safe_receiver = $gameServer.
|
|
4832
|
+
var tmp1_safe_receiver = $gameServer.g6b().m6q_1;
|
|
4842
4833
|
tmp = tmp1_safe_receiver == null ? null : toLoggerPayload(tmp1_safe_receiver);
|
|
4843
4834
|
} else {
|
|
4844
4835
|
tmp = tmp0_elvis_lhs;
|
|
@@ -4848,94 +4839,94 @@
|
|
|
4848
4839
|
}
|
|
4849
4840
|
function GameServerEngineControllerImpl$createDI$lambda($combinedLogger, $externalModule, this$0, $coreConfig, $serverConfig, $logicConfig, $botConfig, $dealerConfig, $externalReducers, $externalMiddlewares) {
|
|
4850
4841
|
return function ($this$DI) {
|
|
4851
|
-
$this$DI.
|
|
4842
|
+
$this$DI.a5y(combinedLoggerModule($combinedLogger));
|
|
4852
4843
|
var tmp0_safe_receiver = $externalModule;
|
|
4853
4844
|
if (tmp0_safe_receiver == null)
|
|
4854
4845
|
null;
|
|
4855
4846
|
else {
|
|
4856
4847
|
// Inline function 'kotlin.let' call
|
|
4857
4848
|
// Inline function 'kotlin.contracts.contract' call
|
|
4858
|
-
$this$DI.
|
|
4849
|
+
$this$DI.a5y(tmp0_safe_receiver);
|
|
4859
4850
|
}
|
|
4860
|
-
$this$DI.
|
|
4861
|
-
$this$DI.
|
|
4862
|
-
$this$DI.
|
|
4851
|
+
$this$DI.a5y(dealerModule(this$0.randomPoolProvider, this$0.ua3_1));
|
|
4852
|
+
$this$DI.a5y(coreModule($coreConfig));
|
|
4853
|
+
$this$DI.a5y(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $externalReducers, $externalMiddlewares));
|
|
4863
4854
|
return Unit_instance;
|
|
4864
4855
|
};
|
|
4865
4856
|
}
|
|
4866
4857
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
4867
4858
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
4868
4859
|
production = production === VOID ? true : production;
|
|
4869
|
-
this.
|
|
4870
|
-
this.
|
|
4871
|
-
AppEnvironment_getInstance().
|
|
4860
|
+
this.ta3_1 = loggerCallback;
|
|
4861
|
+
this.ua3_1 = randomOrgConfig;
|
|
4862
|
+
AppEnvironment_getInstance().u6p(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
|
|
4872
4863
|
var tmp = this;
|
|
4873
|
-
tmp.
|
|
4864
|
+
tmp.va3_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
4874
4865
|
var tmp_0 = this;
|
|
4875
|
-
tmp_0.
|
|
4866
|
+
tmp_0.wa3_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
4876
4867
|
var tmp_1 = this;
|
|
4877
4868
|
// Inline function 'org.kodein.di.instance' call
|
|
4878
4869
|
var this_0 = _get_di__ndbzja(this);
|
|
4879
4870
|
// Inline function 'org.kodein.type.generic' call
|
|
4880
4871
|
var tmp_2 = typeToken(createKType(getKClass(ParserHelper), arrayOf([]), false));
|
|
4881
4872
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
4882
|
-
tmp_1.
|
|
4873
|
+
tmp_1.xa3_1 = Instance(this_0, tmp$ret$0, null).t63(this, parser$factory());
|
|
4883
4874
|
var tmp_3 = this;
|
|
4884
4875
|
// Inline function 'org.kodein.di.instance' call
|
|
4885
4876
|
var this_1 = _get_di__ndbzja(this);
|
|
4886
4877
|
// Inline function 'org.kodein.type.generic' call
|
|
4887
4878
|
var tmp_4 = typeToken(createKType(getKClass(GameHelper), arrayOf([]), false));
|
|
4888
4879
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
4889
|
-
tmp_3.
|
|
4880
|
+
tmp_3.ya3_1 = Instance(this_1, tmp$ret$2, null).t63(this, helper$factory());
|
|
4890
4881
|
var tmp_5 = this;
|
|
4891
4882
|
// Inline function 'org.kodein.di.instance' call
|
|
4892
4883
|
var this_2 = _get_di__ndbzja(this);
|
|
4893
4884
|
// Inline function 'org.kodein.type.generic' call
|
|
4894
4885
|
var tmp_6 = typeToken(createKType(getKClass(GameResources), arrayOf([]), false));
|
|
4895
4886
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
4896
|
-
tmp_5.
|
|
4887
|
+
tmp_5.za3_1 = Instance(this_2, tmp$ret$4, null).t63(this, resources$factory());
|
|
4897
4888
|
var tmp_7 = this;
|
|
4898
4889
|
// Inline function 'org.kodein.di.instance' call
|
|
4899
4890
|
var this_3 = _get_di__ndbzja(this);
|
|
4900
4891
|
// Inline function 'org.kodein.type.generic' call
|
|
4901
4892
|
var tmp_8 = typeToken(createKType(getKClass(TestHelper), arrayOf([]), false));
|
|
4902
4893
|
var tmp$ret$6 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
4903
|
-
tmp_7.
|
|
4894
|
+
tmp_7.aa4_1 = Instance(this_3, tmp$ret$6, null).t63(this, test$factory());
|
|
4904
4895
|
var tmp_9 = this;
|
|
4905
4896
|
// Inline function 'org.kodein.di.instance' call
|
|
4906
4897
|
var this_4 = _get_di__ndbzja(this);
|
|
4907
4898
|
// Inline function 'org.kodein.type.generic' call
|
|
4908
4899
|
var tmp_10 = typeToken(createKType(getKClass(RandomPoolProvider), arrayOf([]), false));
|
|
4909
4900
|
var tmp$ret$8 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
4910
|
-
tmp_9.
|
|
4901
|
+
tmp_9.ba4_1 = Instance(this_4, tmp$ret$8, null).t63(this, randomPoolProvider$factory());
|
|
4911
4902
|
}
|
|
4912
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4903
|
+
protoOf(GameServerEngineControllerImpl).na3 = function () {
|
|
4913
4904
|
// Inline function 'kotlin.getValue' call
|
|
4914
|
-
var this_0 = this.
|
|
4905
|
+
var this_0 = this.xa3_1;
|
|
4915
4906
|
parser$factory_0();
|
|
4916
4907
|
return this_0.u();
|
|
4917
4908
|
};
|
|
4918
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4909
|
+
protoOf(GameServerEngineControllerImpl).pa3 = function () {
|
|
4919
4910
|
// Inline function 'kotlin.getValue' call
|
|
4920
|
-
var this_0 = this.
|
|
4911
|
+
var this_0 = this.ya3_1;
|
|
4921
4912
|
helper$factory_0();
|
|
4922
4913
|
return this_0.u();
|
|
4923
4914
|
};
|
|
4924
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4915
|
+
protoOf(GameServerEngineControllerImpl).qa3 = function () {
|
|
4925
4916
|
// Inline function 'kotlin.getValue' call
|
|
4926
|
-
var this_0 = this.
|
|
4917
|
+
var this_0 = this.za3_1;
|
|
4927
4918
|
resources$factory_0();
|
|
4928
4919
|
return this_0.u();
|
|
4929
4920
|
};
|
|
4930
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4921
|
+
protoOf(GameServerEngineControllerImpl).oa3 = function () {
|
|
4931
4922
|
// Inline function 'kotlin.getValue' call
|
|
4932
|
-
var this_0 = this.
|
|
4923
|
+
var this_0 = this.aa4_1;
|
|
4933
4924
|
test$factory_0();
|
|
4934
4925
|
return this_0.u();
|
|
4935
4926
|
};
|
|
4936
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4927
|
+
protoOf(GameServerEngineControllerImpl).ra3 = function () {
|
|
4937
4928
|
// Inline function 'kotlin.getValue' call
|
|
4938
|
-
var this_0 = this.
|
|
4929
|
+
var this_0 = this.ba4_1;
|
|
4939
4930
|
randomPoolProvider$factory_0();
|
|
4940
4931
|
return this_0.u();
|
|
4941
4932
|
};
|
|
@@ -4945,7 +4936,7 @@
|
|
|
4945
4936
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
4946
4937
|
return this.createGameEngineWithLogic();
|
|
4947
4938
|
};
|
|
4948
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4939
|
+
protoOf(GameServerEngineControllerImpl).sa3 = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig) {
|
|
4949
4940
|
var combinedLogger = Companion_instance_6.qm();
|
|
4950
4941
|
var tmp;
|
|
4951
4942
|
if (coreConfig.fileLogsEnabled) {
|
|
@@ -4955,8 +4946,8 @@
|
|
|
4955
4946
|
}
|
|
4956
4947
|
var fileLoggerOutput = tmp;
|
|
4957
4948
|
var tmp_0;
|
|
4958
|
-
if (!(this.
|
|
4959
|
-
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.
|
|
4949
|
+
if (!(this.ta3_1 == null)) {
|
|
4950
|
+
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.ta3_1));
|
|
4960
4951
|
} else {
|
|
4961
4952
|
tmp_0 = null;
|
|
4962
4953
|
}
|
|
@@ -4992,19 +4983,19 @@
|
|
|
4992
4983
|
var tmp3_externalModule = Module_init_$Create$('External Module', VOID, VOID, GameServerEngineControllerImpl$createGameEngineWithLogic$lambda(fileLoggerOutput, callbackWrapperLoggerOutput));
|
|
4993
4984
|
var di = createDI(this, combinedLogger, coreConfig, serverConfig, logicConfig, tmp0_botConfig, dealerConfig, tmp1_externalReducers, tmp2_externalMiddlewares, tmp3_externalModule);
|
|
4994
4985
|
// Inline function 'org.kodein.di.instance' call
|
|
4995
|
-
var tmp_1 = get_direct(di).
|
|
4986
|
+
var tmp_1 = get_direct(di).l5z();
|
|
4996
4987
|
// Inline function 'org.kodein.type.generic' call
|
|
4997
4988
|
var tmp_2 = typeToken(createKType(getKClass(GameServer), arrayOf([]), false));
|
|
4998
4989
|
var tmp$ret$7 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
4999
|
-
var gameServer = tmp_1.
|
|
4990
|
+
var gameServer = tmp_1.k5z(tmp$ret$7, null);
|
|
5000
4991
|
if (!(fileLoggerOutput == null)) {
|
|
5001
4992
|
var tmp_3 = fileLoggerOutput;
|
|
5002
|
-
tmp_3.
|
|
4993
|
+
tmp_3.e9i_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0(gameServer);
|
|
5003
4994
|
combinedLogger.sm(fileLoggerOutput);
|
|
5004
4995
|
}
|
|
5005
4996
|
if (!(callbackWrapperLoggerOutput == null)) {
|
|
5006
4997
|
var tmp_4 = callbackWrapperLoggerOutput;
|
|
5007
|
-
tmp_4.
|
|
4998
|
+
tmp_4.c9h_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1(gameServer);
|
|
5008
4999
|
combinedLogger.sm(callbackWrapperLoggerOutput);
|
|
5009
5000
|
}
|
|
5010
5001
|
return gameServer;
|
|
@@ -5034,9 +5025,9 @@
|
|
|
5034
5025
|
return receiver.randomPoolProvider;
|
|
5035
5026
|
}, null);
|
|
5036
5027
|
}
|
|
5037
|
-
function
|
|
5038
|
-
return getPropertyCallableRef('
|
|
5039
|
-
return
|
|
5028
|
+
function logger$factory_3() {
|
|
5029
|
+
return getPropertyCallableRef('logger', 1, KProperty1, function (receiver) {
|
|
5030
|
+
return _get_logger__rkp4sl_1(receiver);
|
|
5040
5031
|
}, null);
|
|
5041
5032
|
}
|
|
5042
5033
|
function di$factory() {
|
|
@@ -5073,13 +5064,13 @@
|
|
|
5073
5064
|
}
|
|
5074
5065
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
5075
5066
|
// Inline function 'kotlin.getValue' call
|
|
5076
|
-
var this_0 = $this.
|
|
5067
|
+
var this_0 = $this.fa4_1;
|
|
5077
5068
|
playerAnswerInteractor$factory_0();
|
|
5078
5069
|
return this_0.u();
|
|
5079
5070
|
}
|
|
5080
5071
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
5081
5072
|
return function ($this$singleton) {
|
|
5082
|
-
return this$0.
|
|
5073
|
+
return this$0.da4_1;
|
|
5083
5074
|
};
|
|
5084
5075
|
}
|
|
5085
5076
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -5088,19 +5079,19 @@
|
|
|
5088
5079
|
// Inline function 'org.kodein.type.generic' call
|
|
5089
5080
|
var tmp = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
5090
5081
|
var tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
|
|
5091
|
-
var tmp_0 = $this$DI.
|
|
5082
|
+
var tmp_0 = $this$DI.y5x(tmp$ret$0, null, null);
|
|
5092
5083
|
// Inline function 'org.kodein.di.singleton' call
|
|
5093
5084
|
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.
|
|
5085
|
+
var tmp_1 = $this$DI.d5y();
|
|
5086
|
+
var tmp_2 = $this$DI.b5y();
|
|
5087
|
+
var tmp_3 = $this$DI.c5y();
|
|
5097
5088
|
// Inline function 'org.kodein.type.generic' call
|
|
5098
5089
|
var tmp_4 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
5099
5090
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
5100
5091
|
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.
|
|
5092
|
+
tmp_0.w61(tmp$ret$3);
|
|
5093
|
+
$this$DI.a5y(jsonModule(emptyList()));
|
|
5094
|
+
$this$DI.a5y(get_botGameModule());
|
|
5104
5095
|
return Unit_instance;
|
|
5105
5096
|
};
|
|
5106
5097
|
}
|
|
@@ -5108,20 +5099,20 @@
|
|
|
5108
5099
|
return emptyMap();
|
|
5109
5100
|
}
|
|
5110
5101
|
function TestHelperImpl(logger) {
|
|
5111
|
-
this.
|
|
5102
|
+
this.da4_1 = logger;
|
|
5112
5103
|
var tmp = this;
|
|
5113
5104
|
var tmp_0 = Companion_instance_3;
|
|
5114
|
-
tmp.
|
|
5105
|
+
tmp.ea4_1 = tmp_0.h5y(VOID, TestHelperImpl$di$lambda(this));
|
|
5115
5106
|
var tmp_1 = this;
|
|
5116
5107
|
// Inline function 'org.kodein.di.instance' call
|
|
5117
|
-
var this_0 = this.
|
|
5108
|
+
var this_0 = this.ea4_1;
|
|
5118
5109
|
// Inline function 'org.kodein.type.generic' call
|
|
5119
5110
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
5120
5111
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5121
|
-
tmp_1.
|
|
5112
|
+
tmp_1.fa4_1 = Instance(this_0, tmp$ret$0, null).t63(this, playerAnswerInteractor$factory());
|
|
5122
5113
|
}
|
|
5123
5114
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
5124
|
-
return _get_playerAnswerInteractor__msggz1(this).
|
|
5115
|
+
return _get_playerAnswerInteractor__msggz1(this).f8t(playerId, table, botConfig);
|
|
5125
5116
|
};
|
|
5126
5117
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
5127
5118
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
@@ -5129,7 +5120,7 @@
|
|
|
5129
5120
|
var tmp$ret$0;
|
|
5130
5121
|
$l$block_0: {
|
|
5131
5122
|
// Inline function 'kotlin.collections.any' call
|
|
5132
|
-
var this_0 = mechanicAction.
|
|
5123
|
+
var this_0 = mechanicAction.m94();
|
|
5133
5124
|
var tmp;
|
|
5134
5125
|
if (isInterface(this_0, Collection)) {
|
|
5135
5126
|
tmp = this_0.p();
|
|
@@ -5162,7 +5153,7 @@
|
|
|
5162
5153
|
var tmp$ret$0;
|
|
5163
5154
|
$l$block_0: {
|
|
5164
5155
|
// Inline function 'kotlin.collections.any' call
|
|
5165
|
-
var this_0 = action.
|
|
5156
|
+
var this_0 = action.m94();
|
|
5166
5157
|
var tmp;
|
|
5167
5158
|
if (isInterface(this_0, Collection)) {
|
|
5168
5159
|
tmp = this_0.p();
|
|
@@ -5204,80 +5195,80 @@
|
|
|
5204
5195
|
return Module_init_$Create$('Server helpers Module', VOID, VOID, serverHelpersModule$lambda);
|
|
5205
5196
|
}
|
|
5206
5197
|
function serverHelpersModule$lambda($this$Module) {
|
|
5207
|
-
$this$Module.
|
|
5208
|
-
$this$Module.
|
|
5198
|
+
$this$Module.a5y(get_ratingModule());
|
|
5199
|
+
$this$Module.a5y(engineHelpersModule());
|
|
5209
5200
|
// Inline function 'org.kodein.di.bind' call
|
|
5210
5201
|
// Inline function 'org.kodein.type.generic' call
|
|
5211
5202
|
var tmp = typeToken(createKType(getKClass(TestHelper), arrayOf([]), false));
|
|
5212
5203
|
var tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
|
|
5213
|
-
var tmp_0 = $this$Module.
|
|
5204
|
+
var tmp_0 = $this$Module.y5x(tmp$ret$0, null, null);
|
|
5214
5205
|
// Inline function 'org.kodein.di.singleton' call
|
|
5215
5206
|
var creator = serverHelpersModule$lambda$lambda;
|
|
5216
|
-
var tmp_1 = $this$Module.
|
|
5217
|
-
var tmp_2 = $this$Module.
|
|
5218
|
-
var tmp_3 = $this$Module.
|
|
5207
|
+
var tmp_1 = $this$Module.d5y();
|
|
5208
|
+
var tmp_2 = $this$Module.b5y();
|
|
5209
|
+
var tmp_3 = $this$Module.c5y();
|
|
5219
5210
|
// Inline function 'org.kodein.type.generic' call
|
|
5220
5211
|
var tmp_4 = typeToken(createKType(getKClass(TestHelperImpl), arrayOf([]), false));
|
|
5221
5212
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
5222
5213
|
var tmp$ret$3 = new Singleton(tmp_1, tmp_2, tmp_3, tmp$ret$2, null, true, creator);
|
|
5223
|
-
tmp_0.
|
|
5214
|
+
tmp_0.w61(tmp$ret$3);
|
|
5224
5215
|
return Unit_instance;
|
|
5225
5216
|
}
|
|
5226
5217
|
function serverHelpersModule$lambda$lambda($this$singleton) {
|
|
5227
5218
|
// Inline function 'org.kodein.di.instance' call
|
|
5228
|
-
var tmp = $this$singleton.
|
|
5219
|
+
var tmp = $this$singleton.l5z();
|
|
5229
5220
|
// Inline function 'org.kodein.type.generic' call
|
|
5230
5221
|
var tmp_0 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
5231
5222
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
5232
|
-
var tmp$ret$1 = tmp.
|
|
5223
|
+
var tmp$ret$1 = tmp.k5z(tmp$ret$0, null);
|
|
5233
5224
|
return new TestHelperImpl(tmp$ret$1);
|
|
5234
5225
|
}
|
|
5235
5226
|
//region block: post-declaration
|
|
5236
5227
|
defineProp(protoOf(GameServer$roomOnCreate$1$updatedUsers$previousTeams$1), 'playerId', function () {
|
|
5237
|
-
return this.
|
|
5228
|
+
return this.h6a();
|
|
5238
5229
|
});
|
|
5239
5230
|
protoOf(GameServer).roomOnCreate = roomOnCreate;
|
|
5240
5231
|
protoOf(GameServer).roomOnDelete = roomOnDelete;
|
|
5241
5232
|
protoOf(GameServer).shutdown = shutdown;
|
|
5242
5233
|
defineProp(protoOf(GameServer), 'id', function () {
|
|
5243
|
-
return this.
|
|
5234
|
+
return this.d5l();
|
|
5244
5235
|
});
|
|
5245
5236
|
defineProp(protoOf(GameServer), 'table', function () {
|
|
5246
|
-
return this.
|
|
5237
|
+
return this.o6r();
|
|
5247
5238
|
});
|
|
5248
5239
|
defineProp(protoOf(GameServer), 'isTableExists', function () {
|
|
5249
|
-
return this.
|
|
5240
|
+
return this.p6r();
|
|
5250
5241
|
});
|
|
5251
5242
|
defineProp(protoOf(GameServer), 'gameLifecycleState', function () {
|
|
5252
|
-
return this.
|
|
5243
|
+
return this.q6r();
|
|
5253
5244
|
});
|
|
5254
|
-
protoOf(UpdateServerConfigAction).
|
|
5245
|
+
protoOf(UpdateServerConfigAction).i6j = get_actionTag;
|
|
5255
5246
|
defineProp(protoOf(UpdateServerConfigAction), 'actionTag', function () {
|
|
5256
|
-
return this.
|
|
5247
|
+
return this.i6j();
|
|
5257
5248
|
});
|
|
5258
|
-
protoOf(AddSpectatorsAction).
|
|
5249
|
+
protoOf(AddSpectatorsAction).i6j = get_actionTag;
|
|
5259
5250
|
defineProp(protoOf(AddSpectatorsAction), 'actionTag', function () {
|
|
5260
|
-
return this.
|
|
5251
|
+
return this.i6j();
|
|
5261
5252
|
});
|
|
5262
|
-
protoOf(RemoveSpectatorsAction).
|
|
5253
|
+
protoOf(RemoveSpectatorsAction).i6j = get_actionTag;
|
|
5263
5254
|
defineProp(protoOf(RemoveSpectatorsAction), 'actionTag', function () {
|
|
5264
|
-
return this.
|
|
5255
|
+
return this.i6j();
|
|
5265
5256
|
});
|
|
5266
5257
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
5267
5258
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
5268
|
-
return this.
|
|
5259
|
+
return this.na3();
|
|
5269
5260
|
});
|
|
5270
5261
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
5271
|
-
return this.
|
|
5262
|
+
return this.pa3();
|
|
5272
5263
|
});
|
|
5273
5264
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
5274
|
-
return this.
|
|
5265
|
+
return this.qa3();
|
|
5275
5266
|
});
|
|
5276
5267
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
5277
|
-
return this.
|
|
5268
|
+
return this.oa3();
|
|
5278
5269
|
});
|
|
5279
5270
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
5280
|
-
return this.
|
|
5271
|
+
return this.ra3();
|
|
5281
5272
|
});
|
|
5282
5273
|
//endregion
|
|
5283
5274
|
//region block: init
|