client_plugin_logic_deb 1.8.387 → 1.8.389
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 +1389 -1389
- package/Logic_Debertz-client_plugin.d.ts +16 -18
- package/Logic_Debertz-client_plugin.js +2580 -2580
- package/Logic_Debertz-core.js +1243 -1244
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +12362 -12185
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +7397 -7392
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +990 -979
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +10 -10
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +1671 -1627
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1071 -1071
- package/ktor-ktor-client-content-negotiation.js +123 -123
- package/ktor-ktor-client-core.js +1434 -1434
- package/ktor-ktor-client-logging.js +269 -269
- package/ktor-ktor-events.js +6 -6
- package/ktor-ktor-http.js +597 -597
- package/ktor-ktor-io.js +1216 -1216
- package/ktor-ktor-serialization-kotlinx-json.js +7 -7
- package/ktor-ktor-serialization-kotlinx.js +129 -129
- package/ktor-ktor-serialization.js +64 -64
- package/ktor-ktor-utils.js +483 -483
- package/ktor-ktor-websockets.js +41 -41
- package/package.json +1 -1
- package/random-library-secure-random.js +1 -1
- package/raspberry-cardgame-lib-core.js +168 -168
- package/raspberry-cardgame-lib-logger.js +92 -92
- package/raspberry-cardgame-lib-random.js +589 -589
- package/uuid.js +11 -11
|
@@ -53,9 +53,9 @@
|
|
|
53
53
|
var isInterface = kotlin_kotlin.$_$.bd;
|
|
54
54
|
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ea;
|
|
55
55
|
var initMetadataForCoroutine = kotlin_kotlin.$_$.pc;
|
|
56
|
-
var Flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
56
|
+
var Flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.u;
|
|
57
57
|
var initMetadataForClass = kotlin_kotlin.$_$.nc;
|
|
58
|
-
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
58
|
+
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.t;
|
|
59
59
|
var fromInt = kotlin_kotlin.$_$.ib;
|
|
60
60
|
var windowedByInterval = kotlin_io_raspberryapps_game_engine_core.$_$.a;
|
|
61
61
|
var emitAll = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c;
|
|
@@ -65,16 +65,16 @@
|
|
|
65
65
|
var PlayerIdContract = kotlin_io_raspberryapps_game_engine_core.$_$.g;
|
|
66
66
|
var KProperty1 = kotlin_kotlin.$_$.le;
|
|
67
67
|
var getPropertyCallableRef = kotlin_kotlin.$_$.kc;
|
|
68
|
-
var transformLatest = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
69
|
-
var distinctUntilChanged = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
70
|
-
var distinctUntilChanged_0 = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
68
|
+
var transformLatest = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.i1;
|
|
69
|
+
var distinctUntilChanged = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a1;
|
|
70
|
+
var distinctUntilChanged_0 = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b1;
|
|
71
71
|
var initMetadataForCompanion = kotlin_kotlin.$_$.oc;
|
|
72
72
|
var equals = kotlin_kotlin.$_$.gc;
|
|
73
73
|
var FunctionAdapter = kotlin_kotlin.$_$.tb;
|
|
74
74
|
var hashCode = kotlin_kotlin.$_$.mc;
|
|
75
75
|
var SecureRandom = kotlin_io_raspberryapps_cardgame_random.$_$.j;
|
|
76
|
-
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
77
|
-
var flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
76
|
+
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.q1;
|
|
77
|
+
var flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.g1;
|
|
78
78
|
var Store = kotlin_io_raspberryapps_game_engine_core.$_$.h3;
|
|
79
79
|
var get_isCreated = kotlin_io_raspberryapps_game_engine_engine.$_$.m8;
|
|
80
80
|
var PlayerReadyFromClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.v4;
|
|
@@ -173,8 +173,8 @@
|
|
|
173
173
|
var delay = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.f;
|
|
174
174
|
var atomic$ref$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.e;
|
|
175
175
|
var get_atomicfu$reentrantLock = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.a;
|
|
176
|
-
var MutableSharedFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
177
|
-
var flatMapConcat = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
176
|
+
var MutableSharedFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.v;
|
|
177
|
+
var flatMapConcat = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d1;
|
|
178
178
|
var get_actionTag = kotlin_io_raspberryapps_game_engine_core.$_$.d3;
|
|
179
179
|
var Action = kotlin_io_raspberryapps_game_engine_core.$_$.e3;
|
|
180
180
|
var ServerLoggerKey = kotlin_io_raspberryapps_game_engine_core.$_$.s3;
|
|
@@ -360,10 +360,10 @@
|
|
|
360
360
|
spectators = tmp;
|
|
361
361
|
var tmp_0;
|
|
362
362
|
if ($super === VOID) {
|
|
363
|
-
this.
|
|
363
|
+
this.ye1(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
364
364
|
tmp_0 = Unit_instance;
|
|
365
365
|
} else {
|
|
366
|
-
tmp_0 = $super.
|
|
366
|
+
tmp_0 = $super.ye1.call(this, roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
367
367
|
}
|
|
368
368
|
return tmp_0;
|
|
369
369
|
}
|
|
@@ -371,10 +371,10 @@
|
|
|
371
371
|
newRid = newRid === VOID ? null : newRid;
|
|
372
372
|
var tmp;
|
|
373
373
|
if ($super === VOID) {
|
|
374
|
-
this.
|
|
374
|
+
this.ze1(newRid);
|
|
375
375
|
tmp = Unit_instance;
|
|
376
376
|
} else {
|
|
377
|
-
tmp = $super.
|
|
377
|
+
tmp = $super.ze1.call(this, newRid);
|
|
378
378
|
}
|
|
379
379
|
return tmp;
|
|
380
380
|
}
|
|
@@ -382,10 +382,10 @@
|
|
|
382
382
|
roomId = roomId === VOID ? null : roomId;
|
|
383
383
|
var tmp;
|
|
384
384
|
if ($super === VOID) {
|
|
385
|
-
this.
|
|
385
|
+
this.ae2(reason, roomId);
|
|
386
386
|
tmp = Unit_instance;
|
|
387
387
|
} else {
|
|
388
|
-
tmp = $super.
|
|
388
|
+
tmp = $super.ae2.call(this, reason, roomId);
|
|
389
389
|
}
|
|
390
390
|
return tmp;
|
|
391
391
|
}
|
|
@@ -424,9 +424,10 @@
|
|
|
424
424
|
initMetadataForLambda(sendToClientActionMiddleware$o$handle$slambda, CoroutineImpl, VOID, [1]);
|
|
425
425
|
initMetadataForClass(sendToClientActionMiddleware$$inlined$middlewareForActionType$1, VOID, VOID, VOID, [Middleware]);
|
|
426
426
|
initMetadataForClass(serverConfigReducer$$inlined$reducerForActionType$1, VOID, VOID, VOID, [Reducer]);
|
|
427
|
+
initMetadataForCompanion(Companion_5);
|
|
427
428
|
initMetadataForClass(ServerMechanicLifecycleReducer, 'ServerMechanicLifecycleReducer', VOID, BaseMechanicLifecycleReducer, [BaseMechanicLifecycleReducer, MechanicLifecycleReducer]);
|
|
428
429
|
initMetadataForClass(spectatorsReducer$$inlined$reducerForActionType$1, VOID, VOID, VOID, [Reducer]);
|
|
429
|
-
initMetadataForCompanion(
|
|
430
|
+
initMetadataForCompanion(Companion_6);
|
|
430
431
|
initMetadataForClass(ServerStatePayload, 'ServerStatePayload', VOID, VOID, [AppStatePayload]);
|
|
431
432
|
function createGameEngineWithLogic(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, $super) {
|
|
432
433
|
var tmp;
|
|
@@ -450,7 +451,7 @@
|
|
|
450
451
|
dealerConfig = dealerConfig === VOID ? new DealerConfig() : dealerConfig;
|
|
451
452
|
ratingConfig = ratingConfig === VOID ? new RatingConfig() : ratingConfig;
|
|
452
453
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
453
|
-
return $super === VOID ? this.
|
|
454
|
+
return $super === VOID ? this.se6(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig) : $super.se6.call(this, reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig);
|
|
454
455
|
}
|
|
455
456
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
456
457
|
initMetadataForClass(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1, VOID, VOID, VOID, [Reducer]);
|
|
@@ -461,17 +462,17 @@
|
|
|
461
462
|
initMetadataForClass(TestHelperImpl, 'TestHelperImpl', VOID, VOID, [TestHelper]);
|
|
462
463
|
//endregion
|
|
463
464
|
function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
|
|
464
|
-
this.
|
|
465
|
+
this.qdl_1 = $subscriber;
|
|
465
466
|
CoroutineImpl.call(this, resultContinuation);
|
|
466
467
|
}
|
|
467
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
468
|
-
var tmp = this.
|
|
468
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).sdl = function (it, $completion) {
|
|
469
|
+
var tmp = this.tdl(it, $completion);
|
|
469
470
|
tmp.t8_1 = Unit_instance;
|
|
470
471
|
tmp.u8_1 = null;
|
|
471
472
|
return tmp.z8();
|
|
472
473
|
};
|
|
473
474
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).h9 = function (p1, $completion) {
|
|
474
|
-
return this.
|
|
475
|
+
return this.sdl(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
475
476
|
};
|
|
476
477
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).z8 = function () {
|
|
477
478
|
var suspendResult = this.t8_1;
|
|
@@ -480,7 +481,7 @@
|
|
|
480
481
|
var tmp = this.r8_1;
|
|
481
482
|
if (tmp === 0) {
|
|
482
483
|
this.s8_1 = 1;
|
|
483
|
-
this.
|
|
484
|
+
this.qdl_1(this.rdl_1);
|
|
484
485
|
return Unit_instance;
|
|
485
486
|
} else if (tmp === 1) {
|
|
486
487
|
throw this.u8_1;
|
|
@@ -491,31 +492,31 @@
|
|
|
491
492
|
}
|
|
492
493
|
while (true);
|
|
493
494
|
};
|
|
494
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
495
|
-
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.
|
|
496
|
-
i.
|
|
495
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).tdl = function (it, completion) {
|
|
496
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.qdl_1, completion);
|
|
497
|
+
i.rdl_1 = it;
|
|
497
498
|
return i;
|
|
498
499
|
};
|
|
499
500
|
function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
|
|
500
501
|
var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
|
|
501
502
|
var l = function (it, $completion) {
|
|
502
|
-
return i.
|
|
503
|
+
return i.sdl(it, $completion);
|
|
503
504
|
};
|
|
504
505
|
l.$arity = 1;
|
|
505
506
|
return l;
|
|
506
507
|
}
|
|
507
508
|
function GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation) {
|
|
508
|
-
this.
|
|
509
|
+
this.cdm_1 = $subscriber;
|
|
509
510
|
CoroutineImpl.call(this, resultContinuation);
|
|
510
511
|
}
|
|
511
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
512
|
-
var tmp = this.
|
|
512
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).edm = function (it, $completion) {
|
|
513
|
+
var tmp = this.fdm(it, $completion);
|
|
513
514
|
tmp.t8_1 = Unit_instance;
|
|
514
515
|
tmp.u8_1 = null;
|
|
515
516
|
return tmp.z8();
|
|
516
517
|
};
|
|
517
518
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).h9 = function (p1, $completion) {
|
|
518
|
-
return this.
|
|
519
|
+
return this.edm((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
|
|
519
520
|
};
|
|
520
521
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).z8 = function () {
|
|
521
522
|
var suspendResult = this.t8_1;
|
|
@@ -524,7 +525,7 @@
|
|
|
524
525
|
var tmp = this.r8_1;
|
|
525
526
|
if (tmp === 0) {
|
|
526
527
|
this.s8_1 = 1;
|
|
527
|
-
this.
|
|
528
|
+
this.cdm_1(this.ddm_1);
|
|
528
529
|
return Unit_instance;
|
|
529
530
|
} else if (tmp === 1) {
|
|
530
531
|
throw this.u8_1;
|
|
@@ -535,32 +536,32 @@
|
|
|
535
536
|
}
|
|
536
537
|
while (true);
|
|
537
538
|
};
|
|
538
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
539
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.
|
|
540
|
-
i.
|
|
539
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).fdm = function (it, completion) {
|
|
540
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.cdm_1, completion);
|
|
541
|
+
i.ddm_1 = it;
|
|
541
542
|
return i;
|
|
542
543
|
};
|
|
543
544
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_0($subscriber, resultContinuation) {
|
|
544
545
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation);
|
|
545
546
|
var l = function (it, $completion) {
|
|
546
|
-
return i.
|
|
547
|
+
return i.edm(it, $completion);
|
|
547
548
|
};
|
|
548
549
|
l.$arity = 1;
|
|
549
550
|
return l;
|
|
550
551
|
}
|
|
551
552
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
552
|
-
this.
|
|
553
|
-
this.
|
|
553
|
+
this.odm_1 = $$this$unsafeFlow;
|
|
554
|
+
this.pdm_1 = this$0;
|
|
554
555
|
CoroutineImpl.call(this, resultContinuation);
|
|
555
556
|
}
|
|
556
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).
|
|
557
|
-
var tmp = this.
|
|
557
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).c2j = function (value, $completion) {
|
|
558
|
+
var tmp = this.d2j(value, $completion);
|
|
558
559
|
tmp.t8_1 = Unit_instance;
|
|
559
560
|
tmp.u8_1 = null;
|
|
560
561
|
return tmp.z8();
|
|
561
562
|
};
|
|
562
563
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).h9 = function (p1, $completion) {
|
|
563
|
-
return this.
|
|
564
|
+
return this.c2j((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
564
565
|
};
|
|
565
566
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).z8 = function () {
|
|
566
567
|
var suspendResult = this.t8_1;
|
|
@@ -570,10 +571,10 @@
|
|
|
570
571
|
switch (tmp) {
|
|
571
572
|
case 0:
|
|
572
573
|
this.s8_1 = 2;
|
|
573
|
-
var tmp0 = this.
|
|
574
|
-
var value = this.
|
|
574
|
+
var tmp0 = this.odm_1;
|
|
575
|
+
var value = this.qdm_1;
|
|
575
576
|
this.r8_1 = 1;
|
|
576
|
-
suspendResult = tmp0.
|
|
577
|
+
suspendResult = tmp0.i24(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.pdm_1)), this);
|
|
577
578
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
578
579
|
return suspendResult;
|
|
579
580
|
}
|
|
@@ -595,23 +596,23 @@
|
|
|
595
596
|
}
|
|
596
597
|
while (true);
|
|
597
598
|
};
|
|
598
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).
|
|
599
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.
|
|
600
|
-
i.
|
|
599
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).d2j = function (value, completion) {
|
|
600
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.odm_1, this.pdm_1, completion);
|
|
601
|
+
i.qdm_1 = value;
|
|
601
602
|
return i;
|
|
602
603
|
};
|
|
603
604
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
604
605
|
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation);
|
|
605
606
|
var l = function (value, $completion) {
|
|
606
|
-
return i.
|
|
607
|
+
return i.c2j(value, $completion);
|
|
607
608
|
};
|
|
608
609
|
l.$arity = 1;
|
|
609
610
|
return l;
|
|
610
611
|
}
|
|
611
612
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
612
613
|
CoroutineImpl.call(this, resultContinuation);
|
|
613
|
-
this.
|
|
614
|
-
this.
|
|
614
|
+
this.zdm_1 = _this__u8e3s4;
|
|
615
|
+
this.adn_1 = collector;
|
|
615
616
|
}
|
|
616
617
|
protoOf($collectCOROUTINE$).z8 = function () {
|
|
617
618
|
var suspendResult = this.t8_1;
|
|
@@ -621,10 +622,10 @@
|
|
|
621
622
|
switch (tmp) {
|
|
622
623
|
case 0:
|
|
623
624
|
this.s8_1 = 2;
|
|
624
|
-
var $this$unsafeFlow = this.
|
|
625
|
+
var $this$unsafeFlow = this.adn_1;
|
|
625
626
|
this.r8_1 = 1;
|
|
626
|
-
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
627
|
-
suspendResult = this.
|
|
627
|
+
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.zdm_1.cdn_1, null);
|
|
628
|
+
suspendResult = this.zdm_1.bdn_1.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_0), this);
|
|
628
629
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
629
630
|
return suspendResult;
|
|
630
631
|
}
|
|
@@ -647,30 +648,30 @@
|
|
|
647
648
|
while (true);
|
|
648
649
|
};
|
|
649
650
|
function GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1($this, this$0) {
|
|
650
|
-
this.
|
|
651
|
-
this.
|
|
651
|
+
this.bdn_1 = $this;
|
|
652
|
+
this.cdn_1 = this$0;
|
|
652
653
|
}
|
|
653
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1).
|
|
654
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1).j24 = function (collector, $completion) {
|
|
654
655
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
655
656
|
tmp.t8_1 = Unit_instance;
|
|
656
657
|
tmp.u8_1 = null;
|
|
657
658
|
return tmp.z8();
|
|
658
659
|
};
|
|
659
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1).
|
|
660
|
-
return this.
|
|
660
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1).f23 = function (collector, $completion) {
|
|
661
|
+
return this.j24(collector, $completion);
|
|
661
662
|
};
|
|
662
663
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation) {
|
|
663
|
-
this.
|
|
664
|
+
this.ldn_1 = $subscriber;
|
|
664
665
|
CoroutineImpl.call(this, resultContinuation);
|
|
665
666
|
}
|
|
666
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
667
|
-
var tmp = this.
|
|
667
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).ndn = function (it, $completion) {
|
|
668
|
+
var tmp = this.odn(it, $completion);
|
|
668
669
|
tmp.t8_1 = Unit_instance;
|
|
669
670
|
tmp.u8_1 = null;
|
|
670
671
|
return tmp.z8();
|
|
671
672
|
};
|
|
672
673
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).h9 = function (p1, $completion) {
|
|
673
|
-
return this.
|
|
674
|
+
return this.ndn((!(p1 == null) ? isInterface(p1, ServerStateUpdateDto) : false) ? p1 : THROW_CCE(), $completion);
|
|
674
675
|
};
|
|
675
676
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).z8 = function () {
|
|
676
677
|
var suspendResult = this.t8_1;
|
|
@@ -679,7 +680,7 @@
|
|
|
679
680
|
var tmp = this.r8_1;
|
|
680
681
|
if (tmp === 0) {
|
|
681
682
|
this.s8_1 = 1;
|
|
682
|
-
this.
|
|
683
|
+
this.ldn_1(this.mdn_1);
|
|
683
684
|
return Unit_instance;
|
|
684
685
|
} else if (tmp === 1) {
|
|
685
686
|
throw this.u8_1;
|
|
@@ -690,32 +691,32 @@
|
|
|
690
691
|
}
|
|
691
692
|
while (true);
|
|
692
693
|
};
|
|
693
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
694
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.
|
|
695
|
-
i.
|
|
694
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).odn = function (it, completion) {
|
|
695
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.ldn_1, completion);
|
|
696
|
+
i.mdn_1 = it;
|
|
696
697
|
return i;
|
|
697
698
|
};
|
|
698
699
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda_0($subscriber, resultContinuation) {
|
|
699
700
|
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation);
|
|
700
701
|
var l = function (it, $completion) {
|
|
701
|
-
return i.
|
|
702
|
+
return i.ndn(it, $completion);
|
|
702
703
|
};
|
|
703
704
|
l.$arity = 1;
|
|
704
705
|
return l;
|
|
705
706
|
}
|
|
706
707
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, $table, resultContinuation) {
|
|
707
|
-
this.
|
|
708
|
-
this.
|
|
708
|
+
this.xdn_1 = $$this$unsafeFlow;
|
|
709
|
+
this.ydn_1 = $table;
|
|
709
710
|
CoroutineImpl.call(this, resultContinuation);
|
|
710
711
|
}
|
|
711
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).
|
|
712
|
-
var tmp = this.
|
|
712
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).c2j = function (value, $completion) {
|
|
713
|
+
var tmp = this.d2j(value, $completion);
|
|
713
714
|
tmp.t8_1 = Unit_instance;
|
|
714
715
|
tmp.u8_1 = null;
|
|
715
716
|
return tmp.z8();
|
|
716
717
|
};
|
|
717
718
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).h9 = function (p1, $completion) {
|
|
718
|
-
return this.
|
|
719
|
+
return this.c2j((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
719
720
|
};
|
|
720
721
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).z8 = function () {
|
|
721
722
|
var suspendResult = this.t8_1;
|
|
@@ -725,10 +726,10 @@
|
|
|
725
726
|
switch (tmp) {
|
|
726
727
|
case 0:
|
|
727
728
|
this.s8_1 = 2;
|
|
728
|
-
var tmp0 = this.
|
|
729
|
-
var value = this.
|
|
729
|
+
var tmp0 = this.xdn_1;
|
|
730
|
+
var value = this.zdn_1;
|
|
730
731
|
this.r8_1 = 1;
|
|
731
|
-
suspendResult = tmp0.
|
|
732
|
+
suspendResult = tmp0.i24(new ActionsStateUpdate(this.ydn_1.id, value), this);
|
|
732
733
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
733
734
|
return suspendResult;
|
|
734
735
|
}
|
|
@@ -750,23 +751,23 @@
|
|
|
750
751
|
}
|
|
751
752
|
while (true);
|
|
752
753
|
};
|
|
753
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).
|
|
754
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.
|
|
755
|
-
i.
|
|
754
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).d2j = function (value, completion) {
|
|
755
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.xdn_1, this.ydn_1, completion);
|
|
756
|
+
i.zdn_1 = value;
|
|
756
757
|
return i;
|
|
757
758
|
};
|
|
758
759
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, $table, resultContinuation) {
|
|
759
760
|
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, $table, resultContinuation);
|
|
760
761
|
var l = function (value, $completion) {
|
|
761
|
-
return i.
|
|
762
|
+
return i.c2j(value, $completion);
|
|
762
763
|
};
|
|
763
764
|
l.$arity = 1;
|
|
764
765
|
return l;
|
|
765
766
|
}
|
|
766
767
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
767
768
|
CoroutineImpl.call(this, resultContinuation);
|
|
768
|
-
this.
|
|
769
|
-
this.
|
|
769
|
+
this.ido_1 = _this__u8e3s4;
|
|
770
|
+
this.jdo_1 = collector;
|
|
770
771
|
}
|
|
771
772
|
protoOf($collectCOROUTINE$_0).z8 = function () {
|
|
772
773
|
var suspendResult = this.t8_1;
|
|
@@ -776,10 +777,10 @@
|
|
|
776
777
|
switch (tmp) {
|
|
777
778
|
case 0:
|
|
778
779
|
this.s8_1 = 2;
|
|
779
|
-
var $this$unsafeFlow = this.
|
|
780
|
+
var $this$unsafeFlow = this.jdo_1;
|
|
780
781
|
this.r8_1 = 1;
|
|
781
|
-
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
782
|
-
suspendResult = this.
|
|
782
|
+
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.ido_1.ldo_1, null);
|
|
783
|
+
suspendResult = this.ido_1.kdo_1.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
783
784
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
784
785
|
return suspendResult;
|
|
785
786
|
}
|
|
@@ -802,31 +803,31 @@
|
|
|
802
803
|
while (true);
|
|
803
804
|
};
|
|
804
805
|
function _no_name_provided__qut3iv($this, $table) {
|
|
805
|
-
this.
|
|
806
|
-
this.
|
|
806
|
+
this.kdo_1 = $this;
|
|
807
|
+
this.ldo_1 = $table;
|
|
807
808
|
}
|
|
808
|
-
protoOf(_no_name_provided__qut3iv).
|
|
809
|
+
protoOf(_no_name_provided__qut3iv).j24 = function (collector, $completion) {
|
|
809
810
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
810
811
|
tmp.t8_1 = Unit_instance;
|
|
811
812
|
tmp.u8_1 = null;
|
|
812
813
|
return tmp.z8();
|
|
813
814
|
};
|
|
814
|
-
protoOf(_no_name_provided__qut3iv).
|
|
815
|
-
return this.
|
|
815
|
+
protoOf(_no_name_provided__qut3iv).f23 = function (collector, $completion) {
|
|
816
|
+
return this.j24(collector, $completion);
|
|
816
817
|
};
|
|
817
818
|
function GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation) {
|
|
818
|
-
this.
|
|
819
|
-
this.
|
|
819
|
+
this.udo_1 = $table;
|
|
820
|
+
this.vdo_1 = this$0;
|
|
820
821
|
CoroutineImpl.call(this, resultContinuation);
|
|
821
822
|
}
|
|
822
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
823
|
-
var tmp = this.
|
|
823
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).xdo = function ($this$flow, $completion) {
|
|
824
|
+
var tmp = this.ydo($this$flow, $completion);
|
|
824
825
|
tmp.t8_1 = Unit_instance;
|
|
825
826
|
tmp.u8_1 = null;
|
|
826
827
|
return tmp.z8();
|
|
827
828
|
};
|
|
828
829
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).h9 = function (p1, $completion) {
|
|
829
|
-
return this.
|
|
830
|
+
return this.xdo((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
830
831
|
};
|
|
831
832
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).z8 = function () {
|
|
832
833
|
var suspendResult = this.t8_1;
|
|
@@ -837,7 +838,7 @@
|
|
|
837
838
|
case 0:
|
|
838
839
|
this.s8_1 = 3;
|
|
839
840
|
this.r8_1 = 1;
|
|
840
|
-
suspendResult = this.
|
|
841
|
+
suspendResult = this.wdo_1.i24(new TableStateUpdate(this.udo_1.id, this.udo_1), this);
|
|
841
842
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
842
843
|
return suspendResult;
|
|
843
844
|
}
|
|
@@ -845,8 +846,8 @@
|
|
|
845
846
|
continue $sm;
|
|
846
847
|
case 1:
|
|
847
848
|
this.r8_1 = 2;
|
|
848
|
-
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.
|
|
849
|
-
suspendResult = emitAll(this.
|
|
849
|
+
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.vdo_1).t93(), fromInt(_get_serverReduxConfig__rprcrm(this.vdo_1).serverStateUpdateIntervalMillis));
|
|
850
|
+
suspendResult = emitAll(this.wdo_1, new _no_name_provided__qut3iv(this_0, this.udo_1), this);
|
|
850
851
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
851
852
|
return suspendResult;
|
|
852
853
|
}
|
|
@@ -868,31 +869,31 @@
|
|
|
868
869
|
}
|
|
869
870
|
while (true);
|
|
870
871
|
};
|
|
871
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
872
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.
|
|
873
|
-
i.
|
|
872
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).ydo = function ($this$flow, completion) {
|
|
873
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.udo_1, this.vdo_1, completion);
|
|
874
|
+
i.wdo_1 = $this$flow;
|
|
874
875
|
return i;
|
|
875
876
|
};
|
|
876
877
|
function GameServer$observeTableStateUpdates$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
877
878
|
var i = new GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation);
|
|
878
879
|
var l = function ($this$flow, $completion) {
|
|
879
|
-
return i.
|
|
880
|
+
return i.xdo($this$flow, $completion);
|
|
880
881
|
};
|
|
881
882
|
l.$arity = 1;
|
|
882
883
|
return l;
|
|
883
884
|
}
|
|
884
885
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
885
|
-
this.
|
|
886
|
+
this.hdp_1 = $$this$unsafeFlow;
|
|
886
887
|
CoroutineImpl.call(this, resultContinuation);
|
|
887
888
|
}
|
|
888
|
-
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).
|
|
889
|
-
var tmp = this.
|
|
889
|
+
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).c2j = function (value, $completion) {
|
|
890
|
+
var tmp = this.d2j(value, $completion);
|
|
890
891
|
tmp.t8_1 = Unit_instance;
|
|
891
892
|
tmp.u8_1 = null;
|
|
892
893
|
return tmp.z8();
|
|
893
894
|
};
|
|
894
895
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).h9 = function (p1, $completion) {
|
|
895
|
-
return this.
|
|
896
|
+
return this.c2j((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
896
897
|
};
|
|
897
898
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).z8 = function () {
|
|
898
899
|
var suspendResult = this.t8_1;
|
|
@@ -903,28 +904,28 @@
|
|
|
903
904
|
case 0:
|
|
904
905
|
this.s8_1 = 5;
|
|
905
906
|
var tmp_0 = this;
|
|
906
|
-
tmp_0.
|
|
907
|
+
tmp_0.mdp_1 = this.hdp_1;
|
|
907
908
|
var tmp_1 = this;
|
|
908
|
-
tmp_1.
|
|
909
|
+
tmp_1.ldp_1 = this.idp_1;
|
|
909
910
|
this.r8_1 = 1;
|
|
910
911
|
continue $sm;
|
|
911
912
|
case 1:
|
|
912
|
-
this.
|
|
913
|
-
var tmp0_elvis_lhs = this.
|
|
913
|
+
this.jdp_1 = this.mdp_1;
|
|
914
|
+
var tmp0_elvis_lhs = this.ldp_1.y6v_1;
|
|
914
915
|
if (tmp0_elvis_lhs == null) {
|
|
915
916
|
this.r8_1 = 4;
|
|
916
917
|
var tmp_2 = this;
|
|
917
918
|
continue $sm;
|
|
918
919
|
} else {
|
|
919
|
-
this.
|
|
920
|
+
this.kdp_1 = tmp0_elvis_lhs;
|
|
920
921
|
this.r8_1 = 2;
|
|
921
922
|
continue $sm;
|
|
922
923
|
}
|
|
923
924
|
|
|
924
925
|
case 2:
|
|
925
|
-
var transformed = this.
|
|
926
|
+
var transformed = this.kdp_1;
|
|
926
927
|
this.r8_1 = 3;
|
|
927
|
-
suspendResult = this.
|
|
928
|
+
suspendResult = this.jdp_1.i24(transformed, this);
|
|
928
929
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
929
930
|
return suspendResult;
|
|
930
931
|
}
|
|
@@ -954,23 +955,23 @@
|
|
|
954
955
|
}
|
|
955
956
|
while (true);
|
|
956
957
|
};
|
|
957
|
-
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).
|
|
958
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
959
|
-
i.
|
|
958
|
+
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).d2j = function (value, completion) {
|
|
959
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.hdp_1, completion);
|
|
960
|
+
i.idp_1 = value;
|
|
960
961
|
return i;
|
|
961
962
|
};
|
|
962
963
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
963
964
|
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation);
|
|
964
965
|
var l = function (value, $completion) {
|
|
965
|
-
return i.
|
|
966
|
+
return i.c2j(value, $completion);
|
|
966
967
|
};
|
|
967
968
|
l.$arity = 1;
|
|
968
969
|
return l;
|
|
969
970
|
}
|
|
970
971
|
function $collectCOROUTINE$_1(_this__u8e3s4, collector, resultContinuation) {
|
|
971
972
|
CoroutineImpl.call(this, resultContinuation);
|
|
972
|
-
this.
|
|
973
|
-
this.
|
|
973
|
+
this.vdp_1 = _this__u8e3s4;
|
|
974
|
+
this.wdp_1 = collector;
|
|
974
975
|
}
|
|
975
976
|
protoOf($collectCOROUTINE$_1).z8 = function () {
|
|
976
977
|
var suspendResult = this.t8_1;
|
|
@@ -980,10 +981,10 @@
|
|
|
980
981
|
switch (tmp) {
|
|
981
982
|
case 0:
|
|
982
983
|
this.s8_1 = 2;
|
|
983
|
-
var $this$unsafeFlow = this.
|
|
984
|
+
var $this$unsafeFlow = this.wdp_1;
|
|
984
985
|
this.r8_1 = 1;
|
|
985
986
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($this$unsafeFlow, null);
|
|
986
|
-
suspendResult = this.
|
|
987
|
+
suspendResult = this.vdp_1.xdp_1.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
987
988
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
988
989
|
return suspendResult;
|
|
989
990
|
}
|
|
@@ -1006,17 +1007,17 @@
|
|
|
1006
1007
|
while (true);
|
|
1007
1008
|
};
|
|
1008
1009
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_1($$this$unsafeFlow, resultContinuation) {
|
|
1009
|
-
this.
|
|
1010
|
+
this.gdq_1 = $$this$unsafeFlow;
|
|
1010
1011
|
CoroutineImpl.call(this, resultContinuation);
|
|
1011
1012
|
}
|
|
1012
|
-
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).
|
|
1013
|
-
var tmp = this.
|
|
1013
|
+
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).c2j = function (value, $completion) {
|
|
1014
|
+
var tmp = this.d2j(value, $completion);
|
|
1014
1015
|
tmp.t8_1 = Unit_instance;
|
|
1015
1016
|
tmp.u8_1 = null;
|
|
1016
1017
|
return tmp.z8();
|
|
1017
1018
|
};
|
|
1018
1019
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).h9 = function (p1, $completion) {
|
|
1019
|
-
return this.
|
|
1020
|
+
return this.c2j((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
1020
1021
|
};
|
|
1021
1022
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).z8 = function () {
|
|
1022
1023
|
var suspendResult = this.t8_1;
|
|
@@ -1026,10 +1027,10 @@
|
|
|
1026
1027
|
switch (tmp) {
|
|
1027
1028
|
case 0:
|
|
1028
1029
|
this.s8_1 = 2;
|
|
1029
|
-
var tmp0 = this.
|
|
1030
|
-
var value = this.
|
|
1030
|
+
var tmp0 = this.gdq_1;
|
|
1031
|
+
var value = this.hdq_1;
|
|
1031
1032
|
this.r8_1 = 1;
|
|
1032
|
-
suspendResult = tmp0.
|
|
1033
|
+
suspendResult = tmp0.i24(to(value.gameInfo.roundNumberTotal, value), this);
|
|
1033
1034
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1034
1035
|
return suspendResult;
|
|
1035
1036
|
}
|
|
@@ -1051,23 +1052,23 @@
|
|
|
1051
1052
|
}
|
|
1052
1053
|
while (true);
|
|
1053
1054
|
};
|
|
1054
|
-
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).
|
|
1055
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.
|
|
1056
|
-
i.
|
|
1055
|
+
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).d2j = function (value, completion) {
|
|
1056
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.gdq_1, completion);
|
|
1057
|
+
i.hdq_1 = value;
|
|
1057
1058
|
return i;
|
|
1058
1059
|
};
|
|
1059
1060
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($$this$unsafeFlow, resultContinuation) {
|
|
1060
1061
|
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1($$this$unsafeFlow, resultContinuation);
|
|
1061
1062
|
var l = function (value, $completion) {
|
|
1062
|
-
return i.
|
|
1063
|
+
return i.c2j(value, $completion);
|
|
1063
1064
|
};
|
|
1064
1065
|
l.$arity = 1;
|
|
1065
1066
|
return l;
|
|
1066
1067
|
}
|
|
1067
1068
|
function $collectCOROUTINE$_2(_this__u8e3s4, collector, resultContinuation) {
|
|
1068
1069
|
CoroutineImpl.call(this, resultContinuation);
|
|
1069
|
-
this.
|
|
1070
|
-
this.
|
|
1070
|
+
this.qdq_1 = _this__u8e3s4;
|
|
1071
|
+
this.rdq_1 = collector;
|
|
1071
1072
|
}
|
|
1072
1073
|
protoOf($collectCOROUTINE$_2).z8 = function () {
|
|
1073
1074
|
var suspendResult = this.t8_1;
|
|
@@ -1077,10 +1078,10 @@
|
|
|
1077
1078
|
switch (tmp) {
|
|
1078
1079
|
case 0:
|
|
1079
1080
|
this.s8_1 = 2;
|
|
1080
|
-
var $this$unsafeFlow = this.
|
|
1081
|
+
var $this$unsafeFlow = this.rdq_1;
|
|
1081
1082
|
this.r8_1 = 1;
|
|
1082
1083
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($this$unsafeFlow, null);
|
|
1083
|
-
suspendResult = this.
|
|
1084
|
+
suspendResult = this.qdq_1.sdq_1.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1084
1085
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1085
1086
|
return suspendResult;
|
|
1086
1087
|
}
|
|
@@ -1103,17 +1104,17 @@
|
|
|
1103
1104
|
while (true);
|
|
1104
1105
|
};
|
|
1105
1106
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_3($$this$unsafeFlow, resultContinuation) {
|
|
1106
|
-
this.
|
|
1107
|
+
this.bdr_1 = $$this$unsafeFlow;
|
|
1107
1108
|
CoroutineImpl.call(this, resultContinuation);
|
|
1108
1109
|
}
|
|
1109
|
-
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).
|
|
1110
|
-
var tmp = this.
|
|
1110
|
+
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).c2j = function (value, $completion) {
|
|
1111
|
+
var tmp = this.d2j(value, $completion);
|
|
1111
1112
|
tmp.t8_1 = Unit_instance;
|
|
1112
1113
|
tmp.u8_1 = null;
|
|
1113
1114
|
return tmp.z8();
|
|
1114
1115
|
};
|
|
1115
1116
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).h9 = function (p1, $completion) {
|
|
1116
|
-
return this.
|
|
1117
|
+
return this.c2j((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
1117
1118
|
};
|
|
1118
1119
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).z8 = function () {
|
|
1119
1120
|
var suspendResult = this.t8_1;
|
|
@@ -1123,10 +1124,10 @@
|
|
|
1123
1124
|
switch (tmp) {
|
|
1124
1125
|
case 0:
|
|
1125
1126
|
this.s8_1 = 2;
|
|
1126
|
-
var tmp0 = this.
|
|
1127
|
-
var value = this.
|
|
1127
|
+
var tmp0 = this.bdr_1;
|
|
1128
|
+
var value = this.cdr_1;
|
|
1128
1129
|
this.r8_1 = 1;
|
|
1129
|
-
suspendResult = tmp0.
|
|
1130
|
+
suspendResult = tmp0.i24(value.me_1, this);
|
|
1130
1131
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1131
1132
|
return suspendResult;
|
|
1132
1133
|
}
|
|
@@ -1148,23 +1149,23 @@
|
|
|
1148
1149
|
}
|
|
1149
1150
|
while (true);
|
|
1150
1151
|
};
|
|
1151
|
-
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).
|
|
1152
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.
|
|
1153
|
-
i.
|
|
1152
|
+
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).d2j = function (value, completion) {
|
|
1153
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.bdr_1, completion);
|
|
1154
|
+
i.cdr_1 = value;
|
|
1154
1155
|
return i;
|
|
1155
1156
|
};
|
|
1156
1157
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($$this$unsafeFlow, resultContinuation) {
|
|
1157
1158
|
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3($$this$unsafeFlow, resultContinuation);
|
|
1158
1159
|
var l = function (value, $completion) {
|
|
1159
|
-
return i.
|
|
1160
|
+
return i.c2j(value, $completion);
|
|
1160
1161
|
};
|
|
1161
1162
|
l.$arity = 1;
|
|
1162
1163
|
return l;
|
|
1163
1164
|
}
|
|
1164
1165
|
function $collectCOROUTINE$_3(_this__u8e3s4, collector, resultContinuation) {
|
|
1165
1166
|
CoroutineImpl.call(this, resultContinuation);
|
|
1166
|
-
this.
|
|
1167
|
-
this.
|
|
1167
|
+
this.ldr_1 = _this__u8e3s4;
|
|
1168
|
+
this.mdr_1 = collector;
|
|
1168
1169
|
}
|
|
1169
1170
|
protoOf($collectCOROUTINE$_3).z8 = function () {
|
|
1170
1171
|
var suspendResult = this.t8_1;
|
|
@@ -1174,10 +1175,10 @@
|
|
|
1174
1175
|
switch (tmp) {
|
|
1175
1176
|
case 0:
|
|
1176
1177
|
this.s8_1 = 2;
|
|
1177
|
-
var $this$unsafeFlow = this.
|
|
1178
|
+
var $this$unsafeFlow = this.mdr_1;
|
|
1178
1179
|
this.r8_1 = 1;
|
|
1179
1180
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($this$unsafeFlow, null);
|
|
1180
|
-
suspendResult = this.
|
|
1181
|
+
suspendResult = this.ldr_1.ndr_1.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1181
1182
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1182
1183
|
return suspendResult;
|
|
1183
1184
|
}
|
|
@@ -1200,17 +1201,17 @@
|
|
|
1200
1201
|
while (true);
|
|
1201
1202
|
};
|
|
1202
1203
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
1203
|
-
this.
|
|
1204
|
+
this.wdr_1 = $subscriber;
|
|
1204
1205
|
CoroutineImpl.call(this, resultContinuation);
|
|
1205
1206
|
}
|
|
1206
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1207
|
-
var tmp = this.
|
|
1207
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).ydr = function (it, $completion) {
|
|
1208
|
+
var tmp = this.zdr(it, $completion);
|
|
1208
1209
|
tmp.t8_1 = Unit_instance;
|
|
1209
1210
|
tmp.u8_1 = null;
|
|
1210
1211
|
return tmp.z8();
|
|
1211
1212
|
};
|
|
1212
1213
|
protoOf(GameServer$subscribeWith$slambda$slambda).h9 = function (p1, $completion) {
|
|
1213
|
-
return this.
|
|
1214
|
+
return this.ydr(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
1214
1215
|
};
|
|
1215
1216
|
protoOf(GameServer$subscribeWith$slambda$slambda).z8 = function () {
|
|
1216
1217
|
var suspendResult = this.t8_1;
|
|
@@ -1219,7 +1220,7 @@
|
|
|
1219
1220
|
var tmp = this.r8_1;
|
|
1220
1221
|
if (tmp === 0) {
|
|
1221
1222
|
this.s8_1 = 1;
|
|
1222
|
-
this.
|
|
1223
|
+
this.wdr_1(this.xdr_1);
|
|
1223
1224
|
return Unit_instance;
|
|
1224
1225
|
} else if (tmp === 1) {
|
|
1225
1226
|
throw this.u8_1;
|
|
@@ -1230,76 +1231,76 @@
|
|
|
1230
1231
|
}
|
|
1231
1232
|
while (true);
|
|
1232
1233
|
};
|
|
1233
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1234
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
1235
|
-
i.
|
|
1234
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).zdr = function (it, completion) {
|
|
1235
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.wdr_1, completion);
|
|
1236
|
+
i.xdr_1 = it;
|
|
1236
1237
|
return i;
|
|
1237
1238
|
};
|
|
1238
1239
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
1239
1240
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
1240
1241
|
var l = function (it, $completion) {
|
|
1241
|
-
return i.
|
|
1242
|
+
return i.ydr(it, $completion);
|
|
1242
1243
|
};
|
|
1243
1244
|
l.$arity = 1;
|
|
1244
1245
|
return l;
|
|
1245
1246
|
}
|
|
1246
1247
|
function GameServer$roomOnCreate$2$updatedUsers$previousTeams$1($playerId) {
|
|
1247
|
-
this.
|
|
1248
|
+
this.ads_1 = $playerId;
|
|
1248
1249
|
}
|
|
1249
|
-
protoOf(GameServer$roomOnCreate$2$updatedUsers$previousTeams$1).
|
|
1250
|
-
return this.
|
|
1250
|
+
protoOf(GameServer$roomOnCreate$2$updatedUsers$previousTeams$1).h6d = function () {
|
|
1251
|
+
return this.ads_1;
|
|
1251
1252
|
};
|
|
1252
1253
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
1253
|
-
var tmp0 = $this.
|
|
1254
|
+
var tmp0 = $this.fds_1;
|
|
1254
1255
|
var tmp = KProperty1;
|
|
1255
1256
|
// Inline function 'kotlin.getValue' call
|
|
1256
1257
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, GameServer$_get_toClientEventsObserver_$ref_utir8s_0(), null);
|
|
1257
1258
|
return tmp0.w();
|
|
1258
1259
|
}
|
|
1259
1260
|
function _get_fromClientEventsObserver__a7vzd3($this) {
|
|
1260
|
-
var tmp0 = $this.
|
|
1261
|
+
var tmp0 = $this.gds_1;
|
|
1261
1262
|
var tmp = KProperty1;
|
|
1262
1263
|
// Inline function 'kotlin.getValue' call
|
|
1263
1264
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, GameServer$_get_fromClientEventsObserver_$ref_nf1g79_0(), null);
|
|
1264
1265
|
return tmp0.w();
|
|
1265
1266
|
}
|
|
1266
1267
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
1267
|
-
var tmp0 = $this.
|
|
1268
|
+
var tmp0 = $this.hds_1;
|
|
1268
1269
|
var tmp = KProperty1;
|
|
1269
1270
|
// Inline function 'kotlin.getValue' call
|
|
1270
1271
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, GameServer$_get_playerConnectionInteractor_$ref_of8tan_0(), null);
|
|
1271
1272
|
return tmp0.w();
|
|
1272
1273
|
}
|
|
1273
1274
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
1274
|
-
var tmp0 = $this.
|
|
1275
|
+
var tmp0 = $this.ids_1;
|
|
1275
1276
|
var tmp = KProperty1;
|
|
1276
1277
|
// Inline function 'kotlin.getValue' call
|
|
1277
1278
|
getPropertyCallableRef('teamsLogicProvider', 1, tmp, GameServer$_get_teamsLogicProvider_$ref_b7y54g_0(), null);
|
|
1278
1279
|
return tmp0.w();
|
|
1279
1280
|
}
|
|
1280
1281
|
function _get_random__h29cgo($this) {
|
|
1281
|
-
var tmp0 = $this.
|
|
1282
|
+
var tmp0 = $this.jds_1;
|
|
1282
1283
|
var tmp = KProperty1;
|
|
1283
1284
|
// Inline function 'kotlin.getValue' call
|
|
1284
1285
|
getPropertyCallableRef('random', 1, tmp, GameServer$_get_random_$ref_fottnq(), null);
|
|
1285
1286
|
return tmp0.w();
|
|
1286
1287
|
}
|
|
1287
1288
|
function _get_idsProvider__fnfajc($this) {
|
|
1288
|
-
var tmp0 = $this.
|
|
1289
|
+
var tmp0 = $this.kds_1;
|
|
1289
1290
|
var tmp = KProperty1;
|
|
1290
1291
|
// Inline function 'kotlin.getValue' call
|
|
1291
1292
|
getPropertyCallableRef('idsProvider', 1, tmp, GameServer$_get_idsProvider_$ref_89s908_0(), null);
|
|
1292
1293
|
return tmp0.w();
|
|
1293
1294
|
}
|
|
1294
1295
|
function _get_serverReduxConfig__rprcrm($this) {
|
|
1295
|
-
var tmp0 = $this.
|
|
1296
|
+
var tmp0 = $this.lds_1;
|
|
1296
1297
|
var tmp = KProperty1;
|
|
1297
1298
|
// Inline function 'kotlin.getValue' call
|
|
1298
1299
|
getPropertyCallableRef('serverReduxConfig', 1, tmp, GameServer$_get_serverReduxConfig_$ref_7h6jq6_0(), null);
|
|
1299
1300
|
return tmp0.w();
|
|
1300
1301
|
}
|
|
1301
1302
|
function _get_encoderDecoderProvider__qqgrji($this) {
|
|
1302
|
-
var tmp0 = $this.
|
|
1303
|
+
var tmp0 = $this.mds_1;
|
|
1303
1304
|
var tmp = KProperty1;
|
|
1304
1305
|
// Inline function 'kotlin.getValue' call
|
|
1305
1306
|
getPropertyCallableRef('encoderDecoderProvider', 1, tmp, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8_0(), null);
|
|
@@ -1307,7 +1308,7 @@
|
|
|
1307
1308
|
}
|
|
1308
1309
|
function observeTableStateUpdates($this) {
|
|
1309
1310
|
// Inline function 'kotlinx.coroutines.flow.flatMapLatest' call
|
|
1310
|
-
var this_0 = observeTableWhenRoundChanges($this, $this.
|
|
1311
|
+
var this_0 = observeTableWhenRoundChanges($this, $this.x6v());
|
|
1311
1312
|
var tmp$ret$0 = transformLatest(this_0, GameServer$observeTableStateUpdates$slambda_0($this, null));
|
|
1312
1313
|
return distinctUntilChanged(tmp$ret$0);
|
|
1313
1314
|
}
|
|
@@ -1327,20 +1328,20 @@
|
|
|
1327
1328
|
return new GameServer$observeTableWhenRoundChanges$$inlined$map$2(this_1);
|
|
1328
1329
|
}
|
|
1329
1330
|
function Companion() {
|
|
1330
|
-
this.
|
|
1331
|
+
this.pds_1 = 'GameEngine_API';
|
|
1331
1332
|
}
|
|
1332
1333
|
var Companion_instance_7;
|
|
1333
1334
|
function Companion_getInstance_0() {
|
|
1334
1335
|
return Companion_instance_7;
|
|
1335
1336
|
}
|
|
1336
1337
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
1337
|
-
this.
|
|
1338
|
+
this.qds_1 = function_0;
|
|
1338
1339
|
}
|
|
1339
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
1340
|
-
return this.
|
|
1340
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).i24 = function (value, $completion) {
|
|
1341
|
+
return this.qds_1(value, $completion);
|
|
1341
1342
|
};
|
|
1342
1343
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).a3 = function () {
|
|
1343
|
-
return this.
|
|
1344
|
+
return this.qds_1;
|
|
1344
1345
|
};
|
|
1345
1346
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
1346
1347
|
var tmp;
|
|
@@ -1361,13 +1362,13 @@
|
|
|
1361
1362
|
return hashCode(this.a3());
|
|
1362
1363
|
};
|
|
1363
1364
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
1364
|
-
this.
|
|
1365
|
+
this.rds_1 = function_0;
|
|
1365
1366
|
}
|
|
1366
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
1367
|
-
return this.
|
|
1367
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).i24 = function (value, $completion) {
|
|
1368
|
+
return this.rds_1(value, $completion);
|
|
1368
1369
|
};
|
|
1369
1370
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).a3 = function () {
|
|
1370
|
-
return this.
|
|
1371
|
+
return this.rds_1;
|
|
1371
1372
|
};
|
|
1372
1373
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
1373
1374
|
var tmp;
|
|
@@ -1388,13 +1389,13 @@
|
|
|
1388
1389
|
return hashCode(this.a3());
|
|
1389
1390
|
};
|
|
1390
1391
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
1391
|
-
this.
|
|
1392
|
+
this.sds_1 = function_0;
|
|
1392
1393
|
}
|
|
1393
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).
|
|
1394
|
-
return this.
|
|
1394
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).i24 = function (value, $completion) {
|
|
1395
|
+
return this.sds_1(value, $completion);
|
|
1395
1396
|
};
|
|
1396
1397
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).a3 = function () {
|
|
1397
|
-
return this.
|
|
1398
|
+
return this.sds_1;
|
|
1398
1399
|
};
|
|
1399
1400
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
1400
1401
|
var tmp;
|
|
@@ -1415,13 +1416,13 @@
|
|
|
1415
1416
|
return hashCode(this.a3());
|
|
1416
1417
|
};
|
|
1417
1418
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
1418
|
-
this.
|
|
1419
|
+
this.tds_1 = function_0;
|
|
1419
1420
|
}
|
|
1420
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).
|
|
1421
|
-
return this.
|
|
1421
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).i24 = function (value, $completion) {
|
|
1422
|
+
return this.tds_1(value, $completion);
|
|
1422
1423
|
};
|
|
1423
1424
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).a3 = function () {
|
|
1424
|
-
return this.
|
|
1425
|
+
return this.tds_1;
|
|
1425
1426
|
};
|
|
1426
1427
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
1427
1428
|
var tmp;
|
|
@@ -1442,13 +1443,13 @@
|
|
|
1442
1443
|
return hashCode(this.a3());
|
|
1443
1444
|
};
|
|
1444
1445
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
|
|
1445
|
-
this.
|
|
1446
|
+
this.uds_1 = function_0;
|
|
1446
1447
|
}
|
|
1447
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).
|
|
1448
|
-
return this.
|
|
1448
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).i24 = function (value, $completion) {
|
|
1449
|
+
return this.uds_1(value, $completion);
|
|
1449
1450
|
};
|
|
1450
1451
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).a3 = function () {
|
|
1451
|
-
return this.
|
|
1452
|
+
return this.uds_1;
|
|
1452
1453
|
};
|
|
1453
1454
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
|
|
1454
1455
|
var tmp;
|
|
@@ -1469,13 +1470,13 @@
|
|
|
1469
1470
|
return hashCode(this.a3());
|
|
1470
1471
|
};
|
|
1471
1472
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_4(function_0) {
|
|
1472
|
-
this.
|
|
1473
|
+
this.vds_1 = function_0;
|
|
1473
1474
|
}
|
|
1474
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).
|
|
1475
|
-
return this.
|
|
1475
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).i24 = function (value, $completion) {
|
|
1476
|
+
return this.vds_1(value, $completion);
|
|
1476
1477
|
};
|
|
1477
1478
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).a3 = function () {
|
|
1478
|
-
return this.
|
|
1479
|
+
return this.vds_1;
|
|
1479
1480
|
};
|
|
1480
1481
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).equals = function (other) {
|
|
1481
1482
|
var tmp;
|
|
@@ -1537,7 +1538,7 @@
|
|
|
1537
1538
|
}
|
|
1538
1539
|
function GameServer$random$delegate$lambda(this$0) {
|
|
1539
1540
|
return function () {
|
|
1540
|
-
return new SecureRandom(this$0.
|
|
1541
|
+
return new SecureRandom(this$0.b55());
|
|
1541
1542
|
};
|
|
1542
1543
|
}
|
|
1543
1544
|
function GameServer$_get_random_$ref_fottnq() {
|
|
@@ -1576,18 +1577,18 @@
|
|
|
1576
1577
|
};
|
|
1577
1578
|
}
|
|
1578
1579
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
1579
|
-
this.
|
|
1580
|
-
this.
|
|
1580
|
+
this.edt_1 = this$0;
|
|
1581
|
+
this.fdt_1 = $subscriber;
|
|
1581
1582
|
CoroutineImpl.call(this, resultContinuation);
|
|
1582
1583
|
}
|
|
1583
|
-
protoOf(GameServer$subscribeToClientAction$slambda).
|
|
1584
|
-
var tmp = this.
|
|
1584
|
+
protoOf(GameServer$subscribeToClientAction$slambda).j29 = function ($this$launchDefault, $completion) {
|
|
1585
|
+
var tmp = this.k29($this$launchDefault, $completion);
|
|
1585
1586
|
tmp.t8_1 = Unit_instance;
|
|
1586
1587
|
tmp.u8_1 = null;
|
|
1587
1588
|
return tmp.z8();
|
|
1588
1589
|
};
|
|
1589
1590
|
protoOf(GameServer$subscribeToClientAction$slambda).h9 = function (p1, $completion) {
|
|
1590
|
-
return this.
|
|
1591
|
+
return this.j29((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
1591
1592
|
};
|
|
1592
1593
|
protoOf(GameServer$subscribeToClientAction$slambda).z8 = function () {
|
|
1593
1594
|
var suspendResult = this.t8_1;
|
|
@@ -1598,9 +1599,9 @@
|
|
|
1598
1599
|
case 0:
|
|
1599
1600
|
this.s8_1 = 2;
|
|
1600
1601
|
this.r8_1 = 1;
|
|
1601
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
1602
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
1603
|
-
suspendResult = tmp_0.
|
|
1602
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.edt_1).qaw();
|
|
1603
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.fdt_1, null);
|
|
1604
|
+
suspendResult = tmp_0.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1604
1605
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1605
1606
|
return suspendResult;
|
|
1606
1607
|
}
|
|
@@ -1622,32 +1623,32 @@
|
|
|
1622
1623
|
}
|
|
1623
1624
|
while (true);
|
|
1624
1625
|
};
|
|
1625
|
-
protoOf(GameServer$subscribeToClientAction$slambda).
|
|
1626
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
1627
|
-
i.
|
|
1626
|
+
protoOf(GameServer$subscribeToClientAction$slambda).k29 = function ($this$launchDefault, completion) {
|
|
1627
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.edt_1, this.fdt_1, completion);
|
|
1628
|
+
i.gdt_1 = $this$launchDefault;
|
|
1628
1629
|
return i;
|
|
1629
1630
|
};
|
|
1630
1631
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
1631
1632
|
var i = new GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation);
|
|
1632
1633
|
var l = function ($this$launchDefault, $completion) {
|
|
1633
|
-
return i.
|
|
1634
|
+
return i.j29($this$launchDefault, $completion);
|
|
1634
1635
|
};
|
|
1635
1636
|
l.$arity = 1;
|
|
1636
1637
|
return l;
|
|
1637
1638
|
}
|
|
1638
1639
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
1639
|
-
this.
|
|
1640
|
-
this.
|
|
1640
|
+
this.pdt_1 = this$0;
|
|
1641
|
+
this.qdt_1 = $subscriber;
|
|
1641
1642
|
CoroutineImpl.call(this, resultContinuation);
|
|
1642
1643
|
}
|
|
1643
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda).
|
|
1644
|
-
var tmp = this.
|
|
1644
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda).j29 = function ($this$launchDefault, $completion) {
|
|
1645
|
+
var tmp = this.k29($this$launchDefault, $completion);
|
|
1645
1646
|
tmp.t8_1 = Unit_instance;
|
|
1646
1647
|
tmp.u8_1 = null;
|
|
1647
1648
|
return tmp.z8();
|
|
1648
1649
|
};
|
|
1649
1650
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).h9 = function (p1, $completion) {
|
|
1650
|
-
return this.
|
|
1651
|
+
return this.j29((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
1651
1652
|
};
|
|
1652
1653
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).z8 = function () {
|
|
1653
1654
|
var suspendResult = this.t8_1;
|
|
@@ -1658,9 +1659,9 @@
|
|
|
1658
1659
|
case 0:
|
|
1659
1660
|
this.s8_1 = 2;
|
|
1660
1661
|
this.r8_1 = 1;
|
|
1661
|
-
var tmp_0 = observeTableStateUpdates(this.
|
|
1662
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
1663
|
-
suspendResult = tmp_0.
|
|
1662
|
+
var tmp_0 = observeTableStateUpdates(this.pdt_1);
|
|
1663
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.qdt_1, null);
|
|
1664
|
+
suspendResult = tmp_0.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
1664
1665
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1665
1666
|
return suspendResult;
|
|
1666
1667
|
}
|
|
@@ -1682,32 +1683,32 @@
|
|
|
1682
1683
|
}
|
|
1683
1684
|
while (true);
|
|
1684
1685
|
};
|
|
1685
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda).
|
|
1686
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
1687
|
-
i.
|
|
1686
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda).k29 = function ($this$launchDefault, completion) {
|
|
1687
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.pdt_1, this.qdt_1, completion);
|
|
1688
|
+
i.rdt_1 = $this$launchDefault;
|
|
1688
1689
|
return i;
|
|
1689
1690
|
};
|
|
1690
1691
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
1691
1692
|
var i = new GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation);
|
|
1692
1693
|
var l = function ($this$launchDefault, $completion) {
|
|
1693
|
-
return i.
|
|
1694
|
+
return i.j29($this$launchDefault, $completion);
|
|
1694
1695
|
};
|
|
1695
1696
|
l.$arity = 1;
|
|
1696
1697
|
return l;
|
|
1697
1698
|
}
|
|
1698
1699
|
function GameServer$subscribeServerStateUpdateJson$slambda(this$0, $subscriber, resultContinuation) {
|
|
1699
|
-
this.
|
|
1700
|
-
this.
|
|
1700
|
+
this.adu_1 = this$0;
|
|
1701
|
+
this.bdu_1 = $subscriber;
|
|
1701
1702
|
CoroutineImpl.call(this, resultContinuation);
|
|
1702
1703
|
}
|
|
1703
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).
|
|
1704
|
-
var tmp = this.
|
|
1704
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).j29 = function ($this$launchDefault, $completion) {
|
|
1705
|
+
var tmp = this.k29($this$launchDefault, $completion);
|
|
1705
1706
|
tmp.t8_1 = Unit_instance;
|
|
1706
1707
|
tmp.u8_1 = null;
|
|
1707
1708
|
return tmp.z8();
|
|
1708
1709
|
};
|
|
1709
1710
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).h9 = function (p1, $completion) {
|
|
1710
|
-
return this.
|
|
1711
|
+
return this.j29((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
1711
1712
|
};
|
|
1712
1713
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).z8 = function () {
|
|
1713
1714
|
var suspendResult = this.t8_1;
|
|
@@ -1718,10 +1719,10 @@
|
|
|
1718
1719
|
case 0:
|
|
1719
1720
|
this.s8_1 = 2;
|
|
1720
1721
|
this.r8_1 = 1;
|
|
1721
|
-
var this_0 = observeTableStateUpdates(this.
|
|
1722
|
-
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.
|
|
1723
|
-
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.
|
|
1724
|
-
suspendResult = tmp_0.
|
|
1722
|
+
var this_0 = observeTableStateUpdates(this.adu_1);
|
|
1723
|
+
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.adu_1);
|
|
1724
|
+
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.bdu_1, null);
|
|
1725
|
+
suspendResult = tmp_0.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
1725
1726
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1726
1727
|
return suspendResult;
|
|
1727
1728
|
}
|
|
@@ -1743,32 +1744,32 @@
|
|
|
1743
1744
|
}
|
|
1744
1745
|
while (true);
|
|
1745
1746
|
};
|
|
1746
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).
|
|
1747
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.
|
|
1748
|
-
i.
|
|
1747
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).k29 = function ($this$launchDefault, completion) {
|
|
1748
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.adu_1, this.bdu_1, completion);
|
|
1749
|
+
i.cdu_1 = $this$launchDefault;
|
|
1749
1750
|
return i;
|
|
1750
1751
|
};
|
|
1751
1752
|
function GameServer$subscribeServerStateUpdateJson$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
1752
1753
|
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this$0, $subscriber, resultContinuation);
|
|
1753
1754
|
var l = function ($this$launchDefault, $completion) {
|
|
1754
|
-
return i.
|
|
1755
|
+
return i.j29($this$launchDefault, $completion);
|
|
1755
1756
|
};
|
|
1756
1757
|
l.$arity = 1;
|
|
1757
1758
|
return l;
|
|
1758
1759
|
}
|
|
1759
1760
|
function GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation) {
|
|
1760
|
-
this.
|
|
1761
|
+
this.ldu_1 = this$0;
|
|
1761
1762
|
CoroutineImpl.call(this, resultContinuation);
|
|
1762
1763
|
}
|
|
1763
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1764
|
-
var tmp = this.
|
|
1764
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).oc5 = function ($this$transformLatest, it, $completion) {
|
|
1765
|
+
var tmp = this.pc5($this$transformLatest, it, $completion);
|
|
1765
1766
|
tmp.t8_1 = Unit_instance;
|
|
1766
1767
|
tmp.u8_1 = null;
|
|
1767
1768
|
return tmp.z8();
|
|
1768
1769
|
};
|
|
1769
1770
|
protoOf(GameServer$observeTableStateUpdates$slambda).i9 = function (p1, p2, $completion) {
|
|
1770
1771
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
1771
|
-
return this.
|
|
1772
|
+
return this.oc5(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
1772
1773
|
};
|
|
1773
1774
|
protoOf(GameServer$observeTableStateUpdates$slambda).z8 = function () {
|
|
1774
1775
|
var suspendResult = this.t8_1;
|
|
@@ -1779,8 +1780,8 @@
|
|
|
1779
1780
|
case 0:
|
|
1780
1781
|
this.s8_1 = 2;
|
|
1781
1782
|
this.r8_1 = 1;
|
|
1782
|
-
var table = this.
|
|
1783
|
-
suspendResult = emitAll(this.
|
|
1783
|
+
var table = this.ndu_1;
|
|
1784
|
+
suspendResult = emitAll(this.mdu_1, flow(GameServer$observeTableStateUpdates$slambda$slambda_0(table, this.ldu_1, null)), this);
|
|
1784
1785
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1785
1786
|
return suspendResult;
|
|
1786
1787
|
}
|
|
@@ -1802,72 +1803,72 @@
|
|
|
1802
1803
|
}
|
|
1803
1804
|
while (true);
|
|
1804
1805
|
};
|
|
1805
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1806
|
-
var i = new GameServer$observeTableStateUpdates$slambda(this.
|
|
1807
|
-
i.
|
|
1808
|
-
i.
|
|
1806
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).pc5 = function ($this$transformLatest, it, completion) {
|
|
1807
|
+
var i = new GameServer$observeTableStateUpdates$slambda(this.ldu_1, completion);
|
|
1808
|
+
i.mdu_1 = $this$transformLatest;
|
|
1809
|
+
i.ndu_1 = it;
|
|
1809
1810
|
return i;
|
|
1810
1811
|
};
|
|
1811
1812
|
function GameServer$observeTableStateUpdates$slambda_0(this$0, resultContinuation) {
|
|
1812
1813
|
var i = new GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation);
|
|
1813
1814
|
var l = function ($this$transformLatest, it, $completion) {
|
|
1814
|
-
return i.
|
|
1815
|
+
return i.oc5($this$transformLatest, it, $completion);
|
|
1815
1816
|
};
|
|
1816
1817
|
l.$arity = 2;
|
|
1817
1818
|
return l;
|
|
1818
1819
|
}
|
|
1819
1820
|
function GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1($this) {
|
|
1820
|
-
this.
|
|
1821
|
+
this.xdp_1 = $this;
|
|
1821
1822
|
}
|
|
1822
|
-
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).
|
|
1823
|
+
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).j24 = function (collector, $completion) {
|
|
1823
1824
|
var tmp = new $collectCOROUTINE$_1(this, collector, $completion);
|
|
1824
1825
|
tmp.t8_1 = Unit_instance;
|
|
1825
1826
|
tmp.u8_1 = null;
|
|
1826
1827
|
return tmp.z8();
|
|
1827
1828
|
};
|
|
1828
|
-
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).
|
|
1829
|
-
return this.
|
|
1829
|
+
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).f23 = function (collector, $completion) {
|
|
1830
|
+
return this.j24(collector, $completion);
|
|
1830
1831
|
};
|
|
1831
1832
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$1($this) {
|
|
1832
|
-
this.
|
|
1833
|
+
this.sdq_1 = $this;
|
|
1833
1834
|
}
|
|
1834
|
-
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).
|
|
1835
|
+
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).j24 = function (collector, $completion) {
|
|
1835
1836
|
var tmp = new $collectCOROUTINE$_2(this, collector, $completion);
|
|
1836
1837
|
tmp.t8_1 = Unit_instance;
|
|
1837
1838
|
tmp.u8_1 = null;
|
|
1838
1839
|
return tmp.z8();
|
|
1839
1840
|
};
|
|
1840
|
-
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).
|
|
1841
|
-
return this.
|
|
1841
|
+
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).f23 = function (collector, $completion) {
|
|
1842
|
+
return this.j24(collector, $completion);
|
|
1842
1843
|
};
|
|
1843
1844
|
function GameServer$observeTableWhenRoundChanges$lambda(old, new_0) {
|
|
1844
1845
|
return old.le_1 === new_0.le_1;
|
|
1845
1846
|
}
|
|
1846
1847
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$2($this) {
|
|
1847
|
-
this.
|
|
1848
|
+
this.ndr_1 = $this;
|
|
1848
1849
|
}
|
|
1849
|
-
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).
|
|
1850
|
+
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).j24 = function (collector, $completion) {
|
|
1850
1851
|
var tmp = new $collectCOROUTINE$_3(this, collector, $completion);
|
|
1851
1852
|
tmp.t8_1 = Unit_instance;
|
|
1852
1853
|
tmp.u8_1 = null;
|
|
1853
1854
|
return tmp.z8();
|
|
1854
1855
|
};
|
|
1855
|
-
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).
|
|
1856
|
-
return this.
|
|
1856
|
+
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).f23 = function (collector, $completion) {
|
|
1857
|
+
return this.j24(collector, $completion);
|
|
1857
1858
|
};
|
|
1858
1859
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
1859
|
-
this.
|
|
1860
|
-
this.
|
|
1860
|
+
this.wdu_1 = this$0;
|
|
1861
|
+
this.xdu_1 = $subscriber;
|
|
1861
1862
|
CoroutineImpl.call(this, resultContinuation);
|
|
1862
1863
|
}
|
|
1863
|
-
protoOf(GameServer$subscribeWith$slambda).
|
|
1864
|
-
var tmp = this.
|
|
1864
|
+
protoOf(GameServer$subscribeWith$slambda).j29 = function ($this$launchDefault, $completion) {
|
|
1865
|
+
var tmp = this.k29($this$launchDefault, $completion);
|
|
1865
1866
|
tmp.t8_1 = Unit_instance;
|
|
1866
1867
|
tmp.u8_1 = null;
|
|
1867
1868
|
return tmp.z8();
|
|
1868
1869
|
};
|
|
1869
1870
|
protoOf(GameServer$subscribeWith$slambda).h9 = function (p1, $completion) {
|
|
1870
|
-
return this.
|
|
1871
|
+
return this.j29((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
1871
1872
|
};
|
|
1872
1873
|
protoOf(GameServer$subscribeWith$slambda).z8 = function () {
|
|
1873
1874
|
var suspendResult = this.t8_1;
|
|
@@ -1878,9 +1879,9 @@
|
|
|
1878
1879
|
case 0:
|
|
1879
1880
|
this.s8_1 = 2;
|
|
1880
1881
|
this.r8_1 = 1;
|
|
1881
|
-
var tmp_0 = distinctUntilChanged(this.
|
|
1882
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
1883
|
-
suspendResult = tmp_0.
|
|
1882
|
+
var tmp_0 = distinctUntilChanged(this.wdu_1.x6v());
|
|
1883
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.xdu_1, null);
|
|
1884
|
+
suspendResult = tmp_0.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_4(tmp_1), this);
|
|
1884
1885
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1885
1886
|
return suspendResult;
|
|
1886
1887
|
}
|
|
@@ -1902,32 +1903,32 @@
|
|
|
1902
1903
|
}
|
|
1903
1904
|
while (true);
|
|
1904
1905
|
};
|
|
1905
|
-
protoOf(GameServer$subscribeWith$slambda).
|
|
1906
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
1907
|
-
i.
|
|
1906
|
+
protoOf(GameServer$subscribeWith$slambda).k29 = function ($this$launchDefault, completion) {
|
|
1907
|
+
var i = new GameServer$subscribeWith$slambda(this.wdu_1, this.xdu_1, completion);
|
|
1908
|
+
i.ydu_1 = $this$launchDefault;
|
|
1908
1909
|
return i;
|
|
1909
1910
|
};
|
|
1910
1911
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
1911
1912
|
var i = new GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation);
|
|
1912
1913
|
var l = function ($this$launchDefault, $completion) {
|
|
1913
|
-
return i.
|
|
1914
|
+
return i.j29($this$launchDefault, $completion);
|
|
1914
1915
|
};
|
|
1915
1916
|
l.$arity = 1;
|
|
1916
1917
|
return l;
|
|
1917
1918
|
}
|
|
1918
1919
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
1919
|
-
this.
|
|
1920
|
+
this.hdv_1 = $action;
|
|
1920
1921
|
CoroutineImpl.call(this, resultContinuation);
|
|
1921
1922
|
}
|
|
1922
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1923
|
-
var tmp = this.
|
|
1923
|
+
protoOf(GameServer$fromClientEvent$slambda).sbe = function ($this$dispatchAsync, store, $completion) {
|
|
1924
|
+
var tmp = this.tbe($this$dispatchAsync, store, $completion);
|
|
1924
1925
|
tmp.t8_1 = Unit_instance;
|
|
1925
1926
|
tmp.u8_1 = null;
|
|
1926
1927
|
return tmp.z8();
|
|
1927
1928
|
};
|
|
1928
1929
|
protoOf(GameServer$fromClientEvent$slambda).i9 = function (p1, p2, $completion) {
|
|
1929
1930
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1930
|
-
return this.
|
|
1931
|
+
return this.sbe(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1931
1932
|
};
|
|
1932
1933
|
protoOf(GameServer$fromClientEvent$slambda).z8 = function () {
|
|
1933
1934
|
var suspendResult = this.t8_1;
|
|
@@ -1936,11 +1937,11 @@
|
|
|
1936
1937
|
var tmp = this.r8_1;
|
|
1937
1938
|
if (tmp === 0) {
|
|
1938
1939
|
this.s8_1 = 1;
|
|
1939
|
-
if (this.
|
|
1940
|
-
if (!get_isCreated(this.
|
|
1940
|
+
if (this.hdv_1 instanceof PlayerReadyFromClientAction)
|
|
1941
|
+
if (!get_isCreated(this.jdv_1.state)) {
|
|
1941
1942
|
return Unit_instance;
|
|
1942
1943
|
}
|
|
1943
|
-
this.
|
|
1944
|
+
this.jdv_1.dispatch(this.hdv_1);
|
|
1944
1945
|
return Unit_instance;
|
|
1945
1946
|
} else if (tmp === 1) {
|
|
1946
1947
|
throw this.u8_1;
|
|
@@ -1951,33 +1952,33 @@
|
|
|
1951
1952
|
}
|
|
1952
1953
|
while (true);
|
|
1953
1954
|
};
|
|
1954
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1955
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
1956
|
-
i.
|
|
1957
|
-
i.
|
|
1955
|
+
protoOf(GameServer$fromClientEvent$slambda).tbe = function ($this$dispatchAsync, store, completion) {
|
|
1956
|
+
var i = new GameServer$fromClientEvent$slambda(this.hdv_1, completion);
|
|
1957
|
+
i.idv_1 = $this$dispatchAsync;
|
|
1958
|
+
i.jdv_1 = store;
|
|
1958
1959
|
return i;
|
|
1959
1960
|
};
|
|
1960
1961
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
1961
1962
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
1962
1963
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1963
|
-
return i.
|
|
1964
|
+
return i.sbe($this$dispatchAsync, store, $completion);
|
|
1964
1965
|
};
|
|
1965
1966
|
l.$arity = 2;
|
|
1966
1967
|
return l;
|
|
1967
1968
|
}
|
|
1968
1969
|
function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
|
|
1969
|
-
this.
|
|
1970
|
+
this.sdv_1 = $playerId;
|
|
1970
1971
|
CoroutineImpl.call(this, resultContinuation);
|
|
1971
1972
|
}
|
|
1972
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
1973
|
-
var tmp = this.
|
|
1973
|
+
protoOf(GameServer$playerLostConnection$slambda).sbe = function ($this$dispatchAsync, store, $completion) {
|
|
1974
|
+
var tmp = this.tbe($this$dispatchAsync, store, $completion);
|
|
1974
1975
|
tmp.t8_1 = Unit_instance;
|
|
1975
1976
|
tmp.u8_1 = null;
|
|
1976
1977
|
return tmp.z8();
|
|
1977
1978
|
};
|
|
1978
1979
|
protoOf(GameServer$playerLostConnection$slambda).i9 = function (p1, p2, $completion) {
|
|
1979
1980
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1980
|
-
return this.
|
|
1981
|
+
return this.sbe(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1981
1982
|
};
|
|
1982
1983
|
protoOf(GameServer$playerLostConnection$slambda).z8 = function () {
|
|
1983
1984
|
var suspendResult = this.t8_1;
|
|
@@ -1986,12 +1987,12 @@
|
|
|
1986
1987
|
var tmp = this.r8_1;
|
|
1987
1988
|
if (tmp === 0) {
|
|
1988
1989
|
this.s8_1 = 1;
|
|
1989
|
-
if (!get_isCreated(this.
|
|
1990
|
+
if (!get_isCreated(this.udv_1.state)) {
|
|
1990
1991
|
return Unit_instance;
|
|
1991
1992
|
}
|
|
1992
|
-
var tmp_0 = this.
|
|
1993
|
+
var tmp_0 = this.udv_1.dispatch;
|
|
1993
1994
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
1994
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
1995
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.sdv_1));
|
|
1995
1996
|
return Unit_instance;
|
|
1996
1997
|
} else if (tmp === 1) {
|
|
1997
1998
|
throw this.u8_1;
|
|
@@ -2002,34 +2003,34 @@
|
|
|
2002
2003
|
}
|
|
2003
2004
|
while (true);
|
|
2004
2005
|
};
|
|
2005
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2006
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
2007
|
-
i.
|
|
2008
|
-
i.
|
|
2006
|
+
protoOf(GameServer$playerLostConnection$slambda).tbe = function ($this$dispatchAsync, store, completion) {
|
|
2007
|
+
var i = new GameServer$playerLostConnection$slambda(this.sdv_1, completion);
|
|
2008
|
+
i.tdv_1 = $this$dispatchAsync;
|
|
2009
|
+
i.udv_1 = store;
|
|
2009
2010
|
return i;
|
|
2010
2011
|
};
|
|
2011
2012
|
function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
|
|
2012
2013
|
var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
|
|
2013
2014
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2014
|
-
return i.
|
|
2015
|
+
return i.sbe($this$dispatchAsync, store, $completion);
|
|
2015
2016
|
};
|
|
2016
2017
|
l.$arity = 2;
|
|
2017
2018
|
return l;
|
|
2018
2019
|
}
|
|
2019
2020
|
function GameServer$playerLive$slambda(this$0, $playerId, resultContinuation) {
|
|
2020
|
-
this.
|
|
2021
|
-
this.
|
|
2021
|
+
this.ddw_1 = this$0;
|
|
2022
|
+
this.edw_1 = $playerId;
|
|
2022
2023
|
CoroutineImpl.call(this, resultContinuation);
|
|
2023
2024
|
}
|
|
2024
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2025
|
-
var tmp = this.
|
|
2025
|
+
protoOf(GameServer$playerLive$slambda).sbe = function ($this$dispatchAsync, store, $completion) {
|
|
2026
|
+
var tmp = this.tbe($this$dispatchAsync, store, $completion);
|
|
2026
2027
|
tmp.t8_1 = Unit_instance;
|
|
2027
2028
|
tmp.u8_1 = null;
|
|
2028
2029
|
return tmp.z8();
|
|
2029
2030
|
};
|
|
2030
2031
|
protoOf(GameServer$playerLive$slambda).i9 = function (p1, p2, $completion) {
|
|
2031
2032
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2032
|
-
return this.
|
|
2033
|
+
return this.sbe(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2033
2034
|
};
|
|
2034
2035
|
protoOf(GameServer$playerLive$slambda).z8 = function () {
|
|
2035
2036
|
var suspendResult = this.t8_1;
|
|
@@ -2038,16 +2039,16 @@
|
|
|
2038
2039
|
var tmp = this.r8_1;
|
|
2039
2040
|
if (tmp === 0) {
|
|
2040
2041
|
this.s8_1 = 1;
|
|
2041
|
-
if (get_isFinished(this.
|
|
2042
|
+
if (get_isFinished(this.gdw_1.state) || get_isFinishing(this.gdw_1.state)) {
|
|
2042
2043
|
return Unit_instance;
|
|
2043
2044
|
}
|
|
2044
|
-
if (!get_isCreated(this.
|
|
2045
|
-
this.
|
|
2045
|
+
if (!get_isCreated(this.gdw_1.state) || !this.ddw_1.i6e().a6x()) {
|
|
2046
|
+
this.ddw_1.b55().w('GameEngine_API', 'playerLive: ' + this.edw_1 + ' before game is created');
|
|
2046
2047
|
return Unit_instance;
|
|
2047
2048
|
}
|
|
2048
|
-
var tmp_0 = this.
|
|
2049
|
+
var tmp_0 = this.gdw_1.dispatch;
|
|
2049
2050
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2050
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2051
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.edw_1));
|
|
2051
2052
|
return Unit_instance;
|
|
2052
2053
|
} else if (tmp === 1) {
|
|
2053
2054
|
throw this.u8_1;
|
|
@@ -2058,34 +2059,34 @@
|
|
|
2058
2059
|
}
|
|
2059
2060
|
while (true);
|
|
2060
2061
|
};
|
|
2061
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2062
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
2063
|
-
i.
|
|
2064
|
-
i.
|
|
2062
|
+
protoOf(GameServer$playerLive$slambda).tbe = function ($this$dispatchAsync, store, completion) {
|
|
2063
|
+
var i = new GameServer$playerLive$slambda(this.ddw_1, this.edw_1, completion);
|
|
2064
|
+
i.fdw_1 = $this$dispatchAsync;
|
|
2065
|
+
i.gdw_1 = store;
|
|
2065
2066
|
return i;
|
|
2066
2067
|
};
|
|
2067
2068
|
function GameServer$playerLive$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2068
2069
|
var i = new GameServer$playerLive$slambda(this$0, $playerId, resultContinuation);
|
|
2069
2070
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2070
|
-
return i.
|
|
2071
|
+
return i.sbe($this$dispatchAsync, store, $completion);
|
|
2071
2072
|
};
|
|
2072
2073
|
l.$arity = 2;
|
|
2073
2074
|
return l;
|
|
2074
2075
|
}
|
|
2075
2076
|
function GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation) {
|
|
2076
|
-
this.
|
|
2077
|
-
this.
|
|
2077
|
+
this.pdw_1 = this$0;
|
|
2078
|
+
this.qdw_1 = $playerId;
|
|
2078
2079
|
CoroutineImpl.call(this, resultContinuation);
|
|
2079
2080
|
}
|
|
2080
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2081
|
-
var tmp = this.
|
|
2081
|
+
protoOf(GameServer$playerLeft$slambda).sbe = function ($this$dispatchAsync, store, $completion) {
|
|
2082
|
+
var tmp = this.tbe($this$dispatchAsync, store, $completion);
|
|
2082
2083
|
tmp.t8_1 = Unit_instance;
|
|
2083
2084
|
tmp.u8_1 = null;
|
|
2084
2085
|
return tmp.z8();
|
|
2085
2086
|
};
|
|
2086
2087
|
protoOf(GameServer$playerLeft$slambda).i9 = function (p1, p2, $completion) {
|
|
2087
2088
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2088
|
-
return this.
|
|
2089
|
+
return this.sbe(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2089
2090
|
};
|
|
2090
2091
|
protoOf(GameServer$playerLeft$slambda).z8 = function () {
|
|
2091
2092
|
var suspendResult = this.t8_1;
|
|
@@ -2094,16 +2095,16 @@
|
|
|
2094
2095
|
var tmp = this.r8_1;
|
|
2095
2096
|
if (tmp === 0) {
|
|
2096
2097
|
this.s8_1 = 1;
|
|
2097
|
-
if (get_isFinished(this.
|
|
2098
|
+
if (get_isFinished(this.sdw_1.state) || get_isFinishing(this.sdw_1.state)) {
|
|
2098
2099
|
return Unit_instance;
|
|
2099
2100
|
}
|
|
2100
|
-
if (!get_isCreated(this.
|
|
2101
|
-
this.
|
|
2101
|
+
if (!get_isCreated(this.sdw_1.state) || !this.pdw_1.i6e().a6x()) {
|
|
2102
|
+
this.pdw_1.b55().w('GameEngine_API', 'playerLeft: ' + this.qdw_1 + ' before game is created');
|
|
2102
2103
|
return Unit_instance;
|
|
2103
2104
|
}
|
|
2104
|
-
var tmp_0 = this.
|
|
2105
|
+
var tmp_0 = this.sdw_1.dispatch;
|
|
2105
2106
|
var tmp0_connectionState = PlayerConnectionState_LEFT_getInstance();
|
|
2106
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2107
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.qdw_1));
|
|
2107
2108
|
return Unit_instance;
|
|
2108
2109
|
} else if (tmp === 1) {
|
|
2109
2110
|
throw this.u8_1;
|
|
@@ -2114,39 +2115,39 @@
|
|
|
2114
2115
|
}
|
|
2115
2116
|
while (true);
|
|
2116
2117
|
};
|
|
2117
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2118
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
2119
|
-
i.
|
|
2120
|
-
i.
|
|
2118
|
+
protoOf(GameServer$playerLeft$slambda).tbe = function ($this$dispatchAsync, store, completion) {
|
|
2119
|
+
var i = new GameServer$playerLeft$slambda(this.pdw_1, this.qdw_1, completion);
|
|
2120
|
+
i.rdw_1 = $this$dispatchAsync;
|
|
2121
|
+
i.sdw_1 = store;
|
|
2121
2122
|
return i;
|
|
2122
2123
|
};
|
|
2123
2124
|
function GameServer$playerLeft$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2124
2125
|
var i = new GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation);
|
|
2125
2126
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2126
|
-
return i.
|
|
2127
|
+
return i.sbe($this$dispatchAsync, store, $completion);
|
|
2127
2128
|
};
|
|
2128
2129
|
l.$arity = 2;
|
|
2129
2130
|
return l;
|
|
2130
2131
|
}
|
|
2131
2132
|
function GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2132
|
-
this.
|
|
2133
|
-
this.
|
|
2134
|
-
this.
|
|
2135
|
-
this.
|
|
2136
|
-
this.
|
|
2137
|
-
this.
|
|
2138
|
-
this.
|
|
2133
|
+
this.bdx_1 = $usersArray;
|
|
2134
|
+
this.cdx_1 = $config;
|
|
2135
|
+
this.ddx_1 = this$0;
|
|
2136
|
+
this.edx_1 = $roomId;
|
|
2137
|
+
this.fdx_1 = $transition;
|
|
2138
|
+
this.gdx_1 = $gameCreatorId;
|
|
2139
|
+
this.hdx_1 = $spectators;
|
|
2139
2140
|
CoroutineImpl.call(this, resultContinuation);
|
|
2140
2141
|
}
|
|
2141
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2142
|
-
var tmp = this.
|
|
2142
|
+
protoOf(GameServer$roomOnCreate$slambda).sbe = function ($this$dispatchAsync, store, $completion) {
|
|
2143
|
+
var tmp = this.tbe($this$dispatchAsync, store, $completion);
|
|
2143
2144
|
tmp.t8_1 = Unit_instance;
|
|
2144
2145
|
tmp.u8_1 = null;
|
|
2145
2146
|
return tmp.z8();
|
|
2146
2147
|
};
|
|
2147
2148
|
protoOf(GameServer$roomOnCreate$slambda).i9 = function (p1, p2, $completion) {
|
|
2148
2149
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2149
|
-
return this.
|
|
2150
|
+
return this.sbe(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2150
2151
|
};
|
|
2151
2152
|
protoOf(GameServer$roomOnCreate$slambda).z8 = function () {
|
|
2152
2153
|
var suspendResult = this.t8_1;
|
|
@@ -2155,33 +2156,33 @@
|
|
|
2155
2156
|
var tmp = this.r8_1;
|
|
2156
2157
|
if (tmp === 0) {
|
|
2157
2158
|
this.s8_1 = 1;
|
|
2158
|
-
var users = toList(this.
|
|
2159
|
-
if (!(this.
|
|
2160
|
-
this.
|
|
2161
|
-
this.
|
|
2159
|
+
var users = toList(this.bdx_1);
|
|
2160
|
+
if (!(this.cdx_1.playersMode.count === users.o())) {
|
|
2161
|
+
this.ddx_1.b55().w('GameEngine_API', 'roomOnCreate: wrong player count for game ' + this.edx_1 + ', config = ' + this.cdx_1.toString() + ', users = ' + toString(users));
|
|
2162
|
+
this.jdx_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.ddx_1.table.isGameFinished, this.ddx_1.table));
|
|
2162
2163
|
return Unit_instance;
|
|
2163
2164
|
}
|
|
2164
2165
|
var tmp_0;
|
|
2165
|
-
if (this.
|
|
2166
|
-
tmp_0 = _get_random__h29cgo(this.
|
|
2166
|
+
if (this.cdx_1.mode.shufflePlayers && this.fdx_1 == null) {
|
|
2167
|
+
tmp_0 = _get_random__h29cgo(this.ddx_1).l5s(toMutableList(users));
|
|
2167
2168
|
} else {
|
|
2168
|
-
var tmp0_safe_receiver = this.
|
|
2169
|
+
var tmp0_safe_receiver = this.fdx_1;
|
|
2169
2170
|
var previousPlayers = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.previousPlayers;
|
|
2170
2171
|
var tmp_1;
|
|
2171
|
-
if (!(previousPlayers == null) && this.
|
|
2172
|
-
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.
|
|
2172
|
+
if (!(previousPlayers == null) && this.cdx_1.playersMode.isTeamGame) {
|
|
2173
|
+
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.ddx_1);
|
|
2173
2174
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(previousPlayers, 10));
|
|
2174
2175
|
var _iterator__ex2g4s = previousPlayers.l();
|
|
2175
2176
|
while (_iterator__ex2g4s.m()) {
|
|
2176
2177
|
var item = _iterator__ex2g4s.n();
|
|
2177
2178
|
destination.j(new GameServer$roomOnCreate$2$updatedUsers$previousTeams$1(item));
|
|
2178
2179
|
}
|
|
2179
|
-
var previousTeams = tmp_2.
|
|
2180
|
+
var previousTeams = tmp_2.k93(destination);
|
|
2180
2181
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
2181
2182
|
var _iterator__ex2g4s_0 = users.l();
|
|
2182
2183
|
while (_iterator__ex2g4s_0.m()) {
|
|
2183
2184
|
var element = _iterator__ex2g4s_0.n();
|
|
2184
|
-
if (!previousPlayers.t1(element.
|
|
2185
|
+
if (!previousPlayers.t1(element.w6d_1)) {
|
|
2185
2186
|
destination_0.j(element);
|
|
2186
2187
|
}
|
|
2187
2188
|
}
|
|
@@ -2200,19 +2201,19 @@
|
|
|
2200
2201
|
destination_1.j(destination_2);
|
|
2201
2202
|
}
|
|
2202
2203
|
var updatedTeams = destination_1;
|
|
2203
|
-
tmp_1 = _get_teamsLogicProvider__u10pm6(this.
|
|
2204
|
+
tmp_1 = _get_teamsLogicProvider__u10pm6(this.ddx_1).o93(updatedTeams);
|
|
2204
2205
|
} else {
|
|
2205
2206
|
tmp_1 = users;
|
|
2206
2207
|
}
|
|
2207
2208
|
tmp_0 = tmp_1;
|
|
2208
2209
|
}
|
|
2209
2210
|
var updatedUsers = tmp_0;
|
|
2210
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
2211
|
-
var tmp_3 = this.
|
|
2211
|
+
var gameCreatorUser = getPlayer(users, this.gdx_1);
|
|
2212
|
+
var tmp_3 = this.jdx_1.dispatch;
|
|
2212
2213
|
var tmp1_version = get_versionOrDefault(GameEngineConfig_instance);
|
|
2213
2214
|
var tmp2_users = sortWithItem(updatedUsers, gameCreatorUser);
|
|
2214
|
-
var tmp3_spectators = toList(this.
|
|
2215
|
-
tmp_3(new StartGameMechanicAction(this.
|
|
2215
|
+
var tmp3_spectators = toList(this.hdx_1);
|
|
2216
|
+
tmp_3(new StartGameMechanicAction(this.cdx_1, this.edx_1, tmp1_version, this.gdx_1, tmp2_users, VOID, tmp3_spectators));
|
|
2216
2217
|
return Unit_instance;
|
|
2217
2218
|
} else if (tmp === 1) {
|
|
2218
2219
|
throw this.u8_1;
|
|
@@ -2223,33 +2224,33 @@
|
|
|
2223
2224
|
}
|
|
2224
2225
|
while (true);
|
|
2225
2226
|
};
|
|
2226
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2227
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
2228
|
-
i.
|
|
2229
|
-
i.
|
|
2227
|
+
protoOf(GameServer$roomOnCreate$slambda).tbe = function ($this$dispatchAsync, store, completion) {
|
|
2228
|
+
var i = new GameServer$roomOnCreate$slambda(this.bdx_1, this.cdx_1, this.ddx_1, this.edx_1, this.fdx_1, this.gdx_1, this.hdx_1, completion);
|
|
2229
|
+
i.idx_1 = $this$dispatchAsync;
|
|
2230
|
+
i.jdx_1 = store;
|
|
2230
2231
|
return i;
|
|
2231
2232
|
};
|
|
2232
2233
|
function GameServer$roomOnCreate$slambda_0($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2233
2234
|
var i = new GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation);
|
|
2234
2235
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2235
|
-
return i.
|
|
2236
|
+
return i.sbe($this$dispatchAsync, store, $completion);
|
|
2236
2237
|
};
|
|
2237
2238
|
l.$arity = 2;
|
|
2238
2239
|
return l;
|
|
2239
2240
|
}
|
|
2240
2241
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
2241
|
-
this.
|
|
2242
|
+
this.sdx_1 = $state;
|
|
2242
2243
|
CoroutineImpl.call(this, resultContinuation);
|
|
2243
2244
|
}
|
|
2244
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2245
|
-
var tmp = this.
|
|
2245
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).vdx = function ($this$dispatchAwait, store, $completion) {
|
|
2246
|
+
var tmp = this.tbe($this$dispatchAwait, store, $completion);
|
|
2246
2247
|
tmp.t8_1 = Unit_instance;
|
|
2247
2248
|
tmp.u8_1 = null;
|
|
2248
2249
|
return tmp.z8();
|
|
2249
2250
|
};
|
|
2250
2251
|
protoOf(GameServer$roomOnContinueFromState$slambda).i9 = function (p1, p2, $completion) {
|
|
2251
2252
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2252
|
-
return this.
|
|
2253
|
+
return this.vdx(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2253
2254
|
};
|
|
2254
2255
|
protoOf(GameServer$roomOnContinueFromState$slambda).z8 = function () {
|
|
2255
2256
|
var suspendResult = this.t8_1;
|
|
@@ -2258,10 +2259,10 @@
|
|
|
2258
2259
|
var tmp = this.r8_1;
|
|
2259
2260
|
if (tmp === 0) {
|
|
2260
2261
|
this.s8_1 = 1;
|
|
2261
|
-
if (get_isCreating(this.
|
|
2262
|
-
var tmp_0 = this.
|
|
2262
|
+
if (get_isCreating(this.udx_1.state)) {
|
|
2263
|
+
var tmp_0 = this.udx_1.dispatch;
|
|
2263
2264
|
var tmp0_reason = new RestartRoundReason(null);
|
|
2264
|
-
var tmp1_table = this.
|
|
2265
|
+
var tmp1_table = this.sdx_1.table;
|
|
2265
2266
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2266
2267
|
return true;
|
|
2267
2268
|
}
|
|
@@ -2275,34 +2276,34 @@
|
|
|
2275
2276
|
}
|
|
2276
2277
|
while (true);
|
|
2277
2278
|
};
|
|
2278
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2279
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
2280
|
-
i.
|
|
2281
|
-
i.
|
|
2279
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).tbe = function ($this$dispatchAwait, store, completion) {
|
|
2280
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.sdx_1, completion);
|
|
2281
|
+
i.tdx_1 = $this$dispatchAwait;
|
|
2282
|
+
i.udx_1 = store;
|
|
2282
2283
|
return i;
|
|
2283
2284
|
};
|
|
2284
2285
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
2285
2286
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
2286
2287
|
var l = function ($this$dispatchAwait, store, $completion) {
|
|
2287
|
-
return i.
|
|
2288
|
+
return i.vdx($this$dispatchAwait, store, $completion);
|
|
2288
2289
|
};
|
|
2289
2290
|
l.$arity = 2;
|
|
2290
2291
|
return l;
|
|
2291
2292
|
}
|
|
2292
2293
|
function GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation) {
|
|
2293
|
-
this.
|
|
2294
|
-
this.
|
|
2294
|
+
this.edy_1 = $isCreated;
|
|
2295
|
+
this.fdy_1 = $state;
|
|
2295
2296
|
CoroutineImpl.call(this, resultContinuation);
|
|
2296
2297
|
}
|
|
2297
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2298
|
-
var tmp = this.
|
|
2298
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).sbe = function ($this$dispatchAsync, store, $completion) {
|
|
2299
|
+
var tmp = this.tbe($this$dispatchAsync, store, $completion);
|
|
2299
2300
|
tmp.t8_1 = Unit_instance;
|
|
2300
2301
|
tmp.u8_1 = null;
|
|
2301
2302
|
return tmp.z8();
|
|
2302
2303
|
};
|
|
2303
2304
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).i9 = function (p1, p2, $completion) {
|
|
2304
2305
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2305
|
-
return this.
|
|
2306
|
+
return this.sbe(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2306
2307
|
};
|
|
2307
2308
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).z8 = function () {
|
|
2308
2309
|
var suspendResult = this.t8_1;
|
|
@@ -2313,7 +2314,7 @@
|
|
|
2313
2314
|
case 0:
|
|
2314
2315
|
this.s8_1 = 3;
|
|
2315
2316
|
this.r8_1 = 1;
|
|
2316
|
-
suspendResult = this.
|
|
2317
|
+
suspendResult = this.edy_1.f1p(this);
|
|
2317
2318
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2318
2319
|
return suspendResult;
|
|
2319
2320
|
}
|
|
@@ -2321,10 +2322,10 @@
|
|
|
2321
2322
|
continue $sm;
|
|
2322
2323
|
case 1:
|
|
2323
2324
|
if (suspendResult) {
|
|
2324
|
-
var _iterator__ex2g4s = this.
|
|
2325
|
+
var _iterator__ex2g4s = this.fdy_1.actions.l();
|
|
2325
2326
|
while (_iterator__ex2g4s.m()) {
|
|
2326
2327
|
var element = _iterator__ex2g4s.n();
|
|
2327
|
-
this.
|
|
2328
|
+
this.hdy_1.dispatch(element);
|
|
2328
2329
|
}
|
|
2329
2330
|
this.r8_1 = 2;
|
|
2330
2331
|
continue $sm;
|
|
@@ -2349,35 +2350,35 @@
|
|
|
2349
2350
|
}
|
|
2350
2351
|
while (true);
|
|
2351
2352
|
};
|
|
2352
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2353
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
2354
|
-
i.
|
|
2355
|
-
i.
|
|
2353
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).tbe = function ($this$dispatchAsync, store, completion) {
|
|
2354
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.edy_1, this.fdy_1, completion);
|
|
2355
|
+
i.gdy_1 = $this$dispatchAsync;
|
|
2356
|
+
i.hdy_1 = store;
|
|
2356
2357
|
return i;
|
|
2357
2358
|
};
|
|
2358
2359
|
function GameServer$roomOnContinueFromState$slambda_2($isCreated, $state, resultContinuation) {
|
|
2359
2360
|
var i = new GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation);
|
|
2360
2361
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2361
|
-
return i.
|
|
2362
|
+
return i.sbe($this$dispatchAsync, store, $completion);
|
|
2362
2363
|
};
|
|
2363
2364
|
l.$arity = 2;
|
|
2364
2365
|
return l;
|
|
2365
2366
|
}
|
|
2366
2367
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
2367
|
-
this.
|
|
2368
|
-
this.
|
|
2369
|
-
this.
|
|
2368
|
+
this.qdy_1 = $tableLite;
|
|
2369
|
+
this.rdy_1 = $roomId;
|
|
2370
|
+
this.sdy_1 = this$0;
|
|
2370
2371
|
CoroutineImpl.call(this, resultContinuation);
|
|
2371
2372
|
}
|
|
2372
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2373
|
-
var tmp = this.
|
|
2373
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).sbe = function ($this$dispatchAsync, store, $completion) {
|
|
2374
|
+
var tmp = this.tbe($this$dispatchAsync, store, $completion);
|
|
2374
2375
|
tmp.t8_1 = Unit_instance;
|
|
2375
2376
|
tmp.u8_1 = null;
|
|
2376
2377
|
return tmp.z8();
|
|
2377
2378
|
};
|
|
2378
2379
|
protoOf(GameServer$roomOnContinueFromRound$slambda).i9 = function (p1, p2, $completion) {
|
|
2379
2380
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2380
|
-
return this.
|
|
2381
|
+
return this.sbe(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2381
2382
|
};
|
|
2382
2383
|
protoOf(GameServer$roomOnContinueFromRound$slambda).z8 = function () {
|
|
2383
2384
|
var suspendResult = this.t8_1;
|
|
@@ -2386,9 +2387,9 @@
|
|
|
2386
2387
|
var tmp = this.r8_1;
|
|
2387
2388
|
if (tmp === 0) {
|
|
2388
2389
|
this.s8_1 = 1;
|
|
2389
|
-
var tmp_0 = this.
|
|
2390
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
2391
|
-
var tmp1_table = Companion_instance_0.restartRound(this.
|
|
2390
|
+
var tmp_0 = this.udy_1.dispatch;
|
|
2391
|
+
var tmp0_reason = new RestartRoundReason(this.qdy_1.gameInfo.round.roundNumber);
|
|
2392
|
+
var tmp1_table = Companion_instance_0.restartRound(this.rdy_1, _get_idsProvider__fnfajc(this.sdy_1).y6l(), get_versionOrDefault(GameEngineConfig_instance), this.qdy_1);
|
|
2392
2393
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2393
2394
|
return Unit_instance;
|
|
2394
2395
|
} else if (tmp === 1) {
|
|
@@ -2400,16 +2401,16 @@
|
|
|
2400
2401
|
}
|
|
2401
2402
|
while (true);
|
|
2402
2403
|
};
|
|
2403
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2404
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
2405
|
-
i.
|
|
2406
|
-
i.
|
|
2404
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).tbe = function ($this$dispatchAsync, store, completion) {
|
|
2405
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.qdy_1, this.rdy_1, this.sdy_1, completion);
|
|
2406
|
+
i.tdy_1 = $this$dispatchAsync;
|
|
2407
|
+
i.udy_1 = store;
|
|
2407
2408
|
return i;
|
|
2408
2409
|
};
|
|
2409
2410
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
2410
2411
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
2411
2412
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2412
|
-
return i.
|
|
2413
|
+
return i.sbe($this$dispatchAsync, store, $completion);
|
|
2413
2414
|
};
|
|
2414
2415
|
l.$arity = 2;
|
|
2415
2416
|
return l;
|
|
@@ -2417,15 +2418,15 @@
|
|
|
2417
2418
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
2418
2419
|
CoroutineImpl.call(this, resultContinuation);
|
|
2419
2420
|
}
|
|
2420
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2421
|
-
var tmp = this.
|
|
2421
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).sbe = function ($this$dispatchAsync, store, $completion) {
|
|
2422
|
+
var tmp = this.tbe($this$dispatchAsync, store, $completion);
|
|
2422
2423
|
tmp.t8_1 = Unit_instance;
|
|
2423
2424
|
tmp.u8_1 = null;
|
|
2424
2425
|
return tmp.z8();
|
|
2425
2426
|
};
|
|
2426
2427
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).i9 = function (p1, p2, $completion) {
|
|
2427
2428
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2428
|
-
return this.
|
|
2429
|
+
return this.sbe(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2429
2430
|
};
|
|
2430
2431
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).z8 = function () {
|
|
2431
2432
|
var suspendResult = this.t8_1;
|
|
@@ -2434,7 +2435,7 @@
|
|
|
2434
2435
|
var tmp = this.r8_1;
|
|
2435
2436
|
if (tmp === 0) {
|
|
2436
2437
|
this.s8_1 = 1;
|
|
2437
|
-
this.
|
|
2438
|
+
this.edz_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
2438
2439
|
return Unit_instance;
|
|
2439
2440
|
} else if (tmp === 1) {
|
|
2440
2441
|
throw this.u8_1;
|
|
@@ -2445,33 +2446,33 @@
|
|
|
2445
2446
|
}
|
|
2446
2447
|
while (true);
|
|
2447
2448
|
};
|
|
2448
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2449
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).tbe = function ($this$dispatchAsync, store, completion) {
|
|
2449
2450
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
2450
|
-
i.
|
|
2451
|
-
i.
|
|
2451
|
+
i.ddz_1 = $this$dispatchAsync;
|
|
2452
|
+
i.edz_1 = store;
|
|
2452
2453
|
return i;
|
|
2453
2454
|
};
|
|
2454
2455
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
2455
2456
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
2456
2457
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2457
|
-
return i.
|
|
2458
|
+
return i.sbe($this$dispatchAsync, store, $completion);
|
|
2458
2459
|
};
|
|
2459
2460
|
l.$arity = 2;
|
|
2460
2461
|
return l;
|
|
2461
2462
|
}
|
|
2462
2463
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
2463
|
-
this.
|
|
2464
|
+
this.ndz_1 = $spectators;
|
|
2464
2465
|
CoroutineImpl.call(this, resultContinuation);
|
|
2465
2466
|
}
|
|
2466
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2467
|
-
var tmp = this.
|
|
2467
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).sbe = function ($this$dispatchAsync, store, $completion) {
|
|
2468
|
+
var tmp = this.tbe($this$dispatchAsync, store, $completion);
|
|
2468
2469
|
tmp.t8_1 = Unit_instance;
|
|
2469
2470
|
tmp.u8_1 = null;
|
|
2470
2471
|
return tmp.z8();
|
|
2471
2472
|
};
|
|
2472
2473
|
protoOf(GameServer$addSpectatorsToRoom$slambda).i9 = function (p1, p2, $completion) {
|
|
2473
2474
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2474
|
-
return this.
|
|
2475
|
+
return this.sbe(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2475
2476
|
};
|
|
2476
2477
|
protoOf(GameServer$addSpectatorsToRoom$slambda).z8 = function () {
|
|
2477
2478
|
var suspendResult = this.t8_1;
|
|
@@ -2480,7 +2481,7 @@
|
|
|
2480
2481
|
var tmp = this.r8_1;
|
|
2481
2482
|
if (tmp === 0) {
|
|
2482
2483
|
this.s8_1 = 1;
|
|
2483
|
-
this.
|
|
2484
|
+
this.pdz_1.dispatch(new AddSpectatorsAction(toList(this.ndz_1)));
|
|
2484
2485
|
return Unit_instance;
|
|
2485
2486
|
} else if (tmp === 1) {
|
|
2486
2487
|
throw this.u8_1;
|
|
@@ -2491,33 +2492,33 @@
|
|
|
2491
2492
|
}
|
|
2492
2493
|
while (true);
|
|
2493
2494
|
};
|
|
2494
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2495
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
2496
|
-
i.
|
|
2497
|
-
i.
|
|
2495
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).tbe = function ($this$dispatchAsync, store, completion) {
|
|
2496
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.ndz_1, completion);
|
|
2497
|
+
i.odz_1 = $this$dispatchAsync;
|
|
2498
|
+
i.pdz_1 = store;
|
|
2498
2499
|
return i;
|
|
2499
2500
|
};
|
|
2500
2501
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
2501
2502
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
2502
2503
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2503
|
-
return i.
|
|
2504
|
+
return i.sbe($this$dispatchAsync, store, $completion);
|
|
2504
2505
|
};
|
|
2505
2506
|
l.$arity = 2;
|
|
2506
2507
|
return l;
|
|
2507
2508
|
}
|
|
2508
2509
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
2509
|
-
this.
|
|
2510
|
+
this.ydz_1 = $spectators;
|
|
2510
2511
|
CoroutineImpl.call(this, resultContinuation);
|
|
2511
2512
|
}
|
|
2512
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2513
|
-
var tmp = this.
|
|
2513
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).sbe = function ($this$dispatchAsync, store, $completion) {
|
|
2514
|
+
var tmp = this.tbe($this$dispatchAsync, store, $completion);
|
|
2514
2515
|
tmp.t8_1 = Unit_instance;
|
|
2515
2516
|
tmp.u8_1 = null;
|
|
2516
2517
|
return tmp.z8();
|
|
2517
2518
|
};
|
|
2518
2519
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).i9 = function (p1, p2, $completion) {
|
|
2519
2520
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2520
|
-
return this.
|
|
2521
|
+
return this.sbe(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2521
2522
|
};
|
|
2522
2523
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).z8 = function () {
|
|
2523
2524
|
var suspendResult = this.t8_1;
|
|
@@ -2526,7 +2527,7 @@
|
|
|
2526
2527
|
var tmp = this.r8_1;
|
|
2527
2528
|
if (tmp === 0) {
|
|
2528
2529
|
this.s8_1 = 1;
|
|
2529
|
-
this.
|
|
2530
|
+
this.ae0_1.dispatch(new RemoveSpectatorsAction(toList(this.ydz_1)));
|
|
2530
2531
|
return Unit_instance;
|
|
2531
2532
|
} else if (tmp === 1) {
|
|
2532
2533
|
throw this.u8_1;
|
|
@@ -2537,34 +2538,34 @@
|
|
|
2537
2538
|
}
|
|
2538
2539
|
while (true);
|
|
2539
2540
|
};
|
|
2540
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2541
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
2542
|
-
i.
|
|
2543
|
-
i.
|
|
2541
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).tbe = function ($this$dispatchAsync, store, completion) {
|
|
2542
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.ydz_1, completion);
|
|
2543
|
+
i.zdz_1 = $this$dispatchAsync;
|
|
2544
|
+
i.ae0_1 = store;
|
|
2544
2545
|
return i;
|
|
2545
2546
|
};
|
|
2546
2547
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
2547
2548
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
2548
2549
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2549
|
-
return i.
|
|
2550
|
+
return i.sbe($this$dispatchAsync, store, $completion);
|
|
2550
2551
|
};
|
|
2551
2552
|
l.$arity = 2;
|
|
2552
2553
|
return l;
|
|
2553
2554
|
}
|
|
2554
2555
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
2555
|
-
this.
|
|
2556
|
-
this.
|
|
2556
|
+
this.je0_1 = $playerId;
|
|
2557
|
+
this.ke0_1 = this$0;
|
|
2557
2558
|
CoroutineImpl.call(this, resultContinuation);
|
|
2558
2559
|
}
|
|
2559
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2560
|
-
var tmp = this.
|
|
2560
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).sbe = function ($this$dispatchAsync, store, $completion) {
|
|
2561
|
+
var tmp = this.tbe($this$dispatchAsync, store, $completion);
|
|
2561
2562
|
tmp.t8_1 = Unit_instance;
|
|
2562
2563
|
tmp.u8_1 = null;
|
|
2563
2564
|
return tmp.z8();
|
|
2564
2565
|
};
|
|
2565
2566
|
protoOf(GameServer$roomRefreshPlayerState$slambda).i9 = function (p1, p2, $completion) {
|
|
2566
2567
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2567
|
-
return this.
|
|
2568
|
+
return this.sbe(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2568
2569
|
};
|
|
2569
2570
|
protoOf(GameServer$roomRefreshPlayerState$slambda).z8 = function () {
|
|
2570
2571
|
var suspendResult = this.t8_1;
|
|
@@ -2573,14 +2574,14 @@
|
|
|
2573
2574
|
var tmp = this.r8_1;
|
|
2574
2575
|
if (tmp === 0) {
|
|
2575
2576
|
this.s8_1 = 1;
|
|
2576
|
-
var table = this.
|
|
2577
|
-
var player = getPlayer(table.players, this.
|
|
2578
|
-
if (player.
|
|
2579
|
-
this.
|
|
2577
|
+
var table = this.me0_1.state.z6w();
|
|
2578
|
+
var player = getPlayer(table.players, this.je0_1);
|
|
2579
|
+
if (player.a70_1.j6g().a6f_1.isLive) {
|
|
2580
|
+
this.me0_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.ke0_1).m9a(player, table));
|
|
2580
2581
|
} else {
|
|
2581
|
-
var tmp_0 = this.
|
|
2582
|
+
var tmp_0 = this.me0_1.dispatch;
|
|
2582
2583
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2583
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2584
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.je0_1));
|
|
2584
2585
|
}
|
|
2585
2586
|
return Unit_instance;
|
|
2586
2587
|
} else if (tmp === 1) {
|
|
@@ -2592,34 +2593,34 @@
|
|
|
2592
2593
|
}
|
|
2593
2594
|
while (true);
|
|
2594
2595
|
};
|
|
2595
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2596
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
2597
|
-
i.
|
|
2598
|
-
i.
|
|
2596
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).tbe = function ($this$dispatchAsync, store, completion) {
|
|
2597
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.je0_1, this.ke0_1, completion);
|
|
2598
|
+
i.le0_1 = $this$dispatchAsync;
|
|
2599
|
+
i.me0_1 = store;
|
|
2599
2600
|
return i;
|
|
2600
2601
|
};
|
|
2601
2602
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
2602
2603
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
2603
2604
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2604
|
-
return i.
|
|
2605
|
+
return i.sbe($this$dispatchAsync, store, $completion);
|
|
2605
2606
|
};
|
|
2606
2607
|
l.$arity = 2;
|
|
2607
2608
|
return l;
|
|
2608
2609
|
}
|
|
2609
2610
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
2610
|
-
this.
|
|
2611
|
-
this.
|
|
2611
|
+
this.ve0_1 = this$0;
|
|
2612
|
+
this.we0_1 = $newRid;
|
|
2612
2613
|
CoroutineImpl.call(this, resultContinuation);
|
|
2613
2614
|
}
|
|
2614
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2615
|
-
var tmp = this.
|
|
2615
|
+
protoOf(GameServer$roomOnDelete$slambda).sbe = function ($this$dispatchAsync, store, $completion) {
|
|
2616
|
+
var tmp = this.tbe($this$dispatchAsync, store, $completion);
|
|
2616
2617
|
tmp.t8_1 = Unit_instance;
|
|
2617
2618
|
tmp.u8_1 = null;
|
|
2618
2619
|
return tmp.z8();
|
|
2619
2620
|
};
|
|
2620
2621
|
protoOf(GameServer$roomOnDelete$slambda).i9 = function (p1, p2, $completion) {
|
|
2621
2622
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2622
|
-
return this.
|
|
2623
|
+
return this.sbe(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2623
2624
|
};
|
|
2624
2625
|
protoOf(GameServer$roomOnDelete$slambda).z8 = function () {
|
|
2625
2626
|
var suspendResult = this.t8_1;
|
|
@@ -2628,27 +2629,27 @@
|
|
|
2628
2629
|
var tmp = this.r8_1;
|
|
2629
2630
|
if (tmp === 0) {
|
|
2630
2631
|
this.s8_1 = 1;
|
|
2631
|
-
var it = this.
|
|
2632
|
+
var it = this.ve0_1.i6e().z6v_1;
|
|
2632
2633
|
var tmp_0;
|
|
2633
2634
|
if (it == null) {
|
|
2634
|
-
this.
|
|
2635
|
+
this.ve0_1.b55().w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
2635
2636
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
2636
2637
|
} else {
|
|
2637
2638
|
tmp_0 = it;
|
|
2638
2639
|
}
|
|
2639
2640
|
var terminationState = tmp_0;
|
|
2640
|
-
var gameTransition = terminationState.
|
|
2641
|
+
var gameTransition = terminationState.e8f_1;
|
|
2641
2642
|
var tmp_1;
|
|
2642
2643
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
2643
|
-
var tmp0_elvis_lhs = this.
|
|
2644
|
+
var tmp0_elvis_lhs = this.we0_1;
|
|
2644
2645
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
2645
2646
|
} else {
|
|
2646
2647
|
tmp_1 = gameTransition;
|
|
2647
2648
|
}
|
|
2648
2649
|
var transition = tmp_1;
|
|
2649
|
-
var tmp_2 = this.
|
|
2650
|
-
var tmp0_reason = terminationState.
|
|
2651
|
-
var tmp1_isGameFinished = this.
|
|
2650
|
+
var tmp_2 = this.ye0_1.dispatch;
|
|
2651
|
+
var tmp0_reason = terminationState.d8f_1;
|
|
2652
|
+
var tmp1_isGameFinished = this.ve0_1.i6e().z6w().isGameFinished;
|
|
2652
2653
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
2653
2654
|
return Unit_instance;
|
|
2654
2655
|
} else if (tmp === 1) {
|
|
@@ -2660,33 +2661,33 @@
|
|
|
2660
2661
|
}
|
|
2661
2662
|
while (true);
|
|
2662
2663
|
};
|
|
2663
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2664
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
2665
|
-
i.
|
|
2666
|
-
i.
|
|
2664
|
+
protoOf(GameServer$roomOnDelete$slambda).tbe = function ($this$dispatchAsync, store, completion) {
|
|
2665
|
+
var i = new GameServer$roomOnDelete$slambda(this.ve0_1, this.we0_1, completion);
|
|
2666
|
+
i.xe0_1 = $this$dispatchAsync;
|
|
2667
|
+
i.ye0_1 = store;
|
|
2667
2668
|
return i;
|
|
2668
2669
|
};
|
|
2669
2670
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
2670
2671
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
2671
2672
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2672
|
-
return i.
|
|
2673
|
+
return i.sbe($this$dispatchAsync, store, $completion);
|
|
2673
2674
|
};
|
|
2674
2675
|
l.$arity = 2;
|
|
2675
2676
|
return l;
|
|
2676
2677
|
}
|
|
2677
2678
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
2678
|
-
this.
|
|
2679
|
+
this.he1_1 = $enabled;
|
|
2679
2680
|
CoroutineImpl.call(this, resultContinuation);
|
|
2680
2681
|
}
|
|
2681
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2682
|
-
var tmp = this.
|
|
2682
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).sbe = function ($this$dispatchAsync, store, $completion) {
|
|
2683
|
+
var tmp = this.tbe($this$dispatchAsync, store, $completion);
|
|
2683
2684
|
tmp.t8_1 = Unit_instance;
|
|
2684
2685
|
tmp.u8_1 = null;
|
|
2685
2686
|
return tmp.z8();
|
|
2686
2687
|
};
|
|
2687
2688
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).i9 = function (p1, p2, $completion) {
|
|
2688
2689
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2689
|
-
return this.
|
|
2690
|
+
return this.sbe(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2690
2691
|
};
|
|
2691
2692
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).z8 = function () {
|
|
2692
2693
|
var suspendResult = this.t8_1;
|
|
@@ -2695,7 +2696,7 @@
|
|
|
2695
2696
|
var tmp = this.r8_1;
|
|
2696
2697
|
if (tmp === 0) {
|
|
2697
2698
|
this.s8_1 = 1;
|
|
2698
|
-
this.
|
|
2699
|
+
this.je1_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload(this.je1_1.state).config.copy(VOID, this.he1_1)));
|
|
2699
2700
|
return Unit_instance;
|
|
2700
2701
|
} else if (tmp === 1) {
|
|
2701
2702
|
throw this.u8_1;
|
|
@@ -2706,35 +2707,35 @@
|
|
|
2706
2707
|
}
|
|
2707
2708
|
while (true);
|
|
2708
2709
|
};
|
|
2709
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2710
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
2711
|
-
i.
|
|
2712
|
-
i.
|
|
2710
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).tbe = function ($this$dispatchAsync, store, completion) {
|
|
2711
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.he1_1, completion);
|
|
2712
|
+
i.ie1_1 = $this$dispatchAsync;
|
|
2713
|
+
i.je1_1 = store;
|
|
2713
2714
|
return i;
|
|
2714
2715
|
};
|
|
2715
2716
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
2716
2717
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
2717
2718
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2718
|
-
return i.
|
|
2719
|
+
return i.sbe($this$dispatchAsync, store, $completion);
|
|
2719
2720
|
};
|
|
2720
2721
|
l.$arity = 2;
|
|
2721
2722
|
return l;
|
|
2722
2723
|
}
|
|
2723
2724
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
2724
|
-
this.
|
|
2725
|
-
this.
|
|
2726
|
-
this.
|
|
2725
|
+
this.se1_1 = $reason;
|
|
2726
|
+
this.te1_1 = this$0;
|
|
2727
|
+
this.ue1_1 = $roomId;
|
|
2727
2728
|
CoroutineImpl.call(this, resultContinuation);
|
|
2728
2729
|
}
|
|
2729
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2730
|
-
var tmp = this.
|
|
2730
|
+
protoOf(GameServer$shutdown$slambda).sbe = function ($this$dispatchAsync, store, $completion) {
|
|
2731
|
+
var tmp = this.tbe($this$dispatchAsync, store, $completion);
|
|
2731
2732
|
tmp.t8_1 = Unit_instance;
|
|
2732
2733
|
tmp.u8_1 = null;
|
|
2733
2734
|
return tmp.z8();
|
|
2734
2735
|
};
|
|
2735
2736
|
protoOf(GameServer$shutdown$slambda).i9 = function (p1, p2, $completion) {
|
|
2736
2737
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2737
|
-
return this.
|
|
2738
|
+
return this.sbe(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2738
2739
|
};
|
|
2739
2740
|
protoOf(GameServer$shutdown$slambda).z8 = function () {
|
|
2740
2741
|
var suspendResult = this.t8_1;
|
|
@@ -2743,11 +2744,11 @@
|
|
|
2743
2744
|
var tmp = this.r8_1;
|
|
2744
2745
|
if (tmp === 0) {
|
|
2745
2746
|
this.s8_1 = 1;
|
|
2746
|
-
var state = this.
|
|
2747
|
-
if (state.
|
|
2748
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
2747
|
+
var state = this.we1_1.store.state;
|
|
2748
|
+
if (state.a6x()) {
|
|
2749
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.se1_1, get_serverShutdownReasonMapping());
|
|
2749
2750
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
2750
|
-
var tmp_0 = this.
|
|
2751
|
+
var tmp_0 = this.we1_1.dispatch;
|
|
2751
2752
|
var tmp_1 = Companion_instance;
|
|
2752
2753
|
var tmp_2;
|
|
2753
2754
|
switch (shutdownReason.p2_1) {
|
|
@@ -2761,12 +2762,12 @@
|
|
|
2761
2762
|
noWhenBranchMatchedException();
|
|
2762
2763
|
break;
|
|
2763
2764
|
}
|
|
2764
|
-
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.
|
|
2765
|
+
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.te1_1.table.isGameFinished, this.te1_1.table));
|
|
2765
2766
|
} else {
|
|
2766
|
-
this.
|
|
2767
|
-
var tmp_3 = this.
|
|
2768
|
-
var tmp2_safe_receiver = state.
|
|
2769
|
-
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
2767
|
+
this.te1_1.b55().w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.ue1_1);
|
|
2768
|
+
var tmp_3 = this.we1_1.dispatch;
|
|
2769
|
+
var tmp2_safe_receiver = state.z6v_1;
|
|
2770
|
+
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.e8f_1));
|
|
2770
2771
|
}
|
|
2771
2772
|
return Unit_instance;
|
|
2772
2773
|
} else if (tmp === 1) {
|
|
@@ -2778,22 +2779,22 @@
|
|
|
2778
2779
|
}
|
|
2779
2780
|
while (true);
|
|
2780
2781
|
};
|
|
2781
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2782
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
2783
|
-
i.
|
|
2784
|
-
i.
|
|
2782
|
+
protoOf(GameServer$shutdown$slambda).tbe = function ($this$dispatchAsync, store, completion) {
|
|
2783
|
+
var i = new GameServer$shutdown$slambda(this.se1_1, this.te1_1, this.ue1_1, completion);
|
|
2784
|
+
i.ve1_1 = $this$dispatchAsync;
|
|
2785
|
+
i.we1_1 = store;
|
|
2785
2786
|
return i;
|
|
2786
2787
|
};
|
|
2787
2788
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
2788
2789
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
2789
2790
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2790
|
-
return i.
|
|
2791
|
+
return i.sbe($this$dispatchAsync, store, $completion);
|
|
2791
2792
|
};
|
|
2792
2793
|
l.$arity = 2;
|
|
2793
2794
|
return l;
|
|
2794
2795
|
}
|
|
2795
2796
|
function GameServer(di, tag, storeContract, preloadedState, externalReducers, externalMiddlewares) {
|
|
2796
|
-
preloadedState = preloadedState === VOID ? new AppState(VOID,
|
|
2797
|
+
preloadedState = preloadedState === VOID ? new AppState(VOID, Companion_instance_14.initial()) : preloadedState;
|
|
2797
2798
|
var tmp;
|
|
2798
2799
|
if (externalReducers === VOID) {
|
|
2799
2800
|
// Inline function 'kotlin.collections.listOf' call
|
|
@@ -2818,7 +2819,7 @@
|
|
|
2818
2819
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
2819
2820
|
var tmp_3 = Instance(di, tmp$ret$2, null);
|
|
2820
2821
|
var tmp_4 = KProperty1;
|
|
2821
|
-
tmp_1.
|
|
2822
|
+
tmp_1.fds_1 = tmp_3.c1h(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_4, GameServer$_get_toClientEventsObserver_$ref_utir8s(), null));
|
|
2822
2823
|
var tmp_5 = this;
|
|
2823
2824
|
// Inline function 'org.kodein.di.instance' call
|
|
2824
2825
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2826,7 +2827,7 @@
|
|
|
2826
2827
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2827
2828
|
var tmp_7 = Instance(di, tmp$ret$4, null);
|
|
2828
2829
|
var tmp_8 = KProperty1;
|
|
2829
|
-
tmp_5.
|
|
2830
|
+
tmp_5.gds_1 = tmp_7.c1h(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_8, GameServer$_get_fromClientEventsObserver_$ref_nf1g79(), null));
|
|
2830
2831
|
var tmp_9 = this;
|
|
2831
2832
|
// Inline function 'org.kodein.di.instance' call
|
|
2832
2833
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2834,7 +2835,7 @@
|
|
|
2834
2835
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
2835
2836
|
var tmp_11 = Instance(di, tmp$ret$6, null);
|
|
2836
2837
|
var tmp_12 = KProperty1;
|
|
2837
|
-
tmp_9.
|
|
2838
|
+
tmp_9.hds_1 = tmp_11.c1h(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_12, GameServer$_get_playerConnectionInteractor_$ref_of8tan(), null));
|
|
2838
2839
|
var tmp_13 = this;
|
|
2839
2840
|
// Inline function 'org.kodein.di.instance' call
|
|
2840
2841
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2842,9 +2843,9 @@
|
|
|
2842
2843
|
var tmp$ret$8 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
2843
2844
|
var tmp_15 = Instance(di, tmp$ret$8, null);
|
|
2844
2845
|
var tmp_16 = KProperty1;
|
|
2845
|
-
tmp_13.
|
|
2846
|
+
tmp_13.ids_1 = tmp_15.c1h(this, getPropertyCallableRef('teamsLogicProvider', 1, tmp_16, GameServer$_get_teamsLogicProvider_$ref_b7y54g(), null));
|
|
2846
2847
|
var tmp_17 = this;
|
|
2847
|
-
tmp_17.
|
|
2848
|
+
tmp_17.jds_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
2848
2849
|
var tmp_18 = this;
|
|
2849
2850
|
// Inline function 'org.kodein.di.instance' call
|
|
2850
2851
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2852,7 +2853,7 @@
|
|
|
2852
2853
|
var tmp$ret$10 = isInterface(tmp_19, TypeToken) ? tmp_19 : THROW_CCE();
|
|
2853
2854
|
var tmp_20 = Instance(di, tmp$ret$10, null);
|
|
2854
2855
|
var tmp_21 = KProperty1;
|
|
2855
|
-
tmp_18.
|
|
2856
|
+
tmp_18.kds_1 = tmp_20.c1h(this, getPropertyCallableRef('idsProvider', 1, tmp_21, GameServer$_get_idsProvider_$ref_89s908(), null));
|
|
2856
2857
|
var tmp_22 = this;
|
|
2857
2858
|
// Inline function 'org.kodein.di.instance' call
|
|
2858
2859
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2860,7 +2861,7 @@
|
|
|
2860
2861
|
var tmp$ret$12 = isInterface(tmp_23, TypeToken) ? tmp_23 : THROW_CCE();
|
|
2861
2862
|
var tmp_24 = Instance(di, tmp$ret$12, null);
|
|
2862
2863
|
var tmp_25 = KProperty1;
|
|
2863
|
-
tmp_22.
|
|
2864
|
+
tmp_22.lds_1 = tmp_24.c1h(this, getPropertyCallableRef('serverReduxConfig', 1, tmp_25, GameServer$_get_serverReduxConfig_$ref_7h6jq6(), null));
|
|
2864
2865
|
var tmp_26 = this;
|
|
2865
2866
|
// Inline function 'org.kodein.di.instance' call
|
|
2866
2867
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2868,101 +2869,101 @@
|
|
|
2868
2869
|
var tmp$ret$14 = isInterface(tmp_27, TypeToken) ? tmp_27 : THROW_CCE();
|
|
2869
2870
|
var tmp_28 = Instance(di, tmp$ret$14, null);
|
|
2870
2871
|
var tmp_29 = KProperty1;
|
|
2871
|
-
tmp_26.
|
|
2872
|
+
tmp_26.mds_1 = tmp_28.c1h(this, getPropertyCallableRef('encoderDecoderProvider', 1, tmp_29, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8(), null));
|
|
2872
2873
|
var tmp_30 = this;
|
|
2873
|
-
var tmp0_externalMiddlewares = plus(storeContract.
|
|
2874
|
-
var tmp1_externalReducers = plus(storeContract.
|
|
2875
|
-
tmp_30.
|
|
2876
|
-
this.
|
|
2874
|
+
var tmp0_externalMiddlewares = plus(storeContract.m9g(), externalMiddlewares);
|
|
2875
|
+
var tmp1_externalReducers = plus(storeContract.l9g(), externalReducers);
|
|
2876
|
+
tmp_30.nds_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
2877
|
+
this.ods_1 = new Object();
|
|
2877
2878
|
}
|
|
2878
|
-
protoOf(GameServer).
|
|
2879
|
-
return this.
|
|
2879
|
+
protoOf(GameServer).o6v = function () {
|
|
2880
|
+
return this.nds_1;
|
|
2880
2881
|
};
|
|
2881
|
-
protoOf(GameServer).
|
|
2882
|
-
this.
|
|
2882
|
+
protoOf(GameServer).xe1 = function (_set____db54di) {
|
|
2883
|
+
this.ods_1 = _set____db54di;
|
|
2883
2884
|
};
|
|
2884
|
-
protoOf(GameServer).
|
|
2885
|
-
return this.
|
|
2885
|
+
protoOf(GameServer).t8y = function () {
|
|
2886
|
+
return this.ods_1;
|
|
2886
2887
|
};
|
|
2887
|
-
protoOf(GameServer).
|
|
2888
|
-
return this.
|
|
2888
|
+
protoOf(GameServer).t5i = function () {
|
|
2889
|
+
return this.i6e().z6w().id;
|
|
2889
2890
|
};
|
|
2890
|
-
protoOf(GameServer).
|
|
2891
|
-
return this.
|
|
2891
|
+
protoOf(GameServer).z6w = function () {
|
|
2892
|
+
return this.i6e().z6w();
|
|
2892
2893
|
};
|
|
2893
|
-
protoOf(GameServer).
|
|
2894
|
-
return this.
|
|
2894
|
+
protoOf(GameServer).a6x = function () {
|
|
2895
|
+
return this.i6e().a6x();
|
|
2895
2896
|
};
|
|
2896
|
-
protoOf(GameServer).
|
|
2897
|
-
return this.
|
|
2897
|
+
protoOf(GameServer).b6x = function () {
|
|
2898
|
+
return this.i6e().gameLifecycleState;
|
|
2898
2899
|
};
|
|
2899
2900
|
protoOf(GameServer).subscribeToClientAction = function (subscriber) {
|
|
2900
|
-
var tmp = this.
|
|
2901
|
-
tmp.
|
|
2901
|
+
var tmp = this.l6v();
|
|
2902
|
+
tmp.d6k(VOID, GameServer$subscribeToClientAction$slambda_0(this, subscriber, null));
|
|
2902
2903
|
};
|
|
2903
2904
|
protoOf(GameServer).subscribeServerStateUpdate = function (subscriber) {
|
|
2904
|
-
var tmp = this.
|
|
2905
|
-
tmp.
|
|
2905
|
+
var tmp = this.l6v();
|
|
2906
|
+
tmp.d6k(VOID, GameServer$subscribeServerStateUpdate$slambda_0(this, subscriber, null));
|
|
2906
2907
|
};
|
|
2907
2908
|
protoOf(GameServer).subscribeServerStateUpdateJson = function (subscriber) {
|
|
2908
|
-
var tmp = this.
|
|
2909
|
-
tmp.
|
|
2909
|
+
var tmp = this.l6v();
|
|
2910
|
+
tmp.d6k(VOID, GameServer$subscribeServerStateUpdateJson$slambda_0(this, subscriber, null));
|
|
2910
2911
|
};
|
|
2911
2912
|
protoOf(GameServer).subscribeWith = function (subscriber) {
|
|
2912
|
-
var tmp = this.
|
|
2913
|
-
tmp.
|
|
2913
|
+
var tmp = this.l6v();
|
|
2914
|
+
tmp.d6k(VOID, GameServer$subscribeWith$slambda_0(this, subscriber, null));
|
|
2914
2915
|
};
|
|
2915
2916
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
2916
|
-
this.
|
|
2917
|
-
this.
|
|
2917
|
+
this.b55().d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
2918
|
+
this.nds_1.x6w(GameServer$fromClientEvent$slambda_0(action, null));
|
|
2918
2919
|
};
|
|
2919
2920
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
2920
|
-
this.
|
|
2921
|
-
this.
|
|
2921
|
+
this.b55().d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
2922
|
+
this.nds_1.x6w(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
2922
2923
|
};
|
|
2923
2924
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
2924
|
-
this.
|
|
2925
|
-
this.
|
|
2925
|
+
this.b55().d('GameEngine_API', 'playerLive: ' + playerId);
|
|
2926
|
+
this.nds_1.x6w(GameServer$playerLive$slambda_0(this, playerId, null));
|
|
2926
2927
|
};
|
|
2927
2928
|
protoOf(GameServer).playerLeft = function (playerId) {
|
|
2928
|
-
this.
|
|
2929
|
-
this.
|
|
2929
|
+
this.b55().d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
2930
|
+
this.nds_1.x6w(GameServer$playerLeft$slambda_0(this, playerId, null));
|
|
2930
2931
|
};
|
|
2931
|
-
protoOf(GameServer).
|
|
2932
|
-
this.
|
|
2933
|
-
this.
|
|
2932
|
+
protoOf(GameServer).ye1 = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
2933
|
+
this.b55().d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
2934
|
+
this.nds_1.x6w(GameServer$roomOnCreate$slambda_0(usersArray, config, this, roomId, transition, gameCreatorId, spectators, null));
|
|
2934
2935
|
};
|
|
2935
2936
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
2936
|
-
this.
|
|
2937
|
-
var isCreated = this.
|
|
2938
|
-
this.
|
|
2937
|
+
this.b55().d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
2938
|
+
var isCreated = this.nds_1.y6w(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
2939
|
+
this.nds_1.x6w(GameServer$roomOnContinueFromState$slambda_2(isCreated, state, null));
|
|
2939
2940
|
};
|
|
2940
2941
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
2941
|
-
this.
|
|
2942
|
-
this.
|
|
2943
|
-
this.
|
|
2942
|
+
this.b55().d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
2943
|
+
this.nds_1.x6w(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
2944
|
+
this.nds_1.x6w(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
2944
2945
|
};
|
|
2945
2946
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
2946
|
-
this.
|
|
2947
|
+
this.nds_1.x6w(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
2947
2948
|
};
|
|
2948
2949
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
2949
|
-
this.
|
|
2950
|
+
this.nds_1.x6w(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
2950
2951
|
};
|
|
2951
2952
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
2952
|
-
this.
|
|
2953
|
-
this.
|
|
2953
|
+
this.b55().d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
2954
|
+
this.nds_1.x6w(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
2954
2955
|
};
|
|
2955
|
-
protoOf(GameServer).
|
|
2956
|
-
this.
|
|
2957
|
-
this.
|
|
2956
|
+
protoOf(GameServer).ze1 = function (newRid) {
|
|
2957
|
+
this.b55().d('GameEngine_API', 'roomOnDelete: newRid = ' + newRid);
|
|
2958
|
+
this.nds_1.x6w(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
2958
2959
|
};
|
|
2959
2960
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
2960
|
-
this.
|
|
2961
|
-
this.
|
|
2961
|
+
this.b55().d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
2962
|
+
this.nds_1.x6w(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
2962
2963
|
};
|
|
2963
|
-
protoOf(GameServer).
|
|
2964
|
-
this.
|
|
2965
|
-
this.
|
|
2964
|
+
protoOf(GameServer).ae2 = function (reason, roomId) {
|
|
2965
|
+
this.b55().d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
2966
|
+
this.nds_1.x6w(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
2966
2967
|
};
|
|
2967
2968
|
protoOf(GameServer).clear = function () {
|
|
2968
2969
|
return this.h2();
|
|
@@ -3013,10 +3014,10 @@
|
|
|
3013
3014
|
this.fromRound = fromRound;
|
|
3014
3015
|
this.canStartNewGame = canStartNewGame;
|
|
3015
3016
|
}
|
|
3016
|
-
protoOf(ServerConfig).
|
|
3017
|
+
protoOf(ServerConfig).be2 = function () {
|
|
3017
3018
|
return this.fromRound;
|
|
3018
3019
|
};
|
|
3019
|
-
protoOf(ServerConfig).
|
|
3020
|
+
protoOf(ServerConfig).ce2 = function () {
|
|
3020
3021
|
return this.canStartNewGame;
|
|
3021
3022
|
};
|
|
3022
3023
|
protoOf(ServerConfig).ne = function () {
|
|
@@ -3025,13 +3026,13 @@
|
|
|
3025
3026
|
protoOf(ServerConfig).oe = function () {
|
|
3026
3027
|
return this.canStartNewGame;
|
|
3027
3028
|
};
|
|
3028
|
-
protoOf(ServerConfig).
|
|
3029
|
+
protoOf(ServerConfig).de2 = function (fromRound, canStartNewGame) {
|
|
3029
3030
|
return new ServerConfig(fromRound, canStartNewGame);
|
|
3030
3031
|
};
|
|
3031
3032
|
protoOf(ServerConfig).copy = function (fromRound, canStartNewGame, $super) {
|
|
3032
3033
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
3033
3034
|
canStartNewGame = canStartNewGame === VOID ? this.canStartNewGame : canStartNewGame;
|
|
3034
|
-
return $super === VOID ? this.
|
|
3035
|
+
return $super === VOID ? this.de2(fromRound, canStartNewGame) : $super.de2.call(this, fromRound, canStartNewGame);
|
|
3035
3036
|
};
|
|
3036
3037
|
protoOf(ServerConfig).toString = function () {
|
|
3037
3038
|
return 'ServerConfig(fromRound=' + this.fromRound + ', canStartNewGame=' + this.canStartNewGame + ')';
|
|
@@ -3054,7 +3055,7 @@
|
|
|
3054
3055
|
};
|
|
3055
3056
|
function Companion_1() {
|
|
3056
3057
|
}
|
|
3057
|
-
protoOf(Companion_1).
|
|
3058
|
+
protoOf(Companion_1).q4s = function () {
|
|
3058
3059
|
var tmp = getKClass(ServerStateUpdateDto);
|
|
3059
3060
|
// Inline function 'kotlin.arrayOf' call
|
|
3060
3061
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
@@ -3071,7 +3072,7 @@
|
|
|
3071
3072
|
return SealedClassSerializer_init_$Create$('games.jass.logic.server.data.models.serializable.ServerStateUpdateDto', tmp, tmp_0, tmp_1, tmp$ret$8);
|
|
3072
3073
|
};
|
|
3073
3074
|
protoOf(Companion_1).g10 = function (typeParamsSerializers) {
|
|
3074
|
-
return this.
|
|
3075
|
+
return this.q4s();
|
|
3075
3076
|
};
|
|
3076
3077
|
var Companion_instance_9;
|
|
3077
3078
|
function Companion_getInstance_2() {
|
|
@@ -3081,7 +3082,7 @@
|
|
|
3081
3082
|
}
|
|
3082
3083
|
function Companion_2() {
|
|
3083
3084
|
}
|
|
3084
|
-
protoOf(Companion_2).
|
|
3085
|
+
protoOf(Companion_2).q4s = function () {
|
|
3085
3086
|
return $serializer_getInstance();
|
|
3086
3087
|
};
|
|
3087
3088
|
var Companion_instance_10;
|
|
@@ -3093,20 +3094,20 @@
|
|
|
3093
3094
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 2);
|
|
3094
3095
|
tmp0_serialDesc.gz('roomId', false);
|
|
3095
3096
|
tmp0_serialDesc.gz('table', false);
|
|
3096
|
-
this.
|
|
3097
|
+
this.ee2_1 = tmp0_serialDesc;
|
|
3097
3098
|
}
|
|
3098
|
-
protoOf($serializer).
|
|
3099
|
-
var tmp0_desc = this.
|
|
3099
|
+
protoOf($serializer).fe2 = function (encoder, value) {
|
|
3100
|
+
var tmp0_desc = this.ee2_1;
|
|
3100
3101
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3101
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3102
|
+
tmp1_output.dt(tmp0_desc, 0, value.ge2_1);
|
|
3102
3103
|
tmp1_output.dt(tmp0_desc, 1, value.table);
|
|
3103
3104
|
tmp1_output.pr(tmp0_desc);
|
|
3104
3105
|
};
|
|
3105
3106
|
protoOf($serializer).co = function (encoder, value) {
|
|
3106
|
-
return this.
|
|
3107
|
+
return this.fe2(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3107
3108
|
};
|
|
3108
3109
|
protoOf($serializer).do = function (decoder) {
|
|
3109
|
-
var tmp0_desc = this.
|
|
3110
|
+
var tmp0_desc = this.ee2_1;
|
|
3110
3111
|
var tmp1_flag = true;
|
|
3111
3112
|
var tmp2_index = 0;
|
|
3112
3113
|
var tmp3_bitMask0 = 0;
|
|
@@ -3141,7 +3142,7 @@
|
|
|
3141
3142
|
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3142
3143
|
};
|
|
3143
3144
|
protoOf($serializer).bo = function () {
|
|
3144
|
-
return this.
|
|
3145
|
+
return this.ee2_1;
|
|
3145
3146
|
};
|
|
3146
3147
|
protoOf($serializer).vz = function () {
|
|
3147
3148
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3157,9 +3158,9 @@
|
|
|
3157
3158
|
}
|
|
3158
3159
|
function TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, $this) {
|
|
3159
3160
|
if (!(3 === (3 & seen0))) {
|
|
3160
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance().
|
|
3161
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance().ee2_1);
|
|
3161
3162
|
}
|
|
3162
|
-
$this.
|
|
3163
|
+
$this.ge2_1 = roomId;
|
|
3163
3164
|
$this.table = table;
|
|
3164
3165
|
return $this;
|
|
3165
3166
|
}
|
|
@@ -3167,34 +3168,34 @@
|
|
|
3167
3168
|
return TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, objectCreate(protoOf(TableStateUpdateDto)));
|
|
3168
3169
|
}
|
|
3169
3170
|
function TableStateUpdateDto(roomId, table) {
|
|
3170
|
-
this.
|
|
3171
|
+
this.ge2_1 = roomId;
|
|
3171
3172
|
this.table = table;
|
|
3172
3173
|
}
|
|
3173
|
-
protoOf(TableStateUpdateDto).
|
|
3174
|
-
return this.
|
|
3174
|
+
protoOf(TableStateUpdateDto).m8v = function () {
|
|
3175
|
+
return this.ge2_1;
|
|
3175
3176
|
};
|
|
3176
|
-
protoOf(TableStateUpdateDto).
|
|
3177
|
+
protoOf(TableStateUpdateDto).z6w = function () {
|
|
3177
3178
|
return this.table;
|
|
3178
3179
|
};
|
|
3179
3180
|
protoOf(TableStateUpdateDto).ne = function () {
|
|
3180
|
-
return this.
|
|
3181
|
+
return this.ge2_1;
|
|
3181
3182
|
};
|
|
3182
3183
|
protoOf(TableStateUpdateDto).oe = function () {
|
|
3183
3184
|
return this.table;
|
|
3184
3185
|
};
|
|
3185
|
-
protoOf(TableStateUpdateDto).
|
|
3186
|
+
protoOf(TableStateUpdateDto).z5i = function (roomId, table) {
|
|
3186
3187
|
return new TableStateUpdateDto(roomId, table);
|
|
3187
3188
|
};
|
|
3188
3189
|
protoOf(TableStateUpdateDto).copy = function (roomId, table, $super) {
|
|
3189
|
-
roomId = roomId === VOID ? this.
|
|
3190
|
+
roomId = roomId === VOID ? this.ge2_1 : roomId;
|
|
3190
3191
|
table = table === VOID ? this.table : table;
|
|
3191
|
-
return $super === VOID ? this.
|
|
3192
|
+
return $super === VOID ? this.z5i(roomId, table) : $super.z5i.call(this, roomId, table);
|
|
3192
3193
|
};
|
|
3193
3194
|
protoOf(TableStateUpdateDto).toString = function () {
|
|
3194
|
-
return 'TableStateUpdateDto(roomId=' + this.
|
|
3195
|
+
return 'TableStateUpdateDto(roomId=' + this.ge2_1 + ', table=' + this.table + ')';
|
|
3195
3196
|
};
|
|
3196
3197
|
protoOf(TableStateUpdateDto).hashCode = function () {
|
|
3197
|
-
var result = getStringHashCode(this.
|
|
3198
|
+
var result = getStringHashCode(this.ge2_1);
|
|
3198
3199
|
result = imul(result, 31) + getStringHashCode(this.table) | 0;
|
|
3199
3200
|
return result;
|
|
3200
3201
|
};
|
|
@@ -3203,7 +3204,7 @@
|
|
|
3203
3204
|
return true;
|
|
3204
3205
|
if (!(other instanceof TableStateUpdateDto))
|
|
3205
3206
|
return false;
|
|
3206
|
-
if (!(this.
|
|
3207
|
+
if (!(this.ge2_1 === other.ge2_1))
|
|
3207
3208
|
return false;
|
|
3208
3209
|
if (!(this.table === other.table))
|
|
3209
3210
|
return false;
|
|
@@ -3211,7 +3212,7 @@
|
|
|
3211
3212
|
};
|
|
3212
3213
|
function Companion_3() {
|
|
3213
3214
|
}
|
|
3214
|
-
protoOf(Companion_3).
|
|
3215
|
+
protoOf(Companion_3).q4s = function () {
|
|
3215
3216
|
return $serializer_getInstance_0();
|
|
3216
3217
|
};
|
|
3217
3218
|
var Companion_instance_11;
|
|
@@ -3223,20 +3224,20 @@
|
|
|
3223
3224
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 2);
|
|
3224
3225
|
tmp0_serialDesc.gz('roomId', false);
|
|
3225
3226
|
tmp0_serialDesc.gz('actions', false);
|
|
3226
|
-
this.
|
|
3227
|
+
this.he2_1 = tmp0_serialDesc;
|
|
3227
3228
|
}
|
|
3228
|
-
protoOf($serializer_0).
|
|
3229
|
-
var tmp0_desc = this.
|
|
3229
|
+
protoOf($serializer_0).ie2 = function (encoder, value) {
|
|
3230
|
+
var tmp0_desc = this.he2_1;
|
|
3230
3231
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3231
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3232
|
+
tmp1_output.dt(tmp0_desc, 0, value.je2_1);
|
|
3232
3233
|
tmp1_output.dt(tmp0_desc, 1, value.actions);
|
|
3233
3234
|
tmp1_output.pr(tmp0_desc);
|
|
3234
3235
|
};
|
|
3235
3236
|
protoOf($serializer_0).co = function (encoder, value) {
|
|
3236
|
-
return this.
|
|
3237
|
+
return this.ie2(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
|
|
3237
3238
|
};
|
|
3238
3239
|
protoOf($serializer_0).do = function (decoder) {
|
|
3239
|
-
var tmp0_desc = this.
|
|
3240
|
+
var tmp0_desc = this.he2_1;
|
|
3240
3241
|
var tmp1_flag = true;
|
|
3241
3242
|
var tmp2_index = 0;
|
|
3242
3243
|
var tmp3_bitMask0 = 0;
|
|
@@ -3271,7 +3272,7 @@
|
|
|
3271
3272
|
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3272
3273
|
};
|
|
3273
3274
|
protoOf($serializer_0).bo = function () {
|
|
3274
|
-
return this.
|
|
3275
|
+
return this.he2_1;
|
|
3275
3276
|
};
|
|
3276
3277
|
protoOf($serializer_0).vz = function () {
|
|
3277
3278
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3287,9 +3288,9 @@
|
|
|
3287
3288
|
}
|
|
3288
3289
|
function ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, $this) {
|
|
3289
3290
|
if (!(3 === (3 & seen0))) {
|
|
3290
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().
|
|
3291
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().he2_1);
|
|
3291
3292
|
}
|
|
3292
|
-
$this.
|
|
3293
|
+
$this.je2_1 = roomId;
|
|
3293
3294
|
$this.actions = actions;
|
|
3294
3295
|
return $this;
|
|
3295
3296
|
}
|
|
@@ -3297,34 +3298,34 @@
|
|
|
3297
3298
|
return ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, objectCreate(protoOf(ActionsStateUpdateDto)));
|
|
3298
3299
|
}
|
|
3299
3300
|
function ActionsStateUpdateDto(roomId, actions) {
|
|
3300
|
-
this.
|
|
3301
|
+
this.je2_1 = roomId;
|
|
3301
3302
|
this.actions = actions;
|
|
3302
3303
|
}
|
|
3303
|
-
protoOf(ActionsStateUpdateDto).
|
|
3304
|
-
return this.
|
|
3304
|
+
protoOf(ActionsStateUpdateDto).m8v = function () {
|
|
3305
|
+
return this.je2_1;
|
|
3305
3306
|
};
|
|
3306
|
-
protoOf(ActionsStateUpdateDto).
|
|
3307
|
+
protoOf(ActionsStateUpdateDto).z8v = function () {
|
|
3307
3308
|
return this.actions;
|
|
3308
3309
|
};
|
|
3309
3310
|
protoOf(ActionsStateUpdateDto).ne = function () {
|
|
3310
|
-
return this.
|
|
3311
|
+
return this.je2_1;
|
|
3311
3312
|
};
|
|
3312
3313
|
protoOf(ActionsStateUpdateDto).oe = function () {
|
|
3313
3314
|
return this.actions;
|
|
3314
3315
|
};
|
|
3315
|
-
protoOf(ActionsStateUpdateDto).
|
|
3316
|
+
protoOf(ActionsStateUpdateDto).z5i = function (roomId, actions) {
|
|
3316
3317
|
return new ActionsStateUpdateDto(roomId, actions);
|
|
3317
3318
|
};
|
|
3318
3319
|
protoOf(ActionsStateUpdateDto).copy = function (roomId, actions, $super) {
|
|
3319
|
-
roomId = roomId === VOID ? this.
|
|
3320
|
+
roomId = roomId === VOID ? this.je2_1 : roomId;
|
|
3320
3321
|
actions = actions === VOID ? this.actions : actions;
|
|
3321
|
-
return $super === VOID ? this.
|
|
3322
|
+
return $super === VOID ? this.z5i(roomId, actions) : $super.z5i.call(this, roomId, actions);
|
|
3322
3323
|
};
|
|
3323
3324
|
protoOf(ActionsStateUpdateDto).toString = function () {
|
|
3324
|
-
return 'ActionsStateUpdateDto(roomId=' + this.
|
|
3325
|
+
return 'ActionsStateUpdateDto(roomId=' + this.je2_1 + ', actions=' + this.actions + ')';
|
|
3325
3326
|
};
|
|
3326
3327
|
protoOf(ActionsStateUpdateDto).hashCode = function () {
|
|
3327
|
-
var result = getStringHashCode(this.
|
|
3328
|
+
var result = getStringHashCode(this.je2_1);
|
|
3328
3329
|
result = imul(result, 31) + getStringHashCode(this.actions) | 0;
|
|
3329
3330
|
return result;
|
|
3330
3331
|
};
|
|
@@ -3333,7 +3334,7 @@
|
|
|
3333
3334
|
return true;
|
|
3334
3335
|
if (!(other instanceof ActionsStateUpdateDto))
|
|
3335
3336
|
return false;
|
|
3336
|
-
if (!(this.
|
|
3337
|
+
if (!(this.je2_1 === other.je2_1))
|
|
3337
3338
|
return false;
|
|
3338
3339
|
if (!(this.actions === other.actions))
|
|
3339
3340
|
return false;
|
|
@@ -3363,42 +3364,42 @@
|
|
|
3363
3364
|
var tmp$ret$0 = mapToDto(item);
|
|
3364
3365
|
destination.j(tmp$ret$0);
|
|
3365
3366
|
}
|
|
3366
|
-
return new ActionsStateUpdateDto(_this__u8e3s4.
|
|
3367
|
+
return new ActionsStateUpdateDto(_this__u8e3s4.ke2_1, encoderDecoderProvider.t92(destination));
|
|
3367
3368
|
}
|
|
3368
3369
|
function mapToDto_3(_this__u8e3s4, encoderDecoderProvider) {
|
|
3369
|
-
return new TableStateUpdateDto(_this__u8e3s4.
|
|
3370
|
+
return new TableStateUpdateDto(_this__u8e3s4.le2_1, encoderDecoderProvider.r92(mapToDto_0(_this__u8e3s4.table)));
|
|
3370
3371
|
}
|
|
3371
3372
|
function ServerStateUpdate() {
|
|
3372
3373
|
}
|
|
3373
3374
|
function TableStateUpdate(roomId, table) {
|
|
3374
|
-
this.
|
|
3375
|
+
this.le2_1 = roomId;
|
|
3375
3376
|
this.table = table;
|
|
3376
3377
|
}
|
|
3377
|
-
protoOf(TableStateUpdate).
|
|
3378
|
-
return this.
|
|
3378
|
+
protoOf(TableStateUpdate).m8v = function () {
|
|
3379
|
+
return this.le2_1;
|
|
3379
3380
|
};
|
|
3380
|
-
protoOf(TableStateUpdate).
|
|
3381
|
+
protoOf(TableStateUpdate).z6w = function () {
|
|
3381
3382
|
return this.table;
|
|
3382
3383
|
};
|
|
3383
3384
|
protoOf(TableStateUpdate).ne = function () {
|
|
3384
|
-
return this.
|
|
3385
|
+
return this.le2_1;
|
|
3385
3386
|
};
|
|
3386
3387
|
protoOf(TableStateUpdate).oe = function () {
|
|
3387
3388
|
return this.table;
|
|
3388
3389
|
};
|
|
3389
|
-
protoOf(TableStateUpdate).
|
|
3390
|
+
protoOf(TableStateUpdate).me2 = function (roomId, table) {
|
|
3390
3391
|
return new TableStateUpdate(roomId, table);
|
|
3391
3392
|
};
|
|
3392
3393
|
protoOf(TableStateUpdate).copy = function (roomId, table, $super) {
|
|
3393
|
-
roomId = roomId === VOID ? this.
|
|
3394
|
+
roomId = roomId === VOID ? this.le2_1 : roomId;
|
|
3394
3395
|
table = table === VOID ? this.table : table;
|
|
3395
|
-
return $super === VOID ? this.
|
|
3396
|
+
return $super === VOID ? this.me2(roomId, table) : $super.me2.call(this, roomId, table);
|
|
3396
3397
|
};
|
|
3397
3398
|
protoOf(TableStateUpdate).toString = function () {
|
|
3398
|
-
return 'TableStateUpdate(roomId=' + this.
|
|
3399
|
+
return 'TableStateUpdate(roomId=' + this.le2_1 + ', table=' + this.table.toString() + ')';
|
|
3399
3400
|
};
|
|
3400
3401
|
protoOf(TableStateUpdate).hashCode = function () {
|
|
3401
|
-
var result = getStringHashCode(this.
|
|
3402
|
+
var result = getStringHashCode(this.le2_1);
|
|
3402
3403
|
result = imul(result, 31) + this.table.hashCode() | 0;
|
|
3403
3404
|
return result;
|
|
3404
3405
|
};
|
|
@@ -3407,41 +3408,41 @@
|
|
|
3407
3408
|
return true;
|
|
3408
3409
|
if (!(other instanceof TableStateUpdate))
|
|
3409
3410
|
return false;
|
|
3410
|
-
if (!(this.
|
|
3411
|
+
if (!(this.le2_1 === other.le2_1))
|
|
3411
3412
|
return false;
|
|
3412
3413
|
if (!this.table.equals(other.table))
|
|
3413
3414
|
return false;
|
|
3414
3415
|
return true;
|
|
3415
3416
|
};
|
|
3416
3417
|
function ActionsStateUpdate(roomId, actions) {
|
|
3417
|
-
this.
|
|
3418
|
+
this.ke2_1 = roomId;
|
|
3418
3419
|
this.actions = actions;
|
|
3419
3420
|
}
|
|
3420
|
-
protoOf(ActionsStateUpdate).
|
|
3421
|
-
return this.
|
|
3421
|
+
protoOf(ActionsStateUpdate).m8v = function () {
|
|
3422
|
+
return this.ke2_1;
|
|
3422
3423
|
};
|
|
3423
|
-
protoOf(ActionsStateUpdate).
|
|
3424
|
+
protoOf(ActionsStateUpdate).z8v = function () {
|
|
3424
3425
|
return this.actions;
|
|
3425
3426
|
};
|
|
3426
3427
|
protoOf(ActionsStateUpdate).ne = function () {
|
|
3427
|
-
return this.
|
|
3428
|
+
return this.ke2_1;
|
|
3428
3429
|
};
|
|
3429
3430
|
protoOf(ActionsStateUpdate).oe = function () {
|
|
3430
3431
|
return this.actions;
|
|
3431
3432
|
};
|
|
3432
|
-
protoOf(ActionsStateUpdate).
|
|
3433
|
+
protoOf(ActionsStateUpdate).ne2 = function (roomId, actions) {
|
|
3433
3434
|
return new ActionsStateUpdate(roomId, actions);
|
|
3434
3435
|
};
|
|
3435
3436
|
protoOf(ActionsStateUpdate).copy = function (roomId, actions, $super) {
|
|
3436
|
-
roomId = roomId === VOID ? this.
|
|
3437
|
+
roomId = roomId === VOID ? this.ke2_1 : roomId;
|
|
3437
3438
|
actions = actions === VOID ? this.actions : actions;
|
|
3438
|
-
return $super === VOID ? this.
|
|
3439
|
+
return $super === VOID ? this.ne2(roomId, actions) : $super.ne2.call(this, roomId, actions);
|
|
3439
3440
|
};
|
|
3440
3441
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
3441
|
-
return 'ActionsStateUpdate(roomId=' + this.
|
|
3442
|
+
return 'ActionsStateUpdate(roomId=' + this.ke2_1 + ', actions=' + toString(this.actions) + ')';
|
|
3442
3443
|
};
|
|
3443
3444
|
protoOf(ActionsStateUpdate).hashCode = function () {
|
|
3444
|
-
var result = getStringHashCode(this.
|
|
3445
|
+
var result = getStringHashCode(this.ke2_1);
|
|
3445
3446
|
result = imul(result, 31) + hashCode(this.actions) | 0;
|
|
3446
3447
|
return result;
|
|
3447
3448
|
};
|
|
@@ -3450,7 +3451,7 @@
|
|
|
3450
3451
|
return true;
|
|
3451
3452
|
if (!(other instanceof ActionsStateUpdate))
|
|
3452
3453
|
return false;
|
|
3453
|
-
if (!(this.
|
|
3454
|
+
if (!(this.ke2_1 === other.ke2_1))
|
|
3454
3455
|
return false;
|
|
3455
3456
|
if (!equals(this.actions, other.actions))
|
|
3456
3457
|
return false;
|
|
@@ -3684,18 +3685,18 @@
|
|
|
3684
3685
|
function ToClientEventsObserver() {
|
|
3685
3686
|
}
|
|
3686
3687
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
3687
|
-
this.
|
|
3688
|
-
this.
|
|
3688
|
+
this.xe2_1 = this$0;
|
|
3689
|
+
this.ye2_1 = $actions;
|
|
3689
3690
|
CoroutineImpl.call(this, resultContinuation);
|
|
3690
3691
|
}
|
|
3691
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3692
|
-
var tmp = this.
|
|
3692
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).be3 = function ($this$flow, $completion) {
|
|
3693
|
+
var tmp = this.ce3($this$flow, $completion);
|
|
3693
3694
|
tmp.t8_1 = Unit_instance;
|
|
3694
3695
|
tmp.u8_1 = null;
|
|
3695
3696
|
return tmp.z8();
|
|
3696
3697
|
};
|
|
3697
3698
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).h9 = function (p1, $completion) {
|
|
3698
|
-
return this.
|
|
3699
|
+
return this.be3((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
3699
3700
|
};
|
|
3700
3701
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).z8 = function () {
|
|
3701
3702
|
var suspendResult = this.t8_1;
|
|
@@ -3705,19 +3706,19 @@
|
|
|
3705
3706
|
switch (tmp) {
|
|
3706
3707
|
case 0:
|
|
3707
3708
|
this.s8_1 = 4;
|
|
3708
|
-
this.
|
|
3709
|
-
this.
|
|
3709
|
+
this.xe2_1.he3_1;
|
|
3710
|
+
this.ae3_1 = transformToEmits(this.xe2_1, this.ye2_1).l();
|
|
3710
3711
|
this.r8_1 = 1;
|
|
3711
3712
|
continue $sm;
|
|
3712
3713
|
case 1:
|
|
3713
|
-
if (!this.
|
|
3714
|
+
if (!this.ae3_1.m()) {
|
|
3714
3715
|
this.r8_1 = 3;
|
|
3715
3716
|
continue $sm;
|
|
3716
3717
|
}
|
|
3717
3718
|
|
|
3718
|
-
var element = this.
|
|
3719
|
+
var element = this.ae3_1.n();
|
|
3719
3720
|
this.r8_1 = 2;
|
|
3720
|
-
suspendResult = this.
|
|
3721
|
+
suspendResult = this.ze2_1.i24(element, this);
|
|
3721
3722
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3722
3723
|
return suspendResult;
|
|
3723
3724
|
}
|
|
@@ -3727,11 +3728,11 @@
|
|
|
3727
3728
|
this.r8_1 = 1;
|
|
3728
3729
|
continue $sm;
|
|
3729
3730
|
case 3:
|
|
3730
|
-
var tmp0 = this.
|
|
3731
|
+
var tmp0 = this.xe2_1.ge3_1;
|
|
3731
3732
|
l$ret$1: do {
|
|
3732
3733
|
while (true) {
|
|
3733
3734
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
3734
|
-
var upd = cur - this.
|
|
3735
|
+
var upd = cur - this.ye2_1.o() | 0;
|
|
3735
3736
|
if (tmp0.atomicfu$compareAndSet(cur, upd)) {
|
|
3736
3737
|
break l$ret$1;
|
|
3737
3738
|
}
|
|
@@ -3753,15 +3754,15 @@
|
|
|
3753
3754
|
}
|
|
3754
3755
|
while (true);
|
|
3755
3756
|
};
|
|
3756
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3757
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
3758
|
-
i.
|
|
3757
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).ce3 = function ($this$flow, completion) {
|
|
3758
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.xe2_1, this.ye2_1, completion);
|
|
3759
|
+
i.ze2_1 = $this$flow;
|
|
3759
3760
|
return i;
|
|
3760
3761
|
};
|
|
3761
3762
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
3762
3763
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
3763
3764
|
var l = function ($this$flow, $completion) {
|
|
3764
|
-
return i.
|
|
3765
|
+
return i.be3($this$flow, $completion);
|
|
3765
3766
|
};
|
|
3766
3767
|
l.$arity = 1;
|
|
3767
3768
|
return l;
|
|
@@ -3831,29 +3832,29 @@
|
|
|
3831
3832
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
3832
3833
|
}
|
|
3833
3834
|
function mapFromGroupKey($this, _this__u8e3s4) {
|
|
3834
|
-
var tmp = $this.
|
|
3835
|
+
var tmp = $this.fe3_1.y6l();
|
|
3835
3836
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3836
|
-
var this_0 = _this__u8e3s4.
|
|
3837
|
+
var this_0 = _this__u8e3s4.ke3_1;
|
|
3837
3838
|
var tmp_0 = copyToArray(this_0);
|
|
3838
3839
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3839
|
-
var this_1 = _this__u8e3s4.
|
|
3840
|
+
var this_1 = _this__u8e3s4.le3_1;
|
|
3840
3841
|
var tmp$ret$1 = copyToArray(this_1);
|
|
3841
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
3842
|
+
return new ActionDeliveryPayload(_this__u8e3s4.je3_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.me3_1);
|
|
3842
3843
|
}
|
|
3843
3844
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
3844
|
-
this.
|
|
3845
|
-
this.
|
|
3846
|
-
this.
|
|
3847
|
-
this.
|
|
3845
|
+
this.je3_1 = tableId;
|
|
3846
|
+
this.ke3_1 = includePlayers;
|
|
3847
|
+
this.le3_1 = excludePlayers;
|
|
3848
|
+
this.me3_1 = deliveryType;
|
|
3848
3849
|
}
|
|
3849
3850
|
protoOf(GroupKey).toString = function () {
|
|
3850
|
-
return 'GroupKey(tableId=' + this.
|
|
3851
|
+
return 'GroupKey(tableId=' + this.je3_1 + ', includePlayers=' + toString(this.ke3_1) + ', excludePlayers=' + toString(this.le3_1) + ', deliveryType=' + this.me3_1.toString() + ')';
|
|
3851
3852
|
};
|
|
3852
3853
|
protoOf(GroupKey).hashCode = function () {
|
|
3853
|
-
var result = getStringHashCode(this.
|
|
3854
|
-
result = imul(result, 31) + hashCode(this.
|
|
3855
|
-
result = imul(result, 31) + hashCode(this.
|
|
3856
|
-
result = imul(result, 31) + this.
|
|
3854
|
+
var result = getStringHashCode(this.je3_1);
|
|
3855
|
+
result = imul(result, 31) + hashCode(this.ke3_1) | 0;
|
|
3856
|
+
result = imul(result, 31) + hashCode(this.le3_1) | 0;
|
|
3857
|
+
result = imul(result, 31) + this.me3_1.hashCode() | 0;
|
|
3857
3858
|
return result;
|
|
3858
3859
|
};
|
|
3859
3860
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -3861,35 +3862,35 @@
|
|
|
3861
3862
|
return true;
|
|
3862
3863
|
if (!(other instanceof GroupKey))
|
|
3863
3864
|
return false;
|
|
3864
|
-
if (!(this.
|
|
3865
|
+
if (!(this.je3_1 === other.je3_1))
|
|
3865
3866
|
return false;
|
|
3866
|
-
if (!equals(this.
|
|
3867
|
+
if (!equals(this.ke3_1, other.ke3_1))
|
|
3867
3868
|
return false;
|
|
3868
|
-
if (!equals(this.
|
|
3869
|
+
if (!equals(this.le3_1, other.le3_1))
|
|
3869
3870
|
return false;
|
|
3870
|
-
if (!this.
|
|
3871
|
+
if (!this.me3_1.equals(other.me3_1))
|
|
3871
3872
|
return false;
|
|
3872
3873
|
return true;
|
|
3873
3874
|
};
|
|
3874
3875
|
function Companion_4() {
|
|
3875
|
-
this.
|
|
3876
|
+
this.ne3_1 = 6;
|
|
3876
3877
|
}
|
|
3877
3878
|
var Companion_instance_12;
|
|
3878
3879
|
function Companion_getInstance_5() {
|
|
3879
3880
|
return Companion_instance_12;
|
|
3880
3881
|
}
|
|
3881
3882
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
3882
|
-
this.
|
|
3883
|
+
this.we3_1 = this$0;
|
|
3883
3884
|
CoroutineImpl.call(this, resultContinuation);
|
|
3884
3885
|
}
|
|
3885
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3886
|
-
var tmp = this.
|
|
3886
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).ye3 = function (actions, $completion) {
|
|
3887
|
+
var tmp = this.ze3(actions, $completion);
|
|
3887
3888
|
tmp.t8_1 = Unit_instance;
|
|
3888
3889
|
tmp.u8_1 = null;
|
|
3889
3890
|
return tmp.z8();
|
|
3890
3891
|
};
|
|
3891
3892
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).h9 = function (p1, $completion) {
|
|
3892
|
-
return this.
|
|
3893
|
+
return this.ye3((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
3893
3894
|
};
|
|
3894
3895
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).z8 = function () {
|
|
3895
3896
|
var suspendResult = this.t8_1;
|
|
@@ -3898,7 +3899,7 @@
|
|
|
3898
3899
|
var tmp = this.r8_1;
|
|
3899
3900
|
if (tmp === 0) {
|
|
3900
3901
|
this.s8_1 = 1;
|
|
3901
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
3902
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.we3_1, this.xe3_1, null));
|
|
3902
3903
|
} else if (tmp === 1) {
|
|
3903
3904
|
throw this.u8_1;
|
|
3904
3905
|
}
|
|
@@ -3908,23 +3909,23 @@
|
|
|
3908
3909
|
}
|
|
3909
3910
|
while (true);
|
|
3910
3911
|
};
|
|
3911
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3912
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
3913
|
-
i.
|
|
3912
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).ze3 = function (actions, completion) {
|
|
3913
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.we3_1, completion);
|
|
3914
|
+
i.xe3_1 = actions;
|
|
3914
3915
|
return i;
|
|
3915
3916
|
};
|
|
3916
3917
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
3917
3918
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
3918
3919
|
var l = function (actions, $completion) {
|
|
3919
|
-
return i.
|
|
3920
|
+
return i.ye3(actions, $completion);
|
|
3920
3921
|
};
|
|
3921
3922
|
l.$arity = 1;
|
|
3922
3923
|
return l;
|
|
3923
3924
|
}
|
|
3924
3925
|
function $sentEventCOROUTINE$(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
3925
3926
|
CoroutineImpl.call(this, resultContinuation);
|
|
3926
|
-
this.
|
|
3927
|
-
this.
|
|
3927
|
+
this.ie4_1 = _this__u8e3s4;
|
|
3928
|
+
this.je4_1 = fromEvent;
|
|
3928
3929
|
}
|
|
3929
3930
|
protoOf($sentEventCOROUTINE$).z8 = function () {
|
|
3930
3931
|
var suspendResult = this.t8_1;
|
|
@@ -3934,8 +3935,8 @@
|
|
|
3934
3935
|
switch (tmp) {
|
|
3935
3936
|
case 0:
|
|
3936
3937
|
this.s8_1 = 2;
|
|
3937
|
-
this.
|
|
3938
|
-
var tmp0 = this.
|
|
3938
|
+
this.ie4_1.he3_1;
|
|
3939
|
+
var tmp0 = this.ie4_1.ge3_1;
|
|
3939
3940
|
l$ret$1: do {
|
|
3940
3941
|
while (true) {
|
|
3941
3942
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
@@ -3947,7 +3948,7 @@
|
|
|
3947
3948
|
}
|
|
3948
3949
|
while (false);
|
|
3949
3950
|
this.r8_1 = 1;
|
|
3950
|
-
suspendResult = this.
|
|
3951
|
+
suspendResult = this.ie4_1.ie3_1.i24(this.je4_1, this);
|
|
3951
3952
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3952
3953
|
return suspendResult;
|
|
3953
3954
|
}
|
|
@@ -3971,7 +3972,7 @@
|
|
|
3971
3972
|
};
|
|
3972
3973
|
function $waitForCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
3973
3974
|
CoroutineImpl.call(this, resultContinuation);
|
|
3974
|
-
this.
|
|
3975
|
+
this.se4_1 = _this__u8e3s4;
|
|
3975
3976
|
}
|
|
3976
3977
|
protoOf($waitForCOROUTINE$).z8 = function () {
|
|
3977
3978
|
var suspendResult = this.t8_1;
|
|
@@ -3981,12 +3982,12 @@
|
|
|
3981
3982
|
switch (tmp) {
|
|
3982
3983
|
case 0:
|
|
3983
3984
|
this.s8_1 = 5;
|
|
3984
|
-
this.
|
|
3985
|
-
this.
|
|
3985
|
+
this.se4_1.he3_1;
|
|
3986
|
+
this.te4_1 = 0;
|
|
3986
3987
|
this.r8_1 = 1;
|
|
3987
3988
|
continue $sm;
|
|
3988
3989
|
case 1:
|
|
3989
|
-
if (!!(this.
|
|
3990
|
+
if (!!(this.se4_1.ge3_1.kotlinx$atomicfu$value === 0)) {
|
|
3990
3991
|
this.r8_1 = 4;
|
|
3991
3992
|
continue $sm;
|
|
3992
3993
|
}
|
|
@@ -3999,9 +4000,9 @@
|
|
|
3999
4000
|
|
|
4000
4001
|
continue $sm;
|
|
4001
4002
|
case 2:
|
|
4002
|
-
this.
|
|
4003
|
-
if (this.
|
|
4004
|
-
this.
|
|
4003
|
+
this.te4_1 = this.te4_1 + 1 | 0;
|
|
4004
|
+
if (this.te4_1 > 6) {
|
|
4005
|
+
this.se4_1.ee3_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.se4_1.ge3_1.kotlinx$atomicfu$value);
|
|
4005
4006
|
this.r8_1 = 4;
|
|
4006
4007
|
continue $sm;
|
|
4007
4008
|
} else {
|
|
@@ -4029,183 +4030,183 @@
|
|
|
4029
4030
|
while (true);
|
|
4030
4031
|
};
|
|
4031
4032
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
4032
|
-
this.
|
|
4033
|
-
this.
|
|
4034
|
-
this.
|
|
4035
|
-
this.
|
|
4033
|
+
this.de3_1 = serverReduxConfig;
|
|
4034
|
+
this.ee3_1 = logger;
|
|
4035
|
+
this.fe3_1 = idsProvider;
|
|
4036
|
+
this.ge3_1 = atomic$ref$1(0);
|
|
4036
4037
|
var tmp = this;
|
|
4037
4038
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
4038
|
-
tmp.
|
|
4039
|
-
this.
|
|
4039
|
+
tmp.he3_1 = get_atomicfu$reentrantLock();
|
|
4040
|
+
this.ie3_1 = MutableSharedFlow();
|
|
4040
4041
|
}
|
|
4041
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4042
|
+
protoOf(ToClientEventsObserverImpl).oe2 = function (fromEvent, $completion) {
|
|
4042
4043
|
var tmp = new $sentEventCOROUTINE$(this, fromEvent, $completion);
|
|
4043
4044
|
tmp.t8_1 = Unit_instance;
|
|
4044
4045
|
tmp.u8_1 = null;
|
|
4045
4046
|
return tmp.z8();
|
|
4046
4047
|
};
|
|
4047
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4048
|
+
protoOf(ToClientEventsObserverImpl).g9q = function ($completion) {
|
|
4048
4049
|
var tmp = new $waitForCOROUTINE$(this, $completion);
|
|
4049
4050
|
tmp.t8_1 = Unit_instance;
|
|
4050
4051
|
tmp.u8_1 = null;
|
|
4051
4052
|
return tmp.z8();
|
|
4052
4053
|
};
|
|
4053
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4054
|
-
if (!this.
|
|
4055
|
-
return this.
|
|
4054
|
+
protoOf(ToClientEventsObserverImpl).qaw = function () {
|
|
4055
|
+
if (!this.de3_1.enabledCombinedEvents) {
|
|
4056
|
+
return this.ie3_1;
|
|
4056
4057
|
}
|
|
4057
|
-
var tmp = windowedByInterval(this.
|
|
4058
|
+
var tmp = windowedByInterval(this.ie3_1, fromInt(this.de3_1.combinedEventsIntervalMillis));
|
|
4058
4059
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
4059
4060
|
};
|
|
4060
4061
|
function UpdateServerConfigAction(serverConfig) {
|
|
4061
|
-
this.
|
|
4062
|
+
this.ue4_1 = serverConfig;
|
|
4062
4063
|
}
|
|
4063
4064
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
4064
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
4065
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.ue4_1.toString() + ')';
|
|
4065
4066
|
};
|
|
4066
4067
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
4067
|
-
return this.
|
|
4068
|
+
return this.ue4_1.hashCode();
|
|
4068
4069
|
};
|
|
4069
4070
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
4070
4071
|
if (this === other)
|
|
4071
4072
|
return true;
|
|
4072
4073
|
if (!(other instanceof UpdateServerConfigAction))
|
|
4073
4074
|
return false;
|
|
4074
|
-
if (!this.
|
|
4075
|
+
if (!this.ue4_1.equals(other.ue4_1))
|
|
4075
4076
|
return false;
|
|
4076
4077
|
return true;
|
|
4077
4078
|
};
|
|
4078
4079
|
function AddSpectatorsAction(spectators) {
|
|
4079
|
-
this.
|
|
4080
|
+
this.ve4_1 = spectators;
|
|
4080
4081
|
}
|
|
4081
4082
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
4082
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
4083
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.ve4_1) + ')';
|
|
4083
4084
|
};
|
|
4084
4085
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
4085
|
-
return hashCode(this.
|
|
4086
|
+
return hashCode(this.ve4_1);
|
|
4086
4087
|
};
|
|
4087
4088
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
4088
4089
|
if (this === other)
|
|
4089
4090
|
return true;
|
|
4090
4091
|
if (!(other instanceof AddSpectatorsAction))
|
|
4091
4092
|
return false;
|
|
4092
|
-
if (!equals(this.
|
|
4093
|
+
if (!equals(this.ve4_1, other.ve4_1))
|
|
4093
4094
|
return false;
|
|
4094
4095
|
return true;
|
|
4095
4096
|
};
|
|
4096
4097
|
function RemoveSpectatorsAction(spectators) {
|
|
4097
|
-
this.
|
|
4098
|
+
this.we4_1 = spectators;
|
|
4098
4099
|
}
|
|
4099
4100
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
4100
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
4101
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.we4_1) + ')';
|
|
4101
4102
|
};
|
|
4102
4103
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
4103
|
-
return hashCode(this.
|
|
4104
|
+
return hashCode(this.we4_1);
|
|
4104
4105
|
};
|
|
4105
4106
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
4106
4107
|
if (this === other)
|
|
4107
4108
|
return true;
|
|
4108
4109
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
4109
4110
|
return false;
|
|
4110
|
-
if (!equals(this.
|
|
4111
|
+
if (!equals(this.we4_1, other.we4_1))
|
|
4111
4112
|
return false;
|
|
4112
4113
|
return true;
|
|
4113
4114
|
};
|
|
4114
4115
|
function SpectatorsAction() {
|
|
4115
4116
|
}
|
|
4116
4117
|
function _get_asyncProvider__jbpyhw($this) {
|
|
4117
|
-
var tmp0 = $this.
|
|
4118
|
+
var tmp0 = $this.ce5_1;
|
|
4118
4119
|
var tmp = KProperty1;
|
|
4119
4120
|
// Inline function 'kotlin.getValue' call
|
|
4120
4121
|
getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
|
|
4121
4122
|
return tmp0.w();
|
|
4122
4123
|
}
|
|
4123
4124
|
function _get_logger__rkp4sl($this) {
|
|
4124
|
-
var tmp0 = $this.
|
|
4125
|
+
var tmp0 = $this.de5_1;
|
|
4125
4126
|
var tmp = KProperty1;
|
|
4126
4127
|
// Inline function 'kotlin.getValue' call
|
|
4127
4128
|
getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
|
|
4128
4129
|
return tmp0.w();
|
|
4129
4130
|
}
|
|
4130
4131
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
4131
|
-
var tmp0 = $this.
|
|
4132
|
+
var tmp0 = $this.ee5_1;
|
|
4132
4133
|
var tmp = KProperty1;
|
|
4133
4134
|
// Inline function 'kotlin.getValue' call
|
|
4134
4135
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
|
|
4135
4136
|
return tmp0.w();
|
|
4136
4137
|
}
|
|
4137
4138
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
4138
|
-
var tmp0 = $this.
|
|
4139
|
+
var tmp0 = $this.fe5_1;
|
|
4139
4140
|
var tmp = KProperty1;
|
|
4140
4141
|
// Inline function 'kotlin.getValue' call
|
|
4141
4142
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
|
|
4142
4143
|
return tmp0.w();
|
|
4143
4144
|
}
|
|
4144
4145
|
function _get_serverConfig__rk2g06($this) {
|
|
4145
|
-
var tmp0 = $this.
|
|
4146
|
+
var tmp0 = $this.ge5_1;
|
|
4146
4147
|
var tmp = KProperty1;
|
|
4147
4148
|
// Inline function 'kotlin.getValue' call
|
|
4148
4149
|
getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
|
|
4149
4150
|
return tmp0.w();
|
|
4150
4151
|
}
|
|
4151
4152
|
function _get_logicConfig__52ww9d($this) {
|
|
4152
|
-
var tmp0 = $this.
|
|
4153
|
+
var tmp0 = $this.he5_1;
|
|
4153
4154
|
var tmp = KProperty1;
|
|
4154
4155
|
// Inline function 'kotlin.getValue' call
|
|
4155
4156
|
getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
|
|
4156
4157
|
return tmp0.w();
|
|
4157
4158
|
}
|
|
4158
4159
|
function _get_idsProvider__fnfajc_0($this) {
|
|
4159
|
-
var tmp0 = $this.
|
|
4160
|
+
var tmp0 = $this.ie5_1;
|
|
4160
4161
|
var tmp = KProperty1;
|
|
4161
4162
|
// Inline function 'kotlin.getValue' call
|
|
4162
4163
|
getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
|
|
4163
4164
|
return tmp0.w();
|
|
4164
4165
|
}
|
|
4165
4166
|
function _get_botConfig__cpaxzc($this) {
|
|
4166
|
-
var tmp0 = $this.
|
|
4167
|
+
var tmp0 = $this.je5_1;
|
|
4167
4168
|
var tmp = KProperty1;
|
|
4168
4169
|
// Inline function 'kotlin.getValue' call
|
|
4169
4170
|
getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
|
|
4170
4171
|
return tmp0.w();
|
|
4171
4172
|
}
|
|
4172
4173
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
4173
|
-
var tmp0 = $this.
|
|
4174
|
+
var tmp0 = $this.ke5_1;
|
|
4174
4175
|
var tmp = KProperty1;
|
|
4175
4176
|
// Inline function 'kotlin.getValue' call
|
|
4176
4177
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
|
|
4177
4178
|
return tmp0.w();
|
|
4178
4179
|
}
|
|
4179
4180
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
4180
|
-
var tmp0 = $this.
|
|
4181
|
+
var tmp0 = $this.le5_1;
|
|
4181
4182
|
var tmp = KProperty1;
|
|
4182
4183
|
// Inline function 'kotlin.getValue' call
|
|
4183
4184
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
|
|
4184
4185
|
return tmp0.w();
|
|
4185
4186
|
}
|
|
4186
4187
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
4187
|
-
var tmp0 = $this.
|
|
4188
|
+
var tmp0 = $this.me5_1;
|
|
4188
4189
|
var tmp = KProperty1;
|
|
4189
4190
|
// Inline function 'kotlin.getValue' call
|
|
4190
4191
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
|
|
4191
4192
|
return tmp0.w();
|
|
4192
4193
|
}
|
|
4193
4194
|
function _get_dealerConfig__183ci8($this) {
|
|
4194
|
-
var tmp0 = $this.
|
|
4195
|
+
var tmp0 = $this.ne5_1;
|
|
4195
4196
|
var tmp = KProperty1;
|
|
4196
4197
|
// Inline function 'kotlin.getValue' call
|
|
4197
4198
|
getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
|
|
4198
4199
|
return tmp0.w();
|
|
4199
4200
|
}
|
|
4200
4201
|
function _get_poolProvider__tqti6a($this) {
|
|
4201
|
-
var tmp0 = $this.
|
|
4202
|
+
var tmp0 = $this.oe5_1;
|
|
4202
4203
|
var tmp = KProperty1;
|
|
4203
4204
|
// Inline function 'kotlin.getValue' call
|
|
4204
4205
|
getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
|
|
4205
4206
|
return tmp0.w();
|
|
4206
4207
|
}
|
|
4207
4208
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
4208
|
-
var tmp0 = $this.
|
|
4209
|
+
var tmp0 = $this.pe5_1;
|
|
4209
4210
|
var tmp = KProperty1;
|
|
4210
4211
|
// Inline function 'kotlin.getValue' call
|
|
4211
4212
|
getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
|
|
@@ -4355,7 +4356,7 @@
|
|
|
4355
4356
|
};
|
|
4356
4357
|
}
|
|
4357
4358
|
function ServerGameStoreContract$_get_middlewares_$lambda_qmuw9r(player) {
|
|
4358
|
-
return !player.
|
|
4359
|
+
return !player.p6f();
|
|
4359
4360
|
}
|
|
4360
4361
|
function ServerGameStoreContract(di, validationStoreContract, timersStoreContract, botGameStoreContract, gameMechanicStoreContract, fileLoggerStoreContract) {
|
|
4361
4362
|
validationStoreContract = validationStoreContract === VOID ? new ValidationStoreContract(di, true, true, null) : validationStoreContract;
|
|
@@ -4369,11 +4370,11 @@
|
|
|
4369
4370
|
tmp = fileLoggerStoreContract;
|
|
4370
4371
|
}
|
|
4371
4372
|
fileLoggerStoreContract = tmp;
|
|
4372
|
-
this.
|
|
4373
|
-
this.
|
|
4374
|
-
this.
|
|
4375
|
-
this.
|
|
4376
|
-
this.
|
|
4373
|
+
this.xe4_1 = validationStoreContract;
|
|
4374
|
+
this.ye4_1 = timersStoreContract;
|
|
4375
|
+
this.ze4_1 = botGameStoreContract;
|
|
4376
|
+
this.ae5_1 = gameMechanicStoreContract;
|
|
4377
|
+
this.be5_1 = fileLoggerStoreContract;
|
|
4377
4378
|
var tmp_0 = this;
|
|
4378
4379
|
// Inline function 'org.kodein.di.instance' call
|
|
4379
4380
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4381,7 +4382,7 @@
|
|
|
4381
4382
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
4382
4383
|
var tmp_2 = Instance(di, tmp$ret$0, null);
|
|
4383
4384
|
var tmp_3 = KProperty1;
|
|
4384
|
-
tmp_0.
|
|
4385
|
+
tmp_0.ce5_1 = tmp_2.c1h(this, getPropertyCallableRef('asyncProvider', 1, tmp_3, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
|
|
4385
4386
|
var tmp_4 = this;
|
|
4386
4387
|
// Inline function 'org.kodein.di.instance' call
|
|
4387
4388
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4389,7 +4390,7 @@
|
|
|
4389
4390
|
var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
4390
4391
|
var tmp_6 = Instance(di, tmp$ret$2, null);
|
|
4391
4392
|
var tmp_7 = KProperty1;
|
|
4392
|
-
tmp_4.
|
|
4393
|
+
tmp_4.de5_1 = tmp_6.c1h(this, getPropertyCallableRef('logger', 1, tmp_7, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
|
|
4393
4394
|
var tmp_8 = this;
|
|
4394
4395
|
// Inline function 'org.kodein.di.instance' call
|
|
4395
4396
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4397,7 +4398,7 @@
|
|
|
4397
4398
|
var tmp$ret$4 = isInterface(tmp_9, TypeToken) ? tmp_9 : THROW_CCE();
|
|
4398
4399
|
var tmp_10 = Instance(di, tmp$ret$4, null);
|
|
4399
4400
|
var tmp_11 = KProperty1;
|
|
4400
|
-
tmp_8.
|
|
4401
|
+
tmp_8.ee5_1 = tmp_10.c1h(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_11, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
|
|
4401
4402
|
var tmp_12 = this;
|
|
4402
4403
|
// Inline function 'org.kodein.di.instance' call
|
|
4403
4404
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4405,7 +4406,7 @@
|
|
|
4405
4406
|
var tmp$ret$6 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
4406
4407
|
var tmp_14 = Instance(di, tmp$ret$6, null);
|
|
4407
4408
|
var tmp_15 = KProperty1;
|
|
4408
|
-
tmp_12.
|
|
4409
|
+
tmp_12.fe5_1 = tmp_14.c1h(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_15, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
|
|
4409
4410
|
var tmp_16 = this;
|
|
4410
4411
|
// Inline function 'org.kodein.di.instance' call
|
|
4411
4412
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4413,7 +4414,7 @@
|
|
|
4413
4414
|
var tmp$ret$8 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
4414
4415
|
var tmp_18 = Instance(di, tmp$ret$8, null);
|
|
4415
4416
|
var tmp_19 = KProperty1;
|
|
4416
|
-
tmp_16.
|
|
4417
|
+
tmp_16.ge5_1 = tmp_18.c1h(this, getPropertyCallableRef('serverConfig', 1, tmp_19, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
|
|
4417
4418
|
var tmp_20 = this;
|
|
4418
4419
|
// Inline function 'org.kodein.di.instance' call
|
|
4419
4420
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4421,7 +4422,7 @@
|
|
|
4421
4422
|
var tmp$ret$10 = isInterface(tmp_21, TypeToken) ? tmp_21 : THROW_CCE();
|
|
4422
4423
|
var tmp_22 = Instance(di, tmp$ret$10, null);
|
|
4423
4424
|
var tmp_23 = KProperty1;
|
|
4424
|
-
tmp_20.
|
|
4425
|
+
tmp_20.he5_1 = tmp_22.c1h(this, getPropertyCallableRef('logicConfig', 1, tmp_23, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
|
|
4425
4426
|
var tmp_24 = this;
|
|
4426
4427
|
// Inline function 'org.kodein.di.instance' call
|
|
4427
4428
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4429,7 +4430,7 @@
|
|
|
4429
4430
|
var tmp$ret$12 = isInterface(tmp_25, TypeToken) ? tmp_25 : THROW_CCE();
|
|
4430
4431
|
var tmp_26 = Instance(di, tmp$ret$12, null);
|
|
4431
4432
|
var tmp_27 = KProperty1;
|
|
4432
|
-
tmp_24.
|
|
4433
|
+
tmp_24.ie5_1 = tmp_26.c1h(this, getPropertyCallableRef('idsProvider', 1, tmp_27, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
|
|
4433
4434
|
var tmp_28 = this;
|
|
4434
4435
|
// Inline function 'org.kodein.di.instance' call
|
|
4435
4436
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4437,7 +4438,7 @@
|
|
|
4437
4438
|
var tmp$ret$14 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
|
|
4438
4439
|
var tmp_30 = Instance(di, tmp$ret$14, null);
|
|
4439
4440
|
var tmp_31 = KProperty1;
|
|
4440
|
-
tmp_28.
|
|
4441
|
+
tmp_28.je5_1 = tmp_30.c1h(this, getPropertyCallableRef('botConfig', 1, tmp_31, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
|
|
4441
4442
|
var tmp_32 = this;
|
|
4442
4443
|
// Inline function 'org.kodein.di.instance' call
|
|
4443
4444
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4445,7 +4446,7 @@
|
|
|
4445
4446
|
var tmp$ret$16 = isInterface(tmp_33, TypeToken) ? tmp_33 : THROW_CCE();
|
|
4446
4447
|
var tmp_34 = Instance(di, tmp$ret$16, null);
|
|
4447
4448
|
var tmp_35 = KProperty1;
|
|
4448
|
-
tmp_32.
|
|
4449
|
+
tmp_32.ke5_1 = tmp_34.c1h(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_35, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
|
|
4449
4450
|
var tmp_36 = this;
|
|
4450
4451
|
// Inline function 'org.kodein.di.instance' call
|
|
4451
4452
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4453,7 +4454,7 @@
|
|
|
4453
4454
|
var tmp$ret$18 = isInterface(tmp_37, TypeToken) ? tmp_37 : THROW_CCE();
|
|
4454
4455
|
var tmp_38 = Instance(di, tmp$ret$18, null);
|
|
4455
4456
|
var tmp_39 = KProperty1;
|
|
4456
|
-
tmp_36.
|
|
4457
|
+
tmp_36.le5_1 = tmp_38.c1h(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_39, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
|
|
4457
4458
|
var tmp_40 = this;
|
|
4458
4459
|
// Inline function 'org.kodein.di.instance' call
|
|
4459
4460
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4461,7 +4462,7 @@
|
|
|
4461
4462
|
var tmp$ret$20 = isInterface(tmp_41, TypeToken) ? tmp_41 : THROW_CCE();
|
|
4462
4463
|
var tmp_42 = Instance(di, tmp$ret$20, null);
|
|
4463
4464
|
var tmp_43 = KProperty1;
|
|
4464
|
-
tmp_40.
|
|
4465
|
+
tmp_40.me5_1 = tmp_42.c1h(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_43, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
|
|
4465
4466
|
var tmp_44 = this;
|
|
4466
4467
|
// Inline function 'org.kodein.di.instance' call
|
|
4467
4468
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4469,7 +4470,7 @@
|
|
|
4469
4470
|
var tmp$ret$22 = isInterface(tmp_45, TypeToken) ? tmp_45 : THROW_CCE();
|
|
4470
4471
|
var tmp_46 = Instance(di, tmp$ret$22, null);
|
|
4471
4472
|
var tmp_47 = KProperty1;
|
|
4472
|
-
tmp_44.
|
|
4473
|
+
tmp_44.ne5_1 = tmp_46.c1h(this, getPropertyCallableRef('dealerConfig', 1, tmp_47, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
|
|
4473
4474
|
var tmp_48 = this;
|
|
4474
4475
|
// Inline function 'org.kodein.di.instance' call
|
|
4475
4476
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4477,7 +4478,7 @@
|
|
|
4477
4478
|
var tmp$ret$24 = isInterface(tmp_49, TypeToken) ? tmp_49 : THROW_CCE();
|
|
4478
4479
|
var tmp_50 = Instance(di, tmp$ret$24, null);
|
|
4479
4480
|
var tmp_51 = KProperty1;
|
|
4480
|
-
tmp_48.
|
|
4481
|
+
tmp_48.oe5_1 = tmp_50.c1h(this, getPropertyCallableRef('poolProvider', 1, tmp_51, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
|
|
4481
4482
|
var tmp_52 = this;
|
|
4482
4483
|
// Inline function 'org.kodein.di.instance' call
|
|
4483
4484
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4485,13 +4486,13 @@
|
|
|
4485
4486
|
var tmp$ret$26 = isInterface(tmp_53, TypeToken) ? tmp_53 : THROW_CCE();
|
|
4486
4487
|
var tmp_54 = Instance(di, tmp$ret$26, null);
|
|
4487
4488
|
var tmp_55 = KProperty1;
|
|
4488
|
-
tmp_52.
|
|
4489
|
+
tmp_52.pe5_1 = tmp_54.c1h(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_55, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
|
|
4489
4490
|
}
|
|
4490
|
-
protoOf(ServerGameStoreContract).
|
|
4491
|
-
return plus(plus(plus(plus(plus(this.
|
|
4491
|
+
protoOf(ServerGameStoreContract).l9g = function () {
|
|
4492
|
+
return plus(plus(plus(plus(plus(this.xe4_1.l9g(), this.ae5_1.l9g()), this.ye4_1.l9g()), this.ze4_1.l9g()), this.be5_1.l9g()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl(this))]));
|
|
4492
4493
|
};
|
|
4493
|
-
protoOf(ServerGameStoreContract).
|
|
4494
|
-
var tmp = plus(plus(plus(plus(plus(plus(plus(this.
|
|
4494
|
+
protoOf(ServerGameStoreContract).m9g = function () {
|
|
4495
|
+
var tmp = plus(plus(plus(plus(plus(plus(plus(this.xe4_1.m9g(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameWhenNotLiveStrategy.equals(FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance()) ? checkBotsMiddleware(_get_logger__rkp4sl(this)) : null)), this.ae5_1.m9g()), this.ye4_1.m9g()), this.ze4_1.m9g()), this.be5_1.m9g()), listOfNotNull_0([playerConnectionUpdateMiddleware(_get_playerConnectionInteractor__si6cxf_0(this)), playerReconnectionWaitingTimerTickMiddleware(_get_playerConnectionInteractor__si6cxf_0(this))])), listOfNotNull_0([sendFromClientEventsMiddleware(_get_asyncProvider__jbpyhw(this), _get_fromClientEventsObserver__a7vzd3_0(this)), sendToClientActionMiddleware(_get_asyncProvider__jbpyhw(this), _get_toClientEventsObserver__6rp51y_0(this)), (new ServerMapMechanicToClientActionMiddleware(_get_logicConfig__52ww9d(this), _get_idsProvider__fnfajc_0(this))).s9i(), finishingGameWhenCantStartNewMiddleware()]));
|
|
4495
4496
|
var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this), _get_logger__rkp4sl(this));
|
|
4496
4497
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
4497
4498
|
var tmp1_logger = _get_logger__rkp4sl(this);
|
|
@@ -4518,52 +4519,52 @@
|
|
|
4518
4519
|
}
|
|
4519
4520
|
function finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1() {
|
|
4520
4521
|
}
|
|
4521
|
-
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).
|
|
4522
|
+
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).a6o = function (action) {
|
|
4522
4523
|
return action instanceof RoundEndedAction;
|
|
4523
4524
|
};
|
|
4524
|
-
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).
|
|
4525
|
+
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).p6p = function (store, next, action) {
|
|
4525
4526
|
var tmp4 = action instanceof RoundEndedAction ? action : THROW_CCE();
|
|
4526
4527
|
$l$block_0: {
|
|
4527
4528
|
next(tmp4);
|
|
4528
4529
|
var state = store.state;
|
|
4529
4530
|
if (tmp4.isGameFinished) {
|
|
4530
4531
|
if (!get_serverStatePayload(state).config.canStartNewGame) {
|
|
4531
|
-
store.dispatch(Companion_instance.fromTableWithAnalytics(new GameFinishedReason(Reason_DEPLOY_getInstance()), true, state.
|
|
4532
|
+
store.dispatch(Companion_instance.fromTableWithAnalytics(new GameFinishedReason(Reason_DEPLOY_getInstance()), true, state.y6v_1));
|
|
4532
4533
|
break $l$block_0;
|
|
4533
4534
|
}
|
|
4534
|
-
if (state.
|
|
4535
|
-
store.dispatch(Companion_instance.fromTableWithAnalytics(new GameFinishedReason(Reason_REVENGED_getInstance()), true, state.
|
|
4535
|
+
if (state.z6w().config.mode.equals(RoomMode_REVENGE_getInstance())) {
|
|
4536
|
+
store.dispatch(Companion_instance.fromTableWithAnalytics(new GameFinishedReason(Reason_REVENGED_getInstance()), true, state.y6v_1));
|
|
4536
4537
|
break $l$block_0;
|
|
4537
4538
|
}
|
|
4538
4539
|
}
|
|
4539
4540
|
}
|
|
4540
4541
|
};
|
|
4541
|
-
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).
|
|
4542
|
-
return this.
|
|
4542
|
+
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).z6n = function (store, next, action) {
|
|
4543
|
+
return this.p6p(store, next, action);
|
|
4543
4544
|
};
|
|
4544
4545
|
function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
|
|
4545
|
-
this.
|
|
4546
|
+
this.se5_1 = this$0;
|
|
4546
4547
|
}
|
|
4547
|
-
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).
|
|
4548
|
+
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).a6o = function (action) {
|
|
4548
4549
|
return action instanceof MechanicAction;
|
|
4549
4550
|
};
|
|
4550
|
-
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).
|
|
4551
|
+
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).p6p = function (store, next, action) {
|
|
4551
4552
|
var action_0 = action instanceof MechanicAction ? action : THROW_CCE();
|
|
4552
4553
|
var state = store.state;
|
|
4553
4554
|
// Inline function 'kotlin.with' call
|
|
4554
4555
|
var tmp;
|
|
4555
4556
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
4556
|
-
var tmp0 = this.
|
|
4557
|
-
var tmp2 = action_0.
|
|
4558
|
-
var tmp4 = action_0.
|
|
4557
|
+
var tmp0 = this.se5_1;
|
|
4558
|
+
var tmp2 = action_0.n89_1;
|
|
4559
|
+
var tmp4 = action_0.p89_1;
|
|
4559
4560
|
// Inline function 'kotlin.collections.map' call
|
|
4560
|
-
var this_0 = action_0.
|
|
4561
|
+
var this_0 = action_0.q89_1;
|
|
4561
4562
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4562
4563
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
4563
4564
|
var _iterator__ex2g4s = this_0.l();
|
|
4564
4565
|
while (_iterator__ex2g4s.m()) {
|
|
4565
4566
|
var item = _iterator__ex2g4s.n();
|
|
4566
|
-
var tmp$ret$0 = to(item.
|
|
4567
|
+
var tmp$ret$0 = to(item.w6d_1, PlayerConnectionState_LIVE_getInstance());
|
|
4567
4568
|
destination.j(tmp$ret$0);
|
|
4568
4569
|
}
|
|
4569
4570
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -4593,7 +4594,7 @@
|
|
|
4593
4594
|
var _iterator__ex2g4s_2 = destination_1.l();
|
|
4594
4595
|
while (_iterator__ex2g4s_2.m()) {
|
|
4595
4596
|
var element_0 = _iterator__ex2g4s_2.n();
|
|
4596
|
-
var tmp0_aid = tmp0.
|
|
4597
|
+
var tmp0_aid = tmp0.re5_1.y6l();
|
|
4597
4598
|
// Inline function 'kotlin.collections.map' call
|
|
4598
4599
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4599
4600
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -4615,16 +4616,16 @@
|
|
|
4615
4616
|
tmp = destination_2;
|
|
4616
4617
|
} else {
|
|
4617
4618
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
4618
|
-
var tmp0_0 = this.
|
|
4619
|
+
var tmp0_0 = this.se5_1;
|
|
4619
4620
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4620
|
-
var table = state.
|
|
4621
|
-
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.
|
|
4621
|
+
var table = state.z6w();
|
|
4622
|
+
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.re5_1.y6l(), table.id, null);
|
|
4622
4623
|
var tmp$ret$21 = mapToClient_16(action_0, sendToPlayer_0);
|
|
4623
4624
|
tmp = listOfNotNull(tmp$ret$21);
|
|
4624
4625
|
} else {
|
|
4625
4626
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
4626
|
-
var tmp0_1 = this.
|
|
4627
|
-
var tmp2_0 = action_0.
|
|
4627
|
+
var tmp0_1 = this.se5_1;
|
|
4628
|
+
var tmp2_0 = action_0.t89_1.id;
|
|
4628
4629
|
var tmp4_0 = action_0.gameCreatorPlayerId;
|
|
4629
4630
|
// Inline function 'kotlin.collections.map' call
|
|
4630
4631
|
var this_1 = action_0.users;
|
|
@@ -4633,7 +4634,7 @@
|
|
|
4633
4634
|
var _iterator__ex2g4s_4 = this_1.l();
|
|
4634
4635
|
while (_iterator__ex2g4s_4.m()) {
|
|
4635
4636
|
var item_2 = _iterator__ex2g4s_4.n();
|
|
4636
|
-
var tmp$ret$23 = to(item_2.
|
|
4637
|
+
var tmp$ret$23 = to(item_2.w6d_1, PlayerConnectionState_LIVE_getInstance());
|
|
4637
4638
|
destination_4.j(tmp$ret$23);
|
|
4638
4639
|
}
|
|
4639
4640
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -4663,7 +4664,7 @@
|
|
|
4663
4664
|
var _iterator__ex2g4s_7 = destination_6.l();
|
|
4664
4665
|
while (_iterator__ex2g4s_7.m()) {
|
|
4665
4666
|
var element_2 = _iterator__ex2g4s_7.n();
|
|
4666
|
-
var tmp0_aid_0 = tmp0_1.
|
|
4667
|
+
var tmp0_aid_0 = tmp0_1.re5_1.y6l();
|
|
4667
4668
|
// Inline function 'kotlin.collections.map' call
|
|
4668
4669
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4669
4670
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -4685,41 +4686,41 @@
|
|
|
4685
4686
|
tmp = destination_7;
|
|
4686
4687
|
} else {
|
|
4687
4688
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
4688
|
-
var tmp0_2 = this.
|
|
4689
|
+
var tmp0_2 = this.se5_1;
|
|
4689
4690
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4690
|
-
var table_0 = state.
|
|
4691
|
-
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.
|
|
4691
|
+
var table_0 = state.z6w();
|
|
4692
|
+
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.re5_1.y6l(), table_0.id, null);
|
|
4692
4693
|
var tmp$ret$44 = mapToClient_14(action_0, sendToPlayer_2);
|
|
4693
4694
|
tmp = listOfNotNull(tmp$ret$44);
|
|
4694
4695
|
} else {
|
|
4695
4696
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
4696
|
-
var tmp0_3 = this.
|
|
4697
|
+
var tmp0_3 = this.se5_1;
|
|
4697
4698
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4698
|
-
var table_1 = state.
|
|
4699
|
-
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.
|
|
4699
|
+
var table_1 = state.z6w();
|
|
4700
|
+
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.re5_1.y6l(), table_1.id, null);
|
|
4700
4701
|
var tmp$ret$46 = mapToClient_13(action_0, sendToPlayer_3);
|
|
4701
4702
|
tmp = listOfNotNull(tmp$ret$46);
|
|
4702
4703
|
} else {
|
|
4703
4704
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
4704
|
-
var tmp0_4 = this.
|
|
4705
|
+
var tmp0_4 = this.se5_1;
|
|
4705
4706
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4706
|
-
var table_2 = state.
|
|
4707
|
-
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.
|
|
4707
|
+
var table_2 = state.z6w();
|
|
4708
|
+
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.re5_1.y6l(), table_2.id, null);
|
|
4708
4709
|
var tmp$ret$48 = mapToClient_12(action_0, sendToPlayer_4);
|
|
4709
4710
|
tmp = listOfNotNull(tmp$ret$48);
|
|
4710
4711
|
} else {
|
|
4711
4712
|
if (action_0 instanceof ErrorAction) {
|
|
4712
|
-
var tmp0_5 = this.
|
|
4713
|
+
var tmp0_5 = this.se5_1;
|
|
4713
4714
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4714
|
-
var table_3 = state.
|
|
4715
|
-
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.
|
|
4715
|
+
var table_3 = state.z6w();
|
|
4716
|
+
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.re5_1.y6l(), table_3.id, null);
|
|
4716
4717
|
var tmp$ret$50 = mapToClient_11(action_0, sendToPlayer_5);
|
|
4717
4718
|
tmp = listOfNotNull(tmp$ret$50);
|
|
4718
4719
|
} else {
|
|
4719
4720
|
if (action_0 instanceof SceneMechanicAction) {
|
|
4720
|
-
var tmp0_6 = this.
|
|
4721
|
+
var tmp0_6 = this.se5_1;
|
|
4721
4722
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4722
|
-
var table_4 = state.
|
|
4723
|
+
var table_4 = state.z6w();
|
|
4723
4724
|
var tmp2_1 = table_4.id;
|
|
4724
4725
|
var tmp4_1 = getGameCreator(table_4.players).playerId;
|
|
4725
4726
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -4750,7 +4751,7 @@
|
|
|
4750
4751
|
var _iterator__ex2g4s_11 = destination_10.l();
|
|
4751
4752
|
while (_iterator__ex2g4s_11.m()) {
|
|
4752
4753
|
var element_4 = _iterator__ex2g4s_11.n();
|
|
4753
|
-
var tmp0_aid_1 = tmp0_6.
|
|
4754
|
+
var tmp0_aid_1 = tmp0_6.re5_1.y6l();
|
|
4754
4755
|
// Inline function 'kotlin.collections.map' call
|
|
4755
4756
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4756
4757
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -4772,9 +4773,9 @@
|
|
|
4772
4773
|
tmp = destination_11;
|
|
4773
4774
|
} else {
|
|
4774
4775
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
4775
|
-
var tmp0_7 = this.
|
|
4776
|
+
var tmp0_7 = this.se5_1;
|
|
4776
4777
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4777
|
-
var table_5 = state.
|
|
4778
|
+
var table_5 = state.z6w();
|
|
4778
4779
|
var tmp2_2 = table_5.id;
|
|
4779
4780
|
var tmp4_2 = getGameCreator(table_5.players).playerId;
|
|
4780
4781
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -4805,7 +4806,7 @@
|
|
|
4805
4806
|
var _iterator__ex2g4s_15 = destination_14.l();
|
|
4806
4807
|
while (_iterator__ex2g4s_15.m()) {
|
|
4807
4808
|
var element_6 = _iterator__ex2g4s_15.n();
|
|
4808
|
-
var tmp0_aid_2 = tmp0_7.
|
|
4809
|
+
var tmp0_aid_2 = tmp0_7.re5_1.y6l();
|
|
4809
4810
|
// Inline function 'kotlin.collections.map' call
|
|
4810
4811
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4811
4812
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -4827,9 +4828,9 @@
|
|
|
4827
4828
|
tmp = destination_15;
|
|
4828
4829
|
} else {
|
|
4829
4830
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
4830
|
-
var tmp0_8 = this.
|
|
4831
|
+
var tmp0_8 = this.se5_1;
|
|
4831
4832
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4832
|
-
var table_6 = state.
|
|
4833
|
+
var table_6 = state.z6w();
|
|
4833
4834
|
var tmp2_3 = table_6.id;
|
|
4834
4835
|
var tmp4_3 = getGameCreator(table_6.players).playerId;
|
|
4835
4836
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -4860,7 +4861,7 @@
|
|
|
4860
4861
|
var _iterator__ex2g4s_19 = destination_18.l();
|
|
4861
4862
|
while (_iterator__ex2g4s_19.m()) {
|
|
4862
4863
|
var element_8 = _iterator__ex2g4s_19.n();
|
|
4863
|
-
var tmp0_aid_3 = tmp0_8.
|
|
4864
|
+
var tmp0_aid_3 = tmp0_8.re5_1.y6l();
|
|
4864
4865
|
// Inline function 'kotlin.collections.map' call
|
|
4865
4866
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4866
4867
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -4872,7 +4873,7 @@
|
|
|
4872
4873
|
}
|
|
4873
4874
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_3, tmp4_3, element_8, destination_20);
|
|
4874
4875
|
var tmp_0;
|
|
4875
|
-
if (this.
|
|
4876
|
+
if (this.se5_1.qe5_1.supportBackwardActions && getPlayer(state.z6w().players, sendToPlayer_8.x7l_1).c70_1.u74_1) {
|
|
4876
4877
|
tmp_0 = null;
|
|
4877
4878
|
} else {
|
|
4878
4879
|
tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
|
|
@@ -4888,72 +4889,72 @@
|
|
|
4888
4889
|
tmp = destination_19;
|
|
4889
4890
|
} else {
|
|
4890
4891
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
4891
|
-
var tmp0_9 = this.
|
|
4892
|
-
var tmp2_4 = state.
|
|
4892
|
+
var tmp0_9 = this.se5_1;
|
|
4893
|
+
var tmp2_4 = state.z6w();
|
|
4893
4894
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4894
|
-
var exceptPlayerId = this.
|
|
4895
|
-
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.
|
|
4895
|
+
var exceptPlayerId = this.se5_1.qe5_1.supportBackwardActions ? action_0.u8a_1 : null;
|
|
4896
|
+
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.re5_1.y6l(), tmp2_4.id, exceptPlayerId);
|
|
4896
4897
|
var tmp$ret$109 = mapToClient_7(action_0, sendToPlayer_9);
|
|
4897
4898
|
tmp = listOfNotNull(tmp$ret$109);
|
|
4898
4899
|
} else {
|
|
4899
4900
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
4900
|
-
var tmp0_10 = this.
|
|
4901
|
-
var tmp2_5 = state.
|
|
4901
|
+
var tmp0_10 = this.se5_1;
|
|
4902
|
+
var tmp2_5 = state.z6w();
|
|
4902
4903
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4903
|
-
var exceptPlayerId_0 = this.
|
|
4904
|
-
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.
|
|
4904
|
+
var exceptPlayerId_0 = this.se5_1.qe5_1.supportBackwardActions ? action_0.y8a_1 : null;
|
|
4905
|
+
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.re5_1.y6l(), tmp2_5.id, exceptPlayerId_0);
|
|
4905
4906
|
var tmp$ret$111 = mapToClient_6(action_0, sendToPlayer_10);
|
|
4906
4907
|
tmp = listOfNotNull(tmp$ret$111);
|
|
4907
4908
|
} else {
|
|
4908
4909
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
4909
|
-
var tmp0_11 = this.
|
|
4910
|
+
var tmp0_11 = this.se5_1;
|
|
4910
4911
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4911
|
-
var table_7 = state.
|
|
4912
|
-
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.
|
|
4912
|
+
var table_7 = state.z6w();
|
|
4913
|
+
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.re5_1.y6l(), table_7.id, null);
|
|
4913
4914
|
var tmp$ret$113 = mapToClient_5(action_0, sendToPlayer_11);
|
|
4914
4915
|
tmp = listOfNotNull(tmp$ret$113);
|
|
4915
4916
|
} else {
|
|
4916
4917
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
4917
|
-
var tmp0_12 = this.
|
|
4918
|
-
var tmp2_6 = state.
|
|
4918
|
+
var tmp0_12 = this.se5_1;
|
|
4919
|
+
var tmp2_6 = state.z6w();
|
|
4919
4920
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4920
|
-
var exceptPlayerId_1 = this.
|
|
4921
|
-
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.
|
|
4921
|
+
var exceptPlayerId_1 = this.se5_1.qe5_1.supportBackwardActions ? action_0.f8b_1 : null;
|
|
4922
|
+
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.re5_1.y6l(), tmp2_6.id, exceptPlayerId_1);
|
|
4922
4923
|
var tmp$ret$115 = mapToClient_4(action_0, sendToPlayer_12);
|
|
4923
4924
|
tmp = listOfNotNull(tmp$ret$115);
|
|
4924
4925
|
} else {
|
|
4925
4926
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
4926
|
-
var tmp0_13 = this.
|
|
4927
|
-
var tmp2_7 = state.
|
|
4927
|
+
var tmp0_13 = this.se5_1;
|
|
4928
|
+
var tmp2_7 = state.z6w();
|
|
4928
4929
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4929
|
-
var exceptPlayerId_2 = this.
|
|
4930
|
-
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.
|
|
4930
|
+
var exceptPlayerId_2 = this.se5_1.qe5_1.supportBackwardActions ? action_0.j8b_1 : null;
|
|
4931
|
+
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.re5_1.y6l(), tmp2_7.id, exceptPlayerId_2);
|
|
4931
4932
|
var tmp$ret$117 = mapToClient_3(action_0, sendToPlayer_13);
|
|
4932
4933
|
tmp = listOfNotNull(tmp$ret$117);
|
|
4933
4934
|
} else {
|
|
4934
4935
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
4935
|
-
var tmp0_14 = this.
|
|
4936
|
+
var tmp0_14 = this.se5_1;
|
|
4936
4937
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4937
|
-
var table_8 = state.
|
|
4938
|
-
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.
|
|
4938
|
+
var table_8 = state.z6w();
|
|
4939
|
+
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.re5_1.y6l(), table_8.id, null);
|
|
4939
4940
|
var tmp$ret$119 = mapToClient_2(action_0, sendToPlayer_14);
|
|
4940
4941
|
tmp = listOfNotNull(tmp$ret$119);
|
|
4941
4942
|
} else {
|
|
4942
4943
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
4943
|
-
var tmp0_15 = this.
|
|
4944
|
+
var tmp0_15 = this.se5_1;
|
|
4944
4945
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4945
|
-
var table_9 = state.
|
|
4946
|
-
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.
|
|
4946
|
+
var table_9 = state.z6w();
|
|
4947
|
+
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.re5_1.y6l(), table_9.id, null);
|
|
4947
4948
|
var tmp$ret$121 = mapToClient_1(action_0, sendToPlayer_15);
|
|
4948
4949
|
tmp = listOfNotNull(tmp$ret$121);
|
|
4949
4950
|
} else {
|
|
4950
4951
|
if (action_0 instanceof MessageMechanicAction) {
|
|
4951
|
-
var message = action_0.
|
|
4952
|
-
var tmp0_16 = this.
|
|
4953
|
-
var tmp2_8 = state.
|
|
4952
|
+
var message = action_0.r8b_1;
|
|
4953
|
+
var tmp0_16 = this.se5_1;
|
|
4954
|
+
var tmp2_8 = state.z6w();
|
|
4954
4955
|
var tmp_1;
|
|
4955
4956
|
var tmp_2;
|
|
4956
|
-
if (this.
|
|
4957
|
+
if (this.se5_1.qe5_1.supportBackwardActions) {
|
|
4957
4958
|
tmp_2 = isInterface(message, UserMessage);
|
|
4958
4959
|
} else {
|
|
4959
4960
|
tmp_2 = false;
|
|
@@ -4965,16 +4966,16 @@
|
|
|
4965
4966
|
}
|
|
4966
4967
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4967
4968
|
var exceptPlayerId_3 = tmp_1;
|
|
4968
|
-
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.
|
|
4969
|
+
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.re5_1.y6l(), tmp2_8.id, exceptPlayerId_3);
|
|
4969
4970
|
var tmp$ret$123 = mapToClient_0(action_0, sendToPlayer_16);
|
|
4970
4971
|
tmp = listOfNotNull(tmp$ret$123);
|
|
4971
4972
|
} else {
|
|
4972
4973
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
4973
|
-
var tmp0_17 = this.
|
|
4974
|
-
var tmp2_9 = state.
|
|
4974
|
+
var tmp0_17 = this.se5_1;
|
|
4975
|
+
var tmp2_9 = state.z6w();
|
|
4975
4976
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4976
4977
|
var exceptPlayerId_4 = action_0.playerId;
|
|
4977
|
-
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.
|
|
4978
|
+
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.re5_1.y6l(), tmp2_9.id, exceptPlayerId_4);
|
|
4978
4979
|
var tmp$ret$125 = mapToClient(action_0, sendToPlayer_17);
|
|
4979
4980
|
tmp = listOfNotNull(tmp$ret$125);
|
|
4980
4981
|
} else {
|
|
@@ -5007,14 +5008,14 @@
|
|
|
5007
5008
|
}
|
|
5008
5009
|
next(action_0);
|
|
5009
5010
|
};
|
|
5010
|
-
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).
|
|
5011
|
-
return this.
|
|
5011
|
+
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).z6n = function (store, next, action) {
|
|
5012
|
+
return this.p6p(store, next, action);
|
|
5012
5013
|
};
|
|
5013
5014
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
5014
|
-
this.
|
|
5015
|
-
this.
|
|
5015
|
+
this.qe5_1 = logicConfig;
|
|
5016
|
+
this.re5_1 = idsProvider;
|
|
5016
5017
|
}
|
|
5017
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
5018
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).s9i = function () {
|
|
5018
5019
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
5019
5020
|
return new ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this);
|
|
5020
5021
|
};
|
|
@@ -5023,18 +5024,18 @@
|
|
|
5023
5024
|
return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
|
|
5024
5025
|
}
|
|
5025
5026
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
5026
|
-
this.
|
|
5027
|
-
this.
|
|
5027
|
+
this.be6_1 = $provider;
|
|
5028
|
+
this.ce6_1 = $action;
|
|
5028
5029
|
CoroutineImpl.call(this, resultContinuation);
|
|
5029
5030
|
}
|
|
5030
|
-
protoOf(sendToClientActionMiddleware$o$handle$slambda).
|
|
5031
|
-
var tmp = this.
|
|
5031
|
+
protoOf(sendToClientActionMiddleware$o$handle$slambda).j29 = function ($this$launchDefault, $completion) {
|
|
5032
|
+
var tmp = this.k29($this$launchDefault, $completion);
|
|
5032
5033
|
tmp.t8_1 = Unit_instance;
|
|
5033
5034
|
tmp.u8_1 = null;
|
|
5034
5035
|
return tmp.z8();
|
|
5035
5036
|
};
|
|
5036
5037
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).h9 = function (p1, $completion) {
|
|
5037
|
-
return this.
|
|
5038
|
+
return this.j29((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
5038
5039
|
};
|
|
5039
5040
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).z8 = function () {
|
|
5040
5041
|
var suspendResult = this.t8_1;
|
|
@@ -5045,7 +5046,7 @@
|
|
|
5045
5046
|
case 0:
|
|
5046
5047
|
this.s8_1 = 2;
|
|
5047
5048
|
this.r8_1 = 1;
|
|
5048
|
-
suspendResult = this.
|
|
5049
|
+
suspendResult = this.be6_1.oe2(this.ce6_1, this);
|
|
5049
5050
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5050
5051
|
return suspendResult;
|
|
5051
5052
|
}
|
|
@@ -5067,33 +5068,33 @@
|
|
|
5067
5068
|
}
|
|
5068
5069
|
while (true);
|
|
5069
5070
|
};
|
|
5070
|
-
protoOf(sendToClientActionMiddleware$o$handle$slambda).
|
|
5071
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
5072
|
-
i.
|
|
5071
|
+
protoOf(sendToClientActionMiddleware$o$handle$slambda).k29 = function ($this$launchDefault, completion) {
|
|
5072
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.be6_1, this.ce6_1, completion);
|
|
5073
|
+
i.de6_1 = $this$launchDefault;
|
|
5073
5074
|
return i;
|
|
5074
5075
|
};
|
|
5075
5076
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
5076
5077
|
var i = new sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation);
|
|
5077
5078
|
var l = function ($this$launchDefault, $completion) {
|
|
5078
|
-
return i.
|
|
5079
|
+
return i.j29($this$launchDefault, $completion);
|
|
5079
5080
|
};
|
|
5080
5081
|
l.$arity = 1;
|
|
5081
5082
|
return l;
|
|
5082
5083
|
}
|
|
5083
5084
|
function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
|
|
5084
|
-
this.
|
|
5085
|
-
this.
|
|
5085
|
+
this.ee6_1 = $asyncProvider;
|
|
5086
|
+
this.fe6_1 = $provider;
|
|
5086
5087
|
}
|
|
5087
|
-
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).
|
|
5088
|
+
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).a6o = function (action) {
|
|
5088
5089
|
return action instanceof ToClientAction;
|
|
5089
5090
|
};
|
|
5090
|
-
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).
|
|
5091
|
+
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).p6p = function (store, next, action) {
|
|
5091
5092
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
5092
|
-
this.
|
|
5093
|
+
this.ee6_1.d6k(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.fe6_1, action_0, null));
|
|
5093
5094
|
next(action_0);
|
|
5094
5095
|
};
|
|
5095
|
-
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).
|
|
5096
|
-
return this.
|
|
5096
|
+
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).z6n = function (store, next, action) {
|
|
5097
|
+
return this.p6p(store, next, action);
|
|
5097
5098
|
};
|
|
5098
5099
|
function serverConfigReducer() {
|
|
5099
5100
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
@@ -5101,100 +5102,109 @@
|
|
|
5101
5102
|
}
|
|
5102
5103
|
function serverConfigReducer$$inlined$reducerForActionType$1() {
|
|
5103
5104
|
}
|
|
5104
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
5105
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).a6o = function (action) {
|
|
5105
5106
|
return action instanceof UpdateServerConfigAction;
|
|
5106
5107
|
};
|
|
5107
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
5108
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).x9r = function (state, action) {
|
|
5108
5109
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
5109
|
-
return state.
|
|
5110
|
+
return state.l9d(VOID, get_serverStatePayload(state).copy(action_0.ue4_1));
|
|
5110
5111
|
};
|
|
5111
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
5112
|
-
return this.
|
|
5112
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).q6p = function (state, action) {
|
|
5113
|
+
return this.x9r((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5113
5114
|
};
|
|
5115
|
+
function Companion_5() {
|
|
5116
|
+
this.ge6_1 = 'ServerMechanicLifecycleReducer';
|
|
5117
|
+
}
|
|
5118
|
+
var Companion_instance_13;
|
|
5119
|
+
function Companion_getInstance_6() {
|
|
5120
|
+
return Companion_instance_13;
|
|
5121
|
+
}
|
|
5114
5122
|
function ServerMechanicLifecycleReducer$onStart$lambda($action) {
|
|
5115
5123
|
return function (it) {
|
|
5116
5124
|
var tmp = Companion_instance_1;
|
|
5117
5125
|
var tmp_0;
|
|
5118
5126
|
if (it.isBot) {
|
|
5119
|
-
tmp_0 = Companion_instance_2.
|
|
5127
|
+
tmp_0 = Companion_instance_2.y6e(PlayerConnectionState_LEFT_getInstance());
|
|
5120
5128
|
} else {
|
|
5121
5129
|
var tmp_1 = Companion_instance_2;
|
|
5122
5130
|
var tmp_2 = PlayerConnectionState_LIVE_getInstance();
|
|
5123
5131
|
Companion_getInstance();
|
|
5124
5132
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
5125
|
-
var this_0 = $action.
|
|
5133
|
+
var this_0 = $action.m89_1.timeoutTimeMillis;
|
|
5126
5134
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
5127
|
-
tmp_0 = tmp_1.
|
|
5135
|
+
tmp_0 = tmp_1.x6e(tmp_2, tmp$ret$0);
|
|
5128
5136
|
}
|
|
5129
|
-
return tmp.
|
|
5137
|
+
return tmp.f6g(tmp_0);
|
|
5130
5138
|
};
|
|
5131
5139
|
}
|
|
5132
5140
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
5133
5141
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
5134
|
-
this.
|
|
5142
|
+
this.je6_1 = logger;
|
|
5135
5143
|
}
|
|
5136
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5144
|
+
protoOf(ServerMechanicLifecycleReducer).j9t = function (state, action) {
|
|
5145
|
+
this.je6_1.d('ServerMechanicLifecycleReducer', 'onStart ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
5137
5146
|
var serverState = get_serverStatePayloadOrNull(state.payload);
|
|
5138
5147
|
var tmp8_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5139
|
-
var tmp0_$this = this.
|
|
5140
|
-
var tmp1_tableId = action.
|
|
5141
|
-
var tmp2_gameId = action.
|
|
5142
|
-
var tmp3_version = action.
|
|
5143
|
-
var tmp4_config = action.
|
|
5144
|
-
var tmp5_users = action.
|
|
5148
|
+
var tmp0_$this = this.k9t_1;
|
|
5149
|
+
var tmp1_tableId = action.n89_1;
|
|
5150
|
+
var tmp2_gameId = action.n89_1;
|
|
5151
|
+
var tmp3_version = action.o89_1;
|
|
5152
|
+
var tmp4_config = action.m89_1;
|
|
5153
|
+
var tmp5_users = action.q89_1;
|
|
5145
5154
|
var tmp6_spectators = action.spectators;
|
|
5146
|
-
var tmp7_gameCreatorPlayerId = action.
|
|
5147
|
-
var tmp9_tableOrNull = tmp0_$this.
|
|
5155
|
+
var tmp7_gameCreatorPlayerId = action.p89_1;
|
|
5156
|
+
var tmp9_tableOrNull = tmp0_$this.q9u(tmp1_tableId, tmp2_gameId, tmp4_config, tmp3_version, tmp5_users, tmp6_spectators, tmp7_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
|
|
5148
5157
|
var tmp;
|
|
5149
5158
|
if (serverState == null) {
|
|
5150
|
-
this.
|
|
5151
|
-
tmp =
|
|
5159
|
+
this.je6_1.w(VOID, 'ServerPayload is not onStart');
|
|
5160
|
+
tmp = Companion_instance_14.initial();
|
|
5152
5161
|
} else {
|
|
5153
5162
|
tmp = serverState;
|
|
5154
5163
|
}
|
|
5155
5164
|
var tmp10_payload = tmp;
|
|
5156
|
-
return state.
|
|
5165
|
+
return state.l9d(tmp9_tableOrNull, tmp10_payload, tmp8_gameLifecycleState);
|
|
5157
5166
|
};
|
|
5158
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5167
|
+
protoOf(ServerMechanicLifecycleReducer).h9t = function (state, action) {
|
|
5168
|
+
this.je6_1.d('ServerMechanicLifecycleReducer', 'onContinue ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
5159
5169
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5160
|
-
var tmp2_tableOrNull = action.
|
|
5161
|
-
var tmp =
|
|
5170
|
+
var tmp2_tableOrNull = action.t89_1;
|
|
5171
|
+
var tmp = Companion_instance_14;
|
|
5162
5172
|
var tmp_0 = get_serverStatePayload(state).config;
|
|
5163
|
-
var tmp_1 = action.
|
|
5173
|
+
var tmp_1 = action.u89_1;
|
|
5164
5174
|
var tmp0_safe_receiver = tmp_1 instanceof RestartRoundReason ? tmp_1 : null;
|
|
5165
|
-
var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
5166
|
-
return state.
|
|
5175
|
+
var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.q6c_1));
|
|
5176
|
+
return state.l9d(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
|
|
5167
5177
|
};
|
|
5168
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5169
|
-
this.
|
|
5178
|
+
protoOf(ServerMechanicLifecycleReducer).i9t = function (state, action) {
|
|
5179
|
+
this.l9t_1.i5n(action.previousGameId);
|
|
5170
5180
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5171
|
-
var tmp1_tableOrNull = this.
|
|
5172
|
-
return state.
|
|
5181
|
+
var tmp1_tableOrNull = this.k9t_1.r9u(state.z6w(), action.gameId);
|
|
5182
|
+
return state.l9d(tmp1_tableOrNull, VOID, tmp0_gameLifecycleState);
|
|
5173
5183
|
};
|
|
5174
5184
|
function spectatorsReducer(logger) {
|
|
5175
5185
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
5176
5186
|
return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
|
|
5177
5187
|
}
|
|
5178
5188
|
function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
|
|
5179
|
-
this.
|
|
5189
|
+
this.ke6_1 = $logger;
|
|
5180
5190
|
}
|
|
5181
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
5191
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).a6o = function (action) {
|
|
5182
5192
|
return isInterface(action, SpectatorsAction);
|
|
5183
5193
|
};
|
|
5184
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
5194
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).x9r = function (state, action) {
|
|
5185
5195
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
5186
|
-
var table = state.
|
|
5196
|
+
var table = state.z6w();
|
|
5187
5197
|
var tmp;
|
|
5188
5198
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
5189
5199
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5190
|
-
var tmp0 = action_0.
|
|
5200
|
+
var tmp0 = action_0.ve4_1;
|
|
5191
5201
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5192
5202
|
var destination = ArrayList_init_$Create$_0();
|
|
5193
5203
|
// Inline function 'kotlin.collections.forEach' call
|
|
5194
5204
|
var _iterator__ex2g4s = tmp0.l();
|
|
5195
5205
|
while (_iterator__ex2g4s.m()) {
|
|
5196
5206
|
var element = _iterator__ex2g4s.n();
|
|
5197
|
-
var tmp0_safe_receiver = singleOrNull(filterByPlayerId(table.spectators, element.
|
|
5207
|
+
var tmp0_safe_receiver = singleOrNull(filterByPlayerId(table.spectators, element.w6d_1));
|
|
5198
5208
|
if (tmp0_safe_receiver == null)
|
|
5199
5209
|
null;
|
|
5200
5210
|
else {
|
|
@@ -5206,9 +5216,9 @@
|
|
|
5206
5216
|
var tmp_0;
|
|
5207
5217
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5208
5218
|
if (!sameSpectators.q()) {
|
|
5209
|
-
this.
|
|
5219
|
+
this.ke6_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
5210
5220
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5211
|
-
var tmp0_0 = action_0.
|
|
5221
|
+
var tmp0_0 = action_0.ve4_1;
|
|
5212
5222
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5213
5223
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
5214
5224
|
var _iterator__ex2g4s_0 = tmp0_0.l();
|
|
@@ -5230,7 +5240,7 @@
|
|
|
5230
5240
|
var _iterator__ex2g4s_1 = sameSpectators.l();
|
|
5231
5241
|
while (_iterator__ex2g4s_1.m()) {
|
|
5232
5242
|
var element_1 = _iterator__ex2g4s_1.n();
|
|
5233
|
-
if (element_0.
|
|
5243
|
+
if (element_0.w6d_1 === element_1.playerId) {
|
|
5234
5244
|
tmp$ret$8 = true;
|
|
5235
5245
|
break $l$block_0;
|
|
5236
5246
|
}
|
|
@@ -5243,7 +5253,7 @@
|
|
|
5243
5253
|
}
|
|
5244
5254
|
tmp_0 = destination_0;
|
|
5245
5255
|
} else {
|
|
5246
|
-
tmp_0 = action_0.
|
|
5256
|
+
tmp_0 = action_0.ve4_1;
|
|
5247
5257
|
}
|
|
5248
5258
|
// Inline function 'kotlin.collections.map' call
|
|
5249
5259
|
var this_0 = tmp_0;
|
|
@@ -5256,18 +5266,18 @@
|
|
|
5256
5266
|
destination_1.j(tmp$ret$13);
|
|
5257
5267
|
}
|
|
5258
5268
|
var spectatorsToAdd = toSet(destination_1);
|
|
5259
|
-
tmp = state.
|
|
5269
|
+
tmp = state.l9d(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
|
|
5260
5270
|
} else {
|
|
5261
5271
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
5262
5272
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5263
|
-
var tmp0_1 = action_0.
|
|
5273
|
+
var tmp0_1 = action_0.we4_1;
|
|
5264
5274
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5265
5275
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
5266
5276
|
// Inline function 'kotlin.collections.forEach' call
|
|
5267
5277
|
var _iterator__ex2g4s_3 = tmp0_1.l();
|
|
5268
5278
|
while (_iterator__ex2g4s_3.m()) {
|
|
5269
5279
|
var element_2 = _iterator__ex2g4s_3.n();
|
|
5270
|
-
var tmp0_safe_receiver_0 = singleOrNull(filterByPlayerId(table.spectators, element_2.
|
|
5280
|
+
var tmp0_safe_receiver_0 = singleOrNull(filterByPlayerId(table.spectators, element_2.w6d_1));
|
|
5271
5281
|
if (tmp0_safe_receiver_0 == null)
|
|
5272
5282
|
null;
|
|
5273
5283
|
else {
|
|
@@ -5279,9 +5289,9 @@
|
|
|
5279
5289
|
var tmp_2;
|
|
5280
5290
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5281
5291
|
if (!sameSpectators_0.q()) {
|
|
5282
|
-
this.
|
|
5292
|
+
this.ke6_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
5283
5293
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5284
|
-
var tmp0_2 = action_0.
|
|
5294
|
+
var tmp0_2 = action_0.we4_1;
|
|
5285
5295
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5286
5296
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
5287
5297
|
var _iterator__ex2g4s_4 = tmp0_2.l();
|
|
@@ -5303,7 +5313,7 @@
|
|
|
5303
5313
|
var _iterator__ex2g4s_5 = sameSpectators_0.l();
|
|
5304
5314
|
while (_iterator__ex2g4s_5.m()) {
|
|
5305
5315
|
var element_4 = _iterator__ex2g4s_5.n();
|
|
5306
|
-
if (element_3.
|
|
5316
|
+
if (element_3.w6d_1 === element_4.playerId) {
|
|
5307
5317
|
tmp$ret$24 = true;
|
|
5308
5318
|
break $l$block_2;
|
|
5309
5319
|
}
|
|
@@ -5316,7 +5326,7 @@
|
|
|
5316
5326
|
}
|
|
5317
5327
|
tmp_2 = destination_3;
|
|
5318
5328
|
} else {
|
|
5319
|
-
tmp_2 = action_0.
|
|
5329
|
+
tmp_2 = action_0.we4_1;
|
|
5320
5330
|
}
|
|
5321
5331
|
var spectatorsToRemove = toSet(tmp_2);
|
|
5322
5332
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -5342,7 +5352,7 @@
|
|
|
5342
5352
|
var _iterator__ex2g4s_7 = spectatorsToRemove.l();
|
|
5343
5353
|
while (_iterator__ex2g4s_7.m()) {
|
|
5344
5354
|
var element_6 = _iterator__ex2g4s_7.n();
|
|
5345
|
-
if (element_5.playerId === element_6.
|
|
5355
|
+
if (element_5.playerId === element_6.w6d_1) {
|
|
5346
5356
|
tmp$ret$29 = true;
|
|
5347
5357
|
break $l$block_4;
|
|
5348
5358
|
}
|
|
@@ -5353,44 +5363,44 @@
|
|
|
5353
5363
|
destination_4.j(element_5);
|
|
5354
5364
|
}
|
|
5355
5365
|
}
|
|
5356
|
-
tmp = state.
|
|
5366
|
+
tmp = state.l9d(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
|
|
5357
5367
|
} else {
|
|
5358
5368
|
noWhenBranchMatchedException();
|
|
5359
5369
|
}
|
|
5360
5370
|
}
|
|
5361
5371
|
return tmp;
|
|
5362
5372
|
};
|
|
5363
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
5364
|
-
return this.
|
|
5373
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).q6p = function (state, action) {
|
|
5374
|
+
return this.x9r((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5365
5375
|
};
|
|
5366
|
-
function
|
|
5376
|
+
function Companion_6() {
|
|
5367
5377
|
}
|
|
5368
|
-
protoOf(
|
|
5378
|
+
protoOf(Companion_6).le6 = function (config) {
|
|
5369
5379
|
return new ServerStatePayload(config);
|
|
5370
5380
|
};
|
|
5371
|
-
protoOf(
|
|
5381
|
+
protoOf(Companion_6).initial = function (config, $super) {
|
|
5372
5382
|
config = config === VOID ? Companion_instance_8.initial(null) : config;
|
|
5373
|
-
return $super === VOID ? this.
|
|
5383
|
+
return $super === VOID ? this.le6(config) : $super.le6.call(this, config);
|
|
5374
5384
|
};
|
|
5375
|
-
var
|
|
5376
|
-
function
|
|
5377
|
-
return
|
|
5385
|
+
var Companion_instance_14;
|
|
5386
|
+
function Companion_getInstance_7() {
|
|
5387
|
+
return Companion_instance_14;
|
|
5378
5388
|
}
|
|
5379
5389
|
function ServerStatePayload(config) {
|
|
5380
5390
|
this.config = config;
|
|
5381
5391
|
}
|
|
5382
|
-
protoOf(ServerStatePayload).
|
|
5392
|
+
protoOf(ServerStatePayload).e3v = function () {
|
|
5383
5393
|
return this.config;
|
|
5384
5394
|
};
|
|
5385
5395
|
protoOf(ServerStatePayload).ne = function () {
|
|
5386
5396
|
return this.config;
|
|
5387
5397
|
};
|
|
5388
|
-
protoOf(ServerStatePayload).
|
|
5398
|
+
protoOf(ServerStatePayload).me6 = function (config) {
|
|
5389
5399
|
return new ServerStatePayload(config);
|
|
5390
5400
|
};
|
|
5391
5401
|
protoOf(ServerStatePayload).copy = function (config, $super) {
|
|
5392
5402
|
config = config === VOID ? this.config : config;
|
|
5393
|
-
return $super === VOID ? this.
|
|
5403
|
+
return $super === VOID ? this.me6(config) : $super.me6.call(this, config);
|
|
5394
5404
|
};
|
|
5395
5405
|
protoOf(ServerStatePayload).toString = function () {
|
|
5396
5406
|
return 'ServerStatePayload(config=' + this.config.toString() + ')';
|
|
@@ -5408,12 +5418,12 @@
|
|
|
5408
5418
|
return true;
|
|
5409
5419
|
};
|
|
5410
5420
|
function serverLoggerKeyFromPayload(_this__u8e3s4, payload) {
|
|
5411
|
-
var gameId = Companion_instance_3.
|
|
5421
|
+
var gameId = Companion_instance_3.t9w(payload);
|
|
5412
5422
|
var tmp;
|
|
5413
5423
|
if (!(gameId == null)) {
|
|
5414
5424
|
tmp = new ServerLoggerKey(gameId);
|
|
5415
5425
|
} else {
|
|
5416
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
5426
|
+
var tmp0_safe_receiver = _this__u8e3s4.y6v_1;
|
|
5417
5427
|
tmp = tmp0_safe_receiver == null ? null : get_serverLoggerKey(tmp0_safe_receiver);
|
|
5418
5428
|
}
|
|
5419
5429
|
return tmp;
|
|
@@ -5451,14 +5461,14 @@
|
|
|
5451
5461
|
return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
|
|
5452
5462
|
}
|
|
5453
5463
|
function _get_logger__rkp4sl_0($this) {
|
|
5454
|
-
var tmp0 = $this.
|
|
5464
|
+
var tmp0 = $this.ve6_1;
|
|
5455
5465
|
var tmp = KProperty1;
|
|
5456
5466
|
// Inline function 'kotlin.getValue' call
|
|
5457
5467
|
getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
|
|
5458
5468
|
return tmp0.w();
|
|
5459
5469
|
}
|
|
5460
5470
|
function _get_di__ndbzja($this) {
|
|
5461
|
-
var tmp0 = $this.
|
|
5471
|
+
var tmp0 = $this.we6_1;
|
|
5462
5472
|
var tmp = KProperty1;
|
|
5463
5473
|
// Inline function 'kotlin.getValue' call
|
|
5464
5474
|
getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
|
|
@@ -5475,8 +5485,8 @@
|
|
|
5475
5485
|
}
|
|
5476
5486
|
function createCallbackOutput($this, gameServer) {
|
|
5477
5487
|
var tmp;
|
|
5478
|
-
if (!($this.
|
|
5479
|
-
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.
|
|
5488
|
+
if (!($this.te6_1 == null)) {
|
|
5489
|
+
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.te6_1);
|
|
5480
5490
|
tmp = new CallbackWrapperLoggerOutput(tmp_0, GameServerEngineControllerImpl$createCallbackOutput$lambda(gameServer));
|
|
5481
5491
|
} else {
|
|
5482
5492
|
tmp = null;
|
|
@@ -5490,11 +5500,11 @@
|
|
|
5490
5500
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
5491
5501
|
return function () {
|
|
5492
5502
|
var tmp;
|
|
5493
|
-
if (this$0.
|
|
5503
|
+
if (this$0.te6_1 == null) {
|
|
5494
5504
|
tmp = null;
|
|
5495
5505
|
} else {
|
|
5496
5506
|
// Inline function 'kotlin.let' call
|
|
5497
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
5507
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.te6_1)]));
|
|
5498
5508
|
}
|
|
5499
5509
|
var tmp1_elvis_lhs = tmp;
|
|
5500
5510
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -5527,7 +5537,7 @@
|
|
|
5527
5537
|
tmp_0.f1f(tmp$ret$3);
|
|
5528
5538
|
$this$DI.j1b(jsonModule());
|
|
5529
5539
|
$this$DI.j1b(serverHelpersModule());
|
|
5530
|
-
$this$DI.j1b(randomOrgModule(this$0.
|
|
5540
|
+
$this$DI.j1b(randomOrgModule(this$0.ue6_1));
|
|
5531
5541
|
return Unit_instance;
|
|
5532
5542
|
};
|
|
5533
5543
|
}
|
|
@@ -5603,16 +5613,16 @@
|
|
|
5603
5613
|
};
|
|
5604
5614
|
}
|
|
5605
5615
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
5606
|
-
this.
|
|
5616
|
+
this.de7_1 = $reducer;
|
|
5607
5617
|
}
|
|
5608
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
5618
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).a6o = function (action) {
|
|
5609
5619
|
return isInterface(action, Action);
|
|
5610
5620
|
};
|
|
5611
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
5612
|
-
return this.
|
|
5621
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).x9r = function (state, action) {
|
|
5622
|
+
return this.de7_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
5613
5623
|
};
|
|
5614
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
5615
|
-
return this.
|
|
5624
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).q6p = function (state, action) {
|
|
5625
|
+
return this.x9r((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5616
5626
|
};
|
|
5617
5627
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($gameServer) {
|
|
5618
5628
|
return function () {
|
|
@@ -5641,7 +5651,7 @@
|
|
|
5641
5651
|
null;
|
|
5642
5652
|
else {
|
|
5643
5653
|
// Inline function 'kotlin.also' call
|
|
5644
|
-
$combinedLogger.
|
|
5654
|
+
$combinedLogger.m51(tmp0_safe_receiver);
|
|
5645
5655
|
// Inline function 'org.kodein.di.bind' call
|
|
5646
5656
|
// Inline function 'org.kodein.type.generic' call
|
|
5647
5657
|
var tmp = typeToken(createKType(getKClass(FileLoggerOutput), arrayOf([]), false));
|
|
@@ -5663,7 +5673,7 @@
|
|
|
5663
5673
|
null;
|
|
5664
5674
|
else {
|
|
5665
5675
|
// Inline function 'kotlin.also' call
|
|
5666
|
-
$combinedLogger.
|
|
5676
|
+
$combinedLogger.m51(tmp1_safe_receiver);
|
|
5667
5677
|
// Inline function 'org.kodein.di.bind' call
|
|
5668
5678
|
// Inline function 'org.kodein.type.generic' call
|
|
5669
5679
|
var tmp_5 = typeToken(createKType(getKClass(CallbackWrapperLoggerOutput), arrayOf([]), false));
|
|
@@ -5686,20 +5696,20 @@
|
|
|
5686
5696
|
function GameServerEngineControllerImpl$createFileLoggerOutput$lambda($gameServer) {
|
|
5687
5697
|
return function (it) {
|
|
5688
5698
|
var tmp0_safe_receiver = $gameServer();
|
|
5689
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
5699
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.i6e();
|
|
5690
5700
|
return tmp1_safe_receiver == null ? null : serverLoggerKeyFromPayload(tmp1_safe_receiver, it);
|
|
5691
5701
|
};
|
|
5692
5702
|
}
|
|
5693
5703
|
function GameServerEngineControllerImpl$createCallbackOutput$lambda($gameServer) {
|
|
5694
5704
|
return function (it) {
|
|
5695
|
-
var payload = Companion_instance_5.
|
|
5705
|
+
var payload = Companion_instance_5.e9v(it);
|
|
5696
5706
|
var tmp;
|
|
5697
5707
|
if (!(payload == null)) {
|
|
5698
5708
|
return payload;
|
|
5699
5709
|
}
|
|
5700
5710
|
var tmp0_safe_receiver = $gameServer();
|
|
5701
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
5702
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
5711
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.i6e();
|
|
5712
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.y6v_1;
|
|
5703
5713
|
return tmp2_safe_receiver == null ? null : toLoggerPayload(tmp2_safe_receiver);
|
|
5704
5714
|
};
|
|
5705
5715
|
}
|
|
@@ -5713,7 +5723,7 @@
|
|
|
5713
5723
|
// Inline function 'kotlin.let' call
|
|
5714
5724
|
$this$DI.j1b(tmp0_safe_receiver);
|
|
5715
5725
|
}
|
|
5716
|
-
$this$DI.j1b(dealerModule(this$0.randomPoolProvider, this$0.
|
|
5726
|
+
$this$DI.j1b(dealerModule(this$0.randomPoolProvider, this$0.ue6_1));
|
|
5717
5727
|
$this$DI.j1b(coreModule($coreConfig));
|
|
5718
5728
|
$this$DI.j1b(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $ratingConfig, $externalReducers, $externalMiddlewares));
|
|
5719
5729
|
return Unit_instance;
|
|
@@ -5722,13 +5732,13 @@
|
|
|
5722
5732
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
5723
5733
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
5724
5734
|
production = production === VOID ? true : production;
|
|
5725
|
-
this.
|
|
5726
|
-
this.
|
|
5727
|
-
AppEnvironment_getInstance().
|
|
5735
|
+
this.te6_1 = loggerCallback;
|
|
5736
|
+
this.ue6_1 = randomOrgConfig;
|
|
5737
|
+
AppEnvironment_getInstance().d6v(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
|
|
5728
5738
|
var tmp = this;
|
|
5729
|
-
tmp.
|
|
5739
|
+
tmp.ve6_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
5730
5740
|
var tmp_0 = this;
|
|
5731
|
-
tmp_0.
|
|
5741
|
+
tmp_0.we6_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
5732
5742
|
var tmp_1 = this;
|
|
5733
5743
|
// Inline function 'org.kodein.di.instance' call
|
|
5734
5744
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -5737,7 +5747,7 @@
|
|
|
5737
5747
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5738
5748
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
5739
5749
|
var tmp_4 = KProperty1;
|
|
5740
|
-
tmp_1.
|
|
5750
|
+
tmp_1.xe6_1 = tmp_3.c1h(this, getPropertyCallableRef('parser', 1, tmp_4, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
|
|
5741
5751
|
var tmp_5 = this;
|
|
5742
5752
|
// Inline function 'org.kodein.di.instance' call
|
|
5743
5753
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -5746,7 +5756,7 @@
|
|
|
5746
5756
|
var tmp$ret$2 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
5747
5757
|
var tmp_7 = Instance(this_1, tmp$ret$2, null);
|
|
5748
5758
|
var tmp_8 = KProperty1;
|
|
5749
|
-
tmp_5.
|
|
5759
|
+
tmp_5.ye6_1 = tmp_7.c1h(this, getPropertyCallableRef('helper', 1, tmp_8, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
|
|
5750
5760
|
var tmp_9 = this;
|
|
5751
5761
|
// Inline function 'org.kodein.di.instance' call
|
|
5752
5762
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -5755,7 +5765,7 @@
|
|
|
5755
5765
|
var tmp$ret$4 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
5756
5766
|
var tmp_11 = Instance(this_2, tmp$ret$4, null);
|
|
5757
5767
|
var tmp_12 = KProperty1;
|
|
5758
|
-
tmp_9.
|
|
5768
|
+
tmp_9.ze6_1 = tmp_11.c1h(this, getPropertyCallableRef('serverHelper', 1, tmp_12, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
|
|
5759
5769
|
var tmp_13 = this;
|
|
5760
5770
|
// Inline function 'org.kodein.di.instance' call
|
|
5761
5771
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -5764,7 +5774,7 @@
|
|
|
5764
5774
|
var tmp$ret$6 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
5765
5775
|
var tmp_15 = Instance(this_3, tmp$ret$6, null);
|
|
5766
5776
|
var tmp_16 = KProperty1;
|
|
5767
|
-
tmp_13.
|
|
5777
|
+
tmp_13.ae7_1 = tmp_15.c1h(this, getPropertyCallableRef('resources', 1, tmp_16, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
|
|
5768
5778
|
var tmp_17 = this;
|
|
5769
5779
|
// Inline function 'org.kodein.di.instance' call
|
|
5770
5780
|
var this_4 = _get_di__ndbzja(this);
|
|
@@ -5773,7 +5783,7 @@
|
|
|
5773
5783
|
var tmp$ret$8 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
5774
5784
|
var tmp_19 = Instance(this_4, tmp$ret$8, null);
|
|
5775
5785
|
var tmp_20 = KProperty1;
|
|
5776
|
-
tmp_17.
|
|
5786
|
+
tmp_17.be7_1 = tmp_19.c1h(this, getPropertyCallableRef('test', 1, tmp_20, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
|
|
5777
5787
|
var tmp_21 = this;
|
|
5778
5788
|
// Inline function 'org.kodein.di.instance' call
|
|
5779
5789
|
var this_5 = _get_di__ndbzja(this);
|
|
@@ -5782,57 +5792,57 @@
|
|
|
5782
5792
|
var tmp$ret$10 = isInterface(tmp_22, TypeToken) ? tmp_22 : THROW_CCE();
|
|
5783
5793
|
var tmp_23 = Instance(this_5, tmp$ret$10, null);
|
|
5784
5794
|
var tmp_24 = KProperty1;
|
|
5785
|
-
tmp_21.
|
|
5795
|
+
tmp_21.ce7_1 = tmp_23.c1h(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_24, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
|
|
5786
5796
|
}
|
|
5787
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5788
|
-
var tmp0 = this.
|
|
5797
|
+
protoOf(GameServerEngineControllerImpl).bdl = function () {
|
|
5798
|
+
var tmp0 = this.xe6_1;
|
|
5789
5799
|
var tmp = KProperty1;
|
|
5790
5800
|
// Inline function 'kotlin.getValue' call
|
|
5791
5801
|
getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
|
|
5792
5802
|
return tmp0.w();
|
|
5793
5803
|
};
|
|
5794
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5795
|
-
var tmp0 = this.
|
|
5804
|
+
protoOf(GameServerEngineControllerImpl).oe6 = function () {
|
|
5805
|
+
var tmp0 = this.ye6_1;
|
|
5796
5806
|
var tmp = KProperty1;
|
|
5797
5807
|
// Inline function 'kotlin.getValue' call
|
|
5798
5808
|
getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
|
|
5799
5809
|
return tmp0.w();
|
|
5800
5810
|
};
|
|
5801
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5802
|
-
var tmp0 = this.
|
|
5811
|
+
protoOf(GameServerEngineControllerImpl).pe6 = function () {
|
|
5812
|
+
var tmp0 = this.ze6_1;
|
|
5803
5813
|
var tmp = KProperty1;
|
|
5804
5814
|
// Inline function 'kotlin.getValue' call
|
|
5805
5815
|
getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
|
|
5806
5816
|
return tmp0.w();
|
|
5807
5817
|
};
|
|
5808
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5809
|
-
var tmp0 = this.
|
|
5818
|
+
protoOf(GameServerEngineControllerImpl).qe6 = function () {
|
|
5819
|
+
var tmp0 = this.ae7_1;
|
|
5810
5820
|
var tmp = KProperty1;
|
|
5811
5821
|
// Inline function 'kotlin.getValue' call
|
|
5812
5822
|
getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
|
|
5813
5823
|
return tmp0.w();
|
|
5814
5824
|
};
|
|
5815
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5816
|
-
var tmp0 = this.
|
|
5825
|
+
protoOf(GameServerEngineControllerImpl).ne6 = function () {
|
|
5826
|
+
var tmp0 = this.be7_1;
|
|
5817
5827
|
var tmp = KProperty1;
|
|
5818
5828
|
// Inline function 'kotlin.getValue' call
|
|
5819
5829
|
getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
|
|
5820
5830
|
return tmp0.w();
|
|
5821
5831
|
};
|
|
5822
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5823
|
-
var tmp0 = this.
|
|
5832
|
+
protoOf(GameServerEngineControllerImpl).re6 = function () {
|
|
5833
|
+
var tmp0 = this.ce7_1;
|
|
5824
5834
|
var tmp = KProperty1;
|
|
5825
5835
|
// Inline function 'kotlin.getValue' call
|
|
5826
5836
|
getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
|
|
5827
5837
|
return tmp0.w();
|
|
5828
5838
|
};
|
|
5829
5839
|
protoOf(GameServerEngineControllerImpl).setEnableLogger = function (enabled) {
|
|
5830
|
-
Logger_getInstance().
|
|
5840
|
+
Logger_getInstance().w51_1 = enabled;
|
|
5831
5841
|
};
|
|
5832
5842
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
5833
5843
|
return this.createGameEngineWithLogic();
|
|
5834
5844
|
};
|
|
5835
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5845
|
+
protoOf(GameServerEngineControllerImpl).se6 = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig) {
|
|
5836
5846
|
var combinedLogger = Companion_instance_6.mx();
|
|
5837
5847
|
var gameServer = {_v: null};
|
|
5838
5848
|
var tmp0_botConfig = new EngineBotConfig(VOID, VOID, VOID, false);
|
|
@@ -5881,7 +5891,7 @@
|
|
|
5881
5891
|
function TestHelper() {
|
|
5882
5892
|
}
|
|
5883
5893
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
5884
|
-
var tmp0 = $this.
|
|
5894
|
+
var tmp0 = $this.ge7_1;
|
|
5885
5895
|
var tmp = KProperty1;
|
|
5886
5896
|
// Inline function 'kotlin.getValue' call
|
|
5887
5897
|
getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
|
|
@@ -5889,7 +5899,7 @@
|
|
|
5889
5899
|
}
|
|
5890
5900
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
5891
5901
|
return function ($this$singleton) {
|
|
5892
|
-
return this$0.
|
|
5902
|
+
return this$0.ee7_1;
|
|
5893
5903
|
};
|
|
5894
5904
|
}
|
|
5895
5905
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -5928,27 +5938,27 @@
|
|
|
5928
5938
|
return emptyMap();
|
|
5929
5939
|
}
|
|
5930
5940
|
function TestHelperImpl(logger) {
|
|
5931
|
-
this.
|
|
5941
|
+
this.ee7_1 = logger;
|
|
5932
5942
|
var tmp = this;
|
|
5933
5943
|
var tmp_0 = Companion_instance_4;
|
|
5934
|
-
tmp.
|
|
5944
|
+
tmp.fe7_1 = tmp_0.q1b(VOID, TestHelperImpl$di$lambda(this));
|
|
5935
5945
|
var tmp_1 = this;
|
|
5936
5946
|
// Inline function 'org.kodein.di.instance' call
|
|
5937
|
-
var this_0 = this.
|
|
5947
|
+
var this_0 = this.fe7_1;
|
|
5938
5948
|
// Inline function 'org.kodein.type.generic' call
|
|
5939
5949
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
5940
5950
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5941
5951
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
5942
5952
|
var tmp_4 = KProperty1;
|
|
5943
|
-
tmp_1.
|
|
5953
|
+
tmp_1.ge7_1 = tmp_3.c1h(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
5944
5954
|
}
|
|
5945
5955
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
5946
|
-
return _get_playerAnswerInteractor__msggz1(this).
|
|
5956
|
+
return _get_playerAnswerInteractor__msggz1(this).r94(playerId, table, botConfig);
|
|
5947
5957
|
};
|
|
5948
5958
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
5949
5959
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
5950
5960
|
if (isInterface(mechanicAction, NextPlayerTurnAction)) {
|
|
5951
|
-
var tmp0 = mechanicAction.
|
|
5961
|
+
var tmp0 = mechanicAction.o9f();
|
|
5952
5962
|
var tmp$ret$0;
|
|
5953
5963
|
$l$block_0: {
|
|
5954
5964
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -5980,7 +5990,7 @@
|
|
|
5980
5990
|
};
|
|
5981
5991
|
protoOf(TestHelperImpl).getPlayerAnswerFromMechanicAction = function (table, currentPlayerId, action, botConfig) {
|
|
5982
5992
|
if (isInterface(action, NextPlayerTurnAction)) {
|
|
5983
|
-
var tmp0 = action.
|
|
5993
|
+
var tmp0 = action.o9f();
|
|
5984
5994
|
var tmp$ret$0;
|
|
5985
5995
|
$l$block_0: {
|
|
5986
5996
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -6062,72 +6072,72 @@
|
|
|
6062
6072
|
}
|
|
6063
6073
|
//region block: post-declaration
|
|
6064
6074
|
defineProp(protoOf(GameServer$roomOnCreate$2$updatedUsers$previousTeams$1), 'playerId', function () {
|
|
6065
|
-
return this.
|
|
6075
|
+
return this.h6d();
|
|
6066
6076
|
});
|
|
6067
6077
|
protoOf(GameServer).roomOnCreate = roomOnCreate;
|
|
6068
6078
|
protoOf(GameServer).roomOnDelete = roomOnDelete;
|
|
6069
6079
|
protoOf(GameServer).shutdown = shutdown;
|
|
6070
6080
|
defineProp(protoOf(GameServer), 'metadata', function () {
|
|
6071
|
-
return this.
|
|
6081
|
+
return this.t8y();
|
|
6072
6082
|
}, function (value) {
|
|
6073
|
-
this.
|
|
6083
|
+
this.xe1(value);
|
|
6074
6084
|
});
|
|
6075
6085
|
defineProp(protoOf(GameServer), 'id', function () {
|
|
6076
|
-
return this.
|
|
6086
|
+
return this.t5i();
|
|
6077
6087
|
});
|
|
6078
6088
|
defineProp(protoOf(GameServer), 'table', function () {
|
|
6079
|
-
return this.
|
|
6089
|
+
return this.z6w();
|
|
6080
6090
|
});
|
|
6081
6091
|
defineProp(protoOf(GameServer), 'isTableExists', function () {
|
|
6082
|
-
return this.
|
|
6092
|
+
return this.a6x();
|
|
6083
6093
|
});
|
|
6084
6094
|
defineProp(protoOf(GameServer), 'gameLifecycleState', function () {
|
|
6085
|
-
return this.
|
|
6095
|
+
return this.b6x();
|
|
6086
6096
|
});
|
|
6087
6097
|
protoOf($serializer).wz = typeParametersSerializers;
|
|
6088
6098
|
defineProp(protoOf(TableStateUpdateDto), 'roomId', function () {
|
|
6089
|
-
return this.
|
|
6099
|
+
return this.m8v();
|
|
6090
6100
|
});
|
|
6091
6101
|
protoOf($serializer_0).wz = typeParametersSerializers;
|
|
6092
6102
|
defineProp(protoOf(ActionsStateUpdateDto), 'roomId', function () {
|
|
6093
|
-
return this.
|
|
6103
|
+
return this.m8v();
|
|
6094
6104
|
});
|
|
6095
6105
|
defineProp(protoOf(TableStateUpdate), 'roomId', function () {
|
|
6096
|
-
return this.
|
|
6106
|
+
return this.m8v();
|
|
6097
6107
|
});
|
|
6098
6108
|
defineProp(protoOf(ActionsStateUpdate), 'roomId', function () {
|
|
6099
|
-
return this.
|
|
6109
|
+
return this.m8v();
|
|
6100
6110
|
});
|
|
6101
|
-
protoOf(UpdateServerConfigAction).
|
|
6111
|
+
protoOf(UpdateServerConfigAction).m6n = get_actionTag;
|
|
6102
6112
|
defineProp(protoOf(UpdateServerConfigAction), 'actionTag', function () {
|
|
6103
|
-
return this.
|
|
6113
|
+
return this.m6n();
|
|
6104
6114
|
});
|
|
6105
|
-
protoOf(AddSpectatorsAction).
|
|
6115
|
+
protoOf(AddSpectatorsAction).m6n = get_actionTag;
|
|
6106
6116
|
defineProp(protoOf(AddSpectatorsAction), 'actionTag', function () {
|
|
6107
|
-
return this.
|
|
6117
|
+
return this.m6n();
|
|
6108
6118
|
});
|
|
6109
|
-
protoOf(RemoveSpectatorsAction).
|
|
6119
|
+
protoOf(RemoveSpectatorsAction).m6n = get_actionTag;
|
|
6110
6120
|
defineProp(protoOf(RemoveSpectatorsAction), 'actionTag', function () {
|
|
6111
|
-
return this.
|
|
6121
|
+
return this.m6n();
|
|
6112
6122
|
});
|
|
6113
6123
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
6114
6124
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
6115
|
-
return this.
|
|
6125
|
+
return this.bdl();
|
|
6116
6126
|
});
|
|
6117
6127
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
6118
|
-
return this.
|
|
6128
|
+
return this.oe6();
|
|
6119
6129
|
});
|
|
6120
6130
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
6121
|
-
return this.
|
|
6131
|
+
return this.pe6();
|
|
6122
6132
|
});
|
|
6123
6133
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
6124
|
-
return this.
|
|
6134
|
+
return this.qe6();
|
|
6125
6135
|
});
|
|
6126
6136
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
6127
|
-
return this.
|
|
6137
|
+
return this.ne6();
|
|
6128
6138
|
});
|
|
6129
6139
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
6130
|
-
return this.
|
|
6140
|
+
return this.re6();
|
|
6131
6141
|
});
|
|
6132
6142
|
//endregion
|
|
6133
6143
|
//region block: init
|
|
@@ -6138,6 +6148,7 @@
|
|
|
6138
6148
|
Companion_instance_11 = new Companion_3();
|
|
6139
6149
|
Companion_instance_12 = new Companion_4();
|
|
6140
6150
|
Companion_instance_13 = new Companion_5();
|
|
6151
|
+
Companion_instance_14 = new Companion_6();
|
|
6141
6152
|
//endregion
|
|
6142
6153
|
//region block: exports
|
|
6143
6154
|
function $jsExportAll$(_) {
|
|
@@ -6183,7 +6194,7 @@
|
|
|
6183
6194
|
var $games$jass$logic$server$redux = $games$jass$logic$server.redux || ($games$jass$logic$server.redux = {});
|
|
6184
6195
|
var $games$jass$logic$server$redux$state = $games$jass$logic$server$redux.state || ($games$jass$logic$server$redux.state = {});
|
|
6185
6196
|
$games$jass$logic$server$redux$state.ServerStatePayload = ServerStatePayload;
|
|
6186
|
-
defineProp($games$jass$logic$server$redux$state.ServerStatePayload, 'Companion',
|
|
6197
|
+
defineProp($games$jass$logic$server$redux$state.ServerStatePayload, 'Companion', Companion_getInstance_7, VOID, true);
|
|
6187
6198
|
_.createGameServerController = createGameServerController;
|
|
6188
6199
|
}
|
|
6189
6200
|
$jsExportAll$(_);
|