raspberry_games_server_game_logic 1.8.294 → 1.8.297
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime.js +2 -2
- package/Logic_Debertz-core.js +527 -647
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +11265 -11151
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.d.ts +32 -6
- package/Logic_Debertz-game_server.js +770 -765
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlinx-coroutines-core.js +8 -8
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -77,13 +77,13 @@
|
|
|
77
77
|
var firstOrNull = kotlin_kotlin.$_$.r7;
|
|
78
78
|
var toMutableList = kotlin_kotlin.$_$.x9;
|
|
79
79
|
var sortWithItem = kotlin_io_raspberryapps_game_engine_core.$_$.c3;
|
|
80
|
-
var GameEngineConfig_instance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
80
|
+
var GameEngineConfig_instance = kotlin_io_raspberryapps_game_engine_core.$_$.t4;
|
|
81
81
|
var StartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.n2;
|
|
82
82
|
var RestartRoundReason = kotlin_io_raspberryapps_game_engine_core.$_$.n1;
|
|
83
83
|
var ContinueGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.y1;
|
|
84
84
|
var Companion_instance = kotlin_io_raspberryapps_game_engine_engine.$_$.a4;
|
|
85
85
|
var SceneEndedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.t2;
|
|
86
|
-
var Reason_GAME_NOT_EXISTS_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
86
|
+
var Reason_GAME_NOT_EXISTS_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.t3;
|
|
87
87
|
var GameErrorReason = kotlin_io_raspberryapps_game_engine_core.$_$.j1;
|
|
88
88
|
var TerminationState = kotlin_io_raspberryapps_game_engine_engine.$_$.p3;
|
|
89
89
|
var GameToRoomTransition = kotlin_io_raspberryapps_game_engine_engine.$_$.c2;
|
|
@@ -91,9 +91,9 @@
|
|
|
91
91
|
var ClearAction = kotlin_io_raspberryapps_game_engine_engine.$_$.u2;
|
|
92
92
|
var toDomainEnumSafe = kotlin_io_raspberryapps_game_engine_core.$_$.e3;
|
|
93
93
|
var Companion_instance_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.b4;
|
|
94
|
-
var Reason_DEPLOY_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
94
|
+
var Reason_DEPLOY_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.x3;
|
|
95
95
|
var GameFinishedReason = kotlin_io_raspberryapps_game_engine_core.$_$.k1;
|
|
96
|
-
var Reason_SERVER_ERROR_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
96
|
+
var Reason_SERVER_ERROR_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.v3;
|
|
97
97
|
var noWhenBranchMatchedException = kotlin_kotlin.$_$.qh;
|
|
98
98
|
var BaseGame = kotlin_io_raspberryapps_game_engine_engine.$_$.u3;
|
|
99
99
|
var emptyList = kotlin_kotlin.$_$.n7;
|
|
@@ -218,8 +218,8 @@
|
|
|
218
218
|
var StartNewGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.o2;
|
|
219
219
|
var mapToClient_17 = kotlin_io_raspberryapps_game_engine_engine.$_$.e1;
|
|
220
220
|
var Reducer = kotlin_io_raspberryapps_game_engine_core.$_$.o2;
|
|
221
|
-
var Companion_instance_1 = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
222
|
-
var Companion_instance_2 = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
221
|
+
var Companion_instance_1 = kotlin_io_raspberryapps_game_engine_core.$_$.j4;
|
|
222
|
+
var Companion_instance_2 = kotlin_io_raspberryapps_game_engine_core.$_$.h4;
|
|
223
223
|
var Companion_getInstance = kotlin_kotlin.$_$.g5;
|
|
224
224
|
var DurationUnit_MILLISECONDS_getInstance = kotlin_kotlin.$_$.g;
|
|
225
225
|
var toDuration = kotlin_kotlin.$_$.ag;
|
|
@@ -249,9 +249,9 @@
|
|
|
249
249
|
var combinedLoggerModule = kotlin_io_raspberryapps_game_engine_core.$_$.r1;
|
|
250
250
|
var dealerModule = kotlin_io_raspberryapps_game_engine_core.$_$.t1;
|
|
251
251
|
var coreModule = kotlin_io_raspberryapps_game_engine_core.$_$.s1;
|
|
252
|
-
var AppEnvironment_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
253
|
-
var AppEnvironmentValue_DEVELOPMENT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
254
|
-
var AppEnvironmentValue_PRODUCTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
252
|
+
var AppEnvironment_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.v4;
|
|
253
|
+
var AppEnvironmentValue_DEVELOPMENT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.f4;
|
|
254
|
+
var AppEnvironmentValue_PRODUCTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.g4;
|
|
255
255
|
var ParserHelper = kotlin_io_raspberryapps_game_engine_engine.$_$.d;
|
|
256
256
|
var GameHelper = kotlin_io_raspberryapps_game_engine_engine.$_$.a;
|
|
257
257
|
var GameResources = kotlin_io_raspberryapps_game_engine_engine.$_$.b;
|
|
@@ -306,15 +306,15 @@
|
|
|
306
306
|
tmp = spectators;
|
|
307
307
|
}
|
|
308
308
|
spectators = tmp;
|
|
309
|
-
return this.
|
|
309
|
+
return this.t9u(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.u9u(newRid);
|
|
314
314
|
}
|
|
315
315
|
function shutdown(reason, roomId, $super) {
|
|
316
316
|
roomId = roomId === VOID ? null : roomId;
|
|
317
|
-
return this.
|
|
317
|
+
return this.v9u(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.ha4(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.r9k_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).t9k = function (it, $completion) {
|
|
403
|
+
var tmp = this.u9k(it, $completion);
|
|
404
404
|
tmp.h9_1 = Unit_instance;
|
|
405
405
|
tmp.i9_1 = null;
|
|
406
406
|
return tmp.n9();
|
|
407
407
|
};
|
|
408
408
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).x9 = function (p1, $completion) {
|
|
409
|
-
return this.
|
|
409
|
+
return this.t9k(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
410
410
|
};
|
|
411
411
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).n9 = function () {
|
|
412
412
|
var suspendResult = this.h9_1;
|
|
@@ -415,7 +415,7 @@
|
|
|
415
415
|
var tmp = this.f9_1;
|
|
416
416
|
if (tmp === 0) {
|
|
417
417
|
this.g9_1 = 1;
|
|
418
|
-
this.
|
|
418
|
+
this.r9k_1(this.s9k_1);
|
|
419
419
|
return Unit_instance;
|
|
420
420
|
} else if (tmp === 1) {
|
|
421
421
|
throw this.i9_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).u9k = function (it, completion) {
|
|
430
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.r9k_1, completion);
|
|
431
|
+
i.s9k_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.t9k(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.d9l_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).f9l = function (it, $completion) {
|
|
447
|
+
var tmp = this.g9l(it, $completion);
|
|
448
448
|
tmp.h9_1 = Unit_instance;
|
|
449
449
|
tmp.i9_1 = null;
|
|
450
450
|
return tmp.n9();
|
|
451
451
|
};
|
|
452
452
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).x9 = function (p1, $completion) {
|
|
453
|
-
return this.
|
|
453
|
+
return this.f9l((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
|
|
454
454
|
};
|
|
455
455
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).n9 = function () {
|
|
456
456
|
var suspendResult = this.h9_1;
|
|
@@ -459,7 +459,7 @@
|
|
|
459
459
|
var tmp = this.f9_1;
|
|
460
460
|
if (tmp === 0) {
|
|
461
461
|
this.g9_1 = 1;
|
|
462
|
-
this.
|
|
462
|
+
this.d9l_1(this.e9l_1);
|
|
463
463
|
return Unit_instance;
|
|
464
464
|
} else if (tmp === 1) {
|
|
465
465
|
throw this.i9_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).g9l = function (it, completion) {
|
|
474
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.d9l_1, completion);
|
|
475
|
+
i.e9l_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.f9l(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.p9l_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).r9l = function (it, $completion) {
|
|
491
|
+
var tmp = this.s9l(it, $completion);
|
|
492
492
|
tmp.h9_1 = Unit_instance;
|
|
493
493
|
tmp.i9_1 = null;
|
|
494
494
|
return tmp.n9();
|
|
495
495
|
};
|
|
496
496
|
protoOf(GameServer$subscribeWith$slambda$slambda).x9 = function (p1, $completion) {
|
|
497
|
-
return this.
|
|
497
|
+
return this.r9l(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
498
498
|
};
|
|
499
499
|
protoOf(GameServer$subscribeWith$slambda$slambda).n9 = function () {
|
|
500
500
|
var suspendResult = this.h9_1;
|
|
@@ -503,7 +503,7 @@
|
|
|
503
503
|
var tmp = this.f9_1;
|
|
504
504
|
if (tmp === 0) {
|
|
505
505
|
this.g9_1 = 1;
|
|
506
|
-
this.
|
|
506
|
+
this.p9l_1(this.q9l_1);
|
|
507
507
|
return Unit_instance;
|
|
508
508
|
} else if (tmp === 1) {
|
|
509
509
|
throw this.i9_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).s9l = function (it, completion) {
|
|
518
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.p9l_1, completion);
|
|
519
|
+
i.q9l_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.r9l(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.t9l_1 = $playerId;
|
|
532
532
|
}
|
|
533
533
|
protoOf(GameServer$roomOnCreate$1$updatedUsers$previousTeams$1).n6a = function () {
|
|
534
|
-
return this.
|
|
534
|
+
return this.t9l_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.w9l_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.x9l_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.y9l_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.z9l_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.a9m_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.b9m_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.c9m_1;
|
|
575
575
|
idsProvider$factory_0();
|
|
576
576
|
return this_0.u();
|
|
577
577
|
}
|
|
578
578
|
function Companion() {
|
|
579
|
-
this.
|
|
579
|
+
this.e9m_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.f9m_1 = function_0;
|
|
587
587
|
}
|
|
588
588
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).q18 = function (value, $completion) {
|
|
589
|
-
return this.
|
|
589
|
+
return this.f9m_1(value, $completion);
|
|
590
590
|
};
|
|
591
591
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).p3 = function () {
|
|
592
|
-
return this.
|
|
592
|
+
return this.f9m_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.p3());
|
|
611
611
|
};
|
|
612
612
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
613
|
-
this.
|
|
613
|
+
this.g9m_1 = function_0;
|
|
614
614
|
}
|
|
615
615
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).q18 = function (value, $completion) {
|
|
616
|
-
return this.
|
|
616
|
+
return this.g9m_1(value, $completion);
|
|
617
617
|
};
|
|
618
618
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).p3 = function () {
|
|
619
|
-
return this.
|
|
619
|
+
return this.g9m_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.p3());
|
|
638
638
|
};
|
|
639
639
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
640
|
-
this.
|
|
640
|
+
this.h9m_1 = function_0;
|
|
641
641
|
}
|
|
642
642
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).q18 = function (value, $completion) {
|
|
643
|
-
return this.
|
|
643
|
+
return this.h9m_1(value, $completion);
|
|
644
644
|
};
|
|
645
645
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).p3 = function () {
|
|
646
|
-
return this.
|
|
646
|
+
return this.h9m_1;
|
|
647
647
|
};
|
|
648
648
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
649
649
|
var tmp;
|
|
@@ -669,8 +669,8 @@
|
|
|
669
669
|
};
|
|
670
670
|
}
|
|
671
671
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
672
|
-
this.
|
|
673
|
-
this.
|
|
672
|
+
this.q9m_1 = this$0;
|
|
673
|
+
this.r9m_1 = $subscriber;
|
|
674
674
|
CoroutineImpl.call(this, resultContinuation);
|
|
675
675
|
}
|
|
676
676
|
protoOf(GameServer$subscribeToClientAction$slambda).l1e = function ($this$launchDefault, $completion) {
|
|
@@ -691,8 +691,8 @@
|
|
|
691
691
|
case 0:
|
|
692
692
|
this.g9_1 = 2;
|
|
693
693
|
this.f9_1 = 1;
|
|
694
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
695
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
694
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.q9m_1).t9m();
|
|
695
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.r9m_1, null);
|
|
696
696
|
suspendResult = tmp_0.n17(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
697
697
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
698
698
|
return suspendResult;
|
|
@@ -716,8 +716,8 @@
|
|
|
716
716
|
while (true);
|
|
717
717
|
};
|
|
718
718
|
protoOf(GameServer$subscribeToClientAction$slambda).m1e = function ($this$launchDefault, completion) {
|
|
719
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
720
|
-
i.
|
|
719
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.q9m_1, this.r9m_1, completion);
|
|
720
|
+
i.s9m_1 = $this$launchDefault;
|
|
721
721
|
return i;
|
|
722
722
|
};
|
|
723
723
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -729,8 +729,8 @@
|
|
|
729
729
|
return l;
|
|
730
730
|
}
|
|
731
731
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
732
|
-
this.
|
|
733
|
-
this.
|
|
732
|
+
this.c9n_1 = this$0;
|
|
733
|
+
this.d9n_1 = $subscriber;
|
|
734
734
|
CoroutineImpl.call(this, resultContinuation);
|
|
735
735
|
}
|
|
736
736
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).l1e = function ($this$launchDefault, $completion) {
|
|
@@ -751,8 +751,8 @@
|
|
|
751
751
|
case 0:
|
|
752
752
|
this.g9_1 = 2;
|
|
753
753
|
this.f9_1 = 1;
|
|
754
|
-
var tmp_0 = _get_mechanicEventsObserver__ll1b9k(this.
|
|
755
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
754
|
+
var tmp_0 = _get_mechanicEventsObserver__ll1b9k(this.c9n_1).f9n(this.c9n_1.r6q());
|
|
755
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.d9n_1, null);
|
|
756
756
|
suspendResult = tmp_0.n17(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
757
757
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
758
758
|
return suspendResult;
|
|
@@ -776,8 +776,8 @@
|
|
|
776
776
|
while (true);
|
|
777
777
|
};
|
|
778
778
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).m1e = function ($this$launchDefault, completion) {
|
|
779
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
780
|
-
i.
|
|
779
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.c9n_1, this.d9n_1, completion);
|
|
780
|
+
i.e9n_1 = $this$launchDefault;
|
|
781
781
|
return i;
|
|
782
782
|
};
|
|
783
783
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -789,8 +789,8 @@
|
|
|
789
789
|
return l;
|
|
790
790
|
}
|
|
791
791
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
792
|
-
this.
|
|
793
|
-
this.
|
|
792
|
+
this.o9n_1 = this$0;
|
|
793
|
+
this.p9n_1 = $subscriber;
|
|
794
794
|
CoroutineImpl.call(this, resultContinuation);
|
|
795
795
|
}
|
|
796
796
|
protoOf(GameServer$subscribeWith$slambda).l1e = function ($this$launchDefault, $completion) {
|
|
@@ -811,8 +811,8 @@
|
|
|
811
811
|
case 0:
|
|
812
812
|
this.g9_1 = 2;
|
|
813
813
|
this.f9_1 = 1;
|
|
814
|
-
var tmp_0 = distinctUntilChanged(this.
|
|
815
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
814
|
+
var tmp_0 = distinctUntilChanged(this.o9n_1.r6q());
|
|
815
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.p9n_1, null);
|
|
816
816
|
suspendResult = tmp_0.n17(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
817
817
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
818
818
|
return suspendResult;
|
|
@@ -836,8 +836,8 @@
|
|
|
836
836
|
while (true);
|
|
837
837
|
};
|
|
838
838
|
protoOf(GameServer$subscribeWith$slambda).m1e = function ($this$launchDefault, completion) {
|
|
839
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
840
|
-
i.
|
|
839
|
+
var i = new GameServer$subscribeWith$slambda(this.o9n_1, this.p9n_1, completion);
|
|
840
|
+
i.q9n_1 = $this$launchDefault;
|
|
841
841
|
return i;
|
|
842
842
|
};
|
|
843
843
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -849,18 +849,18 @@
|
|
|
849
849
|
return l;
|
|
850
850
|
}
|
|
851
851
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
852
|
-
this.
|
|
852
|
+
this.z9n_1 = $action;
|
|
853
853
|
CoroutineImpl.call(this, resultContinuation);
|
|
854
854
|
}
|
|
855
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
856
|
-
var tmp = this.
|
|
855
|
+
protoOf(GameServer$fromClientEvent$slambda).c9o = function ($this$dispatchAsync, store, $completion) {
|
|
856
|
+
var tmp = this.d9o($this$dispatchAsync, store, $completion);
|
|
857
857
|
tmp.h9_1 = Unit_instance;
|
|
858
858
|
tmp.i9_1 = null;
|
|
859
859
|
return tmp.n9();
|
|
860
860
|
};
|
|
861
861
|
protoOf(GameServer$fromClientEvent$slambda).y9 = function (p1, p2, $completion) {
|
|
862
862
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
863
|
-
return this.
|
|
863
|
+
return this.c9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
864
864
|
};
|
|
865
865
|
protoOf(GameServer$fromClientEvent$slambda).n9 = function () {
|
|
866
866
|
var suspendResult = this.h9_1;
|
|
@@ -869,11 +869,11 @@
|
|
|
869
869
|
var tmp = this.f9_1;
|
|
870
870
|
if (tmp === 0) {
|
|
871
871
|
this.g9_1 = 1;
|
|
872
|
-
if (this.
|
|
873
|
-
if (!get_isCreated(this.
|
|
872
|
+
if (this.z9n_1 instanceof PlayerReadyFromClientAction)
|
|
873
|
+
if (!get_isCreated(this.b9o_1.state)) {
|
|
874
874
|
return Unit_instance;
|
|
875
875
|
}
|
|
876
|
-
this.
|
|
876
|
+
this.b9o_1.dispatch(this.z9n_1);
|
|
877
877
|
return Unit_instance;
|
|
878
878
|
} else if (tmp === 1) {
|
|
879
879
|
throw this.i9_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).d9o = function ($this$dispatchAsync, store, completion) {
|
|
888
|
+
var i = new GameServer$fromClientEvent$slambda(this.z9n_1, completion);
|
|
889
|
+
i.a9o_1 = $this$dispatchAsync;
|
|
890
|
+
i.b9o_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.c9o($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.m9o_1 = $playerId;
|
|
903
903
|
CoroutineImpl.call(this, resultContinuation);
|
|
904
904
|
}
|
|
905
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
906
|
-
var tmp = this.
|
|
905
|
+
protoOf(GameServer$playerLostConnection$slambda).c9o = function ($this$dispatchAsync, store, $completion) {
|
|
906
|
+
var tmp = this.d9o($this$dispatchAsync, store, $completion);
|
|
907
907
|
tmp.h9_1 = Unit_instance;
|
|
908
908
|
tmp.i9_1 = null;
|
|
909
909
|
return tmp.n9();
|
|
910
910
|
};
|
|
911
911
|
protoOf(GameServer$playerLostConnection$slambda).y9 = function (p1, p2, $completion) {
|
|
912
912
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
913
|
-
return this.
|
|
913
|
+
return this.c9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
914
914
|
};
|
|
915
915
|
protoOf(GameServer$playerLostConnection$slambda).n9 = function () {
|
|
916
916
|
var suspendResult = this.h9_1;
|
|
@@ -919,12 +919,12 @@
|
|
|
919
919
|
var tmp = this.f9_1;
|
|
920
920
|
if (tmp === 0) {
|
|
921
921
|
this.g9_1 = 1;
|
|
922
|
-
if (!get_isCreated(this.
|
|
922
|
+
if (!get_isCreated(this.o9o_1.state)) {
|
|
923
923
|
return Unit_instance;
|
|
924
924
|
}
|
|
925
|
-
var tmp_0 = this.
|
|
925
|
+
var tmp_0 = this.o9o_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.m9o_1));
|
|
928
928
|
return Unit_instance;
|
|
929
929
|
} else if (tmp === 1) {
|
|
930
930
|
throw this.i9_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).d9o = function ($this$dispatchAsync, store, completion) {
|
|
939
|
+
var i = new GameServer$playerLostConnection$slambda(this.m9o_1, completion);
|
|
940
|
+
i.n9o_1 = $this$dispatchAsync;
|
|
941
|
+
i.o9o_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.c9o($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.x9o_1 = $playerId;
|
|
954
954
|
CoroutineImpl.call(this, resultContinuation);
|
|
955
955
|
}
|
|
956
|
-
protoOf(GameServer$playerLive$slambda).
|
|
957
|
-
var tmp = this.
|
|
956
|
+
protoOf(GameServer$playerLive$slambda).c9o = function ($this$dispatchAsync, store, $completion) {
|
|
957
|
+
var tmp = this.d9o($this$dispatchAsync, store, $completion);
|
|
958
958
|
tmp.h9_1 = Unit_instance;
|
|
959
959
|
tmp.i9_1 = null;
|
|
960
960
|
return tmp.n9();
|
|
961
961
|
};
|
|
962
962
|
protoOf(GameServer$playerLive$slambda).y9 = function (p1, p2, $completion) {
|
|
963
963
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
964
|
-
return this.
|
|
964
|
+
return this.c9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
965
965
|
};
|
|
966
966
|
protoOf(GameServer$playerLive$slambda).n9 = function () {
|
|
967
967
|
var suspendResult = this.h9_1;
|
|
@@ -970,9 +970,9 @@
|
|
|
970
970
|
var tmp = this.f9_1;
|
|
971
971
|
if (tmp === 0) {
|
|
972
972
|
this.g9_1 = 1;
|
|
973
|
-
var tmp_0 = this.
|
|
973
|
+
var tmp_0 = this.z9o_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.x9o_1));
|
|
976
976
|
return Unit_instance;
|
|
977
977
|
} else if (tmp === 1) {
|
|
978
978
|
throw this.i9_1;
|
|
@@ -983,33 +983,34 @@
|
|
|
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).d9o = function ($this$dispatchAsync, store, completion) {
|
|
987
|
+
var i = new GameServer$playerLive$slambda(this.x9o_1, completion);
|
|
988
|
+
i.y9o_1 = $this$dispatchAsync;
|
|
989
|
+
i.z9o_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.c9o($this$dispatchAsync, store, $completion);
|
|
996
996
|
};
|
|
997
997
|
l.$arity = 2;
|
|
998
998
|
return l;
|
|
999
999
|
}
|
|
1000
|
-
function GameServer$playerLeft$slambda($playerId, resultContinuation) {
|
|
1001
|
-
this.
|
|
1000
|
+
function GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation) {
|
|
1001
|
+
this.i9p_1 = this$0;
|
|
1002
|
+
this.j9p_1 = $playerId;
|
|
1002
1003
|
CoroutineImpl.call(this, resultContinuation);
|
|
1003
1004
|
}
|
|
1004
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
1005
|
-
var tmp = this.
|
|
1005
|
+
protoOf(GameServer$playerLeft$slambda).c9o = function ($this$dispatchAsync, store, $completion) {
|
|
1006
|
+
var tmp = this.d9o($this$dispatchAsync, store, $completion);
|
|
1006
1007
|
tmp.h9_1 = Unit_instance;
|
|
1007
1008
|
tmp.i9_1 = null;
|
|
1008
1009
|
return tmp.n9();
|
|
1009
1010
|
};
|
|
1010
1011
|
protoOf(GameServer$playerLeft$slambda).y9 = function (p1, p2, $completion) {
|
|
1011
1012
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1012
|
-
return this.
|
|
1013
|
+
return this.c9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1013
1014
|
};
|
|
1014
1015
|
protoOf(GameServer$playerLeft$slambda).n9 = function () {
|
|
1015
1016
|
var suspendResult = this.h9_1;
|
|
@@ -1018,9 +1019,13 @@
|
|
|
1018
1019
|
var tmp = this.f9_1;
|
|
1019
1020
|
if (tmp === 0) {
|
|
1020
1021
|
this.g9_1 = 1;
|
|
1021
|
-
|
|
1022
|
+
if (!get_isCreated(this.l9p_1.state) || !this.i9p_1.m6b().v6r()) {
|
|
1023
|
+
_get_logger__rkp4sl(this.i9p_1).w('GameEngine_API', 'playerLeft: ' + this.j9p_1 + ' called before the game start');
|
|
1024
|
+
return Unit_instance;
|
|
1025
|
+
}
|
|
1026
|
+
var tmp_0 = this.l9p_1.dispatch;
|
|
1022
1027
|
var tmp0_connectionState = PlayerConnectionState_LEFT_getInstance();
|
|
1023
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
1028
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.j9p_1));
|
|
1024
1029
|
return Unit_instance;
|
|
1025
1030
|
} else if (tmp === 1) {
|
|
1026
1031
|
throw this.i9_1;
|
|
@@ -1031,39 +1036,39 @@
|
|
|
1031
1036
|
}
|
|
1032
1037
|
while (true);
|
|
1033
1038
|
};
|
|
1034
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
1035
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
1036
|
-
i.
|
|
1037
|
-
i.
|
|
1039
|
+
protoOf(GameServer$playerLeft$slambda).d9o = function ($this$dispatchAsync, store, completion) {
|
|
1040
|
+
var i = new GameServer$playerLeft$slambda(this.i9p_1, this.j9p_1, completion);
|
|
1041
|
+
i.k9p_1 = $this$dispatchAsync;
|
|
1042
|
+
i.l9p_1 = store;
|
|
1038
1043
|
return i;
|
|
1039
1044
|
};
|
|
1040
|
-
function GameServer$playerLeft$slambda_0($playerId, resultContinuation) {
|
|
1041
|
-
var i = new GameServer$playerLeft$slambda($playerId, resultContinuation);
|
|
1045
|
+
function GameServer$playerLeft$slambda_0(this$0, $playerId, resultContinuation) {
|
|
1046
|
+
var i = new GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation);
|
|
1042
1047
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1043
|
-
return i.
|
|
1048
|
+
return i.c9o($this$dispatchAsync, store, $completion);
|
|
1044
1049
|
};
|
|
1045
1050
|
l.$arity = 2;
|
|
1046
1051
|
return l;
|
|
1047
1052
|
}
|
|
1048
1053
|
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.
|
|
1054
|
+
this.u9p_1 = $usersArray;
|
|
1055
|
+
this.v9p_1 = $gameCreatorId;
|
|
1056
|
+
this.w9p_1 = $config;
|
|
1057
|
+
this.x9p_1 = $transition;
|
|
1058
|
+
this.y9p_1 = this$0;
|
|
1059
|
+
this.z9p_1 = $spectators;
|
|
1060
|
+
this.a9q_1 = $roomId;
|
|
1056
1061
|
CoroutineImpl.call(this, resultContinuation);
|
|
1057
1062
|
}
|
|
1058
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
1059
|
-
var tmp = this.
|
|
1063
|
+
protoOf(GameServer$roomOnCreate$slambda).c9o = function ($this$dispatchAsync, store, $completion) {
|
|
1064
|
+
var tmp = this.d9o($this$dispatchAsync, store, $completion);
|
|
1060
1065
|
tmp.h9_1 = Unit_instance;
|
|
1061
1066
|
tmp.i9_1 = null;
|
|
1062
1067
|
return tmp.n9();
|
|
1063
1068
|
};
|
|
1064
1069
|
protoOf(GameServer$roomOnCreate$slambda).y9 = function (p1, p2, $completion) {
|
|
1065
1070
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1066
|
-
return this.
|
|
1071
|
+
return this.c9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1067
1072
|
};
|
|
1068
1073
|
protoOf(GameServer$roomOnCreate$slambda).n9 = function () {
|
|
1069
1074
|
var suspendResult = this.h9_1;
|
|
@@ -1072,24 +1077,24 @@
|
|
|
1072
1077
|
var tmp = this.f9_1;
|
|
1073
1078
|
if (tmp === 0) {
|
|
1074
1079
|
this.g9_1 = 1;
|
|
1075
|
-
var users = toList(this.
|
|
1076
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
1080
|
+
var users = toList(this.u9p_1);
|
|
1081
|
+
var gameCreatorUser = getPlayer(users, this.v9p_1);
|
|
1077
1082
|
var tmp_0;
|
|
1078
|
-
if (this.
|
|
1079
|
-
tmp_0 = sortWithItem(_get_random__h29cgo(this.
|
|
1083
|
+
if (this.w9p_1.mode.shufflePlayers && this.x9p_1 == null) {
|
|
1084
|
+
tmp_0 = sortWithItem(_get_random__h29cgo(this.y9p_1).l5w(toMutableList(users)), gameCreatorUser);
|
|
1080
1085
|
} else {
|
|
1081
|
-
var tmp0_safe_receiver = this.
|
|
1086
|
+
var tmp0_safe_receiver = this.x9p_1;
|
|
1082
1087
|
var previousPlayers = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.previousPlayers;
|
|
1083
1088
|
var tmp_1;
|
|
1084
|
-
if (!(previousPlayers == null) && this.
|
|
1085
|
-
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.
|
|
1089
|
+
if (!(previousPlayers == null) && this.w9p_1.playersMode.isTeamGame) {
|
|
1090
|
+
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.y9p_1);
|
|
1086
1091
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(previousPlayers, 10));
|
|
1087
1092
|
var tmp0_iterator = previousPlayers.j();
|
|
1088
1093
|
while (tmp0_iterator.k()) {
|
|
1089
1094
|
var item = tmp0_iterator.l();
|
|
1090
1095
|
destination.e(new GameServer$roomOnCreate$1$updatedUsers$previousTeams$1(item));
|
|
1091
1096
|
}
|
|
1092
|
-
var previousTeams = tmp_2.
|
|
1097
|
+
var previousTeams = tmp_2.v8s(destination);
|
|
1093
1098
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
1094
1099
|
var tmp0_iterator_0 = users.j();
|
|
1095
1100
|
while (tmp0_iterator_0.k()) {
|
|
@@ -1113,17 +1118,17 @@
|
|
|
1113
1118
|
destination_1.e(destination_2);
|
|
1114
1119
|
}
|
|
1115
1120
|
var updatedTeams = destination_1;
|
|
1116
|
-
tmp_1 = _get_teamsLogicProvider__u10pm6(this.
|
|
1121
|
+
tmp_1 = _get_teamsLogicProvider__u10pm6(this.y9p_1).z8s(updatedTeams);
|
|
1117
1122
|
} else {
|
|
1118
1123
|
tmp_1 = users;
|
|
1119
1124
|
}
|
|
1120
1125
|
tmp_0 = tmp_1;
|
|
1121
1126
|
}
|
|
1122
1127
|
var updatedUsers = tmp_0;
|
|
1123
|
-
var tmp_3 = this.
|
|
1128
|
+
var tmp_3 = this.c9q_1.dispatch;
|
|
1124
1129
|
var tmp1_version = GameEngineConfig_instance.version;
|
|
1125
|
-
var tmp2_spectators = toList(this.
|
|
1126
|
-
tmp_3(new StartGameMechanicAction(this.
|
|
1130
|
+
var tmp2_spectators = toList(this.z9p_1);
|
|
1131
|
+
tmp_3(new StartGameMechanicAction(this.w9p_1, this.a9q_1, tmp1_version, this.v9p_1, updatedUsers, VOID, tmp2_spectators));
|
|
1127
1132
|
return Unit_instance;
|
|
1128
1133
|
} else if (tmp === 1) {
|
|
1129
1134
|
throw this.i9_1;
|
|
@@ -1134,33 +1139,33 @@
|
|
|
1134
1139
|
}
|
|
1135
1140
|
while (true);
|
|
1136
1141
|
};
|
|
1137
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
1138
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
1139
|
-
i.
|
|
1140
|
-
i.
|
|
1142
|
+
protoOf(GameServer$roomOnCreate$slambda).d9o = function ($this$dispatchAsync, store, completion) {
|
|
1143
|
+
var i = new GameServer$roomOnCreate$slambda(this.u9p_1, this.v9p_1, this.w9p_1, this.x9p_1, this.y9p_1, this.z9p_1, this.a9q_1, completion);
|
|
1144
|
+
i.b9q_1 = $this$dispatchAsync;
|
|
1145
|
+
i.c9q_1 = store;
|
|
1141
1146
|
return i;
|
|
1142
1147
|
};
|
|
1143
1148
|
function GameServer$roomOnCreate$slambda_0($usersArray, $gameCreatorId, $config, $transition, this$0, $spectators, $roomId, resultContinuation) {
|
|
1144
1149
|
var i = new GameServer$roomOnCreate$slambda($usersArray, $gameCreatorId, $config, $transition, this$0, $spectators, $roomId, resultContinuation);
|
|
1145
1150
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1146
|
-
return i.
|
|
1151
|
+
return i.c9o($this$dispatchAsync, store, $completion);
|
|
1147
1152
|
};
|
|
1148
1153
|
l.$arity = 2;
|
|
1149
1154
|
return l;
|
|
1150
1155
|
}
|
|
1151
1156
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
1152
|
-
this.
|
|
1157
|
+
this.l9q_1 = $state;
|
|
1153
1158
|
CoroutineImpl.call(this, resultContinuation);
|
|
1154
1159
|
}
|
|
1155
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
1156
|
-
var tmp = this.
|
|
1160
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).c9o = function ($this$dispatchAsync, store, $completion) {
|
|
1161
|
+
var tmp = this.d9o($this$dispatchAsync, store, $completion);
|
|
1157
1162
|
tmp.h9_1 = Unit_instance;
|
|
1158
1163
|
tmp.i9_1 = null;
|
|
1159
1164
|
return tmp.n9();
|
|
1160
1165
|
};
|
|
1161
1166
|
protoOf(GameServer$roomOnContinueFromState$slambda).y9 = function (p1, p2, $completion) {
|
|
1162
1167
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1163
|
-
return this.
|
|
1168
|
+
return this.c9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1164
1169
|
};
|
|
1165
1170
|
protoOf(GameServer$roomOnContinueFromState$slambda).n9 = function () {
|
|
1166
1171
|
var suspendResult = this.h9_1;
|
|
@@ -1169,9 +1174,9 @@
|
|
|
1169
1174
|
var tmp = this.f9_1;
|
|
1170
1175
|
if (tmp === 0) {
|
|
1171
1176
|
this.g9_1 = 1;
|
|
1172
|
-
var tmp_0 = this.
|
|
1177
|
+
var tmp_0 = this.n9q_1.dispatch;
|
|
1173
1178
|
var tmp0_reason = new RestartRoundReason(null);
|
|
1174
|
-
var tmp1_table = this.
|
|
1179
|
+
var tmp1_table = this.l9q_1.table;
|
|
1175
1180
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
1176
1181
|
return Unit_instance;
|
|
1177
1182
|
} else if (tmp === 1) {
|
|
@@ -1183,33 +1188,33 @@
|
|
|
1183
1188
|
}
|
|
1184
1189
|
while (true);
|
|
1185
1190
|
};
|
|
1186
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
1187
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
1188
|
-
i.
|
|
1189
|
-
i.
|
|
1191
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).d9o = function ($this$dispatchAsync, store, completion) {
|
|
1192
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.l9q_1, completion);
|
|
1193
|
+
i.m9q_1 = $this$dispatchAsync;
|
|
1194
|
+
i.n9q_1 = store;
|
|
1190
1195
|
return i;
|
|
1191
1196
|
};
|
|
1192
1197
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
1193
1198
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
1194
1199
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1195
|
-
return i.
|
|
1200
|
+
return i.c9o($this$dispatchAsync, store, $completion);
|
|
1196
1201
|
};
|
|
1197
1202
|
l.$arity = 2;
|
|
1198
1203
|
return l;
|
|
1199
1204
|
}
|
|
1200
1205
|
function GameServer$roomOnContinueFromState$slambda_1($state, resultContinuation) {
|
|
1201
|
-
this.
|
|
1206
|
+
this.w9q_1 = $state;
|
|
1202
1207
|
CoroutineImpl.call(this, resultContinuation);
|
|
1203
1208
|
}
|
|
1204
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
1205
|
-
var tmp = this.
|
|
1209
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).c9o = function ($this$dispatchAsync, store, $completion) {
|
|
1210
|
+
var tmp = this.d9o($this$dispatchAsync, store, $completion);
|
|
1206
1211
|
tmp.h9_1 = Unit_instance;
|
|
1207
1212
|
tmp.i9_1 = null;
|
|
1208
1213
|
return tmp.n9();
|
|
1209
1214
|
};
|
|
1210
1215
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).y9 = function (p1, p2, $completion) {
|
|
1211
1216
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1212
|
-
return this.
|
|
1217
|
+
return this.c9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1213
1218
|
};
|
|
1214
1219
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).n9 = function () {
|
|
1215
1220
|
var suspendResult = this.h9_1;
|
|
@@ -1218,10 +1223,10 @@
|
|
|
1218
1223
|
var tmp = this.f9_1;
|
|
1219
1224
|
if (tmp === 0) {
|
|
1220
1225
|
this.g9_1 = 1;
|
|
1221
|
-
var tmp0_iterator = this.
|
|
1226
|
+
var tmp0_iterator = this.w9q_1.actions.j();
|
|
1222
1227
|
while (tmp0_iterator.k()) {
|
|
1223
1228
|
var element = tmp0_iterator.l();
|
|
1224
|
-
this.
|
|
1229
|
+
this.y9q_1.dispatch(element);
|
|
1225
1230
|
}
|
|
1226
1231
|
return Unit_instance;
|
|
1227
1232
|
} else if (tmp === 1) {
|
|
@@ -1233,35 +1238,35 @@
|
|
|
1233
1238
|
}
|
|
1234
1239
|
while (true);
|
|
1235
1240
|
};
|
|
1236
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
1237
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
1238
|
-
i.
|
|
1239
|
-
i.
|
|
1241
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).d9o = function ($this$dispatchAsync, store, completion) {
|
|
1242
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.w9q_1, completion);
|
|
1243
|
+
i.x9q_1 = $this$dispatchAsync;
|
|
1244
|
+
i.y9q_1 = store;
|
|
1240
1245
|
return i;
|
|
1241
1246
|
};
|
|
1242
1247
|
function GameServer$roomOnContinueFromState$slambda_2($state, resultContinuation) {
|
|
1243
1248
|
var i = new GameServer$roomOnContinueFromState$slambda_1($state, resultContinuation);
|
|
1244
1249
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1245
|
-
return i.
|
|
1250
|
+
return i.c9o($this$dispatchAsync, store, $completion);
|
|
1246
1251
|
};
|
|
1247
1252
|
l.$arity = 2;
|
|
1248
1253
|
return l;
|
|
1249
1254
|
}
|
|
1250
1255
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
1251
|
-
this.
|
|
1252
|
-
this.
|
|
1253
|
-
this.
|
|
1256
|
+
this.h9r_1 = $tableLite;
|
|
1257
|
+
this.i9r_1 = $roomId;
|
|
1258
|
+
this.j9r_1 = this$0;
|
|
1254
1259
|
CoroutineImpl.call(this, resultContinuation);
|
|
1255
1260
|
}
|
|
1256
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
1257
|
-
var tmp = this.
|
|
1261
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).c9o = function ($this$dispatchAsync, store, $completion) {
|
|
1262
|
+
var tmp = this.d9o($this$dispatchAsync, store, $completion);
|
|
1258
1263
|
tmp.h9_1 = Unit_instance;
|
|
1259
1264
|
tmp.i9_1 = null;
|
|
1260
1265
|
return tmp.n9();
|
|
1261
1266
|
};
|
|
1262
1267
|
protoOf(GameServer$roomOnContinueFromRound$slambda).y9 = function (p1, p2, $completion) {
|
|
1263
1268
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1264
|
-
return this.
|
|
1269
|
+
return this.c9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1265
1270
|
};
|
|
1266
1271
|
protoOf(GameServer$roomOnContinueFromRound$slambda).n9 = function () {
|
|
1267
1272
|
var suspendResult = this.h9_1;
|
|
@@ -1270,9 +1275,9 @@
|
|
|
1270
1275
|
var tmp = this.f9_1;
|
|
1271
1276
|
if (tmp === 0) {
|
|
1272
1277
|
this.g9_1 = 1;
|
|
1273
|
-
var tmp_0 = this.
|
|
1274
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
1275
|
-
var tmp1_table = Companion_instance.restartRound(this.
|
|
1278
|
+
var tmp_0 = this.l9r_1.dispatch;
|
|
1279
|
+
var tmp0_reason = new RestartRoundReason(this.h9r_1.gameInfo.round.roundNumber);
|
|
1280
|
+
var tmp1_table = Companion_instance.restartRound(this.i9r_1, _get_idsProvider__fnfajc(this.j9r_1).a6i(), GameEngineConfig_instance.version, this.h9r_1);
|
|
1276
1281
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
1277
1282
|
return Unit_instance;
|
|
1278
1283
|
} else if (tmp === 1) {
|
|
@@ -1284,16 +1289,16 @@
|
|
|
1284
1289
|
}
|
|
1285
1290
|
while (true);
|
|
1286
1291
|
};
|
|
1287
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
1288
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
1289
|
-
i.
|
|
1290
|
-
i.
|
|
1292
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).d9o = function ($this$dispatchAsync, store, completion) {
|
|
1293
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.h9r_1, this.i9r_1, this.j9r_1, completion);
|
|
1294
|
+
i.k9r_1 = $this$dispatchAsync;
|
|
1295
|
+
i.l9r_1 = store;
|
|
1291
1296
|
return i;
|
|
1292
1297
|
};
|
|
1293
1298
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
1294
1299
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
1295
1300
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1296
|
-
return i.
|
|
1301
|
+
return i.c9o($this$dispatchAsync, store, $completion);
|
|
1297
1302
|
};
|
|
1298
1303
|
l.$arity = 2;
|
|
1299
1304
|
return l;
|
|
@@ -1301,15 +1306,15 @@
|
|
|
1301
1306
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
1302
1307
|
CoroutineImpl.call(this, resultContinuation);
|
|
1303
1308
|
}
|
|
1304
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
1305
|
-
var tmp = this.
|
|
1309
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).c9o = function ($this$dispatchAsync, store, $completion) {
|
|
1310
|
+
var tmp = this.d9o($this$dispatchAsync, store, $completion);
|
|
1306
1311
|
tmp.h9_1 = Unit_instance;
|
|
1307
1312
|
tmp.i9_1 = null;
|
|
1308
1313
|
return tmp.n9();
|
|
1309
1314
|
};
|
|
1310
1315
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).y9 = function (p1, p2, $completion) {
|
|
1311
1316
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1312
|
-
return this.
|
|
1317
|
+
return this.c9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1313
1318
|
};
|
|
1314
1319
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).n9 = function () {
|
|
1315
1320
|
var suspendResult = this.h9_1;
|
|
@@ -1318,7 +1323,7 @@
|
|
|
1318
1323
|
var tmp = this.f9_1;
|
|
1319
1324
|
if (tmp === 0) {
|
|
1320
1325
|
this.g9_1 = 1;
|
|
1321
|
-
this.
|
|
1326
|
+
this.v9r_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
1322
1327
|
return Unit_instance;
|
|
1323
1328
|
} else if (tmp === 1) {
|
|
1324
1329
|
throw this.i9_1;
|
|
@@ -1329,33 +1334,33 @@
|
|
|
1329
1334
|
}
|
|
1330
1335
|
while (true);
|
|
1331
1336
|
};
|
|
1332
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
1337
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).d9o = function ($this$dispatchAsync, store, completion) {
|
|
1333
1338
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
1334
|
-
i.
|
|
1335
|
-
i.
|
|
1339
|
+
i.u9r_1 = $this$dispatchAsync;
|
|
1340
|
+
i.v9r_1 = store;
|
|
1336
1341
|
return i;
|
|
1337
1342
|
};
|
|
1338
1343
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
1339
1344
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
1340
1345
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1341
|
-
return i.
|
|
1346
|
+
return i.c9o($this$dispatchAsync, store, $completion);
|
|
1342
1347
|
};
|
|
1343
1348
|
l.$arity = 2;
|
|
1344
1349
|
return l;
|
|
1345
1350
|
}
|
|
1346
1351
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
1347
|
-
this.
|
|
1352
|
+
this.e9s_1 = $spectators;
|
|
1348
1353
|
CoroutineImpl.call(this, resultContinuation);
|
|
1349
1354
|
}
|
|
1350
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
1351
|
-
var tmp = this.
|
|
1355
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).c9o = function ($this$dispatchAsync, store, $completion) {
|
|
1356
|
+
var tmp = this.d9o($this$dispatchAsync, store, $completion);
|
|
1352
1357
|
tmp.h9_1 = Unit_instance;
|
|
1353
1358
|
tmp.i9_1 = null;
|
|
1354
1359
|
return tmp.n9();
|
|
1355
1360
|
};
|
|
1356
1361
|
protoOf(GameServer$addSpectatorsToRoom$slambda).y9 = function (p1, p2, $completion) {
|
|
1357
1362
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1358
|
-
return this.
|
|
1363
|
+
return this.c9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1359
1364
|
};
|
|
1360
1365
|
protoOf(GameServer$addSpectatorsToRoom$slambda).n9 = function () {
|
|
1361
1366
|
var suspendResult = this.h9_1;
|
|
@@ -1364,7 +1369,7 @@
|
|
|
1364
1369
|
var tmp = this.f9_1;
|
|
1365
1370
|
if (tmp === 0) {
|
|
1366
1371
|
this.g9_1 = 1;
|
|
1367
|
-
this.
|
|
1372
|
+
this.g9s_1.dispatch(new AddSpectatorsAction(toList(this.e9s_1)));
|
|
1368
1373
|
return Unit_instance;
|
|
1369
1374
|
} else if (tmp === 1) {
|
|
1370
1375
|
throw this.i9_1;
|
|
@@ -1375,33 +1380,33 @@
|
|
|
1375
1380
|
}
|
|
1376
1381
|
while (true);
|
|
1377
1382
|
};
|
|
1378
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
1379
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
1380
|
-
i.
|
|
1381
|
-
i.
|
|
1383
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).d9o = function ($this$dispatchAsync, store, completion) {
|
|
1384
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.e9s_1, completion);
|
|
1385
|
+
i.f9s_1 = $this$dispatchAsync;
|
|
1386
|
+
i.g9s_1 = store;
|
|
1382
1387
|
return i;
|
|
1383
1388
|
};
|
|
1384
1389
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
1385
1390
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
1386
1391
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1387
|
-
return i.
|
|
1392
|
+
return i.c9o($this$dispatchAsync, store, $completion);
|
|
1388
1393
|
};
|
|
1389
1394
|
l.$arity = 2;
|
|
1390
1395
|
return l;
|
|
1391
1396
|
}
|
|
1392
1397
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
1393
|
-
this.
|
|
1398
|
+
this.p9s_1 = $spectators;
|
|
1394
1399
|
CoroutineImpl.call(this, resultContinuation);
|
|
1395
1400
|
}
|
|
1396
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
1397
|
-
var tmp = this.
|
|
1401
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).c9o = function ($this$dispatchAsync, store, $completion) {
|
|
1402
|
+
var tmp = this.d9o($this$dispatchAsync, store, $completion);
|
|
1398
1403
|
tmp.h9_1 = Unit_instance;
|
|
1399
1404
|
tmp.i9_1 = null;
|
|
1400
1405
|
return tmp.n9();
|
|
1401
1406
|
};
|
|
1402
1407
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).y9 = function (p1, p2, $completion) {
|
|
1403
1408
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1404
|
-
return this.
|
|
1409
|
+
return this.c9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1405
1410
|
};
|
|
1406
1411
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).n9 = function () {
|
|
1407
1412
|
var suspendResult = this.h9_1;
|
|
@@ -1410,7 +1415,7 @@
|
|
|
1410
1415
|
var tmp = this.f9_1;
|
|
1411
1416
|
if (tmp === 0) {
|
|
1412
1417
|
this.g9_1 = 1;
|
|
1413
|
-
this.
|
|
1418
|
+
this.r9s_1.dispatch(new RemoveSpectatorsAction(toList(this.p9s_1)));
|
|
1414
1419
|
return Unit_instance;
|
|
1415
1420
|
} else if (tmp === 1) {
|
|
1416
1421
|
throw this.i9_1;
|
|
@@ -1421,34 +1426,34 @@
|
|
|
1421
1426
|
}
|
|
1422
1427
|
while (true);
|
|
1423
1428
|
};
|
|
1424
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
1425
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
1426
|
-
i.
|
|
1427
|
-
i.
|
|
1429
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).d9o = function ($this$dispatchAsync, store, completion) {
|
|
1430
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.p9s_1, completion);
|
|
1431
|
+
i.q9s_1 = $this$dispatchAsync;
|
|
1432
|
+
i.r9s_1 = store;
|
|
1428
1433
|
return i;
|
|
1429
1434
|
};
|
|
1430
1435
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
1431
1436
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
1432
1437
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1433
|
-
return i.
|
|
1438
|
+
return i.c9o($this$dispatchAsync, store, $completion);
|
|
1434
1439
|
};
|
|
1435
1440
|
l.$arity = 2;
|
|
1436
1441
|
return l;
|
|
1437
1442
|
}
|
|
1438
1443
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
1439
|
-
this.
|
|
1440
|
-
this.
|
|
1444
|
+
this.a9t_1 = $playerId;
|
|
1445
|
+
this.b9t_1 = this$0;
|
|
1441
1446
|
CoroutineImpl.call(this, resultContinuation);
|
|
1442
1447
|
}
|
|
1443
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
1444
|
-
var tmp = this.
|
|
1448
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).c9o = function ($this$dispatchAsync, store, $completion) {
|
|
1449
|
+
var tmp = this.d9o($this$dispatchAsync, store, $completion);
|
|
1445
1450
|
tmp.h9_1 = Unit_instance;
|
|
1446
1451
|
tmp.i9_1 = null;
|
|
1447
1452
|
return tmp.n9();
|
|
1448
1453
|
};
|
|
1449
1454
|
protoOf(GameServer$roomRefreshPlayerState$slambda).y9 = function (p1, p2, $completion) {
|
|
1450
1455
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1451
|
-
return this.
|
|
1456
|
+
return this.c9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1452
1457
|
};
|
|
1453
1458
|
protoOf(GameServer$roomRefreshPlayerState$slambda).n9 = function () {
|
|
1454
1459
|
var suspendResult = this.h9_1;
|
|
@@ -1457,14 +1462,14 @@
|
|
|
1457
1462
|
var tmp = this.f9_1;
|
|
1458
1463
|
if (tmp === 0) {
|
|
1459
1464
|
this.g9_1 = 1;
|
|
1460
|
-
var table = this.
|
|
1461
|
-
var player = getPlayer(table.players, this.
|
|
1462
|
-
if (player.
|
|
1463
|
-
this.
|
|
1465
|
+
var table = this.d9t_1.state.u6r();
|
|
1466
|
+
var player = getPlayer(table.players, this.a9t_1);
|
|
1467
|
+
if (player.p6x_1.p6d().g6c_1.isLive) {
|
|
1468
|
+
this.d9t_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.b9t_1).q8z(player, table));
|
|
1464
1469
|
} else {
|
|
1465
|
-
var tmp_0 = this.
|
|
1470
|
+
var tmp_0 = this.d9t_1.dispatch;
|
|
1466
1471
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
1467
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
1472
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.a9t_1));
|
|
1468
1473
|
}
|
|
1469
1474
|
return Unit_instance;
|
|
1470
1475
|
} else if (tmp === 1) {
|
|
@@ -1476,34 +1481,34 @@
|
|
|
1476
1481
|
}
|
|
1477
1482
|
while (true);
|
|
1478
1483
|
};
|
|
1479
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
1480
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
1481
|
-
i.
|
|
1482
|
-
i.
|
|
1484
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).d9o = function ($this$dispatchAsync, store, completion) {
|
|
1485
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.a9t_1, this.b9t_1, completion);
|
|
1486
|
+
i.c9t_1 = $this$dispatchAsync;
|
|
1487
|
+
i.d9t_1 = store;
|
|
1483
1488
|
return i;
|
|
1484
1489
|
};
|
|
1485
1490
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
1486
1491
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
1487
1492
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1488
|
-
return i.
|
|
1493
|
+
return i.c9o($this$dispatchAsync, store, $completion);
|
|
1489
1494
|
};
|
|
1490
1495
|
l.$arity = 2;
|
|
1491
1496
|
return l;
|
|
1492
1497
|
}
|
|
1493
1498
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
1494
|
-
this.
|
|
1495
|
-
this.
|
|
1499
|
+
this.m9t_1 = this$0;
|
|
1500
|
+
this.n9t_1 = $newRid;
|
|
1496
1501
|
CoroutineImpl.call(this, resultContinuation);
|
|
1497
1502
|
}
|
|
1498
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
1499
|
-
var tmp = this.
|
|
1503
|
+
protoOf(GameServer$roomOnDelete$slambda).c9o = function ($this$dispatchAsync, store, $completion) {
|
|
1504
|
+
var tmp = this.d9o($this$dispatchAsync, store, $completion);
|
|
1500
1505
|
tmp.h9_1 = Unit_instance;
|
|
1501
1506
|
tmp.i9_1 = null;
|
|
1502
1507
|
return tmp.n9();
|
|
1503
1508
|
};
|
|
1504
1509
|
protoOf(GameServer$roomOnDelete$slambda).y9 = function (p1, p2, $completion) {
|
|
1505
1510
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1506
|
-
return this.
|
|
1511
|
+
return this.c9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1507
1512
|
};
|
|
1508
1513
|
protoOf(GameServer$roomOnDelete$slambda).n9 = function () {
|
|
1509
1514
|
var suspendResult = this.h9_1;
|
|
@@ -1512,27 +1517,27 @@
|
|
|
1512
1517
|
var tmp = this.f9_1;
|
|
1513
1518
|
if (tmp === 0) {
|
|
1514
1519
|
this.g9_1 = 1;
|
|
1515
|
-
var it = this.
|
|
1520
|
+
var it = this.m9t_1.m6b().v6q_1;
|
|
1516
1521
|
var tmp_0;
|
|
1517
1522
|
if (it == null) {
|
|
1518
|
-
_get_logger__rkp4sl(this.
|
|
1523
|
+
_get_logger__rkp4sl(this.m9t_1).w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
1519
1524
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
1520
1525
|
} else {
|
|
1521
1526
|
tmp_0 = it;
|
|
1522
1527
|
}
|
|
1523
1528
|
var terminationState = tmp_0;
|
|
1524
|
-
var gameTransition = terminationState.
|
|
1529
|
+
var gameTransition = terminationState.y92_1;
|
|
1525
1530
|
var tmp_1;
|
|
1526
1531
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
1527
|
-
var tmp0_elvis_lhs = this.
|
|
1532
|
+
var tmp0_elvis_lhs = this.n9t_1;
|
|
1528
1533
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
1529
1534
|
} else {
|
|
1530
1535
|
tmp_1 = gameTransition;
|
|
1531
1536
|
}
|
|
1532
1537
|
var transition = tmp_1;
|
|
1533
|
-
var tmp_2 = this.
|
|
1534
|
-
var tmp0_reason = terminationState.
|
|
1535
|
-
var tmp1_isGameFinished = this.
|
|
1538
|
+
var tmp_2 = this.p9t_1.dispatch;
|
|
1539
|
+
var tmp0_reason = terminationState.x92_1;
|
|
1540
|
+
var tmp1_isGameFinished = this.m9t_1.m6b().u6r().isGameFinished;
|
|
1536
1541
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
1537
1542
|
return Unit_instance;
|
|
1538
1543
|
} else if (tmp === 1) {
|
|
@@ -1544,33 +1549,33 @@
|
|
|
1544
1549
|
}
|
|
1545
1550
|
while (true);
|
|
1546
1551
|
};
|
|
1547
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
1548
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
1549
|
-
i.
|
|
1550
|
-
i.
|
|
1552
|
+
protoOf(GameServer$roomOnDelete$slambda).d9o = function ($this$dispatchAsync, store, completion) {
|
|
1553
|
+
var i = new GameServer$roomOnDelete$slambda(this.m9t_1, this.n9t_1, completion);
|
|
1554
|
+
i.o9t_1 = $this$dispatchAsync;
|
|
1555
|
+
i.p9t_1 = store;
|
|
1551
1556
|
return i;
|
|
1552
1557
|
};
|
|
1553
1558
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
1554
1559
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
1555
1560
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1556
|
-
return i.
|
|
1561
|
+
return i.c9o($this$dispatchAsync, store, $completion);
|
|
1557
1562
|
};
|
|
1558
1563
|
l.$arity = 2;
|
|
1559
1564
|
return l;
|
|
1560
1565
|
}
|
|
1561
1566
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
1562
|
-
this.
|
|
1567
|
+
this.y9t_1 = $enabled;
|
|
1563
1568
|
CoroutineImpl.call(this, resultContinuation);
|
|
1564
1569
|
}
|
|
1565
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
1566
|
-
var tmp = this.
|
|
1570
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).c9o = function ($this$dispatchAsync, store, $completion) {
|
|
1571
|
+
var tmp = this.d9o($this$dispatchAsync, store, $completion);
|
|
1567
1572
|
tmp.h9_1 = Unit_instance;
|
|
1568
1573
|
tmp.i9_1 = null;
|
|
1569
1574
|
return tmp.n9();
|
|
1570
1575
|
};
|
|
1571
1576
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).y9 = function (p1, p2, $completion) {
|
|
1572
1577
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1573
|
-
return this.
|
|
1578
|
+
return this.c9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1574
1579
|
};
|
|
1575
1580
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).n9 = function () {
|
|
1576
1581
|
var suspendResult = this.h9_1;
|
|
@@ -1579,7 +1584,7 @@
|
|
|
1579
1584
|
var tmp = this.f9_1;
|
|
1580
1585
|
if (tmp === 0) {
|
|
1581
1586
|
this.g9_1 = 1;
|
|
1582
|
-
this.
|
|
1587
|
+
this.a9u_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload_0(this.a9u_1.state).b9u_1.e9u(VOID, this.y9t_1)));
|
|
1583
1588
|
return Unit_instance;
|
|
1584
1589
|
} else if (tmp === 1) {
|
|
1585
1590
|
throw this.i9_1;
|
|
@@ -1590,35 +1595,35 @@
|
|
|
1590
1595
|
}
|
|
1591
1596
|
while (true);
|
|
1592
1597
|
};
|
|
1593
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
1594
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
1595
|
-
i.
|
|
1596
|
-
i.
|
|
1598
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).d9o = function ($this$dispatchAsync, store, completion) {
|
|
1599
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.y9t_1, completion);
|
|
1600
|
+
i.z9t_1 = $this$dispatchAsync;
|
|
1601
|
+
i.a9u_1 = store;
|
|
1597
1602
|
return i;
|
|
1598
1603
|
};
|
|
1599
1604
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
1600
1605
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
1601
1606
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1602
|
-
return i.
|
|
1607
|
+
return i.c9o($this$dispatchAsync, store, $completion);
|
|
1603
1608
|
};
|
|
1604
1609
|
l.$arity = 2;
|
|
1605
1610
|
return l;
|
|
1606
1611
|
}
|
|
1607
1612
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
1608
|
-
this.
|
|
1609
|
-
this.
|
|
1610
|
-
this.
|
|
1613
|
+
this.n9u_1 = $reason;
|
|
1614
|
+
this.o9u_1 = this$0;
|
|
1615
|
+
this.p9u_1 = $roomId;
|
|
1611
1616
|
CoroutineImpl.call(this, resultContinuation);
|
|
1612
1617
|
}
|
|
1613
|
-
protoOf(GameServer$shutdown$slambda).
|
|
1614
|
-
var tmp = this.
|
|
1618
|
+
protoOf(GameServer$shutdown$slambda).c9o = function ($this$dispatchAsync, store, $completion) {
|
|
1619
|
+
var tmp = this.d9o($this$dispatchAsync, store, $completion);
|
|
1615
1620
|
tmp.h9_1 = Unit_instance;
|
|
1616
1621
|
tmp.i9_1 = null;
|
|
1617
1622
|
return tmp.n9();
|
|
1618
1623
|
};
|
|
1619
1624
|
protoOf(GameServer$shutdown$slambda).y9 = function (p1, p2, $completion) {
|
|
1620
1625
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1621
|
-
return this.
|
|
1626
|
+
return this.c9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1622
1627
|
};
|
|
1623
1628
|
protoOf(GameServer$shutdown$slambda).n9 = function () {
|
|
1624
1629
|
var suspendResult = this.h9_1;
|
|
@@ -1627,11 +1632,11 @@
|
|
|
1627
1632
|
var tmp = this.f9_1;
|
|
1628
1633
|
if (tmp === 0) {
|
|
1629
1634
|
this.g9_1 = 1;
|
|
1630
|
-
var state = this.
|
|
1631
|
-
if (state.
|
|
1632
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
1635
|
+
var state = this.r9u_1.store.state;
|
|
1636
|
+
if (state.v6r()) {
|
|
1637
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.n9u_1, get_serverShutdownReasonMapping());
|
|
1633
1638
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
1634
|
-
var tmp_0 = this.
|
|
1639
|
+
var tmp_0 = this.r9u_1.dispatch;
|
|
1635
1640
|
var tmp_1 = Companion_instance_0;
|
|
1636
1641
|
var tmp_2;
|
|
1637
1642
|
switch (shutdownReason.o2_1) {
|
|
@@ -1645,10 +1650,10 @@
|
|
|
1645
1650
|
noWhenBranchMatchedException();
|
|
1646
1651
|
break;
|
|
1647
1652
|
}
|
|
1648
|
-
tmp_0(tmp_1.withAnalytics(tmp_2, this.
|
|
1653
|
+
tmp_0(tmp_1.withAnalytics(tmp_2, this.o9u_1.table.isGameFinished, this.o9u_1.table));
|
|
1649
1654
|
} else {
|
|
1650
|
-
_get_logger__rkp4sl(this.
|
|
1651
|
-
this.
|
|
1655
|
+
_get_logger__rkp4sl(this.o9u_1).w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.p9u_1);
|
|
1656
|
+
this.r9u_1.dispatch(new ClearAction());
|
|
1652
1657
|
}
|
|
1653
1658
|
return Unit_instance;
|
|
1654
1659
|
} else if (tmp === 1) {
|
|
@@ -1660,22 +1665,22 @@
|
|
|
1660
1665
|
}
|
|
1661
1666
|
while (true);
|
|
1662
1667
|
};
|
|
1663
|
-
protoOf(GameServer$shutdown$slambda).
|
|
1664
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
1665
|
-
i.
|
|
1666
|
-
i.
|
|
1668
|
+
protoOf(GameServer$shutdown$slambda).d9o = function ($this$dispatchAsync, store, completion) {
|
|
1669
|
+
var i = new GameServer$shutdown$slambda(this.n9u_1, this.o9u_1, this.p9u_1, completion);
|
|
1670
|
+
i.q9u_1 = $this$dispatchAsync;
|
|
1671
|
+
i.r9u_1 = store;
|
|
1667
1672
|
return i;
|
|
1668
1673
|
};
|
|
1669
1674
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
1670
1675
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
1671
1676
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1672
|
-
return i.
|
|
1677
|
+
return i.c9o($this$dispatchAsync, store, $completion);
|
|
1673
1678
|
};
|
|
1674
1679
|
l.$arity = 2;
|
|
1675
1680
|
return l;
|
|
1676
1681
|
}
|
|
1677
1682
|
function GameServer(di, tag, storeContract, preloadedState, externalReducers, externalMiddlewares) {
|
|
1678
|
-
preloadedState = preloadedState === VOID ? new AppState(VOID, Companion_instance_11.
|
|
1683
|
+
preloadedState = preloadedState === VOID ? new AppState(VOID, Companion_instance_11.s9u()) : preloadedState;
|
|
1679
1684
|
var tmp;
|
|
1680
1685
|
if (externalReducers === VOID) {
|
|
1681
1686
|
// Inline function 'kotlin.collections.listOf' call
|
|
@@ -1698,122 +1703,122 @@
|
|
|
1698
1703
|
// Inline function 'org.kodein.type.generic' call
|
|
1699
1704
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
1700
1705
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
1701
|
-
tmp_1.
|
|
1706
|
+
tmp_1.w9l_1 = Instance(di, tmp$ret$2, null).x63(this, logger$factory());
|
|
1702
1707
|
var tmp_3 = this;
|
|
1703
1708
|
// Inline function 'org.kodein.di.instance' call
|
|
1704
1709
|
// Inline function 'org.kodein.type.generic' call
|
|
1705
1710
|
var tmp_4 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
|
|
1706
1711
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
1707
|
-
tmp_3.
|
|
1712
|
+
tmp_3.x9l_1 = Instance(di, tmp$ret$4, null).x63(this, toClientEventsObserver$factory());
|
|
1708
1713
|
var tmp_5 = this;
|
|
1709
1714
|
// Inline function 'org.kodein.di.instance' call
|
|
1710
1715
|
// Inline function 'org.kodein.type.generic' call
|
|
1711
1716
|
var tmp_6 = typeToken(createKType(getKClass(MechanicEventsObserver), arrayOf([]), false));
|
|
1712
1717
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
1713
|
-
tmp_5.
|
|
1718
|
+
tmp_5.y9l_1 = Instance(di, tmp$ret$6, null).x63(this, mechanicEventsObserver$factory());
|
|
1714
1719
|
var tmp_7 = this;
|
|
1715
1720
|
// Inline function 'org.kodein.di.instance' call
|
|
1716
1721
|
// Inline function 'org.kodein.type.generic' call
|
|
1717
1722
|
var tmp_8 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
1718
1723
|
var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
1719
|
-
tmp_7.
|
|
1724
|
+
tmp_7.z9l_1 = Instance(di, tmp$ret$8, null).x63(this, playerConnectionInteractor$factory());
|
|
1720
1725
|
var tmp_9 = this;
|
|
1721
1726
|
// Inline function 'org.kodein.di.instance' call
|
|
1722
1727
|
// Inline function 'org.kodein.type.generic' call
|
|
1723
1728
|
var tmp_10 = typeToken(createKType(getKClass(TeamsLogicProvider), arrayOf([]), false));
|
|
1724
1729
|
var tmp$ret$10 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
1725
|
-
tmp_9.
|
|
1730
|
+
tmp_9.a9m_1 = Instance(di, tmp$ret$10, null).x63(this, teamsLogicProvider$factory());
|
|
1726
1731
|
var tmp_11 = this;
|
|
1727
|
-
tmp_11.
|
|
1732
|
+
tmp_11.b9m_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
1728
1733
|
var tmp_12 = this;
|
|
1729
1734
|
// Inline function 'org.kodein.di.instance' call
|
|
1730
1735
|
// Inline function 'org.kodein.type.generic' call
|
|
1731
1736
|
var tmp_13 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
1732
1737
|
var tmp$ret$12 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
1733
|
-
tmp_12.
|
|
1738
|
+
tmp_12.c9m_1 = Instance(di, tmp$ret$12, null).x63(this, idsProvider$factory());
|
|
1734
1739
|
var tmp_14 = this;
|
|
1735
|
-
var tmp0_externalMiddlewares = plus(storeContract.
|
|
1736
|
-
var tmp1_externalReducers = plus(storeContract.
|
|
1737
|
-
tmp_14.
|
|
1740
|
+
var tmp0_externalMiddlewares = plus(storeContract.u95(), externalMiddlewares);
|
|
1741
|
+
var tmp1_externalReducers = plus(storeContract.t95(), externalReducers);
|
|
1742
|
+
tmp_14.d9m_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
1738
1743
|
}
|
|
1739
|
-
protoOf(GameServer).
|
|
1740
|
-
return this.
|
|
1744
|
+
protoOf(GameServer).h6q = function () {
|
|
1745
|
+
return this.d9m_1;
|
|
1741
1746
|
};
|
|
1742
1747
|
protoOf(GameServer).f5l = function () {
|
|
1743
|
-
return this.m6b().
|
|
1744
|
-
};
|
|
1745
|
-
protoOf(GameServer).t6r = function () {
|
|
1746
|
-
return this.m6b().t6r();
|
|
1748
|
+
return this.m6b().u6r().id;
|
|
1747
1749
|
};
|
|
1748
1750
|
protoOf(GameServer).u6r = function () {
|
|
1749
1751
|
return this.m6b().u6r();
|
|
1750
1752
|
};
|
|
1751
1753
|
protoOf(GameServer).v6r = function () {
|
|
1752
|
-
return this.m6b().
|
|
1754
|
+
return this.m6b().v6r();
|
|
1755
|
+
};
|
|
1756
|
+
protoOf(GameServer).w6r = function () {
|
|
1757
|
+
return this.m6b().u6q_1;
|
|
1753
1758
|
};
|
|
1754
1759
|
protoOf(GameServer).subscribeToClientAction = function (subscriber) {
|
|
1755
|
-
var tmp = this.
|
|
1756
|
-
tmp.
|
|
1760
|
+
var tmp = this.f6q();
|
|
1761
|
+
tmp.x6g(VOID, GameServer$subscribeToClientAction$slambda_0(this, subscriber, null));
|
|
1757
1762
|
};
|
|
1758
1763
|
protoOf(GameServer).subscribeServerStateUpdate = function (subscriber) {
|
|
1759
|
-
var tmp = this.
|
|
1760
|
-
tmp.
|
|
1764
|
+
var tmp = this.f6q();
|
|
1765
|
+
tmp.x6g(VOID, GameServer$subscribeServerStateUpdate$slambda_0(this, subscriber, null));
|
|
1761
1766
|
};
|
|
1762
1767
|
protoOf(GameServer).subscribeWith = function (subscriber) {
|
|
1763
|
-
var tmp = this.
|
|
1764
|
-
tmp.
|
|
1768
|
+
var tmp = this.f6q();
|
|
1769
|
+
tmp.x6g(VOID, GameServer$subscribeWith$slambda_0(this, subscriber, null));
|
|
1765
1770
|
};
|
|
1766
1771
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
1767
1772
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
1768
|
-
this.
|
|
1773
|
+
this.d9m_1.t6r(GameServer$fromClientEvent$slambda_0(action, null));
|
|
1769
1774
|
};
|
|
1770
1775
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
1771
1776
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
1772
|
-
this.
|
|
1777
|
+
this.d9m_1.t6r(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
1773
1778
|
};
|
|
1774
1779
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
1775
1780
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLive: ' + playerId);
|
|
1776
|
-
this.
|
|
1781
|
+
this.d9m_1.t6r(GameServer$playerLive$slambda_0(playerId, null));
|
|
1777
1782
|
};
|
|
1778
1783
|
protoOf(GameServer).playerLeft = function (playerId) {
|
|
1779
1784
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
1780
|
-
this.
|
|
1785
|
+
this.d9m_1.t6r(GameServer$playerLeft$slambda_0(this, playerId, null));
|
|
1781
1786
|
};
|
|
1782
|
-
protoOf(GameServer).
|
|
1787
|
+
protoOf(GameServer).t9u = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
1783
1788
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString(transition));
|
|
1784
|
-
this.
|
|
1789
|
+
this.d9m_1.t6r(GameServer$roomOnCreate$slambda_0(usersArray, gameCreatorId, config, transition, this, spectators, roomId, null));
|
|
1785
1790
|
};
|
|
1786
1791
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
1787
1792
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
1788
|
-
this.
|
|
1789
|
-
this.
|
|
1793
|
+
this.d9m_1.t6r(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
1794
|
+
this.d9m_1.t6r(GameServer$roomOnContinueFromState$slambda_2(state, null));
|
|
1790
1795
|
};
|
|
1791
1796
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
1792
1797
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
1793
|
-
this.
|
|
1794
|
-
this.
|
|
1798
|
+
this.d9m_1.t6r(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
1799
|
+
this.d9m_1.t6r(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
1795
1800
|
};
|
|
1796
1801
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
1797
|
-
this.
|
|
1802
|
+
this.d9m_1.t6r(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
1798
1803
|
};
|
|
1799
1804
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
1800
|
-
this.
|
|
1805
|
+
this.d9m_1.t6r(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
1801
1806
|
};
|
|
1802
1807
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
1803
1808
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
1804
|
-
this.
|
|
1809
|
+
this.d9m_1.t6r(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
1805
1810
|
};
|
|
1806
|
-
protoOf(GameServer).
|
|
1811
|
+
protoOf(GameServer).u9u = function (newRid) {
|
|
1807
1812
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnDelete: ' + newRid);
|
|
1808
|
-
this.
|
|
1813
|
+
this.d9m_1.t6r(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
1809
1814
|
};
|
|
1810
1815
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
1811
1816
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
1812
|
-
this.
|
|
1817
|
+
this.d9m_1.t6r(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
1813
1818
|
};
|
|
1814
|
-
protoOf(GameServer).
|
|
1819
|
+
protoOf(GameServer).v9u = function (reason, roomId) {
|
|
1815
1820
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
1816
|
-
this.
|
|
1821
|
+
this.d9m_1.t6r(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
1817
1822
|
};
|
|
1818
1823
|
protoOf(GameServer).clear = function () {
|
|
1819
1824
|
return this.a2();
|
|
@@ -1918,7 +1923,7 @@
|
|
|
1918
1923
|
}
|
|
1919
1924
|
function Companion_0() {
|
|
1920
1925
|
}
|
|
1921
|
-
protoOf(Companion_0).
|
|
1926
|
+
protoOf(Companion_0).w9u = function (fromRound) {
|
|
1922
1927
|
return new ServerConfig(fromRound, true);
|
|
1923
1928
|
};
|
|
1924
1929
|
var Companion_instance_8;
|
|
@@ -1926,23 +1931,23 @@
|
|
|
1926
1931
|
return Companion_instance_8;
|
|
1927
1932
|
}
|
|
1928
1933
|
function ServerConfig(fromRound, canStartNewGame) {
|
|
1929
|
-
this.
|
|
1930
|
-
this.
|
|
1934
|
+
this.c9u_1 = fromRound;
|
|
1935
|
+
this.d9u_1 = canStartNewGame;
|
|
1931
1936
|
}
|
|
1932
|
-
protoOf(ServerConfig).
|
|
1937
|
+
protoOf(ServerConfig).x9u = function (fromRound, canStartNewGame) {
|
|
1933
1938
|
return new ServerConfig(fromRound, canStartNewGame);
|
|
1934
1939
|
};
|
|
1935
|
-
protoOf(ServerConfig).
|
|
1936
|
-
fromRound = fromRound === VOID ? this.
|
|
1937
|
-
canStartNewGame = canStartNewGame === VOID ? this.
|
|
1938
|
-
return $super === VOID ? this.
|
|
1940
|
+
protoOf(ServerConfig).e9u = function (fromRound, canStartNewGame, $super) {
|
|
1941
|
+
fromRound = fromRound === VOID ? this.c9u_1 : fromRound;
|
|
1942
|
+
canStartNewGame = canStartNewGame === VOID ? this.d9u_1 : canStartNewGame;
|
|
1943
|
+
return $super === VOID ? this.x9u(fromRound, canStartNewGame) : $super.x9u.call(this, fromRound, canStartNewGame);
|
|
1939
1944
|
};
|
|
1940
1945
|
protoOf(ServerConfig).toString = function () {
|
|
1941
|
-
return 'ServerConfig(fromRound=' + this.
|
|
1946
|
+
return 'ServerConfig(fromRound=' + this.c9u_1 + ', canStartNewGame=' + this.d9u_1 + ')';
|
|
1942
1947
|
};
|
|
1943
1948
|
protoOf(ServerConfig).hashCode = function () {
|
|
1944
|
-
var result = this.
|
|
1945
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
1949
|
+
var result = this.c9u_1 == null ? 0 : this.c9u_1;
|
|
1950
|
+
result = imul(result, 31) + getBooleanHashCode(this.d9u_1) | 0;
|
|
1946
1951
|
return result;
|
|
1947
1952
|
};
|
|
1948
1953
|
protoOf(ServerConfig).equals = function (other) {
|
|
@@ -1951,9 +1956,9 @@
|
|
|
1951
1956
|
if (!(other instanceof ServerConfig))
|
|
1952
1957
|
return false;
|
|
1953
1958
|
var tmp0_other_with_cast = other instanceof ServerConfig ? other : THROW_CCE();
|
|
1954
|
-
if (!(this.
|
|
1959
|
+
if (!(this.c9u_1 == tmp0_other_with_cast.c9u_1))
|
|
1955
1960
|
return false;
|
|
1956
|
-
if (!(this.
|
|
1961
|
+
if (!(this.d9u_1 === tmp0_other_with_cast.d9u_1))
|
|
1957
1962
|
return false;
|
|
1958
1963
|
return true;
|
|
1959
1964
|
};
|
|
@@ -1962,18 +1967,18 @@
|
|
|
1962
1967
|
function TableStateUpdate(table) {
|
|
1963
1968
|
this.table = table;
|
|
1964
1969
|
}
|
|
1965
|
-
protoOf(TableStateUpdate).
|
|
1970
|
+
protoOf(TableStateUpdate).u6r = function () {
|
|
1966
1971
|
return this.table;
|
|
1967
1972
|
};
|
|
1968
1973
|
protoOf(TableStateUpdate).qe = function () {
|
|
1969
1974
|
return this.table;
|
|
1970
1975
|
};
|
|
1971
|
-
protoOf(TableStateUpdate).
|
|
1976
|
+
protoOf(TableStateUpdate).y9u = function (table) {
|
|
1972
1977
|
return new TableStateUpdate(table);
|
|
1973
1978
|
};
|
|
1974
1979
|
protoOf(TableStateUpdate).copy = function (table, $super) {
|
|
1975
1980
|
table = table === VOID ? this.table : table;
|
|
1976
|
-
return this.
|
|
1981
|
+
return this.y9u(table);
|
|
1977
1982
|
};
|
|
1978
1983
|
protoOf(TableStateUpdate).toString = function () {
|
|
1979
1984
|
return 'TableStateUpdate(table=' + this.table.toString() + ')';
|
|
@@ -1994,18 +1999,18 @@
|
|
|
1994
1999
|
function ActionsStateUpdate(actions) {
|
|
1995
2000
|
this.actions = actions;
|
|
1996
2001
|
}
|
|
1997
|
-
protoOf(ActionsStateUpdate).
|
|
2002
|
+
protoOf(ActionsStateUpdate).o8l = function () {
|
|
1998
2003
|
return this.actions;
|
|
1999
2004
|
};
|
|
2000
2005
|
protoOf(ActionsStateUpdate).qe = function () {
|
|
2001
2006
|
return this.actions;
|
|
2002
2007
|
};
|
|
2003
|
-
protoOf(ActionsStateUpdate).
|
|
2008
|
+
protoOf(ActionsStateUpdate).z9u = function (actions) {
|
|
2004
2009
|
return new ActionsStateUpdate(actions);
|
|
2005
2010
|
};
|
|
2006
2011
|
protoOf(ActionsStateUpdate).copy = function (actions, $super) {
|
|
2007
2012
|
actions = actions === VOID ? this.actions : actions;
|
|
2008
|
-
return this.
|
|
2013
|
+
return this.z9u(actions);
|
|
2009
2014
|
};
|
|
2010
2015
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
2011
2016
|
return 'ActionsStateUpdate(actions=' + toString_0(this.actions) + ')';
|
|
@@ -2269,7 +2274,7 @@
|
|
|
2269
2274
|
function MechanicEventsObserver() {
|
|
2270
2275
|
}
|
|
2271
2276
|
function MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
2272
|
-
this.
|
|
2277
|
+
this.j9v_1 = $$this$unsafeFlow;
|
|
2273
2278
|
CoroutineImpl.call(this, resultContinuation);
|
|
2274
2279
|
}
|
|
2275
2280
|
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda).j1i = function (value, $completion) {
|
|
@@ -2290,12 +2295,12 @@
|
|
|
2290
2295
|
case 0:
|
|
2291
2296
|
this.g9_1 = 2;
|
|
2292
2297
|
var tmp_0 = this;
|
|
2293
|
-
tmp_0.
|
|
2298
|
+
tmp_0.l9v_1 = this.j9v_1;
|
|
2294
2299
|
var tmp_1 = this;
|
|
2295
|
-
tmp_1.
|
|
2300
|
+
tmp_1.m9v_1 = this.k9v_1;
|
|
2296
2301
|
this.f9_1 = 1;
|
|
2297
|
-
var it = this.
|
|
2298
|
-
suspendResult = this.
|
|
2302
|
+
var it = this.m9v_1;
|
|
2303
|
+
suspendResult = this.l9v_1.q18(new ActionsStateUpdate(it), this);
|
|
2299
2304
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2300
2305
|
return suspendResult;
|
|
2301
2306
|
}
|
|
@@ -2318,8 +2323,8 @@
|
|
|
2318
2323
|
while (true);
|
|
2319
2324
|
};
|
|
2320
2325
|
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda).k1i = function (value, completion) {
|
|
2321
|
-
var i = new MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda(this.
|
|
2322
|
-
i.
|
|
2326
|
+
var i = new MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda(this.j9v_1, completion);
|
|
2327
|
+
i.k9v_1 = value;
|
|
2323
2328
|
return i;
|
|
2324
2329
|
};
|
|
2325
2330
|
function MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -2332,8 +2337,8 @@
|
|
|
2332
2337
|
}
|
|
2333
2338
|
function $collectCOROUTINE$0(_this__u8e3s4, collector, resultContinuation) {
|
|
2334
2339
|
CoroutineImpl.call(this, resultContinuation);
|
|
2335
|
-
this.
|
|
2336
|
-
this.
|
|
2340
|
+
this.v9v_1 = _this__u8e3s4;
|
|
2341
|
+
this.w9v_1 = collector;
|
|
2337
2342
|
}
|
|
2338
2343
|
protoOf($collectCOROUTINE$0).n9 = function () {
|
|
2339
2344
|
var suspendResult = this.h9_1;
|
|
@@ -2344,10 +2349,10 @@
|
|
|
2344
2349
|
case 0:
|
|
2345
2350
|
this.g9_1 = 2;
|
|
2346
2351
|
var tmp_0 = this;
|
|
2347
|
-
tmp_0.
|
|
2352
|
+
tmp_0.x9v_1 = this.w9v_1;
|
|
2348
2353
|
this.f9_1 = 1;
|
|
2349
|
-
var tmp_1 = MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda_0(this.
|
|
2350
|
-
suspendResult = this.
|
|
2354
|
+
var tmp_1 = MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda_0(this.x9v_1, null);
|
|
2355
|
+
suspendResult = this.v9v_1.y9v_1.n17(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_1), this);
|
|
2351
2356
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2352
2357
|
return suspendResult;
|
|
2353
2358
|
}
|
|
@@ -2370,7 +2375,7 @@
|
|
|
2370
2375
|
while (true);
|
|
2371
2376
|
};
|
|
2372
2377
|
function _no_name_provided__qut3iv($this) {
|
|
2373
|
-
this.
|
|
2378
|
+
this.y9v_1 = $this;
|
|
2374
2379
|
}
|
|
2375
2380
|
protoOf(_no_name_provided__qut3iv).r18 = function (collector, $completion) {
|
|
2376
2381
|
var tmp = new $collectCOROUTINE$0(this, collector, $completion);
|
|
@@ -2382,18 +2387,18 @@
|
|
|
2382
2387
|
return this.r18(collector, $completion);
|
|
2383
2388
|
};
|
|
2384
2389
|
function MechanicEventsObserverImpl$observeUpdates$slambda$slambda($table, this$0, resultContinuation) {
|
|
2385
|
-
this.
|
|
2386
|
-
this.
|
|
2390
|
+
this.h9w_1 = $table;
|
|
2391
|
+
this.i9w_1 = this$0;
|
|
2387
2392
|
CoroutineImpl.call(this, resultContinuation);
|
|
2388
2393
|
}
|
|
2389
|
-
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda).
|
|
2390
|
-
var tmp = this.
|
|
2394
|
+
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda).k9w = function ($this$flow, $completion) {
|
|
2395
|
+
var tmp = this.l9w($this$flow, $completion);
|
|
2391
2396
|
tmp.h9_1 = Unit_instance;
|
|
2392
2397
|
tmp.i9_1 = null;
|
|
2393
2398
|
return tmp.n9();
|
|
2394
2399
|
};
|
|
2395
2400
|
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda).x9 = function (p1, $completion) {
|
|
2396
|
-
return this.
|
|
2401
|
+
return this.k9w((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
2397
2402
|
};
|
|
2398
2403
|
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda).n9 = function () {
|
|
2399
2404
|
var suspendResult = this.h9_1;
|
|
@@ -2404,7 +2409,7 @@
|
|
|
2404
2409
|
case 0:
|
|
2405
2410
|
this.g9_1 = 3;
|
|
2406
2411
|
this.f9_1 = 1;
|
|
2407
|
-
suspendResult = this.
|
|
2412
|
+
suspendResult = this.j9w_1.q18(new TableStateUpdate(this.h9w_1), this);
|
|
2408
2413
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2409
2414
|
return suspendResult;
|
|
2410
2415
|
}
|
|
@@ -2412,8 +2417,8 @@
|
|
|
2412
2417
|
continue $sm;
|
|
2413
2418
|
case 1:
|
|
2414
2419
|
this.f9_1 = 2;
|
|
2415
|
-
var this_0 = windowedByInterval(this.
|
|
2416
|
-
suspendResult = emitAll(this.
|
|
2420
|
+
var this_0 = windowedByInterval(this.i9w_1.m9w_1, new Long(1000, 0));
|
|
2421
|
+
suspendResult = emitAll(this.j9w_1, new _no_name_provided__qut3iv(this_0), this);
|
|
2417
2422
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2418
2423
|
return suspendResult;
|
|
2419
2424
|
}
|
|
@@ -2435,21 +2440,21 @@
|
|
|
2435
2440
|
}
|
|
2436
2441
|
while (true);
|
|
2437
2442
|
};
|
|
2438
|
-
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda).
|
|
2439
|
-
var i = new MechanicEventsObserverImpl$observeUpdates$slambda$slambda(this.
|
|
2440
|
-
i.
|
|
2443
|
+
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda).l9w = function ($this$flow, completion) {
|
|
2444
|
+
var i = new MechanicEventsObserverImpl$observeUpdates$slambda$slambda(this.h9w_1, this.i9w_1, completion);
|
|
2445
|
+
i.j9w_1 = $this$flow;
|
|
2441
2446
|
return i;
|
|
2442
2447
|
};
|
|
2443
2448
|
function MechanicEventsObserverImpl$observeUpdates$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
2444
2449
|
var i = new MechanicEventsObserverImpl$observeUpdates$slambda$slambda($table, this$0, resultContinuation);
|
|
2445
2450
|
var l = function ($this$flow, $completion) {
|
|
2446
|
-
return i.
|
|
2451
|
+
return i.k9w($this$flow, $completion);
|
|
2447
2452
|
};
|
|
2448
2453
|
l.$arity = 1;
|
|
2449
2454
|
return l;
|
|
2450
2455
|
}
|
|
2451
2456
|
function MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
2452
|
-
this.
|
|
2457
|
+
this.v9w_1 = $$this$unsafeFlow;
|
|
2453
2458
|
CoroutineImpl.call(this, resultContinuation);
|
|
2454
2459
|
}
|
|
2455
2460
|
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda).j1i = function (value, $completion) {
|
|
@@ -2470,12 +2475,12 @@
|
|
|
2470
2475
|
case 0:
|
|
2471
2476
|
this.g9_1 = 2;
|
|
2472
2477
|
var tmp_0 = this;
|
|
2473
|
-
tmp_0.
|
|
2478
|
+
tmp_0.x9w_1 = this.v9w_1;
|
|
2474
2479
|
var tmp_1 = this;
|
|
2475
|
-
tmp_1.
|
|
2480
|
+
tmp_1.y9w_1 = this.w9w_1;
|
|
2476
2481
|
this.f9_1 = 1;
|
|
2477
|
-
var state = this.
|
|
2478
|
-
suspendResult = this.
|
|
2482
|
+
var state = this.y9w_1;
|
|
2483
|
+
suspendResult = this.x9w_1.q18(state.u6r().gameInfo.roundNumberTotal, this);
|
|
2479
2484
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2480
2485
|
return suspendResult;
|
|
2481
2486
|
}
|
|
@@ -2498,8 +2503,8 @@
|
|
|
2498
2503
|
while (true);
|
|
2499
2504
|
};
|
|
2500
2505
|
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda).k1i = function (value, completion) {
|
|
2501
|
-
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
2502
|
-
i.
|
|
2506
|
+
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda(this.v9w_1, completion);
|
|
2507
|
+
i.w9w_1 = value;
|
|
2503
2508
|
return i;
|
|
2504
2509
|
};
|
|
2505
2510
|
function MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -2512,8 +2517,8 @@
|
|
|
2512
2517
|
}
|
|
2513
2518
|
function $collectCOROUTINE$1(_this__u8e3s4, collector, resultContinuation) {
|
|
2514
2519
|
CoroutineImpl.call(this, resultContinuation);
|
|
2515
|
-
this.
|
|
2516
|
-
this.
|
|
2520
|
+
this.h9x_1 = _this__u8e3s4;
|
|
2521
|
+
this.i9x_1 = collector;
|
|
2517
2522
|
}
|
|
2518
2523
|
protoOf($collectCOROUTINE$1).n9 = function () {
|
|
2519
2524
|
var suspendResult = this.h9_1;
|
|
@@ -2524,10 +2529,10 @@
|
|
|
2524
2529
|
case 0:
|
|
2525
2530
|
this.g9_1 = 2;
|
|
2526
2531
|
var tmp_0 = this;
|
|
2527
|
-
tmp_0.
|
|
2532
|
+
tmp_0.j9x_1 = this.i9x_1;
|
|
2528
2533
|
this.f9_1 = 1;
|
|
2529
|
-
var tmp_1 = MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda_0(this.
|
|
2530
|
-
suspendResult = this.
|
|
2534
|
+
var tmp_1 = MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda_0(this.j9x_1, null);
|
|
2535
|
+
suspendResult = this.h9x_1.k9x_1.n17(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_1), this);
|
|
2531
2536
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2532
2537
|
return suspendResult;
|
|
2533
2538
|
}
|
|
@@ -2550,7 +2555,7 @@
|
|
|
2550
2555
|
while (true);
|
|
2551
2556
|
};
|
|
2552
2557
|
function MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
2553
|
-
this.
|
|
2558
|
+
this.t9x_1 = $$this$unsafeFlow;
|
|
2554
2559
|
CoroutineImpl.call(this, resultContinuation);
|
|
2555
2560
|
}
|
|
2556
2561
|
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda).j1i = function (value, $completion) {
|
|
@@ -2574,33 +2579,33 @@
|
|
|
2574
2579
|
continue $sm;
|
|
2575
2580
|
case 1:
|
|
2576
2581
|
var tmp_0 = this;
|
|
2577
|
-
tmp_0.
|
|
2582
|
+
tmp_0.w9x_1 = this.t9x_1;
|
|
2578
2583
|
var tmp_1 = this;
|
|
2579
|
-
tmp_1.
|
|
2584
|
+
tmp_1.x9x_1 = this.u9x_1;
|
|
2580
2585
|
var tmp_2 = this;
|
|
2581
|
-
tmp_2.
|
|
2582
|
-
if (this.
|
|
2583
|
-
this.
|
|
2586
|
+
tmp_2.y9x_1 = this.x9x_1.s6q_1;
|
|
2587
|
+
if (this.y9x_1 == null) {
|
|
2588
|
+
this.v9x_1 = Unit_instance;
|
|
2584
2589
|
this.f9_1 = 4;
|
|
2585
2590
|
var tmp_3 = this;
|
|
2586
2591
|
continue $sm;
|
|
2587
2592
|
} else {
|
|
2588
|
-
this.
|
|
2593
|
+
this.z9x_1 = this.y9x_1;
|
|
2589
2594
|
this.f9_1 = 2;
|
|
2590
2595
|
continue $sm;
|
|
2591
2596
|
}
|
|
2592
2597
|
|
|
2593
2598
|
case 2:
|
|
2594
|
-
this.
|
|
2599
|
+
this.a9y_1 = this.z9x_1;
|
|
2595
2600
|
this.f9_1 = 3;
|
|
2596
|
-
suspendResult = this.
|
|
2601
|
+
suspendResult = this.w9x_1.q18(this.a9y_1, this);
|
|
2597
2602
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2598
2603
|
return suspendResult;
|
|
2599
2604
|
}
|
|
2600
2605
|
|
|
2601
2606
|
continue $sm;
|
|
2602
2607
|
case 3:
|
|
2603
|
-
this.
|
|
2608
|
+
this.v9x_1 = suspendResult;
|
|
2604
2609
|
if (false) {
|
|
2605
2610
|
this.f9_1 = 1;
|
|
2606
2611
|
continue $sm;
|
|
@@ -2625,8 +2630,8 @@
|
|
|
2625
2630
|
while (true);
|
|
2626
2631
|
};
|
|
2627
2632
|
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda).k1i = function (value, completion) {
|
|
2628
|
-
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda(this.
|
|
2629
|
-
i.
|
|
2633
|
+
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda(this.t9x_1, completion);
|
|
2634
|
+
i.u9x_1 = value;
|
|
2630
2635
|
return i;
|
|
2631
2636
|
};
|
|
2632
2637
|
function MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -2639,8 +2644,8 @@
|
|
|
2639
2644
|
}
|
|
2640
2645
|
function $collectCOROUTINE$2(_this__u8e3s4, collector, resultContinuation) {
|
|
2641
2646
|
CoroutineImpl.call(this, resultContinuation);
|
|
2642
|
-
this.
|
|
2643
|
-
this.
|
|
2647
|
+
this.j9y_1 = _this__u8e3s4;
|
|
2648
|
+
this.k9y_1 = collector;
|
|
2644
2649
|
}
|
|
2645
2650
|
protoOf($collectCOROUTINE$2).n9 = function () {
|
|
2646
2651
|
var suspendResult = this.h9_1;
|
|
@@ -2651,10 +2656,10 @@
|
|
|
2651
2656
|
case 0:
|
|
2652
2657
|
this.g9_1 = 2;
|
|
2653
2658
|
var tmp_0 = this;
|
|
2654
|
-
tmp_0.
|
|
2659
|
+
tmp_0.l9y_1 = this.k9y_1;
|
|
2655
2660
|
this.f9_1 = 1;
|
|
2656
|
-
var tmp_1 = MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda_0(this.
|
|
2657
|
-
suspendResult = this.
|
|
2661
|
+
var tmp_1 = MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda_0(this.l9y_1, null);
|
|
2662
|
+
suspendResult = this.j9y_1.m9y_1.n17(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_1), this);
|
|
2658
2663
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2659
2664
|
return suspendResult;
|
|
2660
2665
|
}
|
|
@@ -2677,7 +2682,7 @@
|
|
|
2677
2682
|
while (true);
|
|
2678
2683
|
};
|
|
2679
2684
|
function _no_name_provided__qut3iv_0($this) {
|
|
2680
|
-
this.
|
|
2685
|
+
this.m9y_1 = $this;
|
|
2681
2686
|
}
|
|
2682
2687
|
protoOf(_no_name_provided__qut3iv_0).r18 = function (collector, $completion) {
|
|
2683
2688
|
var tmp = new $collectCOROUTINE$2(this, collector, $completion);
|
|
@@ -2698,20 +2703,20 @@
|
|
|
2698
2703
|
return transformLatest(this_0, MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda_0(observeState, null));
|
|
2699
2704
|
}
|
|
2700
2705
|
function Companion_1() {
|
|
2701
|
-
this.
|
|
2706
|
+
this.n9y_1 = 1000;
|
|
2702
2707
|
}
|
|
2703
2708
|
var Companion_instance_9;
|
|
2704
2709
|
function Companion_getInstance_2() {
|
|
2705
2710
|
return Companion_instance_9;
|
|
2706
2711
|
}
|
|
2707
2712
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
2708
|
-
this.
|
|
2713
|
+
this.o9y_1 = function_0;
|
|
2709
2714
|
}
|
|
2710
2715
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).q18 = function (value, $completion) {
|
|
2711
|
-
return this.
|
|
2716
|
+
return this.o9y_1(value, $completion);
|
|
2712
2717
|
};
|
|
2713
2718
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).p3 = function () {
|
|
2714
|
-
return this.
|
|
2719
|
+
return this.o9y_1;
|
|
2715
2720
|
};
|
|
2716
2721
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
2717
2722
|
var tmp;
|
|
@@ -2732,13 +2737,13 @@
|
|
|
2732
2737
|
return hashCode(this.p3());
|
|
2733
2738
|
};
|
|
2734
2739
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
|
|
2735
|
-
this.
|
|
2740
|
+
this.p9y_1 = function_0;
|
|
2736
2741
|
}
|
|
2737
2742
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).q18 = function (value, $completion) {
|
|
2738
|
-
return this.
|
|
2743
|
+
return this.p9y_1(value, $completion);
|
|
2739
2744
|
};
|
|
2740
2745
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).p3 = function () {
|
|
2741
|
-
return this.
|
|
2746
|
+
return this.p9y_1;
|
|
2742
2747
|
};
|
|
2743
2748
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
|
|
2744
2749
|
var tmp;
|
|
@@ -2759,18 +2764,18 @@
|
|
|
2759
2764
|
return hashCode(this.p3());
|
|
2760
2765
|
};
|
|
2761
2766
|
function MechanicEventsObserverImpl$observeUpdates$slambda(this$0, resultContinuation) {
|
|
2762
|
-
this.
|
|
2767
|
+
this.y9y_1 = this$0;
|
|
2763
2768
|
CoroutineImpl.call(this, resultContinuation);
|
|
2764
2769
|
}
|
|
2765
|
-
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda).
|
|
2766
|
-
var tmp = this.
|
|
2770
|
+
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda).b9z = function ($this$transformLatest, it, $completion) {
|
|
2771
|
+
var tmp = this.c9z($this$transformLatest, it, $completion);
|
|
2767
2772
|
tmp.h9_1 = Unit_instance;
|
|
2768
2773
|
tmp.i9_1 = null;
|
|
2769
2774
|
return tmp.n9();
|
|
2770
2775
|
};
|
|
2771
2776
|
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda).y9 = function (p1, p2, $completion) {
|
|
2772
2777
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
2773
|
-
return this.
|
|
2778
|
+
return this.b9z(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
2774
2779
|
};
|
|
2775
2780
|
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda).n9 = function () {
|
|
2776
2781
|
var suspendResult = this.h9_1;
|
|
@@ -2781,8 +2786,8 @@
|
|
|
2781
2786
|
case 0:
|
|
2782
2787
|
this.g9_1 = 2;
|
|
2783
2788
|
this.f9_1 = 1;
|
|
2784
|
-
var table = this.
|
|
2785
|
-
suspendResult = emitAll(this.
|
|
2789
|
+
var table = this.a9z_1;
|
|
2790
|
+
suspendResult = emitAll(this.z9y_1, flow(MechanicEventsObserverImpl$observeUpdates$slambda$slambda_0(table, this.y9y_1, null)), this);
|
|
2786
2791
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2787
2792
|
return suspendResult;
|
|
2788
2793
|
}
|
|
@@ -2804,22 +2809,22 @@
|
|
|
2804
2809
|
}
|
|
2805
2810
|
while (true);
|
|
2806
2811
|
};
|
|
2807
|
-
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda).
|
|
2808
|
-
var i = new MechanicEventsObserverImpl$observeUpdates$slambda(this.
|
|
2809
|
-
i.
|
|
2810
|
-
i.
|
|
2812
|
+
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda).c9z = function ($this$transformLatest, it, completion) {
|
|
2813
|
+
var i = new MechanicEventsObserverImpl$observeUpdates$slambda(this.y9y_1, completion);
|
|
2814
|
+
i.z9y_1 = $this$transformLatest;
|
|
2815
|
+
i.a9z_1 = it;
|
|
2811
2816
|
return i;
|
|
2812
2817
|
};
|
|
2813
2818
|
function MechanicEventsObserverImpl$observeUpdates$slambda_0(this$0, resultContinuation) {
|
|
2814
2819
|
var i = new MechanicEventsObserverImpl$observeUpdates$slambda(this$0, resultContinuation);
|
|
2815
2820
|
var l = function ($this$transformLatest, it, $completion) {
|
|
2816
|
-
return i.
|
|
2821
|
+
return i.b9z($this$transformLatest, it, $completion);
|
|
2817
2822
|
};
|
|
2818
2823
|
l.$arity = 2;
|
|
2819
2824
|
return l;
|
|
2820
2825
|
}
|
|
2821
2826
|
function _no_name_provided__qut3iv_1($this) {
|
|
2822
|
-
this.
|
|
2827
|
+
this.k9x_1 = $this;
|
|
2823
2828
|
}
|
|
2824
2829
|
protoOf(_no_name_provided__qut3iv_1).r18 = function (collector, $completion) {
|
|
2825
2830
|
var tmp = new $collectCOROUTINE$1(this, collector, $completion);
|
|
@@ -2831,18 +2836,18 @@
|
|
|
2831
2836
|
return this.r18(collector, $completion);
|
|
2832
2837
|
};
|
|
2833
2838
|
function MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda($observeState, resultContinuation) {
|
|
2834
|
-
this.
|
|
2839
|
+
this.l9z_1 = $observeState;
|
|
2835
2840
|
CoroutineImpl.call(this, resultContinuation);
|
|
2836
2841
|
}
|
|
2837
|
-
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda).
|
|
2838
|
-
var tmp = this.
|
|
2842
|
+
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda).b9z = function ($this$transformLatest, it, $completion) {
|
|
2843
|
+
var tmp = this.c9z($this$transformLatest, it, $completion);
|
|
2839
2844
|
tmp.h9_1 = Unit_instance;
|
|
2840
2845
|
tmp.i9_1 = null;
|
|
2841
2846
|
return tmp.n9();
|
|
2842
2847
|
};
|
|
2843
2848
|
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda).y9 = function (p1, p2, $completion) {
|
|
2844
2849
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
2845
|
-
return this.
|
|
2850
|
+
return this.b9z(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
2846
2851
|
};
|
|
2847
2852
|
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda).n9 = function () {
|
|
2848
2853
|
var suspendResult = this.h9_1;
|
|
@@ -2853,9 +2858,9 @@
|
|
|
2853
2858
|
case 0:
|
|
2854
2859
|
this.g9_1 = 2;
|
|
2855
2860
|
this.f9_1 = 1;
|
|
2856
|
-
this.
|
|
2857
|
-
var this_0 = this.
|
|
2858
|
-
suspendResult = emitAll(this.
|
|
2861
|
+
this.n9z_1;
|
|
2862
|
+
var this_0 = this.l9z_1;
|
|
2863
|
+
suspendResult = emitAll(this.m9z_1, new _no_name_provided__qut3iv_0(this_0), this);
|
|
2859
2864
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2860
2865
|
return suspendResult;
|
|
2861
2866
|
}
|
|
@@ -2877,27 +2882,27 @@
|
|
|
2877
2882
|
}
|
|
2878
2883
|
while (true);
|
|
2879
2884
|
};
|
|
2880
|
-
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda).
|
|
2881
|
-
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda(this.
|
|
2882
|
-
i.
|
|
2883
|
-
i.
|
|
2885
|
+
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda).c9z = function ($this$transformLatest, it, completion) {
|
|
2886
|
+
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda(this.l9z_1, completion);
|
|
2887
|
+
i.m9z_1 = $this$transformLatest;
|
|
2888
|
+
i.n9z_1 = it;
|
|
2884
2889
|
return i;
|
|
2885
2890
|
};
|
|
2886
2891
|
function MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda_0($observeState, resultContinuation) {
|
|
2887
2892
|
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda($observeState, resultContinuation);
|
|
2888
2893
|
var l = function ($this$transformLatest, it, $completion) {
|
|
2889
|
-
return i.
|
|
2894
|
+
return i.b9z($this$transformLatest, it, $completion);
|
|
2890
2895
|
};
|
|
2891
2896
|
l.$arity = 2;
|
|
2892
2897
|
return l;
|
|
2893
2898
|
}
|
|
2894
2899
|
function MechanicEventsObserverImpl() {
|
|
2895
|
-
this.
|
|
2900
|
+
this.m9w_1 = MutableSharedFlow();
|
|
2896
2901
|
}
|
|
2897
|
-
protoOf(MechanicEventsObserverImpl).
|
|
2898
|
-
return this.
|
|
2902
|
+
protoOf(MechanicEventsObserverImpl).a9v = function (event, $completion) {
|
|
2903
|
+
return this.m9w_1.q18(event, $completion);
|
|
2899
2904
|
};
|
|
2900
|
-
protoOf(MechanicEventsObserverImpl).
|
|
2905
|
+
protoOf(MechanicEventsObserverImpl).f9n = function (observeState) {
|
|
2901
2906
|
// Inline function 'kotlinx.coroutines.flow.flatMapLatest' call
|
|
2902
2907
|
var this_0 = observeTableWhenRoundChanges(this, observeState);
|
|
2903
2908
|
return transformLatest(this_0, MechanicEventsObserverImpl$observeUpdates$slambda_0(this, null));
|
|
@@ -2905,18 +2910,18 @@
|
|
|
2905
2910
|
function ToClientEventsObserver() {
|
|
2906
2911
|
}
|
|
2907
2912
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
2908
|
-
this.
|
|
2909
|
-
this.
|
|
2913
|
+
this.x9z_1 = this$0;
|
|
2914
|
+
this.y9z_1 = $actions;
|
|
2910
2915
|
CoroutineImpl.call(this, resultContinuation);
|
|
2911
2916
|
}
|
|
2912
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
2913
|
-
var tmp = this.
|
|
2917
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).fa0 = function ($this$flow, $completion) {
|
|
2918
|
+
var tmp = this.ga0($this$flow, $completion);
|
|
2914
2919
|
tmp.h9_1 = Unit_instance;
|
|
2915
2920
|
tmp.i9_1 = null;
|
|
2916
2921
|
return tmp.n9();
|
|
2917
2922
|
};
|
|
2918
2923
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).x9 = function (p1, $completion) {
|
|
2919
|
-
return this.
|
|
2924
|
+
return this.fa0((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
2920
2925
|
};
|
|
2921
2926
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).n9 = function () {
|
|
2922
2927
|
var suspendResult = this.h9_1;
|
|
@@ -2927,23 +2932,23 @@
|
|
|
2927
2932
|
case 0:
|
|
2928
2933
|
this.g9_1 = 4;
|
|
2929
2934
|
var tmp_0 = this;
|
|
2930
|
-
tmp_0.
|
|
2935
|
+
tmp_0.aa0_1 = this.x9z_1.la0_1;
|
|
2931
2936
|
var tmp_1 = this;
|
|
2932
|
-
tmp_1.
|
|
2933
|
-
this.
|
|
2937
|
+
tmp_1.ba0_1 = transformToEmits(this.x9z_1, this.y9z_1);
|
|
2938
|
+
this.ca0_1 = this.ba0_1.j();
|
|
2934
2939
|
this.f9_1 = 1;
|
|
2935
2940
|
continue $sm;
|
|
2936
2941
|
case 1:
|
|
2937
|
-
if (!this.
|
|
2942
|
+
if (!this.ca0_1.k()) {
|
|
2938
2943
|
this.f9_1 = 3;
|
|
2939
2944
|
continue $sm;
|
|
2940
2945
|
}
|
|
2941
2946
|
|
|
2942
|
-
this.
|
|
2947
|
+
this.da0_1 = this.ca0_1.l();
|
|
2943
2948
|
var tmp_2 = this;
|
|
2944
|
-
tmp_2.
|
|
2949
|
+
tmp_2.ea0_1 = this.da0_1;
|
|
2945
2950
|
this.f9_1 = 2;
|
|
2946
|
-
suspendResult = this.
|
|
2951
|
+
suspendResult = this.z9z_1.q18(this.ea0_1, this);
|
|
2947
2952
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2948
2953
|
return suspendResult;
|
|
2949
2954
|
}
|
|
@@ -2954,10 +2959,10 @@
|
|
|
2954
2959
|
continue $sm;
|
|
2955
2960
|
case 3:
|
|
2956
2961
|
l$ret$1: do {
|
|
2957
|
-
var this_0 = this.
|
|
2962
|
+
var this_0 = this.x9z_1.ka0_1;
|
|
2958
2963
|
while (true) {
|
|
2959
2964
|
var cur = this_0.kotlinx$atomicfu$value;
|
|
2960
|
-
var upd = cur - this.
|
|
2965
|
+
var upd = cur - this.y9z_1.m() | 0;
|
|
2961
2966
|
if (this_0.atomicfu$compareAndSet(cur, upd)) {
|
|
2962
2967
|
break l$ret$1;
|
|
2963
2968
|
}
|
|
@@ -2979,15 +2984,15 @@
|
|
|
2979
2984
|
}
|
|
2980
2985
|
while (true);
|
|
2981
2986
|
};
|
|
2982
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
2983
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
2984
|
-
i.
|
|
2987
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).ga0 = function ($this$flow, completion) {
|
|
2988
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.x9z_1, this.y9z_1, completion);
|
|
2989
|
+
i.z9z_1 = $this$flow;
|
|
2985
2990
|
return i;
|
|
2986
2991
|
};
|
|
2987
2992
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
2988
2993
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
2989
2994
|
var l = function ($this$flow, $completion) {
|
|
2990
|
-
return i.
|
|
2995
|
+
return i.fa0($this$flow, $completion);
|
|
2991
2996
|
};
|
|
2992
2997
|
l.$arity = 1;
|
|
2993
2998
|
return l;
|
|
@@ -3060,29 +3065,29 @@
|
|
|
3060
3065
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
3061
3066
|
}
|
|
3062
3067
|
function mapFromGroupKey(_this__u8e3s4, $this) {
|
|
3063
|
-
var tmp = $this.
|
|
3068
|
+
var tmp = $this.ja0_1.a6i();
|
|
3064
3069
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3065
|
-
var this_0 = _this__u8e3s4.
|
|
3070
|
+
var this_0 = _this__u8e3s4.oa0_1;
|
|
3066
3071
|
var tmp_0 = copyToArray(this_0);
|
|
3067
3072
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3068
|
-
var this_1 = _this__u8e3s4.
|
|
3073
|
+
var this_1 = _this__u8e3s4.pa0_1;
|
|
3069
3074
|
var tmp$ret$1 = copyToArray(this_1);
|
|
3070
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
3075
|
+
return new ActionDeliveryPayload(_this__u8e3s4.na0_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.qa0_1);
|
|
3071
3076
|
}
|
|
3072
3077
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
3073
|
-
this.
|
|
3074
|
-
this.
|
|
3075
|
-
this.
|
|
3076
|
-
this.
|
|
3078
|
+
this.na0_1 = tableId;
|
|
3079
|
+
this.oa0_1 = includePlayers;
|
|
3080
|
+
this.pa0_1 = excludePlayers;
|
|
3081
|
+
this.qa0_1 = deliveryType;
|
|
3077
3082
|
}
|
|
3078
3083
|
protoOf(GroupKey).toString = function () {
|
|
3079
|
-
return 'GroupKey(tableId=' + this.
|
|
3084
|
+
return 'GroupKey(tableId=' + this.na0_1 + ', includePlayers=' + toString_0(this.oa0_1) + ', excludePlayers=' + toString_0(this.pa0_1) + ', deliveryType=' + this.qa0_1.toString() + ')';
|
|
3080
3085
|
};
|
|
3081
3086
|
protoOf(GroupKey).hashCode = function () {
|
|
3082
|
-
var result = getStringHashCode(this.
|
|
3083
|
-
result = imul(result, 31) + hashCode(this.
|
|
3084
|
-
result = imul(result, 31) + hashCode(this.
|
|
3085
|
-
result = imul(result, 31) + this.
|
|
3087
|
+
var result = getStringHashCode(this.na0_1);
|
|
3088
|
+
result = imul(result, 31) + hashCode(this.oa0_1) | 0;
|
|
3089
|
+
result = imul(result, 31) + hashCode(this.pa0_1) | 0;
|
|
3090
|
+
result = imul(result, 31) + this.qa0_1.hashCode() | 0;
|
|
3086
3091
|
return result;
|
|
3087
3092
|
};
|
|
3088
3093
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -3091,35 +3096,35 @@
|
|
|
3091
3096
|
if (!(other instanceof GroupKey))
|
|
3092
3097
|
return false;
|
|
3093
3098
|
var tmp0_other_with_cast = other instanceof GroupKey ? other : THROW_CCE();
|
|
3094
|
-
if (!(this.
|
|
3099
|
+
if (!(this.na0_1 === tmp0_other_with_cast.na0_1))
|
|
3095
3100
|
return false;
|
|
3096
|
-
if (!equals(this.
|
|
3101
|
+
if (!equals(this.oa0_1, tmp0_other_with_cast.oa0_1))
|
|
3097
3102
|
return false;
|
|
3098
|
-
if (!equals(this.
|
|
3103
|
+
if (!equals(this.pa0_1, tmp0_other_with_cast.pa0_1))
|
|
3099
3104
|
return false;
|
|
3100
|
-
if (!this.
|
|
3105
|
+
if (!this.qa0_1.equals(tmp0_other_with_cast.qa0_1))
|
|
3101
3106
|
return false;
|
|
3102
3107
|
return true;
|
|
3103
3108
|
};
|
|
3104
3109
|
function Companion_2() {
|
|
3105
|
-
this.
|
|
3110
|
+
this.ra0_1 = 6;
|
|
3106
3111
|
}
|
|
3107
3112
|
var Companion_instance_10;
|
|
3108
3113
|
function Companion_getInstance_3() {
|
|
3109
3114
|
return Companion_instance_10;
|
|
3110
3115
|
}
|
|
3111
3116
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
3112
|
-
this.
|
|
3117
|
+
this.aa1_1 = this$0;
|
|
3113
3118
|
CoroutineImpl.call(this, resultContinuation);
|
|
3114
3119
|
}
|
|
3115
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3116
|
-
var tmp = this.
|
|
3120
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).ca1 = function (actions, $completion) {
|
|
3121
|
+
var tmp = this.da1(actions, $completion);
|
|
3117
3122
|
tmp.h9_1 = Unit_instance;
|
|
3118
3123
|
tmp.i9_1 = null;
|
|
3119
3124
|
return tmp.n9();
|
|
3120
3125
|
};
|
|
3121
3126
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).x9 = function (p1, $completion) {
|
|
3122
|
-
return this.
|
|
3127
|
+
return this.ca1((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
3123
3128
|
};
|
|
3124
3129
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).n9 = function () {
|
|
3125
3130
|
var suspendResult = this.h9_1;
|
|
@@ -3128,7 +3133,7 @@
|
|
|
3128
3133
|
var tmp = this.f9_1;
|
|
3129
3134
|
if (tmp === 0) {
|
|
3130
3135
|
this.g9_1 = 1;
|
|
3131
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
3136
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.aa1_1, this.ba1_1, null));
|
|
3132
3137
|
} else if (tmp === 1) {
|
|
3133
3138
|
throw this.i9_1;
|
|
3134
3139
|
}
|
|
@@ -3138,23 +3143,23 @@
|
|
|
3138
3143
|
}
|
|
3139
3144
|
while (true);
|
|
3140
3145
|
};
|
|
3141
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3142
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
3143
|
-
i.
|
|
3146
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).da1 = function (actions, completion) {
|
|
3147
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.aa1_1, completion);
|
|
3148
|
+
i.ba1_1 = actions;
|
|
3144
3149
|
return i;
|
|
3145
3150
|
};
|
|
3146
3151
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
3147
3152
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
3148
3153
|
var l = function (actions, $completion) {
|
|
3149
|
-
return i.
|
|
3154
|
+
return i.ca1(actions, $completion);
|
|
3150
3155
|
};
|
|
3151
3156
|
l.$arity = 1;
|
|
3152
3157
|
return l;
|
|
3153
3158
|
}
|
|
3154
3159
|
function $sentEventCOROUTINE$3(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
3155
3160
|
CoroutineImpl.call(this, resultContinuation);
|
|
3156
|
-
this.
|
|
3157
|
-
this.
|
|
3161
|
+
this.ma1_1 = _this__u8e3s4;
|
|
3162
|
+
this.na1_1 = fromEvent;
|
|
3158
3163
|
}
|
|
3159
3164
|
protoOf($sentEventCOROUTINE$3).n9 = function () {
|
|
3160
3165
|
var suspendResult = this.h9_1;
|
|
@@ -3165,9 +3170,9 @@
|
|
|
3165
3170
|
case 0:
|
|
3166
3171
|
this.g9_1 = 2;
|
|
3167
3172
|
var tmp_0 = this;
|
|
3168
|
-
tmp_0.
|
|
3173
|
+
tmp_0.oa1_1 = this.ma1_1.la0_1;
|
|
3169
3174
|
l$ret$1: do {
|
|
3170
|
-
var this_0 = this.
|
|
3175
|
+
var this_0 = this.ma1_1.ka0_1;
|
|
3171
3176
|
while (true) {
|
|
3172
3177
|
var cur = this_0.kotlinx$atomicfu$value;
|
|
3173
3178
|
var upd = cur + 1 | 0;
|
|
@@ -3178,7 +3183,7 @@
|
|
|
3178
3183
|
}
|
|
3179
3184
|
while (false);
|
|
3180
3185
|
this.f9_1 = 1;
|
|
3181
|
-
suspendResult = this.
|
|
3186
|
+
suspendResult = this.ma1_1.ma0_1.q18(this.na1_1, this);
|
|
3182
3187
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3183
3188
|
return suspendResult;
|
|
3184
3189
|
}
|
|
@@ -3202,7 +3207,7 @@
|
|
|
3202
3207
|
};
|
|
3203
3208
|
function $waitForCOROUTINE$4(_this__u8e3s4, resultContinuation) {
|
|
3204
3209
|
CoroutineImpl.call(this, resultContinuation);
|
|
3205
|
-
this.
|
|
3210
|
+
this.xa1_1 = _this__u8e3s4;
|
|
3206
3211
|
}
|
|
3207
3212
|
protoOf($waitForCOROUTINE$4).n9 = function () {
|
|
3208
3213
|
var suspendResult = this.h9_1;
|
|
@@ -3213,12 +3218,12 @@
|
|
|
3213
3218
|
case 0:
|
|
3214
3219
|
this.g9_1 = 5;
|
|
3215
3220
|
var tmp_0 = this;
|
|
3216
|
-
tmp_0.
|
|
3217
|
-
this.
|
|
3221
|
+
tmp_0.ya1_1 = this.xa1_1.la0_1;
|
|
3222
|
+
this.za1_1 = 0;
|
|
3218
3223
|
this.f9_1 = 1;
|
|
3219
3224
|
continue $sm;
|
|
3220
3225
|
case 1:
|
|
3221
|
-
if (!!(this.
|
|
3226
|
+
if (!!(this.xa1_1.ka0_1.kotlinx$atomicfu$value === 0)) {
|
|
3222
3227
|
this.f9_1 = 4;
|
|
3223
3228
|
continue $sm;
|
|
3224
3229
|
}
|
|
@@ -3231,9 +3236,9 @@
|
|
|
3231
3236
|
|
|
3232
3237
|
continue $sm;
|
|
3233
3238
|
case 2:
|
|
3234
|
-
this.
|
|
3235
|
-
if (this.
|
|
3236
|
-
this.
|
|
3239
|
+
this.za1_1 = this.za1_1 + 1 | 0;
|
|
3240
|
+
if (this.za1_1 > 6) {
|
|
3241
|
+
this.xa1_1.ia0_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.xa1_1.ka0_1.kotlinx$atomicfu$value);
|
|
3237
3242
|
this.f9_1 = 4;
|
|
3238
3243
|
continue $sm;
|
|
3239
3244
|
} else {
|
|
@@ -3261,42 +3266,42 @@
|
|
|
3261
3266
|
while (true);
|
|
3262
3267
|
};
|
|
3263
3268
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
3264
|
-
this.
|
|
3265
|
-
this.
|
|
3266
|
-
this.
|
|
3267
|
-
this.
|
|
3269
|
+
this.ha0_1 = serverReduxConfig;
|
|
3270
|
+
this.ia0_1 = logger;
|
|
3271
|
+
this.ja0_1 = idsProvider;
|
|
3272
|
+
this.ka0_1 = atomic$ref$1(0);
|
|
3268
3273
|
var tmp = this;
|
|
3269
3274
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
3270
|
-
tmp.
|
|
3271
|
-
this.
|
|
3275
|
+
tmp.la0_1 = get_atomicfu$reentrantLock();
|
|
3276
|
+
this.ma0_1 = MutableSharedFlow();
|
|
3272
3277
|
}
|
|
3273
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3278
|
+
protoOf(ToClientEventsObserverImpl).o9z = function (fromEvent, $completion) {
|
|
3274
3279
|
var tmp = new $sentEventCOROUTINE$3(this, fromEvent, $completion);
|
|
3275
3280
|
tmp.h9_1 = Unit_instance;
|
|
3276
3281
|
tmp.i9_1 = null;
|
|
3277
3282
|
return tmp.n9();
|
|
3278
3283
|
};
|
|
3279
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3284
|
+
protoOf(ToClientEventsObserverImpl).q9c = function ($completion) {
|
|
3280
3285
|
var tmp = new $waitForCOROUTINE$4(this, $completion);
|
|
3281
3286
|
tmp.h9_1 = Unit_instance;
|
|
3282
3287
|
tmp.i9_1 = null;
|
|
3283
3288
|
return tmp.n9();
|
|
3284
3289
|
};
|
|
3285
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3286
|
-
if (!this.
|
|
3287
|
-
return this.
|
|
3290
|
+
protoOf(ToClientEventsObserverImpl).t9m = function () {
|
|
3291
|
+
if (!this.ha0_1.enabledCombinedEvents) {
|
|
3292
|
+
return this.ma0_1;
|
|
3288
3293
|
}
|
|
3289
|
-
var tmp = windowedByInterval(this.
|
|
3294
|
+
var tmp = windowedByInterval(this.ma0_1, toLong(this.ha0_1.combinedEventsPeriod));
|
|
3290
3295
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
3291
3296
|
};
|
|
3292
3297
|
function UpdateServerConfigAction(serverConfig) {
|
|
3293
|
-
this.
|
|
3298
|
+
this.aa2_1 = serverConfig;
|
|
3294
3299
|
}
|
|
3295
3300
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
3296
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
3301
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.aa2_1.toString() + ')';
|
|
3297
3302
|
};
|
|
3298
3303
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
3299
|
-
return this.
|
|
3304
|
+
return this.aa2_1.hashCode();
|
|
3300
3305
|
};
|
|
3301
3306
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
3302
3307
|
if (this === other)
|
|
@@ -3304,20 +3309,20 @@
|
|
|
3304
3309
|
if (!(other instanceof UpdateServerConfigAction))
|
|
3305
3310
|
return false;
|
|
3306
3311
|
var tmp0_other_with_cast = other instanceof UpdateServerConfigAction ? other : THROW_CCE();
|
|
3307
|
-
if (!this.
|
|
3312
|
+
if (!this.aa2_1.equals(tmp0_other_with_cast.aa2_1))
|
|
3308
3313
|
return false;
|
|
3309
3314
|
return true;
|
|
3310
3315
|
};
|
|
3311
3316
|
function SpectatorsAction() {
|
|
3312
3317
|
}
|
|
3313
3318
|
function AddSpectatorsAction(spectators) {
|
|
3314
|
-
this.
|
|
3319
|
+
this.ba2_1 = spectators;
|
|
3315
3320
|
}
|
|
3316
3321
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
3317
|
-
return 'AddSpectatorsAction(spectators=' + toString_0(this.
|
|
3322
|
+
return 'AddSpectatorsAction(spectators=' + toString_0(this.ba2_1) + ')';
|
|
3318
3323
|
};
|
|
3319
3324
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
3320
|
-
return hashCode(this.
|
|
3325
|
+
return hashCode(this.ba2_1);
|
|
3321
3326
|
};
|
|
3322
3327
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
3323
3328
|
if (this === other)
|
|
@@ -3325,18 +3330,18 @@
|
|
|
3325
3330
|
if (!(other instanceof AddSpectatorsAction))
|
|
3326
3331
|
return false;
|
|
3327
3332
|
var tmp0_other_with_cast = other instanceof AddSpectatorsAction ? other : THROW_CCE();
|
|
3328
|
-
if (!equals(this.
|
|
3333
|
+
if (!equals(this.ba2_1, tmp0_other_with_cast.ba2_1))
|
|
3329
3334
|
return false;
|
|
3330
3335
|
return true;
|
|
3331
3336
|
};
|
|
3332
3337
|
function RemoveSpectatorsAction(spectators) {
|
|
3333
|
-
this.
|
|
3338
|
+
this.ca2_1 = spectators;
|
|
3334
3339
|
}
|
|
3335
3340
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
3336
|
-
return 'RemoveSpectatorsAction(spectators=' + toString_0(this.
|
|
3341
|
+
return 'RemoveSpectatorsAction(spectators=' + toString_0(this.ca2_1) + ')';
|
|
3337
3342
|
};
|
|
3338
3343
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
3339
|
-
return hashCode(this.
|
|
3344
|
+
return hashCode(this.ca2_1);
|
|
3340
3345
|
};
|
|
3341
3346
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
3342
3347
|
if (this === other)
|
|
@@ -3344,73 +3349,73 @@
|
|
|
3344
3349
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
3345
3350
|
return false;
|
|
3346
3351
|
var tmp0_other_with_cast = other instanceof RemoveSpectatorsAction ? other : THROW_CCE();
|
|
3347
|
-
if (!equals(this.
|
|
3352
|
+
if (!equals(this.ca2_1, tmp0_other_with_cast.ca2_1))
|
|
3348
3353
|
return false;
|
|
3349
3354
|
return true;
|
|
3350
3355
|
};
|
|
3351
3356
|
function _get_asyncProvider__jbpyhw($this) {
|
|
3352
3357
|
// Inline function 'kotlin.getValue' call
|
|
3353
|
-
var this_0 = $this.
|
|
3358
|
+
var this_0 = $this.ia2_1;
|
|
3354
3359
|
asyncProvider$factory_0();
|
|
3355
3360
|
return this_0.u();
|
|
3356
3361
|
}
|
|
3357
3362
|
function _get_logger__rkp4sl_0($this) {
|
|
3358
3363
|
// Inline function 'kotlin.getValue' call
|
|
3359
|
-
var this_0 = $this.
|
|
3364
|
+
var this_0 = $this.ja2_1;
|
|
3360
3365
|
logger$factory_2();
|
|
3361
3366
|
return this_0.u();
|
|
3362
3367
|
}
|
|
3363
3368
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
3364
3369
|
// Inline function 'kotlin.getValue' call
|
|
3365
|
-
var this_0 = $this.
|
|
3370
|
+
var this_0 = $this.ka2_1;
|
|
3366
3371
|
playerConnectionInteractor$factory_2();
|
|
3367
3372
|
return this_0.u();
|
|
3368
3373
|
}
|
|
3369
3374
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
3370
3375
|
// Inline function 'kotlin.getValue' call
|
|
3371
|
-
var this_0 = $this.
|
|
3376
|
+
var this_0 = $this.la2_1;
|
|
3372
3377
|
lastCardInteractor$factory_0();
|
|
3373
3378
|
return this_0.u();
|
|
3374
3379
|
}
|
|
3375
3380
|
function _get_serverConfig__rk2g06($this) {
|
|
3376
3381
|
// Inline function 'kotlin.getValue' call
|
|
3377
|
-
var this_0 = $this.
|
|
3382
|
+
var this_0 = $this.ma2_1;
|
|
3378
3383
|
serverConfig$factory_0();
|
|
3379
3384
|
return this_0.u();
|
|
3380
3385
|
}
|
|
3381
3386
|
function _get_logicConfig__52ww9d($this) {
|
|
3382
3387
|
// Inline function 'kotlin.getValue' call
|
|
3383
|
-
var this_0 = $this.
|
|
3388
|
+
var this_0 = $this.na2_1;
|
|
3384
3389
|
logicConfig$factory_0();
|
|
3385
3390
|
return this_0.u();
|
|
3386
3391
|
}
|
|
3387
3392
|
function _get_idsProvider__fnfajc_0($this) {
|
|
3388
3393
|
// Inline function 'kotlin.getValue' call
|
|
3389
|
-
var this_0 = $this.
|
|
3394
|
+
var this_0 = $this.oa2_1;
|
|
3390
3395
|
idsProvider$factory_2();
|
|
3391
3396
|
return this_0.u();
|
|
3392
3397
|
}
|
|
3393
3398
|
function _get_botConfig__cpaxzc($this) {
|
|
3394
3399
|
// Inline function 'kotlin.getValue' call
|
|
3395
|
-
var this_0 = $this.
|
|
3400
|
+
var this_0 = $this.pa2_1;
|
|
3396
3401
|
botConfig$factory_0();
|
|
3397
3402
|
return this_0.u();
|
|
3398
3403
|
}
|
|
3399
3404
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
3400
3405
|
// Inline function 'kotlin.getValue' call
|
|
3401
|
-
var this_0 = $this.
|
|
3406
|
+
var this_0 = $this.qa2_1;
|
|
3402
3407
|
scenePositionProvider$factory_0();
|
|
3403
3408
|
return this_0.u();
|
|
3404
3409
|
}
|
|
3405
3410
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
3406
3411
|
// Inline function 'kotlin.getValue' call
|
|
3407
|
-
var this_0 = $this.
|
|
3412
|
+
var this_0 = $this.ra2_1;
|
|
3408
3413
|
toClientEventsObserver$factory_2();
|
|
3409
3414
|
return this_0.u();
|
|
3410
3415
|
}
|
|
3411
3416
|
function _get_mechanicEventsObserver__ll1b9k_0($this) {
|
|
3412
3417
|
// Inline function 'kotlin.getValue' call
|
|
3413
|
-
var this_0 = $this.
|
|
3418
|
+
var this_0 = $this.sa2_1;
|
|
3414
3419
|
mechanicEventsObserver$factory_2();
|
|
3415
3420
|
return this_0.u();
|
|
3416
3421
|
}
|
|
@@ -3423,83 +3428,83 @@
|
|
|
3423
3428
|
botGameStoreContract = botGameStoreContract === VOID ? new BotGameStoreContract(di) : botGameStoreContract;
|
|
3424
3429
|
gameMechanicStoreContract = gameMechanicStoreContract === VOID ? new GameMechanicStoreContract(di, null, true) : gameMechanicStoreContract;
|
|
3425
3430
|
fileLoggerStoreContract = fileLoggerStoreContract === VOID ? new FileLoggerStoreContract(di) : fileLoggerStoreContract;
|
|
3426
|
-
this.
|
|
3427
|
-
this.
|
|
3428
|
-
this.
|
|
3429
|
-
this.
|
|
3430
|
-
this.
|
|
3431
|
+
this.da2_1 = validationStoreContract;
|
|
3432
|
+
this.ea2_1 = timersStoreContract;
|
|
3433
|
+
this.fa2_1 = botGameStoreContract;
|
|
3434
|
+
this.ga2_1 = gameMechanicStoreContract;
|
|
3435
|
+
this.ha2_1 = fileLoggerStoreContract;
|
|
3431
3436
|
var tmp = this;
|
|
3432
3437
|
// Inline function 'org.kodein.di.instance' call
|
|
3433
3438
|
// Inline function 'org.kodein.type.generic' call
|
|
3434
3439
|
var tmp_0 = typeToken(createKType(getKClass(AsyncProvider), arrayOf([]), false));
|
|
3435
3440
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
3436
|
-
tmp.
|
|
3441
|
+
tmp.ia2_1 = Instance(di, tmp$ret$0, null).x63(this, asyncProvider$factory());
|
|
3437
3442
|
var tmp_1 = this;
|
|
3438
3443
|
// Inline function 'org.kodein.di.instance' call
|
|
3439
3444
|
// Inline function 'org.kodein.type.generic' call
|
|
3440
3445
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
3441
3446
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
3442
|
-
tmp_1.
|
|
3447
|
+
tmp_1.ja2_1 = Instance(di, tmp$ret$2, null).x63(this, logger$factory_1());
|
|
3443
3448
|
var tmp_3 = this;
|
|
3444
3449
|
// Inline function 'org.kodein.di.instance' call
|
|
3445
3450
|
// Inline function 'org.kodein.type.generic' call
|
|
3446
3451
|
var tmp_4 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
3447
3452
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
3448
|
-
tmp_3.
|
|
3453
|
+
tmp_3.ka2_1 = Instance(di, tmp$ret$4, null).x63(this, playerConnectionInteractor$factory_1());
|
|
3449
3454
|
var tmp_5 = this;
|
|
3450
3455
|
// Inline function 'org.kodein.di.instance' call
|
|
3451
3456
|
// Inline function 'org.kodein.type.generic' call
|
|
3452
3457
|
var tmp_6 = typeToken(createKType(getKClass(LastCardInteractor), arrayOf([]), false));
|
|
3453
3458
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
3454
|
-
tmp_5.
|
|
3459
|
+
tmp_5.la2_1 = Instance(di, tmp$ret$6, null).x63(this, lastCardInteractor$factory());
|
|
3455
3460
|
var tmp_7 = this;
|
|
3456
3461
|
// Inline function 'org.kodein.di.instance' call
|
|
3457
3462
|
// Inline function 'org.kodein.type.generic' call
|
|
3458
3463
|
var tmp_8 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
3459
3464
|
var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
3460
|
-
tmp_7.
|
|
3465
|
+
tmp_7.ma2_1 = Instance(di, tmp$ret$8, null).x63(this, serverConfig$factory());
|
|
3461
3466
|
var tmp_9 = this;
|
|
3462
3467
|
// Inline function 'org.kodein.di.instance' call
|
|
3463
3468
|
// Inline function 'org.kodein.type.generic' call
|
|
3464
3469
|
var tmp_10 = typeToken(createKType(getKClass(EngineLogicConfig), arrayOf([]), false));
|
|
3465
3470
|
var tmp$ret$10 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
3466
|
-
tmp_9.
|
|
3471
|
+
tmp_9.na2_1 = Instance(di, tmp$ret$10, null).x63(this, logicConfig$factory());
|
|
3467
3472
|
var tmp_11 = this;
|
|
3468
3473
|
// Inline function 'org.kodein.di.instance' call
|
|
3469
3474
|
// Inline function 'org.kodein.type.generic' call
|
|
3470
3475
|
var tmp_12 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
3471
3476
|
var tmp$ret$12 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
3472
|
-
tmp_11.
|
|
3477
|
+
tmp_11.oa2_1 = Instance(di, tmp$ret$12, null).x63(this, idsProvider$factory_1());
|
|
3473
3478
|
var tmp_13 = this;
|
|
3474
3479
|
// Inline function 'org.kodein.di.instance' call
|
|
3475
3480
|
// Inline function 'org.kodein.type.generic' call
|
|
3476
3481
|
var tmp_14 = typeToken(createKType(getKClass(EngineBotConfig), arrayOf([]), false));
|
|
3477
3482
|
var tmp$ret$14 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
3478
|
-
tmp_13.
|
|
3483
|
+
tmp_13.pa2_1 = Instance(di, tmp$ret$14, null).x63(this, botConfig$factory());
|
|
3479
3484
|
var tmp_15 = this;
|
|
3480
3485
|
// Inline function 'org.kodein.di.instance' call
|
|
3481
3486
|
// Inline function 'org.kodein.type.generic' call
|
|
3482
3487
|
var tmp_16 = typeToken(createKType(getKClass(ScenePositionProvider), arrayOf([]), false));
|
|
3483
3488
|
var tmp$ret$16 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
3484
|
-
tmp_15.
|
|
3489
|
+
tmp_15.qa2_1 = Instance(di, tmp$ret$16, null).x63(this, scenePositionProvider$factory());
|
|
3485
3490
|
var tmp_17 = this;
|
|
3486
3491
|
// Inline function 'org.kodein.di.instance' call
|
|
3487
3492
|
// Inline function 'org.kodein.type.generic' call
|
|
3488
3493
|
var tmp_18 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
|
|
3489
3494
|
var tmp$ret$18 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
3490
|
-
tmp_17.
|
|
3495
|
+
tmp_17.ra2_1 = Instance(di, tmp$ret$18, null).x63(this, toClientEventsObserver$factory_1());
|
|
3491
3496
|
var tmp_19 = this;
|
|
3492
3497
|
// Inline function 'org.kodein.di.instance' call
|
|
3493
3498
|
// Inline function 'org.kodein.type.generic' call
|
|
3494
3499
|
var tmp_20 = typeToken(createKType(getKClass(MechanicEventsObserver), arrayOf([]), false));
|
|
3495
3500
|
var tmp$ret$20 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
3496
|
-
tmp_19.
|
|
3501
|
+
tmp_19.sa2_1 = Instance(di, tmp$ret$20, null).x63(this, mechanicEventsObserver$factory_1());
|
|
3497
3502
|
}
|
|
3498
|
-
protoOf(ServerGameStoreContract).
|
|
3499
|
-
return plus(plus(plus(plus(plus(this.
|
|
3503
|
+
protoOf(ServerGameStoreContract).t95 = function () {
|
|
3504
|
+
return plus(plus(plus(plus(plus(this.da2_1.t95(), this.ea2_1.t95()), this.fa2_1.t95()), this.ga2_1.t95()), this.ha2_1.t95()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl_0(this))]));
|
|
3500
3505
|
};
|
|
3501
|
-
protoOf(ServerGameStoreContract).
|
|
3502
|
-
var tmp = plus(plus(plus(plus(plus(plus(plus(this.
|
|
3506
|
+
protoOf(ServerGameStoreContract).u95 = function () {
|
|
3507
|
+
var tmp = plus(plus(plus(plus(plus(plus(plus(this.da2_1.u95(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameIfAllBots ? checkBotsMiddleware(_get_logger__rkp4sl_0(this)) : null)), this.ea2_1.u95()), this.fa2_1.u95()), this.ga2_1.u95()), this.ha2_1.u95()), 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))).n97(), finishingGameWhenCantStartNewMiddleware()]));
|
|
3503
3508
|
var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this));
|
|
3504
3509
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
3505
3510
|
var tmp1_logger = _get_logger__rkp4sl_0(this);
|
|
@@ -3631,28 +3636,28 @@
|
|
|
3631
3636
|
}
|
|
3632
3637
|
function _no_name_provided__qut3iv_2() {
|
|
3633
3638
|
}
|
|
3634
|
-
protoOf(_no_name_provided__qut3iv_2).
|
|
3639
|
+
protoOf(_no_name_provided__qut3iv_2).x6j = function (action) {
|
|
3635
3640
|
return action instanceof RoundEndedAction;
|
|
3636
3641
|
};
|
|
3637
|
-
protoOf(_no_name_provided__qut3iv_2).
|
|
3642
|
+
protoOf(_no_name_provided__qut3iv_2).o6l = function (store, next, action) {
|
|
3638
3643
|
// Inline function 'games.jass.logic.server.redux.middlewares.finishingGameWhenCantStartNewMiddleware.<anonymous>' call
|
|
3639
3644
|
var action_0 = action instanceof RoundEndedAction ? action : THROW_CCE();
|
|
3640
3645
|
next(action_0);
|
|
3641
3646
|
var state = store.state;
|
|
3642
|
-
if (!get_serverStatePayload_0(state).
|
|
3643
|
-
store.dispatch(Companion_instance_0.withAnalytics(new GameFinishedReason(Reason_DEPLOY_getInstance()), true, state.
|
|
3647
|
+
if (!get_serverStatePayload_0(state).b9u_1.d9u_1 && action_0.isGameFinished) {
|
|
3648
|
+
store.dispatch(Companion_instance_0.withAnalytics(new GameFinishedReason(Reason_DEPLOY_getInstance()), true, state.s6q_1));
|
|
3644
3649
|
}
|
|
3645
3650
|
};
|
|
3646
|
-
protoOf(_no_name_provided__qut3iv_2).
|
|
3647
|
-
return this.
|
|
3651
|
+
protoOf(_no_name_provided__qut3iv_2).w6j = function (store, next, action) {
|
|
3652
|
+
return this.o6l(store, next, action);
|
|
3648
3653
|
};
|
|
3649
3654
|
function _no_name_provided__qut3iv_3(this$0) {
|
|
3650
|
-
this.
|
|
3655
|
+
this.va2_1 = this$0;
|
|
3651
3656
|
}
|
|
3652
|
-
protoOf(_no_name_provided__qut3iv_3).
|
|
3657
|
+
protoOf(_no_name_provided__qut3iv_3).x6j = function (action) {
|
|
3653
3658
|
return action instanceof MechanicAction;
|
|
3654
3659
|
};
|
|
3655
|
-
protoOf(_no_name_provided__qut3iv_3).
|
|
3660
|
+
protoOf(_no_name_provided__qut3iv_3).o6l = function (store, next, action) {
|
|
3656
3661
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>' call
|
|
3657
3662
|
var action_0 = action instanceof MechanicAction ? action : THROW_CCE();
|
|
3658
3663
|
var state = store.state;
|
|
@@ -3661,11 +3666,11 @@
|
|
|
3661
3666
|
var tmp;
|
|
3662
3667
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
3663
3668
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3664
|
-
var this_0 = this.
|
|
3665
|
-
var tableId = action_0.
|
|
3666
|
-
var gameCreatorPlayerId = action_0.
|
|
3669
|
+
var this_0 = this.va2_1;
|
|
3670
|
+
var tableId = action_0.c80_1;
|
|
3671
|
+
var gameCreatorPlayerId = action_0.e80_1;
|
|
3667
3672
|
// Inline function 'kotlin.collections.map' call
|
|
3668
|
-
var this_1 = action_0.
|
|
3673
|
+
var this_1 = action_0.f80_1;
|
|
3669
3674
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3670
3675
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
3671
3676
|
var tmp0_iterator = this_1.j();
|
|
@@ -3706,7 +3711,7 @@
|
|
|
3706
3711
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3707
3712
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3708
3713
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3709
|
-
var tmp0_aid = this_0.
|
|
3714
|
+
var tmp0_aid = this_0.ua2_1.a6i();
|
|
3710
3715
|
// Inline function 'kotlin.collections.map' call
|
|
3711
3716
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3712
3717
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -3731,17 +3736,17 @@
|
|
|
3731
3736
|
} else {
|
|
3732
3737
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
3733
3738
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3734
|
-
var this_2 = this.
|
|
3735
|
-
var table = state.
|
|
3739
|
+
var this_2 = this.va2_1;
|
|
3740
|
+
var table = state.u6r();
|
|
3736
3741
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3737
|
-
var sendToPlayer_0 = new RoomActionPayload(this_2.
|
|
3742
|
+
var sendToPlayer_0 = new RoomActionPayload(this_2.ua2_1.a6i(), table.id, null);
|
|
3738
3743
|
var tmp$ret$18 = mapToClient_16(action_0, sendToPlayer_0);
|
|
3739
3744
|
tmp = listOfNotNull(tmp$ret$18);
|
|
3740
3745
|
} else {
|
|
3741
3746
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
3742
3747
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3743
|
-
var this_3 = this.
|
|
3744
|
-
var tableId_0 = action_0.
|
|
3748
|
+
var this_3 = this.va2_1;
|
|
3749
|
+
var tableId_0 = action_0.i80_1.id;
|
|
3745
3750
|
var gameCreatorPlayerId_0 = action_0.gameCreatorPlayerId;
|
|
3746
3751
|
// Inline function 'kotlin.collections.map' call
|
|
3747
3752
|
var this_4 = action_0.users;
|
|
@@ -3785,7 +3790,7 @@
|
|
|
3785
3790
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3786
3791
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3787
3792
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3788
|
-
var tmp0_aid_0 = this_3.
|
|
3793
|
+
var tmp0_aid_0 = this_3.ua2_1.a6i();
|
|
3789
3794
|
// Inline function 'kotlin.collections.map' call
|
|
3790
3795
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3791
3796
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -3810,44 +3815,44 @@
|
|
|
3810
3815
|
} else {
|
|
3811
3816
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
3812
3817
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3813
|
-
var this_5 = this.
|
|
3814
|
-
var table_0 = state.
|
|
3818
|
+
var this_5 = this.va2_1;
|
|
3819
|
+
var table_0 = state.u6r();
|
|
3815
3820
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3816
|
-
var sendToPlayer_2 = new RoomActionPayload(this_5.
|
|
3821
|
+
var sendToPlayer_2 = new RoomActionPayload(this_5.ua2_1.a6i(), table_0.id, null);
|
|
3817
3822
|
var tmp$ret$38 = mapToClient_14(action_0, sendToPlayer_2);
|
|
3818
3823
|
tmp = listOfNotNull(tmp$ret$38);
|
|
3819
3824
|
} else {
|
|
3820
3825
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
3821
3826
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3822
|
-
var this_6 = this.
|
|
3823
|
-
var table_1 = state.
|
|
3827
|
+
var this_6 = this.va2_1;
|
|
3828
|
+
var table_1 = state.u6r();
|
|
3824
3829
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3825
|
-
var sendToPlayer_3 = new RoomActionPayload(this_6.
|
|
3830
|
+
var sendToPlayer_3 = new RoomActionPayload(this_6.ua2_1.a6i(), table_1.id, null);
|
|
3826
3831
|
var tmp$ret$40 = mapToClient_13(action_0, sendToPlayer_3);
|
|
3827
3832
|
tmp = listOfNotNull(tmp$ret$40);
|
|
3828
3833
|
} else {
|
|
3829
3834
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
3830
3835
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3831
|
-
var this_7 = this.
|
|
3832
|
-
var table_2 = state.
|
|
3836
|
+
var this_7 = this.va2_1;
|
|
3837
|
+
var table_2 = state.u6r();
|
|
3833
3838
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3834
|
-
var sendToPlayer_4 = new RoomActionPayload(this_7.
|
|
3839
|
+
var sendToPlayer_4 = new RoomActionPayload(this_7.ua2_1.a6i(), table_2.id, null);
|
|
3835
3840
|
var tmp$ret$42 = mapToClient_12(action_0, sendToPlayer_4);
|
|
3836
3841
|
tmp = listOfNotNull(tmp$ret$42);
|
|
3837
3842
|
} else {
|
|
3838
3843
|
if (action_0 instanceof ErrorAction) {
|
|
3839
3844
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3840
|
-
var this_8 = this.
|
|
3841
|
-
var table_3 = state.
|
|
3845
|
+
var this_8 = this.va2_1;
|
|
3846
|
+
var table_3 = state.u6r();
|
|
3842
3847
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3843
|
-
var sendToPlayer_5 = new RoomActionPayload(this_8.
|
|
3848
|
+
var sendToPlayer_5 = new RoomActionPayload(this_8.ua2_1.a6i(), table_3.id, null);
|
|
3844
3849
|
var tmp$ret$44 = mapToClient_11(action_0, sendToPlayer_5);
|
|
3845
3850
|
tmp = listOfNotNull(tmp$ret$44);
|
|
3846
3851
|
} else {
|
|
3847
3852
|
if (action_0 instanceof SceneMechanicAction) {
|
|
3848
3853
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
3849
|
-
var this_9 = this.
|
|
3850
|
-
var table_4 = state.
|
|
3854
|
+
var this_9 = this.va2_1;
|
|
3855
|
+
var table_4 = state.u6r();
|
|
3851
3856
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3852
3857
|
var tableId_1 = table_4.id;
|
|
3853
3858
|
var gameCreatorPlayerId_1 = getGameCreator(table_4.players).playerId;
|
|
@@ -3883,7 +3888,7 @@
|
|
|
3883
3888
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3884
3889
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3885
3890
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3886
|
-
var tmp0_aid_1 = this_9.
|
|
3891
|
+
var tmp0_aid_1 = this_9.ua2_1.a6i();
|
|
3887
3892
|
// Inline function 'kotlin.collections.map' call
|
|
3888
3893
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3889
3894
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -3908,8 +3913,8 @@
|
|
|
3908
3913
|
} else {
|
|
3909
3914
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
3910
3915
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
3911
|
-
var this_10 = this.
|
|
3912
|
-
var table_5 = state.
|
|
3916
|
+
var this_10 = this.va2_1;
|
|
3917
|
+
var table_5 = state.u6r();
|
|
3913
3918
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3914
3919
|
var tableId_2 = table_5.id;
|
|
3915
3920
|
var gameCreatorPlayerId_2 = getGameCreator(table_5.players).playerId;
|
|
@@ -3945,7 +3950,7 @@
|
|
|
3945
3950
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3946
3951
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3947
3952
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3948
|
-
var tmp0_aid_2 = this_10.
|
|
3953
|
+
var tmp0_aid_2 = this_10.ua2_1.a6i();
|
|
3949
3954
|
// Inline function 'kotlin.collections.map' call
|
|
3950
3955
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3951
3956
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -3970,8 +3975,8 @@
|
|
|
3970
3975
|
} else {
|
|
3971
3976
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
3972
3977
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
3973
|
-
var this_11 = this.
|
|
3974
|
-
var table_6 = state.
|
|
3978
|
+
var this_11 = this.va2_1;
|
|
3979
|
+
var table_6 = state.u6r();
|
|
3975
3980
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3976
3981
|
var tableId_3 = table_6.id;
|
|
3977
3982
|
var gameCreatorPlayerId_3 = getGameCreator(table_6.players).playerId;
|
|
@@ -4007,7 +4012,7 @@
|
|
|
4007
4012
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
4008
4013
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
4009
4014
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4010
|
-
var tmp0_aid_3 = this_11.
|
|
4015
|
+
var tmp0_aid_3 = this_11.ua2_1.a6i();
|
|
4011
4016
|
// Inline function 'kotlin.collections.map' call
|
|
4012
4017
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4013
4018
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -4020,7 +4025,7 @@
|
|
|
4020
4025
|
}
|
|
4021
4026
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tableId_3, gameCreatorPlayerId_3, element_8, destination_20);
|
|
4022
4027
|
var tmp_0;
|
|
4023
|
-
if (this.
|
|
4028
|
+
if (this.va2_1.ta2_1.supportBackwardActions && getPlayer(state.u6r().players, sendToPlayer_8.p7e_1).r6x_1.v6x_1) {
|
|
4024
4029
|
tmp_0 = null;
|
|
4025
4030
|
} else {
|
|
4026
4031
|
tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
|
|
@@ -4038,79 +4043,79 @@
|
|
|
4038
4043
|
} else {
|
|
4039
4044
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
4040
4045
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4041
|
-
var this_12 = this.
|
|
4042
|
-
var table_7 = state.
|
|
4043
|
-
var exceptPlayerId = this.
|
|
4046
|
+
var this_12 = this.va2_1;
|
|
4047
|
+
var table_7 = state.u6r();
|
|
4048
|
+
var exceptPlayerId = this.va2_1.ta2_1.supportBackwardActions ? action_0.i81_1 : null;
|
|
4044
4049
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4045
|
-
var sendToPlayer_9 = new RoomActionPayload(this_12.
|
|
4050
|
+
var sendToPlayer_9 = new RoomActionPayload(this_12.ua2_1.a6i(), table_7.id, exceptPlayerId);
|
|
4046
4051
|
var tmp$ret$94 = mapToClient_7(action_0, sendToPlayer_9);
|
|
4047
4052
|
tmp = listOfNotNull(tmp$ret$94);
|
|
4048
4053
|
} else {
|
|
4049
4054
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
4050
4055
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4051
|
-
var this_13 = this.
|
|
4052
|
-
var table_8 = state.
|
|
4053
|
-
var exceptPlayerId_0 = this.
|
|
4056
|
+
var this_13 = this.va2_1;
|
|
4057
|
+
var table_8 = state.u6r();
|
|
4058
|
+
var exceptPlayerId_0 = this.va2_1.ta2_1.supportBackwardActions ? action_0.m81_1 : null;
|
|
4054
4059
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4055
|
-
var sendToPlayer_10 = new RoomActionPayload(this_13.
|
|
4060
|
+
var sendToPlayer_10 = new RoomActionPayload(this_13.ua2_1.a6i(), table_8.id, exceptPlayerId_0);
|
|
4056
4061
|
var tmp$ret$96 = mapToClient_6(action_0, sendToPlayer_10);
|
|
4057
4062
|
tmp = listOfNotNull(tmp$ret$96);
|
|
4058
4063
|
} else {
|
|
4059
4064
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
4060
4065
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4061
|
-
var this_14 = this.
|
|
4062
|
-
var table_9 = state.
|
|
4066
|
+
var this_14 = this.va2_1;
|
|
4067
|
+
var table_9 = state.u6r();
|
|
4063
4068
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4064
|
-
var sendToPlayer_11 = new RoomActionPayload(this_14.
|
|
4069
|
+
var sendToPlayer_11 = new RoomActionPayload(this_14.ua2_1.a6i(), table_9.id, null);
|
|
4065
4070
|
var tmp$ret$98 = mapToClient_5(action_0, sendToPlayer_11);
|
|
4066
4071
|
tmp = listOfNotNull(tmp$ret$98);
|
|
4067
4072
|
} else {
|
|
4068
4073
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
4069
4074
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4070
|
-
var this_15 = this.
|
|
4071
|
-
var table_10 = state.
|
|
4072
|
-
var exceptPlayerId_1 = this.
|
|
4075
|
+
var this_15 = this.va2_1;
|
|
4076
|
+
var table_10 = state.u6r();
|
|
4077
|
+
var exceptPlayerId_1 = this.va2_1.ta2_1.supportBackwardActions ? action_0.t81_1 : null;
|
|
4073
4078
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4074
|
-
var sendToPlayer_12 = new RoomActionPayload(this_15.
|
|
4079
|
+
var sendToPlayer_12 = new RoomActionPayload(this_15.ua2_1.a6i(), table_10.id, exceptPlayerId_1);
|
|
4075
4080
|
var tmp$ret$100 = mapToClient_4(action_0, sendToPlayer_12);
|
|
4076
4081
|
tmp = listOfNotNull(tmp$ret$100);
|
|
4077
4082
|
} else {
|
|
4078
4083
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
4079
4084
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4080
|
-
var this_16 = this.
|
|
4081
|
-
var table_11 = state.
|
|
4082
|
-
var exceptPlayerId_2 = this.
|
|
4085
|
+
var this_16 = this.va2_1;
|
|
4086
|
+
var table_11 = state.u6r();
|
|
4087
|
+
var exceptPlayerId_2 = this.va2_1.ta2_1.supportBackwardActions ? action_0.x81_1 : null;
|
|
4083
4088
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4084
|
-
var sendToPlayer_13 = new RoomActionPayload(this_16.
|
|
4089
|
+
var sendToPlayer_13 = new RoomActionPayload(this_16.ua2_1.a6i(), table_11.id, exceptPlayerId_2);
|
|
4085
4090
|
var tmp$ret$102 = mapToClient_3(action_0, sendToPlayer_13);
|
|
4086
4091
|
tmp = listOfNotNull(tmp$ret$102);
|
|
4087
4092
|
} else {
|
|
4088
4093
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
4089
4094
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4090
|
-
var this_17 = this.
|
|
4091
|
-
var table_12 = state.
|
|
4095
|
+
var this_17 = this.va2_1;
|
|
4096
|
+
var table_12 = state.u6r();
|
|
4092
4097
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4093
|
-
var sendToPlayer_14 = new RoomActionPayload(this_17.
|
|
4098
|
+
var sendToPlayer_14 = new RoomActionPayload(this_17.ua2_1.a6i(), table_12.id, null);
|
|
4094
4099
|
var tmp$ret$104 = mapToClient_2(action_0, sendToPlayer_14);
|
|
4095
4100
|
tmp = listOfNotNull(tmp$ret$104);
|
|
4096
4101
|
} else {
|
|
4097
4102
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
4098
4103
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4099
|
-
var this_18 = this.
|
|
4100
|
-
var table_13 = state.
|
|
4104
|
+
var this_18 = this.va2_1;
|
|
4105
|
+
var table_13 = state.u6r();
|
|
4101
4106
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4102
|
-
var sendToPlayer_15 = new RoomActionPayload(this_18.
|
|
4107
|
+
var sendToPlayer_15 = new RoomActionPayload(this_18.ua2_1.a6i(), table_13.id, null);
|
|
4103
4108
|
var tmp$ret$106 = mapToClient_1(action_0, sendToPlayer_15);
|
|
4104
4109
|
tmp = listOfNotNull(tmp$ret$106);
|
|
4105
4110
|
} else {
|
|
4106
4111
|
if (action_0 instanceof MessageMechanicAction) {
|
|
4107
|
-
var message = action_0.
|
|
4112
|
+
var message = action_0.f82_1;
|
|
4108
4113
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4109
|
-
var this_19 = this.
|
|
4110
|
-
var table_14 = state.
|
|
4114
|
+
var this_19 = this.va2_1;
|
|
4115
|
+
var table_14 = state.u6r();
|
|
4111
4116
|
var tmp_1;
|
|
4112
4117
|
var tmp_2;
|
|
4113
|
-
if (this.
|
|
4118
|
+
if (this.va2_1.ta2_1.supportBackwardActions) {
|
|
4114
4119
|
tmp_2 = isInterface(message, UserMessage);
|
|
4115
4120
|
} else {
|
|
4116
4121
|
tmp_2 = false;
|
|
@@ -4122,17 +4127,17 @@
|
|
|
4122
4127
|
}
|
|
4123
4128
|
var exceptPlayerId_3 = tmp_1;
|
|
4124
4129
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4125
|
-
var sendToPlayer_16 = new RoomActionPayload(this_19.
|
|
4130
|
+
var sendToPlayer_16 = new RoomActionPayload(this_19.ua2_1.a6i(), table_14.id, exceptPlayerId_3);
|
|
4126
4131
|
var tmp$ret$108 = mapToClient_0(action_0, sendToPlayer_16);
|
|
4127
4132
|
tmp = listOfNotNull(tmp$ret$108);
|
|
4128
4133
|
} else {
|
|
4129
4134
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
4130
4135
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4131
|
-
var this_20 = this.
|
|
4132
|
-
var table_15 = state.
|
|
4136
|
+
var this_20 = this.va2_1;
|
|
4137
|
+
var table_15 = state.u6r();
|
|
4133
4138
|
var exceptPlayerId_4 = action_0.playerId;
|
|
4134
4139
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4135
|
-
var sendToPlayer_17 = new RoomActionPayload(this_20.
|
|
4140
|
+
var sendToPlayer_17 = new RoomActionPayload(this_20.ua2_1.a6i(), table_15.id, exceptPlayerId_4);
|
|
4136
4141
|
var tmp$ret$110 = mapToClient(action_0, sendToPlayer_17);
|
|
4137
4142
|
tmp = listOfNotNull(tmp$ret$110);
|
|
4138
4143
|
} else {
|
|
@@ -4166,14 +4171,14 @@
|
|
|
4166
4171
|
}
|
|
4167
4172
|
next(action_0);
|
|
4168
4173
|
};
|
|
4169
|
-
protoOf(_no_name_provided__qut3iv_3).
|
|
4170
|
-
return this.
|
|
4174
|
+
protoOf(_no_name_provided__qut3iv_3).w6j = function (store, next, action) {
|
|
4175
|
+
return this.o6l(store, next, action);
|
|
4171
4176
|
};
|
|
4172
4177
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
4173
|
-
this.
|
|
4174
|
-
this.
|
|
4178
|
+
this.ta2_1 = logicConfig;
|
|
4179
|
+
this.ua2_1 = idsProvider;
|
|
4175
4180
|
}
|
|
4176
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
4181
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).n97 = function () {
|
|
4177
4182
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
4178
4183
|
return new _no_name_provided__qut3iv_3(this);
|
|
4179
4184
|
};
|
|
@@ -4182,8 +4187,8 @@
|
|
|
4182
4187
|
return new _no_name_provided__qut3iv_4(asyncProvider, provider);
|
|
4183
4188
|
}
|
|
4184
4189
|
function sendMechanicEventsMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
4185
|
-
this.
|
|
4186
|
-
this.
|
|
4190
|
+
this.ea3_1 = $provider;
|
|
4191
|
+
this.fa3_1 = $action;
|
|
4187
4192
|
CoroutineImpl.call(this, resultContinuation);
|
|
4188
4193
|
}
|
|
4189
4194
|
protoOf(sendMechanicEventsMiddleware$o$handle$slambda).l1e = function ($this$launchDefault, $completion) {
|
|
@@ -4204,7 +4209,7 @@
|
|
|
4204
4209
|
case 0:
|
|
4205
4210
|
this.g9_1 = 2;
|
|
4206
4211
|
this.f9_1 = 1;
|
|
4207
|
-
suspendResult = this.
|
|
4212
|
+
suspendResult = this.ea3_1.a9v(this.fa3_1, this);
|
|
4208
4213
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4209
4214
|
return suspendResult;
|
|
4210
4215
|
}
|
|
@@ -4227,8 +4232,8 @@
|
|
|
4227
4232
|
while (true);
|
|
4228
4233
|
};
|
|
4229
4234
|
protoOf(sendMechanicEventsMiddleware$o$handle$slambda).m1e = function ($this$launchDefault, completion) {
|
|
4230
|
-
var i = new sendMechanicEventsMiddleware$o$handle$slambda(this.
|
|
4231
|
-
i.
|
|
4235
|
+
var i = new sendMechanicEventsMiddleware$o$handle$slambda(this.ea3_1, this.fa3_1, completion);
|
|
4236
|
+
i.ga3_1 = $this$launchDefault;
|
|
4232
4237
|
return i;
|
|
4233
4238
|
};
|
|
4234
4239
|
function sendMechanicEventsMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -4240,28 +4245,28 @@
|
|
|
4240
4245
|
return l;
|
|
4241
4246
|
}
|
|
4242
4247
|
function _no_name_provided__qut3iv_4($asyncProvider, $provider) {
|
|
4243
|
-
this.
|
|
4244
|
-
this.
|
|
4248
|
+
this.ha3_1 = $asyncProvider;
|
|
4249
|
+
this.ia3_1 = $provider;
|
|
4245
4250
|
}
|
|
4246
|
-
protoOf(_no_name_provided__qut3iv_4).
|
|
4251
|
+
protoOf(_no_name_provided__qut3iv_4).x6j = function (action) {
|
|
4247
4252
|
return action instanceof MechanicAction;
|
|
4248
4253
|
};
|
|
4249
|
-
protoOf(_no_name_provided__qut3iv_4).
|
|
4254
|
+
protoOf(_no_name_provided__qut3iv_4).o6l = function (store, next, action) {
|
|
4250
4255
|
// Inline function 'games.jass.logic.server.redux.middlewares.events.sendMechanicEventsMiddleware.<anonymous>' call
|
|
4251
4256
|
var action_0 = action instanceof MechanicAction ? action : THROW_CCE();
|
|
4252
|
-
this.
|
|
4257
|
+
this.ha3_1.x6g(VOID, sendMechanicEventsMiddleware$o$handle$slambda_0(this.ia3_1, action_0, null));
|
|
4253
4258
|
next(action_0);
|
|
4254
4259
|
};
|
|
4255
|
-
protoOf(_no_name_provided__qut3iv_4).
|
|
4256
|
-
return this.
|
|
4260
|
+
protoOf(_no_name_provided__qut3iv_4).w6j = function (store, next, action) {
|
|
4261
|
+
return this.o6l(store, next, action);
|
|
4257
4262
|
};
|
|
4258
4263
|
function sendToClientActionMiddleware(asyncProvider, provider) {
|
|
4259
4264
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
4260
4265
|
return new _no_name_provided__qut3iv_5(asyncProvider, provider);
|
|
4261
4266
|
}
|
|
4262
4267
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
4263
|
-
this.
|
|
4264
|
-
this.
|
|
4268
|
+
this.ra3_1 = $provider;
|
|
4269
|
+
this.sa3_1 = $action;
|
|
4265
4270
|
CoroutineImpl.call(this, resultContinuation);
|
|
4266
4271
|
}
|
|
4267
4272
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).l1e = function ($this$launchDefault, $completion) {
|
|
@@ -4282,7 +4287,7 @@
|
|
|
4282
4287
|
case 0:
|
|
4283
4288
|
this.g9_1 = 2;
|
|
4284
4289
|
this.f9_1 = 1;
|
|
4285
|
-
suspendResult = this.
|
|
4290
|
+
suspendResult = this.ra3_1.o9z(this.sa3_1, this);
|
|
4286
4291
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4287
4292
|
return suspendResult;
|
|
4288
4293
|
}
|
|
@@ -4305,8 +4310,8 @@
|
|
|
4305
4310
|
while (true);
|
|
4306
4311
|
};
|
|
4307
4312
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).m1e = function ($this$launchDefault, completion) {
|
|
4308
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
4309
|
-
i.
|
|
4313
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.ra3_1, this.sa3_1, completion);
|
|
4314
|
+
i.ta3_1 = $this$launchDefault;
|
|
4310
4315
|
return i;
|
|
4311
4316
|
};
|
|
4312
4317
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -4318,20 +4323,20 @@
|
|
|
4318
4323
|
return l;
|
|
4319
4324
|
}
|
|
4320
4325
|
function _no_name_provided__qut3iv_5($asyncProvider, $provider) {
|
|
4321
|
-
this.
|
|
4322
|
-
this.
|
|
4326
|
+
this.ua3_1 = $asyncProvider;
|
|
4327
|
+
this.va3_1 = $provider;
|
|
4323
4328
|
}
|
|
4324
|
-
protoOf(_no_name_provided__qut3iv_5).
|
|
4329
|
+
protoOf(_no_name_provided__qut3iv_5).x6j = function (action) {
|
|
4325
4330
|
return action instanceof ToClientAction;
|
|
4326
4331
|
};
|
|
4327
|
-
protoOf(_no_name_provided__qut3iv_5).
|
|
4332
|
+
protoOf(_no_name_provided__qut3iv_5).o6l = function (store, next, action) {
|
|
4328
4333
|
// Inline function 'games.jass.logic.server.redux.middlewares.events.sendToClientActionMiddleware.<anonymous>' call
|
|
4329
4334
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
4330
|
-
this.
|
|
4335
|
+
this.ua3_1.x6g(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.va3_1, action_0, null));
|
|
4331
4336
|
next(action_0);
|
|
4332
4337
|
};
|
|
4333
|
-
protoOf(_no_name_provided__qut3iv_5).
|
|
4334
|
-
return this.
|
|
4338
|
+
protoOf(_no_name_provided__qut3iv_5).w6j = function (store, next, action) {
|
|
4339
|
+
return this.o6l(store, next, action);
|
|
4335
4340
|
};
|
|
4336
4341
|
function serverConfigReducer() {
|
|
4337
4342
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
@@ -4339,16 +4344,16 @@
|
|
|
4339
4344
|
}
|
|
4340
4345
|
function _no_name_provided__qut3iv_6() {
|
|
4341
4346
|
}
|
|
4342
|
-
protoOf(_no_name_provided__qut3iv_6).
|
|
4347
|
+
protoOf(_no_name_provided__qut3iv_6).x6j = function (action) {
|
|
4343
4348
|
return action instanceof UpdateServerConfigAction;
|
|
4344
4349
|
};
|
|
4345
|
-
protoOf(_no_name_provided__qut3iv_6).
|
|
4350
|
+
protoOf(_no_name_provided__qut3iv_6).i9e = function (state, action) {
|
|
4346
4351
|
// Inline function 'games.jass.logic.server.redux.reducers.serverConfigReducer.<anonymous>' call
|
|
4347
4352
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
4348
|
-
return state.
|
|
4353
|
+
return state.w92(VOID, get_serverStatePayload_0(state).wa3(action_0.aa2_1));
|
|
4349
4354
|
};
|
|
4350
|
-
protoOf(_no_name_provided__qut3iv_6).
|
|
4351
|
-
return this.
|
|
4355
|
+
protoOf(_no_name_provided__qut3iv_6).p6l = function (state, action) {
|
|
4356
|
+
return this.i9e((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
4352
4357
|
};
|
|
4353
4358
|
function ServerMechanicLifecycleReducer$onStart$lambda($action) {
|
|
4354
4359
|
return function (it) {
|
|
@@ -4361,7 +4366,7 @@
|
|
|
4361
4366
|
var tmp_2 = PlayerConnectionState_LIVE_getInstance();
|
|
4362
4367
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
4363
4368
|
Companion_getInstance();
|
|
4364
|
-
var this_0 = $action.
|
|
4369
|
+
var this_0 = $action.b80_1.timeoutTimeMillis;
|
|
4365
4370
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
4366
4371
|
tmp_0 = tmp_1.d6c(tmp_2, tmp$ret$0);
|
|
4367
4372
|
}
|
|
@@ -4370,65 +4375,65 @@
|
|
|
4370
4375
|
}
|
|
4371
4376
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
4372
4377
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
4373
|
-
this.
|
|
4378
|
+
this.za3_1 = logger;
|
|
4374
4379
|
}
|
|
4375
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
4376
|
-
var serverState = get_serverStatePayloadOrNull(state.
|
|
4380
|
+
protoOf(ServerMechanicLifecycleReducer).u9f = function (state, action) {
|
|
4381
|
+
var serverState = get_serverStatePayloadOrNull(state.t6q_1);
|
|
4377
4382
|
var tmp8_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
4378
|
-
var tmp0_$this = this.
|
|
4379
|
-
var tmp1_tableId = action.
|
|
4380
|
-
var tmp2_gameId = action.
|
|
4381
|
-
var tmp3_version = action.
|
|
4382
|
-
var tmp4_config = action.
|
|
4383
|
-
var tmp5_users = action.
|
|
4383
|
+
var tmp0_$this = this.v9f_1;
|
|
4384
|
+
var tmp1_tableId = action.c80_1;
|
|
4385
|
+
var tmp2_gameId = action.c80_1;
|
|
4386
|
+
var tmp3_version = action.d80_1;
|
|
4387
|
+
var tmp4_config = action.b80_1;
|
|
4388
|
+
var tmp5_users = action.f80_1;
|
|
4384
4389
|
var tmp6_spectators = action.spectators;
|
|
4385
|
-
var tmp7_gameCreatorPlayerId = action.
|
|
4386
|
-
var tmp9_tableOrNull = tmp0_$this.
|
|
4390
|
+
var tmp7_gameCreatorPlayerId = action.e80_1;
|
|
4391
|
+
var tmp9_tableOrNull = tmp0_$this.a9h(tmp1_tableId, tmp2_gameId, tmp4_config, tmp3_version, tmp5_users, tmp6_spectators, tmp7_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
|
|
4387
4392
|
var tmp;
|
|
4388
4393
|
if (serverState == null) {
|
|
4389
|
-
this.
|
|
4390
|
-
tmp = Companion_instance_11.
|
|
4394
|
+
this.za3_1.w(VOID, 'ServerPayload is not onStart');
|
|
4395
|
+
tmp = Companion_instance_11.s9u();
|
|
4391
4396
|
} else {
|
|
4392
4397
|
tmp = serverState;
|
|
4393
4398
|
}
|
|
4394
4399
|
var tmp10_payload = tmp;
|
|
4395
|
-
return state.
|
|
4400
|
+
return state.w92(tmp9_tableOrNull, tmp10_payload, tmp8_gameLifecycleState);
|
|
4396
4401
|
};
|
|
4397
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
4402
|
+
protoOf(ServerMechanicLifecycleReducer).s9f = function (state, action) {
|
|
4398
4403
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
4399
|
-
var tmp2_tableOrNull = action.
|
|
4404
|
+
var tmp2_tableOrNull = action.i80_1;
|
|
4400
4405
|
var tmp = Companion_instance_11;
|
|
4401
|
-
var tmp_0 = get_serverStatePayload_0(state).
|
|
4402
|
-
var tmp_1 = action.
|
|
4406
|
+
var tmp_0 = get_serverStatePayload_0(state).b9u_1;
|
|
4407
|
+
var tmp_1 = action.j80_1;
|
|
4403
4408
|
var tmp0_safe_receiver = tmp_1 instanceof RestartRoundReason ? tmp_1 : null;
|
|
4404
|
-
var tmp3_payload = tmp.
|
|
4405
|
-
return state.
|
|
4409
|
+
var tmp3_payload = tmp.aa4(tmp_0.e9u(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.u69_1));
|
|
4410
|
+
return state.w92(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
|
|
4406
4411
|
};
|
|
4407
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
4408
|
-
this.
|
|
4412
|
+
protoOf(ServerMechanicLifecycleReducer).t9f = function (state, action) {
|
|
4413
|
+
this.w9f_1.i5r(action.previousGameId);
|
|
4409
4414
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
4410
|
-
var tmp1_tableOrNull = this.
|
|
4411
|
-
return state.
|
|
4415
|
+
var tmp1_tableOrNull = this.v9f_1.b9h(state.u6r(), action.gameId);
|
|
4416
|
+
return state.w92(tmp1_tableOrNull, VOID, tmp0_gameLifecycleState);
|
|
4412
4417
|
};
|
|
4413
4418
|
function spectatorsReducer(logger) {
|
|
4414
4419
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
4415
4420
|
return new _no_name_provided__qut3iv_7(logger);
|
|
4416
4421
|
}
|
|
4417
4422
|
function _no_name_provided__qut3iv_7($logger) {
|
|
4418
|
-
this.
|
|
4423
|
+
this.ba4_1 = $logger;
|
|
4419
4424
|
}
|
|
4420
|
-
protoOf(_no_name_provided__qut3iv_7).
|
|
4425
|
+
protoOf(_no_name_provided__qut3iv_7).x6j = function (action) {
|
|
4421
4426
|
return isInterface(action, SpectatorsAction);
|
|
4422
4427
|
};
|
|
4423
|
-
protoOf(_no_name_provided__qut3iv_7).
|
|
4428
|
+
protoOf(_no_name_provided__qut3iv_7).i9e = function (state, action) {
|
|
4424
4429
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>' call
|
|
4425
4430
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
4426
|
-
var table = state.
|
|
4431
|
+
var table = state.u6r();
|
|
4427
4432
|
var tmp;
|
|
4428
4433
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
4429
4434
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
4430
4435
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
4431
|
-
var this_0 = action_0.
|
|
4436
|
+
var this_0 = action_0.ba2_1;
|
|
4432
4437
|
var destination = ArrayList_init_$Create$_0();
|
|
4433
4438
|
// Inline function 'kotlin.collections.forEach' call
|
|
4434
4439
|
var tmp0_iterator = this_0.j();
|
|
@@ -4450,10 +4455,10 @@
|
|
|
4450
4455
|
var tmp_0;
|
|
4451
4456
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
4452
4457
|
if (!sameSpectators.p()) {
|
|
4453
|
-
this.
|
|
4458
|
+
this.ba4_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString_0(sameSpectators));
|
|
4454
4459
|
// Inline function 'kotlin.collections.filterNot' call
|
|
4455
4460
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
4456
|
-
var this_1 = action_0.
|
|
4461
|
+
var this_1 = action_0.ba2_1;
|
|
4457
4462
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
4458
4463
|
var tmp0_iterator_0 = this_1.j();
|
|
4459
4464
|
while (tmp0_iterator_0.k()) {
|
|
@@ -4489,7 +4494,7 @@
|
|
|
4489
4494
|
}
|
|
4490
4495
|
tmp_0 = destination_0;
|
|
4491
4496
|
} else {
|
|
4492
|
-
tmp_0 = action_0.
|
|
4497
|
+
tmp_0 = action_0.ba2_1;
|
|
4493
4498
|
}
|
|
4494
4499
|
var this_2 = tmp_0;
|
|
4495
4500
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -4502,12 +4507,12 @@
|
|
|
4502
4507
|
destination_1.e(tmp$ret$10);
|
|
4503
4508
|
}
|
|
4504
4509
|
var spectatorsToAdd = toSet(destination_1);
|
|
4505
|
-
tmp = state.
|
|
4510
|
+
tmp = state.w92(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
|
|
4506
4511
|
} else {
|
|
4507
4512
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
4508
4513
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
4509
4514
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
4510
|
-
var this_3 = action_0.
|
|
4515
|
+
var this_3 = action_0.ca2_1;
|
|
4511
4516
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
4512
4517
|
// Inline function 'kotlin.collections.forEach' call
|
|
4513
4518
|
var tmp0_iterator_3 = this_3.j();
|
|
@@ -4528,10 +4533,10 @@
|
|
|
4528
4533
|
var tmp_2;
|
|
4529
4534
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
4530
4535
|
if (!sameSpectators_0.p()) {
|
|
4531
|
-
this.
|
|
4536
|
+
this.ba4_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString_0(sameSpectators_0));
|
|
4532
4537
|
// Inline function 'kotlin.collections.filterNot' call
|
|
4533
4538
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
4534
|
-
var this_4 = action_0.
|
|
4539
|
+
var this_4 = action_0.ca2_1;
|
|
4535
4540
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
4536
4541
|
var tmp0_iterator_4 = this_4.j();
|
|
4537
4542
|
while (tmp0_iterator_4.k()) {
|
|
@@ -4567,7 +4572,7 @@
|
|
|
4567
4572
|
}
|
|
4568
4573
|
tmp_2 = destination_3;
|
|
4569
4574
|
} else {
|
|
4570
|
-
tmp_2 = action_0.
|
|
4575
|
+
tmp_2 = action_0.ca2_1;
|
|
4571
4576
|
}
|
|
4572
4577
|
var spectatorsToRemove = toSet(tmp_2);
|
|
4573
4578
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -4606,40 +4611,40 @@
|
|
|
4606
4611
|
destination_4.e(element_5);
|
|
4607
4612
|
}
|
|
4608
4613
|
}
|
|
4609
|
-
tmp = state.
|
|
4614
|
+
tmp = state.w92(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
|
|
4610
4615
|
} else {
|
|
4611
4616
|
noWhenBranchMatchedException();
|
|
4612
4617
|
}
|
|
4613
4618
|
}
|
|
4614
4619
|
return tmp;
|
|
4615
4620
|
};
|
|
4616
|
-
protoOf(_no_name_provided__qut3iv_7).
|
|
4617
|
-
return this.
|
|
4621
|
+
protoOf(_no_name_provided__qut3iv_7).p6l = function (state, action) {
|
|
4622
|
+
return this.i9e((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
4618
4623
|
};
|
|
4619
4624
|
function Companion_3() {
|
|
4620
4625
|
}
|
|
4621
|
-
protoOf(Companion_3).
|
|
4626
|
+
protoOf(Companion_3).aa4 = function (config) {
|
|
4622
4627
|
return new ServerStatePayload(config);
|
|
4623
4628
|
};
|
|
4624
|
-
protoOf(Companion_3).
|
|
4625
|
-
config = config === VOID ? Companion_instance_8.
|
|
4626
|
-
return $super === VOID ? this.
|
|
4629
|
+
protoOf(Companion_3).s9u = function (config, $super) {
|
|
4630
|
+
config = config === VOID ? Companion_instance_8.w9u(null) : config;
|
|
4631
|
+
return $super === VOID ? this.aa4(config) : $super.aa4.call(this, config);
|
|
4627
4632
|
};
|
|
4628
4633
|
var Companion_instance_11;
|
|
4629
4634
|
function Companion_getInstance_4() {
|
|
4630
4635
|
return Companion_instance_11;
|
|
4631
4636
|
}
|
|
4632
4637
|
function ServerStatePayload(config) {
|
|
4633
|
-
this.
|
|
4638
|
+
this.b9u_1 = config;
|
|
4634
4639
|
}
|
|
4635
|
-
protoOf(ServerStatePayload).
|
|
4640
|
+
protoOf(ServerStatePayload).wa3 = function (config) {
|
|
4636
4641
|
return new ServerStatePayload(config);
|
|
4637
4642
|
};
|
|
4638
4643
|
protoOf(ServerStatePayload).toString = function () {
|
|
4639
|
-
return 'ServerStatePayload(config=' + this.
|
|
4644
|
+
return 'ServerStatePayload(config=' + this.b9u_1.toString() + ')';
|
|
4640
4645
|
};
|
|
4641
4646
|
protoOf(ServerStatePayload).hashCode = function () {
|
|
4642
|
-
return this.
|
|
4647
|
+
return this.b9u_1.hashCode();
|
|
4643
4648
|
};
|
|
4644
4649
|
protoOf(ServerStatePayload).equals = function (other) {
|
|
4645
4650
|
if (this === other)
|
|
@@ -4647,7 +4652,7 @@
|
|
|
4647
4652
|
if (!(other instanceof ServerStatePayload))
|
|
4648
4653
|
return false;
|
|
4649
4654
|
var tmp0_other_with_cast = other instanceof ServerStatePayload ? other : THROW_CCE();
|
|
4650
|
-
if (!this.
|
|
4655
|
+
if (!this.b9u_1.equals(tmp0_other_with_cast.b9u_1))
|
|
4651
4656
|
return false;
|
|
4652
4657
|
return true;
|
|
4653
4658
|
};
|
|
@@ -4659,7 +4664,7 @@
|
|
|
4659
4664
|
}
|
|
4660
4665
|
function get_serverStatePayload_0(_this__u8e3s4) {
|
|
4661
4666
|
// Inline function 'kotlin.requireNotNull' call
|
|
4662
|
-
var value = _this__u8e3s4.
|
|
4667
|
+
var value = _this__u8e3s4.t6q_1;
|
|
4663
4668
|
// Inline function 'kotlin.contracts.contract' call
|
|
4664
4669
|
var tmp$ret$1;
|
|
4665
4670
|
$l$block: {
|
|
@@ -4685,13 +4690,13 @@
|
|
|
4685
4690
|
}
|
|
4686
4691
|
function _get_logger__rkp4sl_1($this) {
|
|
4687
4692
|
// Inline function 'kotlin.getValue' call
|
|
4688
|
-
var this_0 = $this.
|
|
4693
|
+
var this_0 = $this.ka4_1;
|
|
4689
4694
|
logger$factory_3();
|
|
4690
4695
|
return this_0.u();
|
|
4691
4696
|
}
|
|
4692
4697
|
function _get_di__ndbzja($this) {
|
|
4693
4698
|
// Inline function 'kotlin.getValue' call
|
|
4694
|
-
var this_0 = $this.
|
|
4699
|
+
var this_0 = $this.la4_1;
|
|
4695
4700
|
di$factory();
|
|
4696
4701
|
return this_0.u();
|
|
4697
4702
|
}
|
|
@@ -4702,13 +4707,13 @@
|
|
|
4702
4707
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
4703
4708
|
return function () {
|
|
4704
4709
|
var tmp;
|
|
4705
|
-
if (this$0.
|
|
4710
|
+
if (this$0.ia4_1 == null) {
|
|
4706
4711
|
tmp = null;
|
|
4707
4712
|
} else {
|
|
4708
4713
|
// Inline function 'kotlin.let' call
|
|
4709
4714
|
// Inline function 'kotlin.contracts.contract' call
|
|
4710
4715
|
// Inline function 'GameServerEngineControllerImpl.logger$delegate.<anonymous>.<anonymous>' call
|
|
4711
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
4716
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.ia4_1)]));
|
|
4712
4717
|
}
|
|
4713
4718
|
var tmp1_elvis_lhs = tmp;
|
|
4714
4719
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -4736,7 +4741,7 @@
|
|
|
4736
4741
|
tmp_0.a62(tmp$ret$3);
|
|
4737
4742
|
$this$DI.e5y(jsonModule());
|
|
4738
4743
|
$this$DI.e5y(serverHelpersModule());
|
|
4739
|
-
$this$DI.e5y(randomOrgModule(this$0.
|
|
4744
|
+
$this$DI.e5y(randomOrgModule(this$0.ja4_1));
|
|
4740
4745
|
return Unit_instance;
|
|
4741
4746
|
};
|
|
4742
4747
|
}
|
|
@@ -4747,16 +4752,16 @@
|
|
|
4747
4752
|
};
|
|
4748
4753
|
}
|
|
4749
4754
|
function _no_name_provided__qut3iv_8($item) {
|
|
4750
|
-
this.
|
|
4755
|
+
this.ra4_1 = $item;
|
|
4751
4756
|
}
|
|
4752
|
-
protoOf(_no_name_provided__qut3iv_8).
|
|
4757
|
+
protoOf(_no_name_provided__qut3iv_8).x6j = function (action) {
|
|
4753
4758
|
return isInterface(action, Action);
|
|
4754
4759
|
};
|
|
4755
|
-
protoOf(_no_name_provided__qut3iv_8).
|
|
4756
|
-
return this.
|
|
4760
|
+
protoOf(_no_name_provided__qut3iv_8).i9e = function (state, action) {
|
|
4761
|
+
return this.ra4_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
4757
4762
|
};
|
|
4758
|
-
protoOf(_no_name_provided__qut3iv_8).
|
|
4759
|
-
return this.
|
|
4763
|
+
protoOf(_no_name_provided__qut3iv_8).p6l = function (state, action) {
|
|
4764
|
+
return this.i9e((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
4760
4765
|
};
|
|
4761
4766
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($fileLoggerOutput) {
|
|
4762
4767
|
return function ($this$singleton) {
|
|
@@ -4813,10 +4818,10 @@
|
|
|
4813
4818
|
}
|
|
4814
4819
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0($gameServer) {
|
|
4815
4820
|
return function (it) {
|
|
4816
|
-
var tmp0_elvis_lhs = Companion_instance_4.
|
|
4821
|
+
var tmp0_elvis_lhs = Companion_instance_4.d9j(it);
|
|
4817
4822
|
var tmp;
|
|
4818
4823
|
if (tmp0_elvis_lhs == null) {
|
|
4819
|
-
var tmp1_safe_receiver = $gameServer.m6b().
|
|
4824
|
+
var tmp1_safe_receiver = $gameServer.m6b().s6q_1;
|
|
4820
4825
|
tmp = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.gameId;
|
|
4821
4826
|
} else {
|
|
4822
4827
|
tmp = tmp0_elvis_lhs;
|
|
@@ -4826,10 +4831,10 @@
|
|
|
4826
4831
|
}
|
|
4827
4832
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1($gameServer) {
|
|
4828
4833
|
return function (it) {
|
|
4829
|
-
var tmp0_elvis_lhs = Companion_instance_5.
|
|
4834
|
+
var tmp0_elvis_lhs = Companion_instance_5.o9h(it);
|
|
4830
4835
|
var tmp;
|
|
4831
4836
|
if (tmp0_elvis_lhs == null) {
|
|
4832
|
-
var tmp1_safe_receiver = $gameServer.m6b().
|
|
4837
|
+
var tmp1_safe_receiver = $gameServer.m6b().s6q_1;
|
|
4833
4838
|
tmp = tmp1_safe_receiver == null ? null : toLoggerPayload(tmp1_safe_receiver);
|
|
4834
4839
|
} else {
|
|
4835
4840
|
tmp = tmp0_elvis_lhs;
|
|
@@ -4848,7 +4853,7 @@
|
|
|
4848
4853
|
// Inline function 'kotlin.contracts.contract' call
|
|
4849
4854
|
$this$DI.e5y(tmp0_safe_receiver);
|
|
4850
4855
|
}
|
|
4851
|
-
$this$DI.e5y(dealerModule(this$0.randomPoolProvider, this$0.
|
|
4856
|
+
$this$DI.e5y(dealerModule(this$0.randomPoolProvider, this$0.ja4_1));
|
|
4852
4857
|
$this$DI.e5y(coreModule($coreConfig));
|
|
4853
4858
|
$this$DI.e5y(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $externalReducers, $externalMiddlewares));
|
|
4854
4859
|
return Unit_instance;
|
|
@@ -4857,76 +4862,76 @@
|
|
|
4857
4862
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
4858
4863
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
4859
4864
|
production = production === VOID ? true : production;
|
|
4860
|
-
this.
|
|
4861
|
-
this.
|
|
4862
|
-
AppEnvironment_getInstance().
|
|
4865
|
+
this.ia4_1 = loggerCallback;
|
|
4866
|
+
this.ja4_1 = randomOrgConfig;
|
|
4867
|
+
AppEnvironment_getInstance().a6q(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
|
|
4863
4868
|
var tmp = this;
|
|
4864
|
-
tmp.
|
|
4869
|
+
tmp.ka4_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
4865
4870
|
var tmp_0 = this;
|
|
4866
|
-
tmp_0.
|
|
4871
|
+
tmp_0.la4_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
4867
4872
|
var tmp_1 = this;
|
|
4868
4873
|
// Inline function 'org.kodein.di.instance' call
|
|
4869
4874
|
var this_0 = _get_di__ndbzja(this);
|
|
4870
4875
|
// Inline function 'org.kodein.type.generic' call
|
|
4871
4876
|
var tmp_2 = typeToken(createKType(getKClass(ParserHelper), arrayOf([]), false));
|
|
4872
4877
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
4873
|
-
tmp_1.
|
|
4878
|
+
tmp_1.ma4_1 = Instance(this_0, tmp$ret$0, null).x63(this, parser$factory());
|
|
4874
4879
|
var tmp_3 = this;
|
|
4875
4880
|
// Inline function 'org.kodein.di.instance' call
|
|
4876
4881
|
var this_1 = _get_di__ndbzja(this);
|
|
4877
4882
|
// Inline function 'org.kodein.type.generic' call
|
|
4878
4883
|
var tmp_4 = typeToken(createKType(getKClass(GameHelper), arrayOf([]), false));
|
|
4879
4884
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
4880
|
-
tmp_3.
|
|
4885
|
+
tmp_3.na4_1 = Instance(this_1, tmp$ret$2, null).x63(this, helper$factory());
|
|
4881
4886
|
var tmp_5 = this;
|
|
4882
4887
|
// Inline function 'org.kodein.di.instance' call
|
|
4883
4888
|
var this_2 = _get_di__ndbzja(this);
|
|
4884
4889
|
// Inline function 'org.kodein.type.generic' call
|
|
4885
4890
|
var tmp_6 = typeToken(createKType(getKClass(GameResources), arrayOf([]), false));
|
|
4886
4891
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
4887
|
-
tmp_5.
|
|
4892
|
+
tmp_5.oa4_1 = Instance(this_2, tmp$ret$4, null).x63(this, resources$factory());
|
|
4888
4893
|
var tmp_7 = this;
|
|
4889
4894
|
// Inline function 'org.kodein.di.instance' call
|
|
4890
4895
|
var this_3 = _get_di__ndbzja(this);
|
|
4891
4896
|
// Inline function 'org.kodein.type.generic' call
|
|
4892
4897
|
var tmp_8 = typeToken(createKType(getKClass(TestHelper), arrayOf([]), false));
|
|
4893
4898
|
var tmp$ret$6 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
4894
|
-
tmp_7.
|
|
4899
|
+
tmp_7.pa4_1 = Instance(this_3, tmp$ret$6, null).x63(this, test$factory());
|
|
4895
4900
|
var tmp_9 = this;
|
|
4896
4901
|
// Inline function 'org.kodein.di.instance' call
|
|
4897
4902
|
var this_4 = _get_di__ndbzja(this);
|
|
4898
4903
|
// Inline function 'org.kodein.type.generic' call
|
|
4899
4904
|
var tmp_10 = typeToken(createKType(getKClass(RandomPoolProvider), arrayOf([]), false));
|
|
4900
4905
|
var tmp$ret$8 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
4901
|
-
tmp_9.
|
|
4906
|
+
tmp_9.qa4_1 = Instance(this_4, tmp$ret$8, null).x63(this, randomPoolProvider$factory());
|
|
4902
4907
|
}
|
|
4903
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4908
|
+
protoOf(GameServerEngineControllerImpl).ca4 = function () {
|
|
4904
4909
|
// Inline function 'kotlin.getValue' call
|
|
4905
|
-
var this_0 = this.
|
|
4910
|
+
var this_0 = this.ma4_1;
|
|
4906
4911
|
parser$factory_0();
|
|
4907
4912
|
return this_0.u();
|
|
4908
4913
|
};
|
|
4909
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4914
|
+
protoOf(GameServerEngineControllerImpl).ea4 = function () {
|
|
4910
4915
|
// Inline function 'kotlin.getValue' call
|
|
4911
|
-
var this_0 = this.
|
|
4916
|
+
var this_0 = this.na4_1;
|
|
4912
4917
|
helper$factory_0();
|
|
4913
4918
|
return this_0.u();
|
|
4914
4919
|
};
|
|
4915
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4920
|
+
protoOf(GameServerEngineControllerImpl).fa4 = function () {
|
|
4916
4921
|
// Inline function 'kotlin.getValue' call
|
|
4917
|
-
var this_0 = this.
|
|
4922
|
+
var this_0 = this.oa4_1;
|
|
4918
4923
|
resources$factory_0();
|
|
4919
4924
|
return this_0.u();
|
|
4920
4925
|
};
|
|
4921
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4926
|
+
protoOf(GameServerEngineControllerImpl).da4 = function () {
|
|
4922
4927
|
// Inline function 'kotlin.getValue' call
|
|
4923
|
-
var this_0 = this.
|
|
4928
|
+
var this_0 = this.pa4_1;
|
|
4924
4929
|
test$factory_0();
|
|
4925
4930
|
return this_0.u();
|
|
4926
4931
|
};
|
|
4927
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4932
|
+
protoOf(GameServerEngineControllerImpl).ga4 = function () {
|
|
4928
4933
|
// Inline function 'kotlin.getValue' call
|
|
4929
|
-
var this_0 = this.
|
|
4934
|
+
var this_0 = this.qa4_1;
|
|
4930
4935
|
randomPoolProvider$factory_0();
|
|
4931
4936
|
return this_0.u();
|
|
4932
4937
|
};
|
|
@@ -4936,7 +4941,7 @@
|
|
|
4936
4941
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
4937
4942
|
return this.createGameEngineWithLogic();
|
|
4938
4943
|
};
|
|
4939
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4944
|
+
protoOf(GameServerEngineControllerImpl).ha4 = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig) {
|
|
4940
4945
|
var combinedLogger = Companion_instance_6.rm();
|
|
4941
4946
|
var tmp;
|
|
4942
4947
|
if (coreConfig.fileLogsEnabled) {
|
|
@@ -4946,8 +4951,8 @@
|
|
|
4946
4951
|
}
|
|
4947
4952
|
var fileLoggerOutput = tmp;
|
|
4948
4953
|
var tmp_0;
|
|
4949
|
-
if (!(this.
|
|
4950
|
-
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.
|
|
4954
|
+
if (!(this.ia4_1 == null)) {
|
|
4955
|
+
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.ia4_1));
|
|
4951
4956
|
} else {
|
|
4952
4957
|
tmp_0 = null;
|
|
4953
4958
|
}
|
|
@@ -4990,12 +4995,12 @@
|
|
|
4990
4995
|
var gameServer = tmp_1.o5z(tmp$ret$7, null);
|
|
4991
4996
|
if (!(fileLoggerOutput == null)) {
|
|
4992
4997
|
var tmp_3 = fileLoggerOutput;
|
|
4993
|
-
tmp_3.
|
|
4998
|
+
tmp_3.s9i_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0(gameServer);
|
|
4994
4999
|
combinedLogger.tm(fileLoggerOutput);
|
|
4995
5000
|
}
|
|
4996
5001
|
if (!(callbackWrapperLoggerOutput == null)) {
|
|
4997
5002
|
var tmp_4 = callbackWrapperLoggerOutput;
|
|
4998
|
-
tmp_4.
|
|
5003
|
+
tmp_4.q9h_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1(gameServer);
|
|
4999
5004
|
combinedLogger.tm(callbackWrapperLoggerOutput);
|
|
5000
5005
|
}
|
|
5001
5006
|
return gameServer;
|
|
@@ -5064,13 +5069,13 @@
|
|
|
5064
5069
|
}
|
|
5065
5070
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
5066
5071
|
// Inline function 'kotlin.getValue' call
|
|
5067
|
-
var this_0 = $this.
|
|
5072
|
+
var this_0 = $this.ua4_1;
|
|
5068
5073
|
playerAnswerInteractor$factory_0();
|
|
5069
5074
|
return this_0.u();
|
|
5070
5075
|
}
|
|
5071
5076
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
5072
5077
|
return function ($this$singleton) {
|
|
5073
|
-
return this$0.
|
|
5078
|
+
return this$0.sa4_1;
|
|
5074
5079
|
};
|
|
5075
5080
|
}
|
|
5076
5081
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -5099,20 +5104,20 @@
|
|
|
5099
5104
|
return emptyMap();
|
|
5100
5105
|
}
|
|
5101
5106
|
function TestHelperImpl(logger) {
|
|
5102
|
-
this.
|
|
5107
|
+
this.sa4_1 = logger;
|
|
5103
5108
|
var tmp = this;
|
|
5104
5109
|
var tmp_0 = Companion_instance_3;
|
|
5105
|
-
tmp.
|
|
5110
|
+
tmp.ta4_1 = tmp_0.l5y(VOID, TestHelperImpl$di$lambda(this));
|
|
5106
5111
|
var tmp_1 = this;
|
|
5107
5112
|
// Inline function 'org.kodein.di.instance' call
|
|
5108
|
-
var this_0 = this.
|
|
5113
|
+
var this_0 = this.ta4_1;
|
|
5109
5114
|
// Inline function 'org.kodein.type.generic' call
|
|
5110
5115
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
5111
5116
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5112
|
-
tmp_1.
|
|
5117
|
+
tmp_1.ua4_1 = Instance(this_0, tmp$ret$0, null).x63(this, playerAnswerInteractor$factory());
|
|
5113
5118
|
}
|
|
5114
5119
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
5115
|
-
return _get_playerAnswerInteractor__msggz1(this).
|
|
5120
|
+
return _get_playerAnswerInteractor__msggz1(this).r8t(playerId, table, botConfig);
|
|
5116
5121
|
};
|
|
5117
5122
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
5118
5123
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
@@ -5120,7 +5125,7 @@
|
|
|
5120
5125
|
var tmp$ret$0;
|
|
5121
5126
|
$l$block_0: {
|
|
5122
5127
|
// Inline function 'kotlin.collections.any' call
|
|
5123
|
-
var this_0 = mechanicAction.
|
|
5128
|
+
var this_0 = mechanicAction.z94();
|
|
5124
5129
|
var tmp;
|
|
5125
5130
|
if (isInterface(this_0, Collection)) {
|
|
5126
5131
|
tmp = this_0.p();
|
|
@@ -5153,7 +5158,7 @@
|
|
|
5153
5158
|
var tmp$ret$0;
|
|
5154
5159
|
$l$block_0: {
|
|
5155
5160
|
// Inline function 'kotlin.collections.any' call
|
|
5156
|
-
var this_0 = action.
|
|
5161
|
+
var this_0 = action.z94();
|
|
5157
5162
|
var tmp;
|
|
5158
5163
|
if (isInterface(this_0, Collection)) {
|
|
5159
5164
|
tmp = this_0.p();
|
|
@@ -5234,41 +5239,41 @@
|
|
|
5234
5239
|
return this.f5l();
|
|
5235
5240
|
});
|
|
5236
5241
|
defineProp(protoOf(GameServer), 'table', function () {
|
|
5237
|
-
return this.
|
|
5242
|
+
return this.u6r();
|
|
5238
5243
|
});
|
|
5239
5244
|
defineProp(protoOf(GameServer), 'isTableExists', function () {
|
|
5240
|
-
return this.
|
|
5245
|
+
return this.v6r();
|
|
5241
5246
|
});
|
|
5242
5247
|
defineProp(protoOf(GameServer), 'gameLifecycleState', function () {
|
|
5243
|
-
return this.
|
|
5248
|
+
return this.w6r();
|
|
5244
5249
|
});
|
|
5245
|
-
protoOf(UpdateServerConfigAction).
|
|
5250
|
+
protoOf(UpdateServerConfigAction).o6j = get_actionTag;
|
|
5246
5251
|
defineProp(protoOf(UpdateServerConfigAction), 'actionTag', function () {
|
|
5247
|
-
return this.
|
|
5252
|
+
return this.o6j();
|
|
5248
5253
|
});
|
|
5249
|
-
protoOf(AddSpectatorsAction).
|
|
5254
|
+
protoOf(AddSpectatorsAction).o6j = get_actionTag;
|
|
5250
5255
|
defineProp(protoOf(AddSpectatorsAction), 'actionTag', function () {
|
|
5251
|
-
return this.
|
|
5256
|
+
return this.o6j();
|
|
5252
5257
|
});
|
|
5253
|
-
protoOf(RemoveSpectatorsAction).
|
|
5258
|
+
protoOf(RemoveSpectatorsAction).o6j = get_actionTag;
|
|
5254
5259
|
defineProp(protoOf(RemoveSpectatorsAction), 'actionTag', function () {
|
|
5255
|
-
return this.
|
|
5260
|
+
return this.o6j();
|
|
5256
5261
|
});
|
|
5257
5262
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
5258
5263
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
5259
|
-
return this.
|
|
5264
|
+
return this.ca4();
|
|
5260
5265
|
});
|
|
5261
5266
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
5262
|
-
return this.
|
|
5267
|
+
return this.ea4();
|
|
5263
5268
|
});
|
|
5264
5269
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
5265
|
-
return this.
|
|
5270
|
+
return this.fa4();
|
|
5266
5271
|
});
|
|
5267
5272
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
5268
|
-
return this.
|
|
5273
|
+
return this.da4();
|
|
5269
5274
|
});
|
|
5270
5275
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
5271
|
-
return this.
|
|
5276
|
+
return this.ga4();
|
|
5272
5277
|
});
|
|
5273
5278
|
//endregion
|
|
5274
5279
|
//region block: init
|