client_plugin_logic_deb 1.8.393 → 1.8.394
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 +1417 -1417
- package/Logic_Debertz-client_plugin.js +2387 -2225
- package/Logic_Debertz-client_plugin.js.map +1 -1
- package/Logic_Debertz-core.js +1201 -1201
- package/Logic_Debertz-engine.js +12152 -12152
- package/Logic_Debertz-game_client.js +7317 -7125
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +895 -895
- package/kotlin-kotlin-stdlib.js +10 -10
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +391 -256
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1074 -1074
- package/ktor-ktor-client-content-negotiation.js +123 -123
- package/ktor-ktor-client-core.js +1429 -1429
- package/ktor-ktor-client-logging.js +264 -264
- package/ktor-ktor-events.js +5 -5
- package/ktor-ktor-http.js +600 -600
- package/ktor-ktor-io.js +1204 -1204
- package/ktor-ktor-serialization-kotlinx-json.js +7 -7
- package/ktor-ktor-serialization-kotlinx.js +106 -106
- package/ktor-ktor-serialization.js +50 -50
- package/ktor-ktor-utils.js +464 -464
- 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
|
@@ -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.$_$.j1;
|
|
69
|
+
var distinctUntilChanged = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b1;
|
|
70
|
+
var distinctUntilChanged_0 = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c1;
|
|
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.$_$.r1;
|
|
77
|
+
var flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.h1;
|
|
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;
|
|
@@ -174,7 +174,7 @@
|
|
|
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
176
|
var MutableSharedFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.v;
|
|
177
|
-
var flatMapConcat = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
177
|
+
var flatMapConcat = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e1;
|
|
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;
|
|
@@ -361,10 +361,10 @@
|
|
|
361
361
|
spectators = tmp;
|
|
362
362
|
var tmp_0;
|
|
363
363
|
if ($super === VOID) {
|
|
364
|
-
this.
|
|
364
|
+
this.se3(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
365
365
|
tmp_0 = Unit_instance;
|
|
366
366
|
} else {
|
|
367
|
-
tmp_0 = $super.
|
|
367
|
+
tmp_0 = $super.se3.call(this, roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
368
368
|
}
|
|
369
369
|
return tmp_0;
|
|
370
370
|
}
|
|
@@ -372,10 +372,10 @@
|
|
|
372
372
|
newRid = newRid === VOID ? null : newRid;
|
|
373
373
|
var tmp;
|
|
374
374
|
if ($super === VOID) {
|
|
375
|
-
this.
|
|
375
|
+
this.te3(newRid);
|
|
376
376
|
tmp = Unit_instance;
|
|
377
377
|
} else {
|
|
378
|
-
tmp = $super.
|
|
378
|
+
tmp = $super.te3.call(this, newRid);
|
|
379
379
|
}
|
|
380
380
|
return tmp;
|
|
381
381
|
}
|
|
@@ -383,10 +383,10 @@
|
|
|
383
383
|
roomId = roomId === VOID ? null : roomId;
|
|
384
384
|
var tmp;
|
|
385
385
|
if ($super === VOID) {
|
|
386
|
-
this.
|
|
386
|
+
this.ue3(reason, roomId);
|
|
387
387
|
tmp = Unit_instance;
|
|
388
388
|
} else {
|
|
389
|
-
tmp = $super.
|
|
389
|
+
tmp = $super.ue3.call(this, reason, roomId);
|
|
390
390
|
}
|
|
391
391
|
return tmp;
|
|
392
392
|
}
|
|
@@ -452,7 +452,7 @@
|
|
|
452
452
|
dealerConfig = dealerConfig === VOID ? new DealerConfig() : dealerConfig;
|
|
453
453
|
ratingConfig = ratingConfig === VOID ? new RatingConfig() : ratingConfig;
|
|
454
454
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
455
|
-
return $super === VOID ? this.
|
|
455
|
+
return $super === VOID ? this.me8(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig) : $super.me8.call(this, reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig);
|
|
456
456
|
}
|
|
457
457
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
458
458
|
initMetadataForClass(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1, VOID, VOID, VOID, [Reducer]);
|
|
@@ -465,17 +465,17 @@
|
|
|
465
465
|
initMetadataForClass(GameMetadata, 'GameMetadata');
|
|
466
466
|
//endregion
|
|
467
467
|
function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
|
|
468
|
-
this.
|
|
468
|
+
this.mdn_1 = $subscriber;
|
|
469
469
|
CoroutineImpl.call(this, resultContinuation);
|
|
470
470
|
}
|
|
471
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
472
|
-
var tmp = this.
|
|
471
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).odn = function (it, $completion) {
|
|
472
|
+
var tmp = this.pdn(it, $completion);
|
|
473
473
|
tmp.t8_1 = Unit_instance;
|
|
474
474
|
tmp.u8_1 = null;
|
|
475
475
|
return tmp.z8();
|
|
476
476
|
};
|
|
477
477
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).h9 = function (p1, $completion) {
|
|
478
|
-
return this.
|
|
478
|
+
return this.odn(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
479
479
|
};
|
|
480
480
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).z8 = function () {
|
|
481
481
|
var suspendResult = this.t8_1;
|
|
@@ -484,7 +484,7 @@
|
|
|
484
484
|
var tmp = this.r8_1;
|
|
485
485
|
if (tmp === 0) {
|
|
486
486
|
this.s8_1 = 1;
|
|
487
|
-
this.
|
|
487
|
+
this.mdn_1(this.ndn_1);
|
|
488
488
|
return Unit_instance;
|
|
489
489
|
} else if (tmp === 1) {
|
|
490
490
|
throw this.u8_1;
|
|
@@ -495,31 +495,31 @@
|
|
|
495
495
|
}
|
|
496
496
|
while (true);
|
|
497
497
|
};
|
|
498
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
499
|
-
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.
|
|
500
|
-
i.
|
|
498
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).pdn = function (it, completion) {
|
|
499
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.mdn_1, completion);
|
|
500
|
+
i.ndn_1 = it;
|
|
501
501
|
return i;
|
|
502
502
|
};
|
|
503
503
|
function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
|
|
504
504
|
var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
|
|
505
505
|
var l = function (it, $completion) {
|
|
506
|
-
return i.
|
|
506
|
+
return i.odn(it, $completion);
|
|
507
507
|
};
|
|
508
508
|
l.$arity = 1;
|
|
509
509
|
return l;
|
|
510
510
|
}
|
|
511
511
|
function GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation) {
|
|
512
|
-
this.
|
|
512
|
+
this.ydn_1 = $subscriber;
|
|
513
513
|
CoroutineImpl.call(this, resultContinuation);
|
|
514
514
|
}
|
|
515
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
516
|
-
var tmp = this.
|
|
515
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).ado = function (it, $completion) {
|
|
516
|
+
var tmp = this.bdo(it, $completion);
|
|
517
517
|
tmp.t8_1 = Unit_instance;
|
|
518
518
|
tmp.u8_1 = null;
|
|
519
519
|
return tmp.z8();
|
|
520
520
|
};
|
|
521
521
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).h9 = function (p1, $completion) {
|
|
522
|
-
return this.
|
|
522
|
+
return this.ado((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
|
|
523
523
|
};
|
|
524
524
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).z8 = function () {
|
|
525
525
|
var suspendResult = this.t8_1;
|
|
@@ -528,7 +528,7 @@
|
|
|
528
528
|
var tmp = this.r8_1;
|
|
529
529
|
if (tmp === 0) {
|
|
530
530
|
this.s8_1 = 1;
|
|
531
|
-
this.
|
|
531
|
+
this.ydn_1(this.zdn_1);
|
|
532
532
|
return Unit_instance;
|
|
533
533
|
} else if (tmp === 1) {
|
|
534
534
|
throw this.u8_1;
|
|
@@ -539,22 +539,22 @@
|
|
|
539
539
|
}
|
|
540
540
|
while (true);
|
|
541
541
|
};
|
|
542
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
543
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.
|
|
544
|
-
i.
|
|
542
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).bdo = function (it, completion) {
|
|
543
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.ydn_1, completion);
|
|
544
|
+
i.zdn_1 = it;
|
|
545
545
|
return i;
|
|
546
546
|
};
|
|
547
547
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_0($subscriber, resultContinuation) {
|
|
548
548
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation);
|
|
549
549
|
var l = function (it, $completion) {
|
|
550
|
-
return i.
|
|
550
|
+
return i.ado(it, $completion);
|
|
551
551
|
};
|
|
552
552
|
l.$arity = 1;
|
|
553
553
|
return l;
|
|
554
554
|
}
|
|
555
555
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
556
|
-
this.
|
|
557
|
-
this.
|
|
556
|
+
this.kdo_1 = $$this$unsafeFlow;
|
|
557
|
+
this.ldo_1 = this$0;
|
|
558
558
|
CoroutineImpl.call(this, resultContinuation);
|
|
559
559
|
}
|
|
560
560
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).c2j = function (value, $completion) {
|
|
@@ -574,10 +574,10 @@
|
|
|
574
574
|
switch (tmp) {
|
|
575
575
|
case 0:
|
|
576
576
|
this.s8_1 = 2;
|
|
577
|
-
var tmp0 = this.
|
|
578
|
-
var value = this.
|
|
577
|
+
var tmp0 = this.kdo_1;
|
|
578
|
+
var value = this.mdo_1;
|
|
579
579
|
this.r8_1 = 1;
|
|
580
|
-
suspendResult = tmp0.i24(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.
|
|
580
|
+
suspendResult = tmp0.i24(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.ldo_1)), this);
|
|
581
581
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
582
582
|
return suspendResult;
|
|
583
583
|
}
|
|
@@ -600,8 +600,8 @@
|
|
|
600
600
|
while (true);
|
|
601
601
|
};
|
|
602
602
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).d2j = function (value, completion) {
|
|
603
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.
|
|
604
|
-
i.
|
|
603
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.kdo_1, this.ldo_1, completion);
|
|
604
|
+
i.mdo_1 = value;
|
|
605
605
|
return i;
|
|
606
606
|
};
|
|
607
607
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
@@ -614,8 +614,8 @@
|
|
|
614
614
|
}
|
|
615
615
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
616
616
|
CoroutineImpl.call(this, resultContinuation);
|
|
617
|
-
this.
|
|
618
|
-
this.
|
|
617
|
+
this.vdo_1 = _this__u8e3s4;
|
|
618
|
+
this.wdo_1 = collector;
|
|
619
619
|
}
|
|
620
620
|
protoOf($collectCOROUTINE$).z8 = function () {
|
|
621
621
|
var suspendResult = this.t8_1;
|
|
@@ -625,10 +625,10 @@
|
|
|
625
625
|
switch (tmp) {
|
|
626
626
|
case 0:
|
|
627
627
|
this.s8_1 = 2;
|
|
628
|
-
var $this$unsafeFlow = this.
|
|
628
|
+
var $this$unsafeFlow = this.wdo_1;
|
|
629
629
|
this.r8_1 = 1;
|
|
630
|
-
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
631
|
-
suspendResult = this.
|
|
630
|
+
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.vdo_1.ydo_1, null);
|
|
631
|
+
suspendResult = this.vdo_1.xdo_1.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_0), this);
|
|
632
632
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
633
633
|
return suspendResult;
|
|
634
634
|
}
|
|
@@ -651,8 +651,8 @@
|
|
|
651
651
|
while (true);
|
|
652
652
|
};
|
|
653
653
|
function GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1($this, this$0) {
|
|
654
|
-
this.
|
|
655
|
-
this.
|
|
654
|
+
this.xdo_1 = $this;
|
|
655
|
+
this.ydo_1 = this$0;
|
|
656
656
|
}
|
|
657
657
|
protoOf(GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1).j24 = function (collector, $completion) {
|
|
658
658
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
@@ -664,17 +664,17 @@
|
|
|
664
664
|
return this.j24(collector, $completion);
|
|
665
665
|
};
|
|
666
666
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation) {
|
|
667
|
-
this.
|
|
667
|
+
this.hdp_1 = $subscriber;
|
|
668
668
|
CoroutineImpl.call(this, resultContinuation);
|
|
669
669
|
}
|
|
670
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
671
|
-
var tmp = this.
|
|
670
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).jdp = function (it, $completion) {
|
|
671
|
+
var tmp = this.kdp(it, $completion);
|
|
672
672
|
tmp.t8_1 = Unit_instance;
|
|
673
673
|
tmp.u8_1 = null;
|
|
674
674
|
return tmp.z8();
|
|
675
675
|
};
|
|
676
676
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).h9 = function (p1, $completion) {
|
|
677
|
-
return this.
|
|
677
|
+
return this.jdp((!(p1 == null) ? isInterface(p1, ServerStateUpdateDto) : false) ? p1 : THROW_CCE(), $completion);
|
|
678
678
|
};
|
|
679
679
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).z8 = function () {
|
|
680
680
|
var suspendResult = this.t8_1;
|
|
@@ -683,7 +683,7 @@
|
|
|
683
683
|
var tmp = this.r8_1;
|
|
684
684
|
if (tmp === 0) {
|
|
685
685
|
this.s8_1 = 1;
|
|
686
|
-
this.
|
|
686
|
+
this.hdp_1(this.idp_1);
|
|
687
687
|
return Unit_instance;
|
|
688
688
|
} else if (tmp === 1) {
|
|
689
689
|
throw this.u8_1;
|
|
@@ -694,22 +694,22 @@
|
|
|
694
694
|
}
|
|
695
695
|
while (true);
|
|
696
696
|
};
|
|
697
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
698
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.
|
|
699
|
-
i.
|
|
697
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).kdp = function (it, completion) {
|
|
698
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.hdp_1, completion);
|
|
699
|
+
i.idp_1 = it;
|
|
700
700
|
return i;
|
|
701
701
|
};
|
|
702
702
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda_0($subscriber, resultContinuation) {
|
|
703
703
|
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation);
|
|
704
704
|
var l = function (it, $completion) {
|
|
705
|
-
return i.
|
|
705
|
+
return i.jdp(it, $completion);
|
|
706
706
|
};
|
|
707
707
|
l.$arity = 1;
|
|
708
708
|
return l;
|
|
709
709
|
}
|
|
710
710
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, $table, resultContinuation) {
|
|
711
|
-
this.
|
|
712
|
-
this.
|
|
711
|
+
this.tdp_1 = $$this$unsafeFlow;
|
|
712
|
+
this.udp_1 = $table;
|
|
713
713
|
CoroutineImpl.call(this, resultContinuation);
|
|
714
714
|
}
|
|
715
715
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).c2j = function (value, $completion) {
|
|
@@ -729,10 +729,10 @@
|
|
|
729
729
|
switch (tmp) {
|
|
730
730
|
case 0:
|
|
731
731
|
this.s8_1 = 2;
|
|
732
|
-
var tmp0 = this.
|
|
733
|
-
var value = this.
|
|
732
|
+
var tmp0 = this.tdp_1;
|
|
733
|
+
var value = this.vdp_1;
|
|
734
734
|
this.r8_1 = 1;
|
|
735
|
-
suspendResult = tmp0.i24(new ActionsStateUpdate(this.
|
|
735
|
+
suspendResult = tmp0.i24(new ActionsStateUpdate(this.udp_1.id, value), this);
|
|
736
736
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
737
737
|
return suspendResult;
|
|
738
738
|
}
|
|
@@ -755,8 +755,8 @@
|
|
|
755
755
|
while (true);
|
|
756
756
|
};
|
|
757
757
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).d2j = function (value, completion) {
|
|
758
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.
|
|
759
|
-
i.
|
|
758
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.tdp_1, this.udp_1, completion);
|
|
759
|
+
i.vdp_1 = value;
|
|
760
760
|
return i;
|
|
761
761
|
};
|
|
762
762
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, $table, resultContinuation) {
|
|
@@ -769,8 +769,8 @@
|
|
|
769
769
|
}
|
|
770
770
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
771
771
|
CoroutineImpl.call(this, resultContinuation);
|
|
772
|
-
this.
|
|
773
|
-
this.
|
|
772
|
+
this.edq_1 = _this__u8e3s4;
|
|
773
|
+
this.fdq_1 = collector;
|
|
774
774
|
}
|
|
775
775
|
protoOf($collectCOROUTINE$_0).z8 = function () {
|
|
776
776
|
var suspendResult = this.t8_1;
|
|
@@ -780,10 +780,10 @@
|
|
|
780
780
|
switch (tmp) {
|
|
781
781
|
case 0:
|
|
782
782
|
this.s8_1 = 2;
|
|
783
|
-
var $this$unsafeFlow = this.
|
|
783
|
+
var $this$unsafeFlow = this.fdq_1;
|
|
784
784
|
this.r8_1 = 1;
|
|
785
|
-
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
786
|
-
suspendResult = this.
|
|
785
|
+
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.edq_1.hdq_1, null);
|
|
786
|
+
suspendResult = this.edq_1.gdq_1.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
787
787
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
788
788
|
return suspendResult;
|
|
789
789
|
}
|
|
@@ -806,8 +806,8 @@
|
|
|
806
806
|
while (true);
|
|
807
807
|
};
|
|
808
808
|
function _no_name_provided__qut3iv($this, $table) {
|
|
809
|
-
this.
|
|
810
|
-
this.
|
|
809
|
+
this.gdq_1 = $this;
|
|
810
|
+
this.hdq_1 = $table;
|
|
811
811
|
}
|
|
812
812
|
protoOf(_no_name_provided__qut3iv).j24 = function (collector, $completion) {
|
|
813
813
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
@@ -819,18 +819,18 @@
|
|
|
819
819
|
return this.j24(collector, $completion);
|
|
820
820
|
};
|
|
821
821
|
function GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation) {
|
|
822
|
-
this.
|
|
823
|
-
this.
|
|
822
|
+
this.qdq_1 = $table;
|
|
823
|
+
this.rdq_1 = this$0;
|
|
824
824
|
CoroutineImpl.call(this, resultContinuation);
|
|
825
825
|
}
|
|
826
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
827
|
-
var tmp = this.
|
|
826
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).tdq = function ($this$flow, $completion) {
|
|
827
|
+
var tmp = this.udq($this$flow, $completion);
|
|
828
828
|
tmp.t8_1 = Unit_instance;
|
|
829
829
|
tmp.u8_1 = null;
|
|
830
830
|
return tmp.z8();
|
|
831
831
|
};
|
|
832
832
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).h9 = function (p1, $completion) {
|
|
833
|
-
return this.
|
|
833
|
+
return this.tdq((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
834
834
|
};
|
|
835
835
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).z8 = function () {
|
|
836
836
|
var suspendResult = this.t8_1;
|
|
@@ -841,7 +841,7 @@
|
|
|
841
841
|
case 0:
|
|
842
842
|
this.s8_1 = 3;
|
|
843
843
|
this.r8_1 = 1;
|
|
844
|
-
suspendResult = this.
|
|
844
|
+
suspendResult = this.sdq_1.i24(new TableStateUpdate(this.qdq_1.id, this.qdq_1), this);
|
|
845
845
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
846
846
|
return suspendResult;
|
|
847
847
|
}
|
|
@@ -849,8 +849,8 @@
|
|
|
849
849
|
continue $sm;
|
|
850
850
|
case 1:
|
|
851
851
|
this.r8_1 = 2;
|
|
852
|
-
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.
|
|
853
|
-
suspendResult = emitAll(this.
|
|
852
|
+
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.rdq_1).w94(), fromInt(_get_serverReduxConfig__rprcrm(this.rdq_1).serverStateUpdateIntervalMillis));
|
|
853
|
+
suspendResult = emitAll(this.sdq_1, new _no_name_provided__qut3iv(this_0, this.qdq_1), this);
|
|
854
854
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
855
855
|
return suspendResult;
|
|
856
856
|
}
|
|
@@ -872,21 +872,21 @@
|
|
|
872
872
|
}
|
|
873
873
|
while (true);
|
|
874
874
|
};
|
|
875
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
876
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.
|
|
877
|
-
i.
|
|
875
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).udq = function ($this$flow, completion) {
|
|
876
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.qdq_1, this.rdq_1, completion);
|
|
877
|
+
i.sdq_1 = $this$flow;
|
|
878
878
|
return i;
|
|
879
879
|
};
|
|
880
880
|
function GameServer$observeTableStateUpdates$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
881
881
|
var i = new GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation);
|
|
882
882
|
var l = function ($this$flow, $completion) {
|
|
883
|
-
return i.
|
|
883
|
+
return i.tdq($this$flow, $completion);
|
|
884
884
|
};
|
|
885
885
|
l.$arity = 1;
|
|
886
886
|
return l;
|
|
887
887
|
}
|
|
888
888
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
889
|
-
this.
|
|
889
|
+
this.ddr_1 = $$this$unsafeFlow;
|
|
890
890
|
CoroutineImpl.call(this, resultContinuation);
|
|
891
891
|
}
|
|
892
892
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).c2j = function (value, $completion) {
|
|
@@ -907,28 +907,28 @@
|
|
|
907
907
|
case 0:
|
|
908
908
|
this.s8_1 = 5;
|
|
909
909
|
var tmp_0 = this;
|
|
910
|
-
tmp_0.
|
|
910
|
+
tmp_0.idr_1 = this.ddr_1;
|
|
911
911
|
var tmp_1 = this;
|
|
912
|
-
tmp_1.
|
|
912
|
+
tmp_1.hdr_1 = this.edr_1;
|
|
913
913
|
this.r8_1 = 1;
|
|
914
914
|
continue $sm;
|
|
915
915
|
case 1:
|
|
916
|
-
this.
|
|
917
|
-
var tmp0_elvis_lhs = this.
|
|
916
|
+
this.fdr_1 = this.idr_1;
|
|
917
|
+
var tmp0_elvis_lhs = this.hdr_1.y6w_1;
|
|
918
918
|
if (tmp0_elvis_lhs == null) {
|
|
919
919
|
this.r8_1 = 4;
|
|
920
920
|
var tmp_2 = this;
|
|
921
921
|
continue $sm;
|
|
922
922
|
} else {
|
|
923
|
-
this.
|
|
923
|
+
this.gdr_1 = tmp0_elvis_lhs;
|
|
924
924
|
this.r8_1 = 2;
|
|
925
925
|
continue $sm;
|
|
926
926
|
}
|
|
927
927
|
|
|
928
928
|
case 2:
|
|
929
|
-
var transformed = this.
|
|
929
|
+
var transformed = this.gdr_1;
|
|
930
930
|
this.r8_1 = 3;
|
|
931
|
-
suspendResult = this.
|
|
931
|
+
suspendResult = this.fdr_1.i24(transformed, this);
|
|
932
932
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
933
933
|
return suspendResult;
|
|
934
934
|
}
|
|
@@ -959,8 +959,8 @@
|
|
|
959
959
|
while (true);
|
|
960
960
|
};
|
|
961
961
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).d2j = function (value, completion) {
|
|
962
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
963
|
-
i.
|
|
962
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.ddr_1, completion);
|
|
963
|
+
i.edr_1 = value;
|
|
964
964
|
return i;
|
|
965
965
|
};
|
|
966
966
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -973,8 +973,8 @@
|
|
|
973
973
|
}
|
|
974
974
|
function $collectCOROUTINE$_1(_this__u8e3s4, collector, resultContinuation) {
|
|
975
975
|
CoroutineImpl.call(this, resultContinuation);
|
|
976
|
-
this.
|
|
977
|
-
this.
|
|
976
|
+
this.rdr_1 = _this__u8e3s4;
|
|
977
|
+
this.sdr_1 = collector;
|
|
978
978
|
}
|
|
979
979
|
protoOf($collectCOROUTINE$_1).z8 = function () {
|
|
980
980
|
var suspendResult = this.t8_1;
|
|
@@ -984,10 +984,10 @@
|
|
|
984
984
|
switch (tmp) {
|
|
985
985
|
case 0:
|
|
986
986
|
this.s8_1 = 2;
|
|
987
|
-
var $this$unsafeFlow = this.
|
|
987
|
+
var $this$unsafeFlow = this.sdr_1;
|
|
988
988
|
this.r8_1 = 1;
|
|
989
989
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($this$unsafeFlow, null);
|
|
990
|
-
suspendResult = this.
|
|
990
|
+
suspendResult = this.rdr_1.tdr_1.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
991
991
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
992
992
|
return suspendResult;
|
|
993
993
|
}
|
|
@@ -1010,7 +1010,7 @@
|
|
|
1010
1010
|
while (true);
|
|
1011
1011
|
};
|
|
1012
1012
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_1($$this$unsafeFlow, resultContinuation) {
|
|
1013
|
-
this.
|
|
1013
|
+
this.cds_1 = $$this$unsafeFlow;
|
|
1014
1014
|
CoroutineImpl.call(this, resultContinuation);
|
|
1015
1015
|
}
|
|
1016
1016
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).c2j = function (value, $completion) {
|
|
@@ -1030,8 +1030,8 @@
|
|
|
1030
1030
|
switch (tmp) {
|
|
1031
1031
|
case 0:
|
|
1032
1032
|
this.s8_1 = 2;
|
|
1033
|
-
var tmp0 = this.
|
|
1034
|
-
var value = this.
|
|
1033
|
+
var tmp0 = this.cds_1;
|
|
1034
|
+
var value = this.dds_1;
|
|
1035
1035
|
this.r8_1 = 1;
|
|
1036
1036
|
suspendResult = tmp0.i24(to(value.gameInfo.roundNumberTotal, value), this);
|
|
1037
1037
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1056,8 +1056,8 @@
|
|
|
1056
1056
|
while (true);
|
|
1057
1057
|
};
|
|
1058
1058
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).d2j = function (value, completion) {
|
|
1059
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.
|
|
1060
|
-
i.
|
|
1059
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.cds_1, completion);
|
|
1060
|
+
i.dds_1 = value;
|
|
1061
1061
|
return i;
|
|
1062
1062
|
};
|
|
1063
1063
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1070,8 +1070,8 @@
|
|
|
1070
1070
|
}
|
|
1071
1071
|
function $collectCOROUTINE$_2(_this__u8e3s4, collector, resultContinuation) {
|
|
1072
1072
|
CoroutineImpl.call(this, resultContinuation);
|
|
1073
|
-
this.
|
|
1074
|
-
this.
|
|
1073
|
+
this.mds_1 = _this__u8e3s4;
|
|
1074
|
+
this.nds_1 = collector;
|
|
1075
1075
|
}
|
|
1076
1076
|
protoOf($collectCOROUTINE$_2).z8 = function () {
|
|
1077
1077
|
var suspendResult = this.t8_1;
|
|
@@ -1081,10 +1081,10 @@
|
|
|
1081
1081
|
switch (tmp) {
|
|
1082
1082
|
case 0:
|
|
1083
1083
|
this.s8_1 = 2;
|
|
1084
|
-
var $this$unsafeFlow = this.
|
|
1084
|
+
var $this$unsafeFlow = this.nds_1;
|
|
1085
1085
|
this.r8_1 = 1;
|
|
1086
1086
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($this$unsafeFlow, null);
|
|
1087
|
-
suspendResult = this.
|
|
1087
|
+
suspendResult = this.mds_1.ods_1.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1088
1088
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1089
1089
|
return suspendResult;
|
|
1090
1090
|
}
|
|
@@ -1107,7 +1107,7 @@
|
|
|
1107
1107
|
while (true);
|
|
1108
1108
|
};
|
|
1109
1109
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_3($$this$unsafeFlow, resultContinuation) {
|
|
1110
|
-
this.
|
|
1110
|
+
this.xds_1 = $$this$unsafeFlow;
|
|
1111
1111
|
CoroutineImpl.call(this, resultContinuation);
|
|
1112
1112
|
}
|
|
1113
1113
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).c2j = function (value, $completion) {
|
|
@@ -1127,8 +1127,8 @@
|
|
|
1127
1127
|
switch (tmp) {
|
|
1128
1128
|
case 0:
|
|
1129
1129
|
this.s8_1 = 2;
|
|
1130
|
-
var tmp0 = this.
|
|
1131
|
-
var value = this.
|
|
1130
|
+
var tmp0 = this.xds_1;
|
|
1131
|
+
var value = this.yds_1;
|
|
1132
1132
|
this.r8_1 = 1;
|
|
1133
1133
|
suspendResult = tmp0.i24(value.me_1, this);
|
|
1134
1134
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1153,8 +1153,8 @@
|
|
|
1153
1153
|
while (true);
|
|
1154
1154
|
};
|
|
1155
1155
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).d2j = function (value, completion) {
|
|
1156
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.
|
|
1157
|
-
i.
|
|
1156
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.xds_1, completion);
|
|
1157
|
+
i.yds_1 = value;
|
|
1158
1158
|
return i;
|
|
1159
1159
|
};
|
|
1160
1160
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1167,8 +1167,8 @@
|
|
|
1167
1167
|
}
|
|
1168
1168
|
function $collectCOROUTINE$_3(_this__u8e3s4, collector, resultContinuation) {
|
|
1169
1169
|
CoroutineImpl.call(this, resultContinuation);
|
|
1170
|
-
this.
|
|
1171
|
-
this.
|
|
1170
|
+
this.hdt_1 = _this__u8e3s4;
|
|
1171
|
+
this.idt_1 = collector;
|
|
1172
1172
|
}
|
|
1173
1173
|
protoOf($collectCOROUTINE$_3).z8 = function () {
|
|
1174
1174
|
var suspendResult = this.t8_1;
|
|
@@ -1178,10 +1178,10 @@
|
|
|
1178
1178
|
switch (tmp) {
|
|
1179
1179
|
case 0:
|
|
1180
1180
|
this.s8_1 = 2;
|
|
1181
|
-
var $this$unsafeFlow = this.
|
|
1181
|
+
var $this$unsafeFlow = this.idt_1;
|
|
1182
1182
|
this.r8_1 = 1;
|
|
1183
1183
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($this$unsafeFlow, null);
|
|
1184
|
-
suspendResult = this.
|
|
1184
|
+
suspendResult = this.hdt_1.jdt_1.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1185
1185
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1186
1186
|
return suspendResult;
|
|
1187
1187
|
}
|
|
@@ -1204,17 +1204,17 @@
|
|
|
1204
1204
|
while (true);
|
|
1205
1205
|
};
|
|
1206
1206
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
1207
|
-
this.
|
|
1207
|
+
this.sdt_1 = $subscriber;
|
|
1208
1208
|
CoroutineImpl.call(this, resultContinuation);
|
|
1209
1209
|
}
|
|
1210
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1211
|
-
var tmp = this.
|
|
1210
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).udt = function (it, $completion) {
|
|
1211
|
+
var tmp = this.vdt(it, $completion);
|
|
1212
1212
|
tmp.t8_1 = Unit_instance;
|
|
1213
1213
|
tmp.u8_1 = null;
|
|
1214
1214
|
return tmp.z8();
|
|
1215
1215
|
};
|
|
1216
1216
|
protoOf(GameServer$subscribeWith$slambda$slambda).h9 = function (p1, $completion) {
|
|
1217
|
-
return this.
|
|
1217
|
+
return this.udt(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
1218
1218
|
};
|
|
1219
1219
|
protoOf(GameServer$subscribeWith$slambda$slambda).z8 = function () {
|
|
1220
1220
|
var suspendResult = this.t8_1;
|
|
@@ -1223,7 +1223,7 @@
|
|
|
1223
1223
|
var tmp = this.r8_1;
|
|
1224
1224
|
if (tmp === 0) {
|
|
1225
1225
|
this.s8_1 = 1;
|
|
1226
|
-
this.
|
|
1226
|
+
this.sdt_1(this.tdt_1);
|
|
1227
1227
|
return Unit_instance;
|
|
1228
1228
|
} else if (tmp === 1) {
|
|
1229
1229
|
throw this.u8_1;
|
|
@@ -1234,76 +1234,76 @@
|
|
|
1234
1234
|
}
|
|
1235
1235
|
while (true);
|
|
1236
1236
|
};
|
|
1237
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1238
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
1239
|
-
i.
|
|
1237
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).vdt = function (it, completion) {
|
|
1238
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.sdt_1, completion);
|
|
1239
|
+
i.tdt_1 = it;
|
|
1240
1240
|
return i;
|
|
1241
1241
|
};
|
|
1242
1242
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
1243
1243
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
1244
1244
|
var l = function (it, $completion) {
|
|
1245
|
-
return i.
|
|
1245
|
+
return i.udt(it, $completion);
|
|
1246
1246
|
};
|
|
1247
1247
|
l.$arity = 1;
|
|
1248
1248
|
return l;
|
|
1249
1249
|
}
|
|
1250
1250
|
function GameServer$roomOnCreate$2$updatedUsers$previousTeams$1($playerId) {
|
|
1251
|
-
this.
|
|
1251
|
+
this.wdt_1 = $playerId;
|
|
1252
1252
|
}
|
|
1253
|
-
protoOf(GameServer$roomOnCreate$2$updatedUsers$previousTeams$1).
|
|
1254
|
-
return this.
|
|
1253
|
+
protoOf(GameServer$roomOnCreate$2$updatedUsers$previousTeams$1).h6e = function () {
|
|
1254
|
+
return this.wdt_1;
|
|
1255
1255
|
};
|
|
1256
1256
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
1257
|
-
var tmp0 = $this.
|
|
1257
|
+
var tmp0 = $this.bdu_1;
|
|
1258
1258
|
var tmp = KProperty1;
|
|
1259
1259
|
// Inline function 'kotlin.getValue' call
|
|
1260
1260
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, GameServer$_get_toClientEventsObserver_$ref_utir8s_0(), null);
|
|
1261
1261
|
return tmp0.w();
|
|
1262
1262
|
}
|
|
1263
1263
|
function _get_fromClientEventsObserver__a7vzd3($this) {
|
|
1264
|
-
var tmp0 = $this.
|
|
1264
|
+
var tmp0 = $this.cdu_1;
|
|
1265
1265
|
var tmp = KProperty1;
|
|
1266
1266
|
// Inline function 'kotlin.getValue' call
|
|
1267
1267
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, GameServer$_get_fromClientEventsObserver_$ref_nf1g79_0(), null);
|
|
1268
1268
|
return tmp0.w();
|
|
1269
1269
|
}
|
|
1270
1270
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
1271
|
-
var tmp0 = $this.
|
|
1271
|
+
var tmp0 = $this.ddu_1;
|
|
1272
1272
|
var tmp = KProperty1;
|
|
1273
1273
|
// Inline function 'kotlin.getValue' call
|
|
1274
1274
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, GameServer$_get_playerConnectionInteractor_$ref_of8tan_0(), null);
|
|
1275
1275
|
return tmp0.w();
|
|
1276
1276
|
}
|
|
1277
1277
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
1278
|
-
var tmp0 = $this.
|
|
1278
|
+
var tmp0 = $this.edu_1;
|
|
1279
1279
|
var tmp = KProperty1;
|
|
1280
1280
|
// Inline function 'kotlin.getValue' call
|
|
1281
1281
|
getPropertyCallableRef('teamsLogicProvider', 1, tmp, GameServer$_get_teamsLogicProvider_$ref_b7y54g_0(), null);
|
|
1282
1282
|
return tmp0.w();
|
|
1283
1283
|
}
|
|
1284
1284
|
function _get_random__h29cgo($this) {
|
|
1285
|
-
var tmp0 = $this.
|
|
1285
|
+
var tmp0 = $this.fdu_1;
|
|
1286
1286
|
var tmp = KProperty1;
|
|
1287
1287
|
// Inline function 'kotlin.getValue' call
|
|
1288
1288
|
getPropertyCallableRef('random', 1, tmp, GameServer$_get_random_$ref_fottnq(), null);
|
|
1289
1289
|
return tmp0.w();
|
|
1290
1290
|
}
|
|
1291
1291
|
function _get_idsProvider__fnfajc($this) {
|
|
1292
|
-
var tmp0 = $this.
|
|
1292
|
+
var tmp0 = $this.gdu_1;
|
|
1293
1293
|
var tmp = KProperty1;
|
|
1294
1294
|
// Inline function 'kotlin.getValue' call
|
|
1295
1295
|
getPropertyCallableRef('idsProvider', 1, tmp, GameServer$_get_idsProvider_$ref_89s908_0(), null);
|
|
1296
1296
|
return tmp0.w();
|
|
1297
1297
|
}
|
|
1298
1298
|
function _get_serverReduxConfig__rprcrm($this) {
|
|
1299
|
-
var tmp0 = $this.
|
|
1299
|
+
var tmp0 = $this.hdu_1;
|
|
1300
1300
|
var tmp = KProperty1;
|
|
1301
1301
|
// Inline function 'kotlin.getValue' call
|
|
1302
1302
|
getPropertyCallableRef('serverReduxConfig', 1, tmp, GameServer$_get_serverReduxConfig_$ref_7h6jq6_0(), null);
|
|
1303
1303
|
return tmp0.w();
|
|
1304
1304
|
}
|
|
1305
1305
|
function _get_encoderDecoderProvider__qqgrji($this) {
|
|
1306
|
-
var tmp0 = $this.
|
|
1306
|
+
var tmp0 = $this.idu_1;
|
|
1307
1307
|
var tmp = KProperty1;
|
|
1308
1308
|
// Inline function 'kotlin.getValue' call
|
|
1309
1309
|
getPropertyCallableRef('encoderDecoderProvider', 1, tmp, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8_0(), null);
|
|
@@ -1311,7 +1311,7 @@
|
|
|
1311
1311
|
}
|
|
1312
1312
|
function observeTableStateUpdates($this) {
|
|
1313
1313
|
// Inline function 'kotlinx.coroutines.flow.flatMapLatest' call
|
|
1314
|
-
var this_0 = observeTableWhenRoundChanges($this, $this.
|
|
1314
|
+
var this_0 = observeTableWhenRoundChanges($this, $this.x6w());
|
|
1315
1315
|
var tmp$ret$0 = transformLatest(this_0, GameServer$observeTableStateUpdates$slambda_0($this, null));
|
|
1316
1316
|
return distinctUntilChanged(tmp$ret$0);
|
|
1317
1317
|
}
|
|
@@ -1331,20 +1331,20 @@
|
|
|
1331
1331
|
return new GameServer$observeTableWhenRoundChanges$$inlined$map$2(this_1);
|
|
1332
1332
|
}
|
|
1333
1333
|
function Companion() {
|
|
1334
|
-
this.
|
|
1334
|
+
this.kdu_1 = 'GameEngine_API';
|
|
1335
1335
|
}
|
|
1336
1336
|
var Companion_instance_7;
|
|
1337
1337
|
function Companion_getInstance_0() {
|
|
1338
1338
|
return Companion_instance_7;
|
|
1339
1339
|
}
|
|
1340
1340
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
1341
|
-
this.
|
|
1341
|
+
this.ldu_1 = function_0;
|
|
1342
1342
|
}
|
|
1343
1343
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).i24 = function (value, $completion) {
|
|
1344
|
-
return this.
|
|
1344
|
+
return this.ldu_1(value, $completion);
|
|
1345
1345
|
};
|
|
1346
1346
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).a3 = function () {
|
|
1347
|
-
return this.
|
|
1347
|
+
return this.ldu_1;
|
|
1348
1348
|
};
|
|
1349
1349
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
1350
1350
|
var tmp;
|
|
@@ -1365,13 +1365,13 @@
|
|
|
1365
1365
|
return hashCode(this.a3());
|
|
1366
1366
|
};
|
|
1367
1367
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
1368
|
-
this.
|
|
1368
|
+
this.mdu_1 = function_0;
|
|
1369
1369
|
}
|
|
1370
1370
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).i24 = function (value, $completion) {
|
|
1371
|
-
return this.
|
|
1371
|
+
return this.mdu_1(value, $completion);
|
|
1372
1372
|
};
|
|
1373
1373
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).a3 = function () {
|
|
1374
|
-
return this.
|
|
1374
|
+
return this.mdu_1;
|
|
1375
1375
|
};
|
|
1376
1376
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
1377
1377
|
var tmp;
|
|
@@ -1392,13 +1392,13 @@
|
|
|
1392
1392
|
return hashCode(this.a3());
|
|
1393
1393
|
};
|
|
1394
1394
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
1395
|
-
this.
|
|
1395
|
+
this.ndu_1 = function_0;
|
|
1396
1396
|
}
|
|
1397
1397
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).i24 = function (value, $completion) {
|
|
1398
|
-
return this.
|
|
1398
|
+
return this.ndu_1(value, $completion);
|
|
1399
1399
|
};
|
|
1400
1400
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).a3 = function () {
|
|
1401
|
-
return this.
|
|
1401
|
+
return this.ndu_1;
|
|
1402
1402
|
};
|
|
1403
1403
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
1404
1404
|
var tmp;
|
|
@@ -1419,13 +1419,13 @@
|
|
|
1419
1419
|
return hashCode(this.a3());
|
|
1420
1420
|
};
|
|
1421
1421
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
1422
|
-
this.
|
|
1422
|
+
this.odu_1 = function_0;
|
|
1423
1423
|
}
|
|
1424
1424
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).i24 = function (value, $completion) {
|
|
1425
|
-
return this.
|
|
1425
|
+
return this.odu_1(value, $completion);
|
|
1426
1426
|
};
|
|
1427
1427
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).a3 = function () {
|
|
1428
|
-
return this.
|
|
1428
|
+
return this.odu_1;
|
|
1429
1429
|
};
|
|
1430
1430
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
1431
1431
|
var tmp;
|
|
@@ -1446,13 +1446,13 @@
|
|
|
1446
1446
|
return hashCode(this.a3());
|
|
1447
1447
|
};
|
|
1448
1448
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
|
|
1449
|
-
this.
|
|
1449
|
+
this.pdu_1 = function_0;
|
|
1450
1450
|
}
|
|
1451
1451
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).i24 = function (value, $completion) {
|
|
1452
|
-
return this.
|
|
1452
|
+
return this.pdu_1(value, $completion);
|
|
1453
1453
|
};
|
|
1454
1454
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).a3 = function () {
|
|
1455
|
-
return this.
|
|
1455
|
+
return this.pdu_1;
|
|
1456
1456
|
};
|
|
1457
1457
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
|
|
1458
1458
|
var tmp;
|
|
@@ -1473,13 +1473,13 @@
|
|
|
1473
1473
|
return hashCode(this.a3());
|
|
1474
1474
|
};
|
|
1475
1475
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_4(function_0) {
|
|
1476
|
-
this.
|
|
1476
|
+
this.qdu_1 = function_0;
|
|
1477
1477
|
}
|
|
1478
1478
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).i24 = function (value, $completion) {
|
|
1479
|
-
return this.
|
|
1479
|
+
return this.qdu_1(value, $completion);
|
|
1480
1480
|
};
|
|
1481
1481
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).a3 = function () {
|
|
1482
|
-
return this.
|
|
1482
|
+
return this.qdu_1;
|
|
1483
1483
|
};
|
|
1484
1484
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).equals = function (other) {
|
|
1485
1485
|
var tmp;
|
|
@@ -1541,7 +1541,7 @@
|
|
|
1541
1541
|
}
|
|
1542
1542
|
function GameServer$random$delegate$lambda(this$0) {
|
|
1543
1543
|
return function () {
|
|
1544
|
-
return new SecureRandom(this$0.
|
|
1544
|
+
return new SecureRandom(this$0.b56());
|
|
1545
1545
|
};
|
|
1546
1546
|
}
|
|
1547
1547
|
function GameServer$_get_random_$ref_fottnq() {
|
|
@@ -1580,8 +1580,8 @@
|
|
|
1580
1580
|
};
|
|
1581
1581
|
}
|
|
1582
1582
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
1583
|
-
this.
|
|
1584
|
-
this.
|
|
1583
|
+
this.zdu_1 = this$0;
|
|
1584
|
+
this.adv_1 = $subscriber;
|
|
1585
1585
|
CoroutineImpl.call(this, resultContinuation);
|
|
1586
1586
|
}
|
|
1587
1587
|
protoOf(GameServer$subscribeToClientAction$slambda).j29 = function ($this$launchDefault, $completion) {
|
|
@@ -1602,8 +1602,8 @@
|
|
|
1602
1602
|
case 0:
|
|
1603
1603
|
this.s8_1 = 2;
|
|
1604
1604
|
this.r8_1 = 1;
|
|
1605
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
1606
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
1605
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.zdu_1).zax();
|
|
1606
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.adv_1, null);
|
|
1607
1607
|
suspendResult = tmp_0.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1608
1608
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1609
1609
|
return suspendResult;
|
|
@@ -1627,8 +1627,8 @@
|
|
|
1627
1627
|
while (true);
|
|
1628
1628
|
};
|
|
1629
1629
|
protoOf(GameServer$subscribeToClientAction$slambda).k29 = function ($this$launchDefault, completion) {
|
|
1630
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
1631
|
-
i.
|
|
1630
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.zdu_1, this.adv_1, completion);
|
|
1631
|
+
i.bdv_1 = $this$launchDefault;
|
|
1632
1632
|
return i;
|
|
1633
1633
|
};
|
|
1634
1634
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1640,8 +1640,8 @@
|
|
|
1640
1640
|
return l;
|
|
1641
1641
|
}
|
|
1642
1642
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
1643
|
-
this.
|
|
1644
|
-
this.
|
|
1643
|
+
this.kdv_1 = this$0;
|
|
1644
|
+
this.ldv_1 = $subscriber;
|
|
1645
1645
|
CoroutineImpl.call(this, resultContinuation);
|
|
1646
1646
|
}
|
|
1647
1647
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).j29 = function ($this$launchDefault, $completion) {
|
|
@@ -1662,8 +1662,8 @@
|
|
|
1662
1662
|
case 0:
|
|
1663
1663
|
this.s8_1 = 2;
|
|
1664
1664
|
this.r8_1 = 1;
|
|
1665
|
-
var tmp_0 = observeTableStateUpdates(this.
|
|
1666
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
1665
|
+
var tmp_0 = observeTableStateUpdates(this.kdv_1);
|
|
1666
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.ldv_1, null);
|
|
1667
1667
|
suspendResult = tmp_0.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
1668
1668
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1669
1669
|
return suspendResult;
|
|
@@ -1687,8 +1687,8 @@
|
|
|
1687
1687
|
while (true);
|
|
1688
1688
|
};
|
|
1689
1689
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).k29 = function ($this$launchDefault, completion) {
|
|
1690
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
1691
|
-
i.
|
|
1690
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.kdv_1, this.ldv_1, completion);
|
|
1691
|
+
i.mdv_1 = $this$launchDefault;
|
|
1692
1692
|
return i;
|
|
1693
1693
|
};
|
|
1694
1694
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1700,8 +1700,8 @@
|
|
|
1700
1700
|
return l;
|
|
1701
1701
|
}
|
|
1702
1702
|
function GameServer$subscribeServerStateUpdateJson$slambda(this$0, $subscriber, resultContinuation) {
|
|
1703
|
-
this.
|
|
1704
|
-
this.
|
|
1703
|
+
this.vdv_1 = this$0;
|
|
1704
|
+
this.wdv_1 = $subscriber;
|
|
1705
1705
|
CoroutineImpl.call(this, resultContinuation);
|
|
1706
1706
|
}
|
|
1707
1707
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).j29 = function ($this$launchDefault, $completion) {
|
|
@@ -1722,9 +1722,9 @@
|
|
|
1722
1722
|
case 0:
|
|
1723
1723
|
this.s8_1 = 2;
|
|
1724
1724
|
this.r8_1 = 1;
|
|
1725
|
-
var this_0 = observeTableStateUpdates(this.
|
|
1726
|
-
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.
|
|
1727
|
-
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.
|
|
1725
|
+
var this_0 = observeTableStateUpdates(this.vdv_1);
|
|
1726
|
+
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.vdv_1);
|
|
1727
|
+
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.wdv_1, null);
|
|
1728
1728
|
suspendResult = tmp_0.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
1729
1729
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1730
1730
|
return suspendResult;
|
|
@@ -1748,8 +1748,8 @@
|
|
|
1748
1748
|
while (true);
|
|
1749
1749
|
};
|
|
1750
1750
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).k29 = function ($this$launchDefault, completion) {
|
|
1751
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.
|
|
1752
|
-
i.
|
|
1751
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.vdv_1, this.wdv_1, completion);
|
|
1752
|
+
i.xdv_1 = $this$launchDefault;
|
|
1753
1753
|
return i;
|
|
1754
1754
|
};
|
|
1755
1755
|
function GameServer$subscribeServerStateUpdateJson$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1761,18 +1761,18 @@
|
|
|
1761
1761
|
return l;
|
|
1762
1762
|
}
|
|
1763
1763
|
function GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation) {
|
|
1764
|
-
this.
|
|
1764
|
+
this.gdw_1 = this$0;
|
|
1765
1765
|
CoroutineImpl.call(this, resultContinuation);
|
|
1766
1766
|
}
|
|
1767
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1768
|
-
var tmp = this.
|
|
1767
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).kc7 = function ($this$transformLatest, it, $completion) {
|
|
1768
|
+
var tmp = this.lc7($this$transformLatest, it, $completion);
|
|
1769
1769
|
tmp.t8_1 = Unit_instance;
|
|
1770
1770
|
tmp.u8_1 = null;
|
|
1771
1771
|
return tmp.z8();
|
|
1772
1772
|
};
|
|
1773
1773
|
protoOf(GameServer$observeTableStateUpdates$slambda).i9 = function (p1, p2, $completion) {
|
|
1774
1774
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
1775
|
-
return this.
|
|
1775
|
+
return this.kc7(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
1776
1776
|
};
|
|
1777
1777
|
protoOf(GameServer$observeTableStateUpdates$slambda).z8 = function () {
|
|
1778
1778
|
var suspendResult = this.t8_1;
|
|
@@ -1783,8 +1783,8 @@
|
|
|
1783
1783
|
case 0:
|
|
1784
1784
|
this.s8_1 = 2;
|
|
1785
1785
|
this.r8_1 = 1;
|
|
1786
|
-
var table = this.
|
|
1787
|
-
suspendResult = emitAll(this.
|
|
1786
|
+
var table = this.idw_1;
|
|
1787
|
+
suspendResult = emitAll(this.hdw_1, flow(GameServer$observeTableStateUpdates$slambda$slambda_0(table, this.gdw_1, null)), this);
|
|
1788
1788
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1789
1789
|
return suspendResult;
|
|
1790
1790
|
}
|
|
@@ -1806,22 +1806,22 @@
|
|
|
1806
1806
|
}
|
|
1807
1807
|
while (true);
|
|
1808
1808
|
};
|
|
1809
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1810
|
-
var i = new GameServer$observeTableStateUpdates$slambda(this.
|
|
1811
|
-
i.
|
|
1812
|
-
i.
|
|
1809
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).lc7 = function ($this$transformLatest, it, completion) {
|
|
1810
|
+
var i = new GameServer$observeTableStateUpdates$slambda(this.gdw_1, completion);
|
|
1811
|
+
i.hdw_1 = $this$transformLatest;
|
|
1812
|
+
i.idw_1 = it;
|
|
1813
1813
|
return i;
|
|
1814
1814
|
};
|
|
1815
1815
|
function GameServer$observeTableStateUpdates$slambda_0(this$0, resultContinuation) {
|
|
1816
1816
|
var i = new GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation);
|
|
1817
1817
|
var l = function ($this$transformLatest, it, $completion) {
|
|
1818
|
-
return i.
|
|
1818
|
+
return i.kc7($this$transformLatest, it, $completion);
|
|
1819
1819
|
};
|
|
1820
1820
|
l.$arity = 2;
|
|
1821
1821
|
return l;
|
|
1822
1822
|
}
|
|
1823
1823
|
function GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1($this) {
|
|
1824
|
-
this.
|
|
1824
|
+
this.tdr_1 = $this;
|
|
1825
1825
|
}
|
|
1826
1826
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).j24 = function (collector, $completion) {
|
|
1827
1827
|
var tmp = new $collectCOROUTINE$_1(this, collector, $completion);
|
|
@@ -1833,7 +1833,7 @@
|
|
|
1833
1833
|
return this.j24(collector, $completion);
|
|
1834
1834
|
};
|
|
1835
1835
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$1($this) {
|
|
1836
|
-
this.
|
|
1836
|
+
this.ods_1 = $this;
|
|
1837
1837
|
}
|
|
1838
1838
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).j24 = function (collector, $completion) {
|
|
1839
1839
|
var tmp = new $collectCOROUTINE$_2(this, collector, $completion);
|
|
@@ -1848,7 +1848,7 @@
|
|
|
1848
1848
|
return old.le_1 === new_0.le_1;
|
|
1849
1849
|
}
|
|
1850
1850
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$2($this) {
|
|
1851
|
-
this.
|
|
1851
|
+
this.jdt_1 = $this;
|
|
1852
1852
|
}
|
|
1853
1853
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).j24 = function (collector, $completion) {
|
|
1854
1854
|
var tmp = new $collectCOROUTINE$_3(this, collector, $completion);
|
|
@@ -1860,8 +1860,8 @@
|
|
|
1860
1860
|
return this.j24(collector, $completion);
|
|
1861
1861
|
};
|
|
1862
1862
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
1863
|
-
this.
|
|
1864
|
-
this.
|
|
1863
|
+
this.rdw_1 = this$0;
|
|
1864
|
+
this.sdw_1 = $subscriber;
|
|
1865
1865
|
CoroutineImpl.call(this, resultContinuation);
|
|
1866
1866
|
}
|
|
1867
1867
|
protoOf(GameServer$subscribeWith$slambda).j29 = function ($this$launchDefault, $completion) {
|
|
@@ -1882,8 +1882,8 @@
|
|
|
1882
1882
|
case 0:
|
|
1883
1883
|
this.s8_1 = 2;
|
|
1884
1884
|
this.r8_1 = 1;
|
|
1885
|
-
var tmp_0 = distinctUntilChanged(this.
|
|
1886
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
1885
|
+
var tmp_0 = distinctUntilChanged(this.rdw_1.x6w());
|
|
1886
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.sdw_1, null);
|
|
1887
1887
|
suspendResult = tmp_0.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_4(tmp_1), this);
|
|
1888
1888
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1889
1889
|
return suspendResult;
|
|
@@ -1907,8 +1907,8 @@
|
|
|
1907
1907
|
while (true);
|
|
1908
1908
|
};
|
|
1909
1909
|
protoOf(GameServer$subscribeWith$slambda).k29 = function ($this$launchDefault, completion) {
|
|
1910
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
1911
|
-
i.
|
|
1910
|
+
var i = new GameServer$subscribeWith$slambda(this.rdw_1, this.sdw_1, completion);
|
|
1911
|
+
i.tdw_1 = $this$launchDefault;
|
|
1912
1912
|
return i;
|
|
1913
1913
|
};
|
|
1914
1914
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1920,18 +1920,18 @@
|
|
|
1920
1920
|
return l;
|
|
1921
1921
|
}
|
|
1922
1922
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
1923
|
-
this.
|
|
1923
|
+
this.cdx_1 = $action;
|
|
1924
1924
|
CoroutineImpl.call(this, resultContinuation);
|
|
1925
1925
|
}
|
|
1926
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1927
|
-
var tmp = this.
|
|
1926
|
+
protoOf(GameServer$fromClientEvent$slambda).bbg = function ($this$dispatchAsync, store, $completion) {
|
|
1927
|
+
var tmp = this.cbg($this$dispatchAsync, store, $completion);
|
|
1928
1928
|
tmp.t8_1 = Unit_instance;
|
|
1929
1929
|
tmp.u8_1 = null;
|
|
1930
1930
|
return tmp.z8();
|
|
1931
1931
|
};
|
|
1932
1932
|
protoOf(GameServer$fromClientEvent$slambda).i9 = function (p1, p2, $completion) {
|
|
1933
1933
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1934
|
-
return this.
|
|
1934
|
+
return this.bbg(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1935
1935
|
};
|
|
1936
1936
|
protoOf(GameServer$fromClientEvent$slambda).z8 = function () {
|
|
1937
1937
|
var suspendResult = this.t8_1;
|
|
@@ -1940,11 +1940,11 @@
|
|
|
1940
1940
|
var tmp = this.r8_1;
|
|
1941
1941
|
if (tmp === 0) {
|
|
1942
1942
|
this.s8_1 = 1;
|
|
1943
|
-
if (this.
|
|
1944
|
-
if (!get_isCreated(this.
|
|
1943
|
+
if (this.cdx_1 instanceof PlayerReadyFromClientAction)
|
|
1944
|
+
if (!get_isCreated(this.edx_1.state)) {
|
|
1945
1945
|
return Unit_instance;
|
|
1946
1946
|
}
|
|
1947
|
-
this.
|
|
1947
|
+
this.edx_1.dispatch(this.cdx_1);
|
|
1948
1948
|
return Unit_instance;
|
|
1949
1949
|
} else if (tmp === 1) {
|
|
1950
1950
|
throw this.u8_1;
|
|
@@ -1955,33 +1955,33 @@
|
|
|
1955
1955
|
}
|
|
1956
1956
|
while (true);
|
|
1957
1957
|
};
|
|
1958
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1959
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
1960
|
-
i.
|
|
1961
|
-
i.
|
|
1958
|
+
protoOf(GameServer$fromClientEvent$slambda).cbg = function ($this$dispatchAsync, store, completion) {
|
|
1959
|
+
var i = new GameServer$fromClientEvent$slambda(this.cdx_1, completion);
|
|
1960
|
+
i.ddx_1 = $this$dispatchAsync;
|
|
1961
|
+
i.edx_1 = store;
|
|
1962
1962
|
return i;
|
|
1963
1963
|
};
|
|
1964
1964
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
1965
1965
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
1966
1966
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1967
|
-
return i.
|
|
1967
|
+
return i.bbg($this$dispatchAsync, store, $completion);
|
|
1968
1968
|
};
|
|
1969
1969
|
l.$arity = 2;
|
|
1970
1970
|
return l;
|
|
1971
1971
|
}
|
|
1972
1972
|
function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
|
|
1973
|
-
this.
|
|
1973
|
+
this.ndx_1 = $playerId;
|
|
1974
1974
|
CoroutineImpl.call(this, resultContinuation);
|
|
1975
1975
|
}
|
|
1976
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
1977
|
-
var tmp = this.
|
|
1976
|
+
protoOf(GameServer$playerLostConnection$slambda).bbg = function ($this$dispatchAsync, store, $completion) {
|
|
1977
|
+
var tmp = this.cbg($this$dispatchAsync, store, $completion);
|
|
1978
1978
|
tmp.t8_1 = Unit_instance;
|
|
1979
1979
|
tmp.u8_1 = null;
|
|
1980
1980
|
return tmp.z8();
|
|
1981
1981
|
};
|
|
1982
1982
|
protoOf(GameServer$playerLostConnection$slambda).i9 = function (p1, p2, $completion) {
|
|
1983
1983
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1984
|
-
return this.
|
|
1984
|
+
return this.bbg(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1985
1985
|
};
|
|
1986
1986
|
protoOf(GameServer$playerLostConnection$slambda).z8 = function () {
|
|
1987
1987
|
var suspendResult = this.t8_1;
|
|
@@ -1990,12 +1990,12 @@
|
|
|
1990
1990
|
var tmp = this.r8_1;
|
|
1991
1991
|
if (tmp === 0) {
|
|
1992
1992
|
this.s8_1 = 1;
|
|
1993
|
-
if (!get_isCreated(this.
|
|
1993
|
+
if (!get_isCreated(this.pdx_1.state)) {
|
|
1994
1994
|
return Unit_instance;
|
|
1995
1995
|
}
|
|
1996
|
-
var tmp_0 = this.
|
|
1996
|
+
var tmp_0 = this.pdx_1.dispatch;
|
|
1997
1997
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
1998
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
1998
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.ndx_1));
|
|
1999
1999
|
return Unit_instance;
|
|
2000
2000
|
} else if (tmp === 1) {
|
|
2001
2001
|
throw this.u8_1;
|
|
@@ -2006,34 +2006,34 @@
|
|
|
2006
2006
|
}
|
|
2007
2007
|
while (true);
|
|
2008
2008
|
};
|
|
2009
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2010
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
2011
|
-
i.
|
|
2012
|
-
i.
|
|
2009
|
+
protoOf(GameServer$playerLostConnection$slambda).cbg = function ($this$dispatchAsync, store, completion) {
|
|
2010
|
+
var i = new GameServer$playerLostConnection$slambda(this.ndx_1, completion);
|
|
2011
|
+
i.odx_1 = $this$dispatchAsync;
|
|
2012
|
+
i.pdx_1 = store;
|
|
2013
2013
|
return i;
|
|
2014
2014
|
};
|
|
2015
2015
|
function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
|
|
2016
2016
|
var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
|
|
2017
2017
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2018
|
-
return i.
|
|
2018
|
+
return i.bbg($this$dispatchAsync, store, $completion);
|
|
2019
2019
|
};
|
|
2020
2020
|
l.$arity = 2;
|
|
2021
2021
|
return l;
|
|
2022
2022
|
}
|
|
2023
2023
|
function GameServer$playerLive$slambda(this$0, $playerId, resultContinuation) {
|
|
2024
|
-
this.
|
|
2025
|
-
this.
|
|
2024
|
+
this.ydx_1 = this$0;
|
|
2025
|
+
this.zdx_1 = $playerId;
|
|
2026
2026
|
CoroutineImpl.call(this, resultContinuation);
|
|
2027
2027
|
}
|
|
2028
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2029
|
-
var tmp = this.
|
|
2028
|
+
protoOf(GameServer$playerLive$slambda).bbg = function ($this$dispatchAsync, store, $completion) {
|
|
2029
|
+
var tmp = this.cbg($this$dispatchAsync, store, $completion);
|
|
2030
2030
|
tmp.t8_1 = Unit_instance;
|
|
2031
2031
|
tmp.u8_1 = null;
|
|
2032
2032
|
return tmp.z8();
|
|
2033
2033
|
};
|
|
2034
2034
|
protoOf(GameServer$playerLive$slambda).i9 = function (p1, p2, $completion) {
|
|
2035
2035
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2036
|
-
return this.
|
|
2036
|
+
return this.bbg(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2037
2037
|
};
|
|
2038
2038
|
protoOf(GameServer$playerLive$slambda).z8 = function () {
|
|
2039
2039
|
var suspendResult = this.t8_1;
|
|
@@ -2042,16 +2042,16 @@
|
|
|
2042
2042
|
var tmp = this.r8_1;
|
|
2043
2043
|
if (tmp === 0) {
|
|
2044
2044
|
this.s8_1 = 1;
|
|
2045
|
-
if (get_isFinished(this.
|
|
2045
|
+
if (get_isFinished(this.bdy_1.state) || get_isFinishing(this.bdy_1.state)) {
|
|
2046
2046
|
return Unit_instance;
|
|
2047
2047
|
}
|
|
2048
|
-
if (!get_isCreated(this.
|
|
2049
|
-
this.
|
|
2048
|
+
if (!get_isCreated(this.bdy_1.state) || !this.ydx_1.i6f().a6y()) {
|
|
2049
|
+
this.ydx_1.b56().v('GameEngine_API', 'playerLive: ' + this.zdx_1 + ' before game is created');
|
|
2050
2050
|
return Unit_instance;
|
|
2051
2051
|
}
|
|
2052
|
-
var tmp_0 = this.
|
|
2052
|
+
var tmp_0 = this.bdy_1.dispatch;
|
|
2053
2053
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2054
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2054
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.zdx_1));
|
|
2055
2055
|
return Unit_instance;
|
|
2056
2056
|
} else if (tmp === 1) {
|
|
2057
2057
|
throw this.u8_1;
|
|
@@ -2062,34 +2062,34 @@
|
|
|
2062
2062
|
}
|
|
2063
2063
|
while (true);
|
|
2064
2064
|
};
|
|
2065
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2066
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
2067
|
-
i.
|
|
2068
|
-
i.
|
|
2065
|
+
protoOf(GameServer$playerLive$slambda).cbg = function ($this$dispatchAsync, store, completion) {
|
|
2066
|
+
var i = new GameServer$playerLive$slambda(this.ydx_1, this.zdx_1, completion);
|
|
2067
|
+
i.ady_1 = $this$dispatchAsync;
|
|
2068
|
+
i.bdy_1 = store;
|
|
2069
2069
|
return i;
|
|
2070
2070
|
};
|
|
2071
2071
|
function GameServer$playerLive$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2072
2072
|
var i = new GameServer$playerLive$slambda(this$0, $playerId, resultContinuation);
|
|
2073
2073
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2074
|
-
return i.
|
|
2074
|
+
return i.bbg($this$dispatchAsync, store, $completion);
|
|
2075
2075
|
};
|
|
2076
2076
|
l.$arity = 2;
|
|
2077
2077
|
return l;
|
|
2078
2078
|
}
|
|
2079
2079
|
function GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation) {
|
|
2080
|
-
this.
|
|
2081
|
-
this.
|
|
2080
|
+
this.kdy_1 = this$0;
|
|
2081
|
+
this.ldy_1 = $playerId;
|
|
2082
2082
|
CoroutineImpl.call(this, resultContinuation);
|
|
2083
2083
|
}
|
|
2084
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2085
|
-
var tmp = this.
|
|
2084
|
+
protoOf(GameServer$playerLeft$slambda).bbg = function ($this$dispatchAsync, store, $completion) {
|
|
2085
|
+
var tmp = this.cbg($this$dispatchAsync, store, $completion);
|
|
2086
2086
|
tmp.t8_1 = Unit_instance;
|
|
2087
2087
|
tmp.u8_1 = null;
|
|
2088
2088
|
return tmp.z8();
|
|
2089
2089
|
};
|
|
2090
2090
|
protoOf(GameServer$playerLeft$slambda).i9 = function (p1, p2, $completion) {
|
|
2091
2091
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2092
|
-
return this.
|
|
2092
|
+
return this.bbg(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2093
2093
|
};
|
|
2094
2094
|
protoOf(GameServer$playerLeft$slambda).z8 = function () {
|
|
2095
2095
|
var suspendResult = this.t8_1;
|
|
@@ -2098,16 +2098,16 @@
|
|
|
2098
2098
|
var tmp = this.r8_1;
|
|
2099
2099
|
if (tmp === 0) {
|
|
2100
2100
|
this.s8_1 = 1;
|
|
2101
|
-
if (get_isFinished(this.
|
|
2101
|
+
if (get_isFinished(this.ndy_1.state) || get_isFinishing(this.ndy_1.state)) {
|
|
2102
2102
|
return Unit_instance;
|
|
2103
2103
|
}
|
|
2104
|
-
if (!get_isCreated(this.
|
|
2105
|
-
this.
|
|
2104
|
+
if (!get_isCreated(this.ndy_1.state) || !this.kdy_1.i6f().a6y()) {
|
|
2105
|
+
this.kdy_1.b56().w('GameEngine_API', 'playerLeft: ' + this.ldy_1 + ' before game is created');
|
|
2106
2106
|
return Unit_instance;
|
|
2107
2107
|
}
|
|
2108
|
-
var tmp_0 = this.
|
|
2108
|
+
var tmp_0 = this.ndy_1.dispatch;
|
|
2109
2109
|
var tmp0_connectionState = PlayerConnectionState_LEFT_getInstance();
|
|
2110
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2110
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.ldy_1));
|
|
2111
2111
|
return Unit_instance;
|
|
2112
2112
|
} else if (tmp === 1) {
|
|
2113
2113
|
throw this.u8_1;
|
|
@@ -2118,39 +2118,39 @@
|
|
|
2118
2118
|
}
|
|
2119
2119
|
while (true);
|
|
2120
2120
|
};
|
|
2121
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2122
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
2123
|
-
i.
|
|
2124
|
-
i.
|
|
2121
|
+
protoOf(GameServer$playerLeft$slambda).cbg = function ($this$dispatchAsync, store, completion) {
|
|
2122
|
+
var i = new GameServer$playerLeft$slambda(this.kdy_1, this.ldy_1, completion);
|
|
2123
|
+
i.mdy_1 = $this$dispatchAsync;
|
|
2124
|
+
i.ndy_1 = store;
|
|
2125
2125
|
return i;
|
|
2126
2126
|
};
|
|
2127
2127
|
function GameServer$playerLeft$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2128
2128
|
var i = new GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation);
|
|
2129
2129
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2130
|
-
return i.
|
|
2130
|
+
return i.bbg($this$dispatchAsync, store, $completion);
|
|
2131
2131
|
};
|
|
2132
2132
|
l.$arity = 2;
|
|
2133
2133
|
return l;
|
|
2134
2134
|
}
|
|
2135
2135
|
function GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2136
|
-
this.
|
|
2137
|
-
this.
|
|
2138
|
-
this.
|
|
2139
|
-
this.
|
|
2140
|
-
this.
|
|
2141
|
-
this.
|
|
2142
|
-
this.
|
|
2136
|
+
this.wdy_1 = $usersArray;
|
|
2137
|
+
this.xdy_1 = $config;
|
|
2138
|
+
this.ydy_1 = this$0;
|
|
2139
|
+
this.zdy_1 = $roomId;
|
|
2140
|
+
this.adz_1 = $transition;
|
|
2141
|
+
this.bdz_1 = $gameCreatorId;
|
|
2142
|
+
this.cdz_1 = $spectators;
|
|
2143
2143
|
CoroutineImpl.call(this, resultContinuation);
|
|
2144
2144
|
}
|
|
2145
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2146
|
-
var tmp = this.
|
|
2145
|
+
protoOf(GameServer$roomOnCreate$slambda).bbg = function ($this$dispatchAsync, store, $completion) {
|
|
2146
|
+
var tmp = this.cbg($this$dispatchAsync, store, $completion);
|
|
2147
2147
|
tmp.t8_1 = Unit_instance;
|
|
2148
2148
|
tmp.u8_1 = null;
|
|
2149
2149
|
return tmp.z8();
|
|
2150
2150
|
};
|
|
2151
2151
|
protoOf(GameServer$roomOnCreate$slambda).i9 = function (p1, p2, $completion) {
|
|
2152
2152
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2153
|
-
return this.
|
|
2153
|
+
return this.bbg(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2154
2154
|
};
|
|
2155
2155
|
protoOf(GameServer$roomOnCreate$slambda).z8 = function () {
|
|
2156
2156
|
var suspendResult = this.t8_1;
|
|
@@ -2159,33 +2159,33 @@
|
|
|
2159
2159
|
var tmp = this.r8_1;
|
|
2160
2160
|
if (tmp === 0) {
|
|
2161
2161
|
this.s8_1 = 1;
|
|
2162
|
-
var users = toList(this.
|
|
2163
|
-
if (!(this.
|
|
2164
|
-
this.
|
|
2165
|
-
this.
|
|
2162
|
+
var users = toList(this.wdy_1);
|
|
2163
|
+
if (!(this.xdy_1.playersMode.count === users.o())) {
|
|
2164
|
+
this.ydy_1.b56().w('GameEngine_API', 'roomOnCreate: wrong player count for game ' + this.zdy_1 + ', config = ' + this.xdy_1.toString() + ', users = ' + toString(users));
|
|
2165
|
+
this.edz_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.ydy_1.table.isGameFinished, this.ydy_1.table));
|
|
2166
2166
|
return Unit_instance;
|
|
2167
2167
|
}
|
|
2168
2168
|
var tmp_0;
|
|
2169
|
-
if (this.
|
|
2170
|
-
tmp_0 = _get_random__h29cgo(this.
|
|
2169
|
+
if (this.xdy_1.mode.shufflePlayers && this.adz_1 == null) {
|
|
2170
|
+
tmp_0 = _get_random__h29cgo(this.ydy_1).l5t(toMutableList(users));
|
|
2171
2171
|
} else {
|
|
2172
|
-
var tmp0_safe_receiver = this.
|
|
2172
|
+
var tmp0_safe_receiver = this.adz_1;
|
|
2173
2173
|
var previousPlayers = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.previousPlayers;
|
|
2174
2174
|
var tmp_1;
|
|
2175
|
-
if (!(previousPlayers == null) && this.
|
|
2176
|
-
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.
|
|
2175
|
+
if (!(previousPlayers == null) && this.xdy_1.playersMode.isTeamGame) {
|
|
2176
|
+
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.ydy_1);
|
|
2177
2177
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(previousPlayers, 10));
|
|
2178
2178
|
var _iterator__ex2g4s = previousPlayers.l();
|
|
2179
2179
|
while (_iterator__ex2g4s.m()) {
|
|
2180
2180
|
var item = _iterator__ex2g4s.n();
|
|
2181
2181
|
destination.j(new GameServer$roomOnCreate$2$updatedUsers$previousTeams$1(item));
|
|
2182
2182
|
}
|
|
2183
|
-
var previousTeams = tmp_2.
|
|
2183
|
+
var previousTeams = tmp_2.n94(destination);
|
|
2184
2184
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
2185
2185
|
var _iterator__ex2g4s_0 = users.l();
|
|
2186
2186
|
while (_iterator__ex2g4s_0.m()) {
|
|
2187
2187
|
var element = _iterator__ex2g4s_0.n();
|
|
2188
|
-
if (!previousPlayers.t1(element.
|
|
2188
|
+
if (!previousPlayers.t1(element.w6e_1)) {
|
|
2189
2189
|
destination_0.j(element);
|
|
2190
2190
|
}
|
|
2191
2191
|
}
|
|
@@ -2204,19 +2204,19 @@
|
|
|
2204
2204
|
destination_1.j(destination_2);
|
|
2205
2205
|
}
|
|
2206
2206
|
var updatedTeams = destination_1;
|
|
2207
|
-
tmp_1 = _get_teamsLogicProvider__u10pm6(this.
|
|
2207
|
+
tmp_1 = _get_teamsLogicProvider__u10pm6(this.ydy_1).r94(updatedTeams);
|
|
2208
2208
|
} else {
|
|
2209
2209
|
tmp_1 = users;
|
|
2210
2210
|
}
|
|
2211
2211
|
tmp_0 = tmp_1;
|
|
2212
2212
|
}
|
|
2213
2213
|
var updatedUsers = tmp_0;
|
|
2214
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
2215
|
-
var tmp_3 = this.
|
|
2214
|
+
var gameCreatorUser = getPlayer(users, this.bdz_1);
|
|
2215
|
+
var tmp_3 = this.edz_1.dispatch;
|
|
2216
2216
|
var tmp1_version = get_versionOrDefault(GameEngineConfig_instance);
|
|
2217
2217
|
var tmp2_users = sortWithItem(updatedUsers, gameCreatorUser);
|
|
2218
|
-
var tmp3_spectators = toList(this.
|
|
2219
|
-
tmp_3(new StartGameMechanicAction(this.
|
|
2218
|
+
var tmp3_spectators = toList(this.cdz_1);
|
|
2219
|
+
tmp_3(new StartGameMechanicAction(this.xdy_1, this.zdy_1, tmp1_version, this.bdz_1, tmp2_users, VOID, tmp3_spectators));
|
|
2220
2220
|
return Unit_instance;
|
|
2221
2221
|
} else if (tmp === 1) {
|
|
2222
2222
|
throw this.u8_1;
|
|
@@ -2227,33 +2227,33 @@
|
|
|
2227
2227
|
}
|
|
2228
2228
|
while (true);
|
|
2229
2229
|
};
|
|
2230
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2231
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
2232
|
-
i.
|
|
2233
|
-
i.
|
|
2230
|
+
protoOf(GameServer$roomOnCreate$slambda).cbg = function ($this$dispatchAsync, store, completion) {
|
|
2231
|
+
var i = new GameServer$roomOnCreate$slambda(this.wdy_1, this.xdy_1, this.ydy_1, this.zdy_1, this.adz_1, this.bdz_1, this.cdz_1, completion);
|
|
2232
|
+
i.ddz_1 = $this$dispatchAsync;
|
|
2233
|
+
i.edz_1 = store;
|
|
2234
2234
|
return i;
|
|
2235
2235
|
};
|
|
2236
2236
|
function GameServer$roomOnCreate$slambda_0($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2237
2237
|
var i = new GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation);
|
|
2238
2238
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2239
|
-
return i.
|
|
2239
|
+
return i.bbg($this$dispatchAsync, store, $completion);
|
|
2240
2240
|
};
|
|
2241
2241
|
l.$arity = 2;
|
|
2242
2242
|
return l;
|
|
2243
2243
|
}
|
|
2244
2244
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
2245
|
-
this.
|
|
2245
|
+
this.ndz_1 = $state;
|
|
2246
2246
|
CoroutineImpl.call(this, resultContinuation);
|
|
2247
2247
|
}
|
|
2248
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2249
|
-
var tmp = this.
|
|
2248
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).qdz = function ($this$dispatchAwait, store, $completion) {
|
|
2249
|
+
var tmp = this.cbg($this$dispatchAwait, store, $completion);
|
|
2250
2250
|
tmp.t8_1 = Unit_instance;
|
|
2251
2251
|
tmp.u8_1 = null;
|
|
2252
2252
|
return tmp.z8();
|
|
2253
2253
|
};
|
|
2254
2254
|
protoOf(GameServer$roomOnContinueFromState$slambda).i9 = function (p1, p2, $completion) {
|
|
2255
2255
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2256
|
-
return this.
|
|
2256
|
+
return this.qdz(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2257
2257
|
};
|
|
2258
2258
|
protoOf(GameServer$roomOnContinueFromState$slambda).z8 = function () {
|
|
2259
2259
|
var suspendResult = this.t8_1;
|
|
@@ -2262,10 +2262,10 @@
|
|
|
2262
2262
|
var tmp = this.r8_1;
|
|
2263
2263
|
if (tmp === 0) {
|
|
2264
2264
|
this.s8_1 = 1;
|
|
2265
|
-
if (get_isCreating(this.
|
|
2266
|
-
var tmp_0 = this.
|
|
2265
|
+
if (get_isCreating(this.pdz_1.state)) {
|
|
2266
|
+
var tmp_0 = this.pdz_1.dispatch;
|
|
2267
2267
|
var tmp0_reason = new RestartRoundReason(null);
|
|
2268
|
-
var tmp1_table = this.
|
|
2268
|
+
var tmp1_table = this.ndz_1.table;
|
|
2269
2269
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2270
2270
|
return true;
|
|
2271
2271
|
}
|
|
@@ -2279,34 +2279,34 @@
|
|
|
2279
2279
|
}
|
|
2280
2280
|
while (true);
|
|
2281
2281
|
};
|
|
2282
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2283
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
2284
|
-
i.
|
|
2285
|
-
i.
|
|
2282
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).cbg = function ($this$dispatchAwait, store, completion) {
|
|
2283
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.ndz_1, completion);
|
|
2284
|
+
i.odz_1 = $this$dispatchAwait;
|
|
2285
|
+
i.pdz_1 = store;
|
|
2286
2286
|
return i;
|
|
2287
2287
|
};
|
|
2288
2288
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
2289
2289
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
2290
2290
|
var l = function ($this$dispatchAwait, store, $completion) {
|
|
2291
|
-
return i.
|
|
2291
|
+
return i.qdz($this$dispatchAwait, store, $completion);
|
|
2292
2292
|
};
|
|
2293
2293
|
l.$arity = 2;
|
|
2294
2294
|
return l;
|
|
2295
2295
|
}
|
|
2296
2296
|
function GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation) {
|
|
2297
|
-
this.
|
|
2298
|
-
this.
|
|
2297
|
+
this.zdz_1 = $isCreated;
|
|
2298
|
+
this.ae0_1 = $state;
|
|
2299
2299
|
CoroutineImpl.call(this, resultContinuation);
|
|
2300
2300
|
}
|
|
2301
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2302
|
-
var tmp = this.
|
|
2301
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).bbg = function ($this$dispatchAsync, store, $completion) {
|
|
2302
|
+
var tmp = this.cbg($this$dispatchAsync, store, $completion);
|
|
2303
2303
|
tmp.t8_1 = Unit_instance;
|
|
2304
2304
|
tmp.u8_1 = null;
|
|
2305
2305
|
return tmp.z8();
|
|
2306
2306
|
};
|
|
2307
2307
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).i9 = function (p1, p2, $completion) {
|
|
2308
2308
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2309
|
-
return this.
|
|
2309
|
+
return this.bbg(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2310
2310
|
};
|
|
2311
2311
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).z8 = function () {
|
|
2312
2312
|
var suspendResult = this.t8_1;
|
|
@@ -2317,7 +2317,7 @@
|
|
|
2317
2317
|
case 0:
|
|
2318
2318
|
this.s8_1 = 3;
|
|
2319
2319
|
this.r8_1 = 1;
|
|
2320
|
-
suspendResult = this.
|
|
2320
|
+
suspendResult = this.zdz_1.f1p(this);
|
|
2321
2321
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2322
2322
|
return suspendResult;
|
|
2323
2323
|
}
|
|
@@ -2325,10 +2325,10 @@
|
|
|
2325
2325
|
continue $sm;
|
|
2326
2326
|
case 1:
|
|
2327
2327
|
if (suspendResult) {
|
|
2328
|
-
var _iterator__ex2g4s = this.
|
|
2328
|
+
var _iterator__ex2g4s = this.ae0_1.actions.l();
|
|
2329
2329
|
while (_iterator__ex2g4s.m()) {
|
|
2330
2330
|
var element = _iterator__ex2g4s.n();
|
|
2331
|
-
this.
|
|
2331
|
+
this.ce0_1.dispatch(element);
|
|
2332
2332
|
}
|
|
2333
2333
|
this.r8_1 = 2;
|
|
2334
2334
|
continue $sm;
|
|
@@ -2353,35 +2353,35 @@
|
|
|
2353
2353
|
}
|
|
2354
2354
|
while (true);
|
|
2355
2355
|
};
|
|
2356
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2357
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
2358
|
-
i.
|
|
2359
|
-
i.
|
|
2356
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).cbg = function ($this$dispatchAsync, store, completion) {
|
|
2357
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.zdz_1, this.ae0_1, completion);
|
|
2358
|
+
i.be0_1 = $this$dispatchAsync;
|
|
2359
|
+
i.ce0_1 = store;
|
|
2360
2360
|
return i;
|
|
2361
2361
|
};
|
|
2362
2362
|
function GameServer$roomOnContinueFromState$slambda_2($isCreated, $state, resultContinuation) {
|
|
2363
2363
|
var i = new GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation);
|
|
2364
2364
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2365
|
-
return i.
|
|
2365
|
+
return i.bbg($this$dispatchAsync, store, $completion);
|
|
2366
2366
|
};
|
|
2367
2367
|
l.$arity = 2;
|
|
2368
2368
|
return l;
|
|
2369
2369
|
}
|
|
2370
2370
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
2371
|
-
this.
|
|
2372
|
-
this.
|
|
2373
|
-
this.
|
|
2371
|
+
this.le0_1 = $tableLite;
|
|
2372
|
+
this.me0_1 = $roomId;
|
|
2373
|
+
this.ne0_1 = this$0;
|
|
2374
2374
|
CoroutineImpl.call(this, resultContinuation);
|
|
2375
2375
|
}
|
|
2376
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2377
|
-
var tmp = this.
|
|
2376
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).bbg = function ($this$dispatchAsync, store, $completion) {
|
|
2377
|
+
var tmp = this.cbg($this$dispatchAsync, store, $completion);
|
|
2378
2378
|
tmp.t8_1 = Unit_instance;
|
|
2379
2379
|
tmp.u8_1 = null;
|
|
2380
2380
|
return tmp.z8();
|
|
2381
2381
|
};
|
|
2382
2382
|
protoOf(GameServer$roomOnContinueFromRound$slambda).i9 = function (p1, p2, $completion) {
|
|
2383
2383
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2384
|
-
return this.
|
|
2384
|
+
return this.bbg(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2385
2385
|
};
|
|
2386
2386
|
protoOf(GameServer$roomOnContinueFromRound$slambda).z8 = function () {
|
|
2387
2387
|
var suspendResult = this.t8_1;
|
|
@@ -2390,9 +2390,9 @@
|
|
|
2390
2390
|
var tmp = this.r8_1;
|
|
2391
2391
|
if (tmp === 0) {
|
|
2392
2392
|
this.s8_1 = 1;
|
|
2393
|
-
var tmp_0 = this.
|
|
2394
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
2395
|
-
var tmp1_table = Companion_instance_0.restartRound(this.
|
|
2393
|
+
var tmp_0 = this.pe0_1.dispatch;
|
|
2394
|
+
var tmp0_reason = new RestartRoundReason(this.le0_1.gameInfo.round.roundNumber);
|
|
2395
|
+
var tmp1_table = Companion_instance_0.restartRound(this.me0_1, _get_idsProvider__fnfajc(this.ne0_1).y6m(), get_versionOrDefault(GameEngineConfig_instance), this.le0_1);
|
|
2396
2396
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2397
2397
|
return Unit_instance;
|
|
2398
2398
|
} else if (tmp === 1) {
|
|
@@ -2404,16 +2404,16 @@
|
|
|
2404
2404
|
}
|
|
2405
2405
|
while (true);
|
|
2406
2406
|
};
|
|
2407
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2408
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
2409
|
-
i.
|
|
2410
|
-
i.
|
|
2407
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).cbg = function ($this$dispatchAsync, store, completion) {
|
|
2408
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.le0_1, this.me0_1, this.ne0_1, completion);
|
|
2409
|
+
i.oe0_1 = $this$dispatchAsync;
|
|
2410
|
+
i.pe0_1 = store;
|
|
2411
2411
|
return i;
|
|
2412
2412
|
};
|
|
2413
2413
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
2414
2414
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
2415
2415
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2416
|
-
return i.
|
|
2416
|
+
return i.bbg($this$dispatchAsync, store, $completion);
|
|
2417
2417
|
};
|
|
2418
2418
|
l.$arity = 2;
|
|
2419
2419
|
return l;
|
|
@@ -2421,15 +2421,15 @@
|
|
|
2421
2421
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
2422
2422
|
CoroutineImpl.call(this, resultContinuation);
|
|
2423
2423
|
}
|
|
2424
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2425
|
-
var tmp = this.
|
|
2424
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).bbg = function ($this$dispatchAsync, store, $completion) {
|
|
2425
|
+
var tmp = this.cbg($this$dispatchAsync, store, $completion);
|
|
2426
2426
|
tmp.t8_1 = Unit_instance;
|
|
2427
2427
|
tmp.u8_1 = null;
|
|
2428
2428
|
return tmp.z8();
|
|
2429
2429
|
};
|
|
2430
2430
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).i9 = function (p1, p2, $completion) {
|
|
2431
2431
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2432
|
-
return this.
|
|
2432
|
+
return this.bbg(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2433
2433
|
};
|
|
2434
2434
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).z8 = function () {
|
|
2435
2435
|
var suspendResult = this.t8_1;
|
|
@@ -2438,7 +2438,7 @@
|
|
|
2438
2438
|
var tmp = this.r8_1;
|
|
2439
2439
|
if (tmp === 0) {
|
|
2440
2440
|
this.s8_1 = 1;
|
|
2441
|
-
this.
|
|
2441
|
+
this.ze0_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
2442
2442
|
return Unit_instance;
|
|
2443
2443
|
} else if (tmp === 1) {
|
|
2444
2444
|
throw this.u8_1;
|
|
@@ -2449,33 +2449,33 @@
|
|
|
2449
2449
|
}
|
|
2450
2450
|
while (true);
|
|
2451
2451
|
};
|
|
2452
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2452
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).cbg = function ($this$dispatchAsync, store, completion) {
|
|
2453
2453
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
2454
|
-
i.
|
|
2455
|
-
i.
|
|
2454
|
+
i.ye0_1 = $this$dispatchAsync;
|
|
2455
|
+
i.ze0_1 = store;
|
|
2456
2456
|
return i;
|
|
2457
2457
|
};
|
|
2458
2458
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
2459
2459
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
2460
2460
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2461
|
-
return i.
|
|
2461
|
+
return i.bbg($this$dispatchAsync, store, $completion);
|
|
2462
2462
|
};
|
|
2463
2463
|
l.$arity = 2;
|
|
2464
2464
|
return l;
|
|
2465
2465
|
}
|
|
2466
2466
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
2467
|
-
this.
|
|
2467
|
+
this.ie1_1 = $spectators;
|
|
2468
2468
|
CoroutineImpl.call(this, resultContinuation);
|
|
2469
2469
|
}
|
|
2470
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2471
|
-
var tmp = this.
|
|
2470
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).bbg = function ($this$dispatchAsync, store, $completion) {
|
|
2471
|
+
var tmp = this.cbg($this$dispatchAsync, store, $completion);
|
|
2472
2472
|
tmp.t8_1 = Unit_instance;
|
|
2473
2473
|
tmp.u8_1 = null;
|
|
2474
2474
|
return tmp.z8();
|
|
2475
2475
|
};
|
|
2476
2476
|
protoOf(GameServer$addSpectatorsToRoom$slambda).i9 = function (p1, p2, $completion) {
|
|
2477
2477
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2478
|
-
return this.
|
|
2478
|
+
return this.bbg(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2479
2479
|
};
|
|
2480
2480
|
protoOf(GameServer$addSpectatorsToRoom$slambda).z8 = function () {
|
|
2481
2481
|
var suspendResult = this.t8_1;
|
|
@@ -2484,7 +2484,7 @@
|
|
|
2484
2484
|
var tmp = this.r8_1;
|
|
2485
2485
|
if (tmp === 0) {
|
|
2486
2486
|
this.s8_1 = 1;
|
|
2487
|
-
this.
|
|
2487
|
+
this.ke1_1.dispatch(new AddSpectatorsAction(toList(this.ie1_1)));
|
|
2488
2488
|
return Unit_instance;
|
|
2489
2489
|
} else if (tmp === 1) {
|
|
2490
2490
|
throw this.u8_1;
|
|
@@ -2495,33 +2495,33 @@
|
|
|
2495
2495
|
}
|
|
2496
2496
|
while (true);
|
|
2497
2497
|
};
|
|
2498
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2499
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
2500
|
-
i.
|
|
2501
|
-
i.
|
|
2498
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).cbg = function ($this$dispatchAsync, store, completion) {
|
|
2499
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.ie1_1, completion);
|
|
2500
|
+
i.je1_1 = $this$dispatchAsync;
|
|
2501
|
+
i.ke1_1 = store;
|
|
2502
2502
|
return i;
|
|
2503
2503
|
};
|
|
2504
2504
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
2505
2505
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
2506
2506
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2507
|
-
return i.
|
|
2507
|
+
return i.bbg($this$dispatchAsync, store, $completion);
|
|
2508
2508
|
};
|
|
2509
2509
|
l.$arity = 2;
|
|
2510
2510
|
return l;
|
|
2511
2511
|
}
|
|
2512
2512
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
2513
|
-
this.
|
|
2513
|
+
this.te1_1 = $spectators;
|
|
2514
2514
|
CoroutineImpl.call(this, resultContinuation);
|
|
2515
2515
|
}
|
|
2516
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2517
|
-
var tmp = this.
|
|
2516
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).bbg = function ($this$dispatchAsync, store, $completion) {
|
|
2517
|
+
var tmp = this.cbg($this$dispatchAsync, store, $completion);
|
|
2518
2518
|
tmp.t8_1 = Unit_instance;
|
|
2519
2519
|
tmp.u8_1 = null;
|
|
2520
2520
|
return tmp.z8();
|
|
2521
2521
|
};
|
|
2522
2522
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).i9 = function (p1, p2, $completion) {
|
|
2523
2523
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2524
|
-
return this.
|
|
2524
|
+
return this.bbg(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2525
2525
|
};
|
|
2526
2526
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).z8 = function () {
|
|
2527
2527
|
var suspendResult = this.t8_1;
|
|
@@ -2530,7 +2530,7 @@
|
|
|
2530
2530
|
var tmp = this.r8_1;
|
|
2531
2531
|
if (tmp === 0) {
|
|
2532
2532
|
this.s8_1 = 1;
|
|
2533
|
-
this.
|
|
2533
|
+
this.ve1_1.dispatch(new RemoveSpectatorsAction(toList(this.te1_1)));
|
|
2534
2534
|
return Unit_instance;
|
|
2535
2535
|
} else if (tmp === 1) {
|
|
2536
2536
|
throw this.u8_1;
|
|
@@ -2541,34 +2541,34 @@
|
|
|
2541
2541
|
}
|
|
2542
2542
|
while (true);
|
|
2543
2543
|
};
|
|
2544
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2545
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
2546
|
-
i.
|
|
2547
|
-
i.
|
|
2544
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).cbg = function ($this$dispatchAsync, store, completion) {
|
|
2545
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.te1_1, completion);
|
|
2546
|
+
i.ue1_1 = $this$dispatchAsync;
|
|
2547
|
+
i.ve1_1 = store;
|
|
2548
2548
|
return i;
|
|
2549
2549
|
};
|
|
2550
2550
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
2551
2551
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
2552
2552
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2553
|
-
return i.
|
|
2553
|
+
return i.bbg($this$dispatchAsync, store, $completion);
|
|
2554
2554
|
};
|
|
2555
2555
|
l.$arity = 2;
|
|
2556
2556
|
return l;
|
|
2557
2557
|
}
|
|
2558
2558
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
2559
|
-
this.
|
|
2560
|
-
this.
|
|
2559
|
+
this.ee2_1 = $playerId;
|
|
2560
|
+
this.fe2_1 = this$0;
|
|
2561
2561
|
CoroutineImpl.call(this, resultContinuation);
|
|
2562
2562
|
}
|
|
2563
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2564
|
-
var tmp = this.
|
|
2563
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).bbg = function ($this$dispatchAsync, store, $completion) {
|
|
2564
|
+
var tmp = this.cbg($this$dispatchAsync, store, $completion);
|
|
2565
2565
|
tmp.t8_1 = Unit_instance;
|
|
2566
2566
|
tmp.u8_1 = null;
|
|
2567
2567
|
return tmp.z8();
|
|
2568
2568
|
};
|
|
2569
2569
|
protoOf(GameServer$roomRefreshPlayerState$slambda).i9 = function (p1, p2, $completion) {
|
|
2570
2570
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2571
|
-
return this.
|
|
2571
|
+
return this.bbg(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2572
2572
|
};
|
|
2573
2573
|
protoOf(GameServer$roomRefreshPlayerState$slambda).z8 = function () {
|
|
2574
2574
|
var suspendResult = this.t8_1;
|
|
@@ -2577,14 +2577,14 @@
|
|
|
2577
2577
|
var tmp = this.r8_1;
|
|
2578
2578
|
if (tmp === 0) {
|
|
2579
2579
|
this.s8_1 = 1;
|
|
2580
|
-
var table = this.
|
|
2581
|
-
var player = getPlayer(table.players, this.
|
|
2582
|
-
if (player.
|
|
2583
|
-
this.
|
|
2580
|
+
var table = this.he2_1.state.z6x();
|
|
2581
|
+
var player = getPlayer(table.players, this.ee2_1);
|
|
2582
|
+
if (player.e71_1.j6h().a6g_1.isLive) {
|
|
2583
|
+
this.he2_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.fe2_1).p9b(player, table));
|
|
2584
2584
|
} else {
|
|
2585
|
-
var tmp_0 = this.
|
|
2585
|
+
var tmp_0 = this.he2_1.dispatch;
|
|
2586
2586
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2587
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2587
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.ee2_1));
|
|
2588
2588
|
}
|
|
2589
2589
|
return Unit_instance;
|
|
2590
2590
|
} else if (tmp === 1) {
|
|
@@ -2596,34 +2596,34 @@
|
|
|
2596
2596
|
}
|
|
2597
2597
|
while (true);
|
|
2598
2598
|
};
|
|
2599
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2600
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
2601
|
-
i.
|
|
2602
|
-
i.
|
|
2599
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).cbg = function ($this$dispatchAsync, store, completion) {
|
|
2600
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.ee2_1, this.fe2_1, completion);
|
|
2601
|
+
i.ge2_1 = $this$dispatchAsync;
|
|
2602
|
+
i.he2_1 = store;
|
|
2603
2603
|
return i;
|
|
2604
2604
|
};
|
|
2605
2605
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
2606
2606
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
2607
2607
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2608
|
-
return i.
|
|
2608
|
+
return i.bbg($this$dispatchAsync, store, $completion);
|
|
2609
2609
|
};
|
|
2610
2610
|
l.$arity = 2;
|
|
2611
2611
|
return l;
|
|
2612
2612
|
}
|
|
2613
2613
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
2614
|
-
this.
|
|
2615
|
-
this.
|
|
2614
|
+
this.qe2_1 = this$0;
|
|
2615
|
+
this.re2_1 = $newRid;
|
|
2616
2616
|
CoroutineImpl.call(this, resultContinuation);
|
|
2617
2617
|
}
|
|
2618
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2619
|
-
var tmp = this.
|
|
2618
|
+
protoOf(GameServer$roomOnDelete$slambda).bbg = function ($this$dispatchAsync, store, $completion) {
|
|
2619
|
+
var tmp = this.cbg($this$dispatchAsync, store, $completion);
|
|
2620
2620
|
tmp.t8_1 = Unit_instance;
|
|
2621
2621
|
tmp.u8_1 = null;
|
|
2622
2622
|
return tmp.z8();
|
|
2623
2623
|
};
|
|
2624
2624
|
protoOf(GameServer$roomOnDelete$slambda).i9 = function (p1, p2, $completion) {
|
|
2625
2625
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2626
|
-
return this.
|
|
2626
|
+
return this.bbg(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2627
2627
|
};
|
|
2628
2628
|
protoOf(GameServer$roomOnDelete$slambda).z8 = function () {
|
|
2629
2629
|
var suspendResult = this.t8_1;
|
|
@@ -2632,27 +2632,27 @@
|
|
|
2632
2632
|
var tmp = this.r8_1;
|
|
2633
2633
|
if (tmp === 0) {
|
|
2634
2634
|
this.s8_1 = 1;
|
|
2635
|
-
var it = this.
|
|
2635
|
+
var it = this.qe2_1.i6f().z6w_1;
|
|
2636
2636
|
var tmp_0;
|
|
2637
2637
|
if (it == null) {
|
|
2638
|
-
this.
|
|
2638
|
+
this.qe2_1.b56().w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
2639
2639
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
2640
2640
|
} else {
|
|
2641
2641
|
tmp_0 = it;
|
|
2642
2642
|
}
|
|
2643
2643
|
var terminationState = tmp_0;
|
|
2644
|
-
var gameTransition = terminationState.
|
|
2644
|
+
var gameTransition = terminationState.h8g_1;
|
|
2645
2645
|
var tmp_1;
|
|
2646
2646
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
2647
|
-
var tmp0_elvis_lhs = this.
|
|
2647
|
+
var tmp0_elvis_lhs = this.re2_1;
|
|
2648
2648
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
2649
2649
|
} else {
|
|
2650
2650
|
tmp_1 = gameTransition;
|
|
2651
2651
|
}
|
|
2652
2652
|
var transition = tmp_1;
|
|
2653
|
-
var tmp_2 = this.
|
|
2654
|
-
var tmp0_reason = terminationState.
|
|
2655
|
-
var tmp1_isGameFinished = this.
|
|
2653
|
+
var tmp_2 = this.te2_1.dispatch;
|
|
2654
|
+
var tmp0_reason = terminationState.g8g_1;
|
|
2655
|
+
var tmp1_isGameFinished = this.qe2_1.i6f().z6x().isGameFinished;
|
|
2656
2656
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
2657
2657
|
return Unit_instance;
|
|
2658
2658
|
} else if (tmp === 1) {
|
|
@@ -2664,33 +2664,33 @@
|
|
|
2664
2664
|
}
|
|
2665
2665
|
while (true);
|
|
2666
2666
|
};
|
|
2667
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2668
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
2669
|
-
i.
|
|
2670
|
-
i.
|
|
2667
|
+
protoOf(GameServer$roomOnDelete$slambda).cbg = function ($this$dispatchAsync, store, completion) {
|
|
2668
|
+
var i = new GameServer$roomOnDelete$slambda(this.qe2_1, this.re2_1, completion);
|
|
2669
|
+
i.se2_1 = $this$dispatchAsync;
|
|
2670
|
+
i.te2_1 = store;
|
|
2671
2671
|
return i;
|
|
2672
2672
|
};
|
|
2673
2673
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
2674
2674
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
2675
2675
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2676
|
-
return i.
|
|
2676
|
+
return i.bbg($this$dispatchAsync, store, $completion);
|
|
2677
2677
|
};
|
|
2678
2678
|
l.$arity = 2;
|
|
2679
2679
|
return l;
|
|
2680
2680
|
}
|
|
2681
2681
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
2682
|
-
this.
|
|
2682
|
+
this.ce3_1 = $enabled;
|
|
2683
2683
|
CoroutineImpl.call(this, resultContinuation);
|
|
2684
2684
|
}
|
|
2685
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2686
|
-
var tmp = this.
|
|
2685
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).bbg = function ($this$dispatchAsync, store, $completion) {
|
|
2686
|
+
var tmp = this.cbg($this$dispatchAsync, store, $completion);
|
|
2687
2687
|
tmp.t8_1 = Unit_instance;
|
|
2688
2688
|
tmp.u8_1 = null;
|
|
2689
2689
|
return tmp.z8();
|
|
2690
2690
|
};
|
|
2691
2691
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).i9 = function (p1, p2, $completion) {
|
|
2692
2692
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2693
|
-
return this.
|
|
2693
|
+
return this.bbg(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2694
2694
|
};
|
|
2695
2695
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).z8 = function () {
|
|
2696
2696
|
var suspendResult = this.t8_1;
|
|
@@ -2699,7 +2699,7 @@
|
|
|
2699
2699
|
var tmp = this.r8_1;
|
|
2700
2700
|
if (tmp === 0) {
|
|
2701
2701
|
this.s8_1 = 1;
|
|
2702
|
-
this.
|
|
2702
|
+
this.ee3_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload(this.ee3_1.state).config.copy(VOID, this.ce3_1)));
|
|
2703
2703
|
return Unit_instance;
|
|
2704
2704
|
} else if (tmp === 1) {
|
|
2705
2705
|
throw this.u8_1;
|
|
@@ -2710,35 +2710,35 @@
|
|
|
2710
2710
|
}
|
|
2711
2711
|
while (true);
|
|
2712
2712
|
};
|
|
2713
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2714
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
2715
|
-
i.
|
|
2716
|
-
i.
|
|
2713
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).cbg = function ($this$dispatchAsync, store, completion) {
|
|
2714
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.ce3_1, completion);
|
|
2715
|
+
i.de3_1 = $this$dispatchAsync;
|
|
2716
|
+
i.ee3_1 = store;
|
|
2717
2717
|
return i;
|
|
2718
2718
|
};
|
|
2719
2719
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
2720
2720
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
2721
2721
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2722
|
-
return i.
|
|
2722
|
+
return i.bbg($this$dispatchAsync, store, $completion);
|
|
2723
2723
|
};
|
|
2724
2724
|
l.$arity = 2;
|
|
2725
2725
|
return l;
|
|
2726
2726
|
}
|
|
2727
2727
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
2728
|
-
this.
|
|
2729
|
-
this.
|
|
2730
|
-
this.
|
|
2728
|
+
this.ne3_1 = $reason;
|
|
2729
|
+
this.oe3_1 = this$0;
|
|
2730
|
+
this.pe3_1 = $roomId;
|
|
2731
2731
|
CoroutineImpl.call(this, resultContinuation);
|
|
2732
2732
|
}
|
|
2733
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2734
|
-
var tmp = this.
|
|
2733
|
+
protoOf(GameServer$shutdown$slambda).bbg = function ($this$dispatchAsync, store, $completion) {
|
|
2734
|
+
var tmp = this.cbg($this$dispatchAsync, store, $completion);
|
|
2735
2735
|
tmp.t8_1 = Unit_instance;
|
|
2736
2736
|
tmp.u8_1 = null;
|
|
2737
2737
|
return tmp.z8();
|
|
2738
2738
|
};
|
|
2739
2739
|
protoOf(GameServer$shutdown$slambda).i9 = function (p1, p2, $completion) {
|
|
2740
2740
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2741
|
-
return this.
|
|
2741
|
+
return this.bbg(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2742
2742
|
};
|
|
2743
2743
|
protoOf(GameServer$shutdown$slambda).z8 = function () {
|
|
2744
2744
|
var suspendResult = this.t8_1;
|
|
@@ -2747,11 +2747,11 @@
|
|
|
2747
2747
|
var tmp = this.r8_1;
|
|
2748
2748
|
if (tmp === 0) {
|
|
2749
2749
|
this.s8_1 = 1;
|
|
2750
|
-
var state = this.
|
|
2751
|
-
if (state.
|
|
2752
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
2750
|
+
var state = this.re3_1.store.state;
|
|
2751
|
+
if (state.a6y()) {
|
|
2752
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.ne3_1, get_serverShutdownReasonMapping());
|
|
2753
2753
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
2754
|
-
var tmp_0 = this.
|
|
2754
|
+
var tmp_0 = this.re3_1.dispatch;
|
|
2755
2755
|
var tmp_1 = Companion_instance;
|
|
2756
2756
|
var tmp_2;
|
|
2757
2757
|
switch (shutdownReason.p2_1) {
|
|
@@ -2765,12 +2765,12 @@
|
|
|
2765
2765
|
noWhenBranchMatchedException();
|
|
2766
2766
|
break;
|
|
2767
2767
|
}
|
|
2768
|
-
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.
|
|
2768
|
+
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.oe3_1.table.isGameFinished, this.oe3_1.table));
|
|
2769
2769
|
} else {
|
|
2770
|
-
this.
|
|
2771
|
-
var tmp_3 = this.
|
|
2772
|
-
var tmp2_safe_receiver = state.
|
|
2773
|
-
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
2770
|
+
this.oe3_1.b56().w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.pe3_1);
|
|
2771
|
+
var tmp_3 = this.re3_1.dispatch;
|
|
2772
|
+
var tmp2_safe_receiver = state.z6w_1;
|
|
2773
|
+
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.h8g_1));
|
|
2774
2774
|
}
|
|
2775
2775
|
return Unit_instance;
|
|
2776
2776
|
} else if (tmp === 1) {
|
|
@@ -2782,16 +2782,16 @@
|
|
|
2782
2782
|
}
|
|
2783
2783
|
while (true);
|
|
2784
2784
|
};
|
|
2785
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2786
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
2787
|
-
i.
|
|
2788
|
-
i.
|
|
2785
|
+
protoOf(GameServer$shutdown$slambda).cbg = function ($this$dispatchAsync, store, completion) {
|
|
2786
|
+
var i = new GameServer$shutdown$slambda(this.ne3_1, this.oe3_1, this.pe3_1, completion);
|
|
2787
|
+
i.qe3_1 = $this$dispatchAsync;
|
|
2788
|
+
i.re3_1 = store;
|
|
2789
2789
|
return i;
|
|
2790
2790
|
};
|
|
2791
2791
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
2792
2792
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
2793
2793
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2794
|
-
return i.
|
|
2794
|
+
return i.bbg($this$dispatchAsync, store, $completion);
|
|
2795
2795
|
};
|
|
2796
2796
|
l.$arity = 2;
|
|
2797
2797
|
return l;
|
|
@@ -2822,7 +2822,7 @@
|
|
|
2822
2822
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
2823
2823
|
var tmp_3 = Instance(di, tmp$ret$2, null);
|
|
2824
2824
|
var tmp_4 = KProperty1;
|
|
2825
|
-
tmp_1.
|
|
2825
|
+
tmp_1.bdu_1 = tmp_3.c1h(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_4, GameServer$_get_toClientEventsObserver_$ref_utir8s(), null));
|
|
2826
2826
|
var tmp_5 = this;
|
|
2827
2827
|
// Inline function 'org.kodein.di.instance' call
|
|
2828
2828
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2830,7 +2830,7 @@
|
|
|
2830
2830
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2831
2831
|
var tmp_7 = Instance(di, tmp$ret$4, null);
|
|
2832
2832
|
var tmp_8 = KProperty1;
|
|
2833
|
-
tmp_5.
|
|
2833
|
+
tmp_5.cdu_1 = tmp_7.c1h(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_8, GameServer$_get_fromClientEventsObserver_$ref_nf1g79(), null));
|
|
2834
2834
|
var tmp_9 = this;
|
|
2835
2835
|
// Inline function 'org.kodein.di.instance' call
|
|
2836
2836
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2838,7 +2838,7 @@
|
|
|
2838
2838
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
2839
2839
|
var tmp_11 = Instance(di, tmp$ret$6, null);
|
|
2840
2840
|
var tmp_12 = KProperty1;
|
|
2841
|
-
tmp_9.
|
|
2841
|
+
tmp_9.ddu_1 = tmp_11.c1h(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_12, GameServer$_get_playerConnectionInteractor_$ref_of8tan(), null));
|
|
2842
2842
|
var tmp_13 = this;
|
|
2843
2843
|
// Inline function 'org.kodein.di.instance' call
|
|
2844
2844
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2846,9 +2846,9 @@
|
|
|
2846
2846
|
var tmp$ret$8 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
2847
2847
|
var tmp_15 = Instance(di, tmp$ret$8, null);
|
|
2848
2848
|
var tmp_16 = KProperty1;
|
|
2849
|
-
tmp_13.
|
|
2849
|
+
tmp_13.edu_1 = tmp_15.c1h(this, getPropertyCallableRef('teamsLogicProvider', 1, tmp_16, GameServer$_get_teamsLogicProvider_$ref_b7y54g(), null));
|
|
2850
2850
|
var tmp_17 = this;
|
|
2851
|
-
tmp_17.
|
|
2851
|
+
tmp_17.fdu_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
2852
2852
|
var tmp_18 = this;
|
|
2853
2853
|
// Inline function 'org.kodein.di.instance' call
|
|
2854
2854
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2856,7 +2856,7 @@
|
|
|
2856
2856
|
var tmp$ret$10 = isInterface(tmp_19, TypeToken) ? tmp_19 : THROW_CCE();
|
|
2857
2857
|
var tmp_20 = Instance(di, tmp$ret$10, null);
|
|
2858
2858
|
var tmp_21 = KProperty1;
|
|
2859
|
-
tmp_18.
|
|
2859
|
+
tmp_18.gdu_1 = tmp_20.c1h(this, getPropertyCallableRef('idsProvider', 1, tmp_21, GameServer$_get_idsProvider_$ref_89s908(), null));
|
|
2860
2860
|
var tmp_22 = this;
|
|
2861
2861
|
// Inline function 'org.kodein.di.instance' call
|
|
2862
2862
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2864,7 +2864,7 @@
|
|
|
2864
2864
|
var tmp$ret$12 = isInterface(tmp_23, TypeToken) ? tmp_23 : THROW_CCE();
|
|
2865
2865
|
var tmp_24 = Instance(di, tmp$ret$12, null);
|
|
2866
2866
|
var tmp_25 = KProperty1;
|
|
2867
|
-
tmp_22.
|
|
2867
|
+
tmp_22.hdu_1 = tmp_24.c1h(this, getPropertyCallableRef('serverReduxConfig', 1, tmp_25, GameServer$_get_serverReduxConfig_$ref_7h6jq6(), null));
|
|
2868
2868
|
var tmp_26 = this;
|
|
2869
2869
|
// Inline function 'org.kodein.di.instance' call
|
|
2870
2870
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2872,97 +2872,97 @@
|
|
|
2872
2872
|
var tmp$ret$14 = isInterface(tmp_27, TypeToken) ? tmp_27 : THROW_CCE();
|
|
2873
2873
|
var tmp_28 = Instance(di, tmp$ret$14, null);
|
|
2874
2874
|
var tmp_29 = KProperty1;
|
|
2875
|
-
tmp_26.
|
|
2875
|
+
tmp_26.idu_1 = tmp_28.c1h(this, getPropertyCallableRef('encoderDecoderProvider', 1, tmp_29, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8(), null));
|
|
2876
2876
|
var tmp_30 = this;
|
|
2877
|
-
var tmp0_externalMiddlewares = plus(storeContract.
|
|
2878
|
-
var tmp1_externalReducers = plus(storeContract.
|
|
2879
|
-
tmp_30.
|
|
2877
|
+
var tmp0_externalMiddlewares = plus(storeContract.p9h(), externalMiddlewares);
|
|
2878
|
+
var tmp1_externalReducers = plus(storeContract.o9h(), externalReducers);
|
|
2879
|
+
tmp_30.jdu_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
2880
2880
|
}
|
|
2881
|
-
protoOf(GameServer).
|
|
2882
|
-
return this.
|
|
2881
|
+
protoOf(GameServer).o6w = function () {
|
|
2882
|
+
return this.jdu_1;
|
|
2883
2883
|
};
|
|
2884
|
-
protoOf(GameServer).
|
|
2885
|
-
return get_serverStatePayload(this.
|
|
2884
|
+
protoOf(GameServer).w8z = function () {
|
|
2885
|
+
return get_serverStatePayload(this.i6f()).metadata;
|
|
2886
2886
|
};
|
|
2887
|
-
protoOf(GameServer).
|
|
2888
|
-
return this.
|
|
2887
|
+
protoOf(GameServer).t5j = function () {
|
|
2888
|
+
return this.i6f().z6x().id;
|
|
2889
2889
|
};
|
|
2890
|
-
protoOf(GameServer).
|
|
2891
|
-
return this.
|
|
2890
|
+
protoOf(GameServer).z6x = function () {
|
|
2891
|
+
return this.i6f().z6x();
|
|
2892
2892
|
};
|
|
2893
|
-
protoOf(GameServer).
|
|
2894
|
-
return this.
|
|
2893
|
+
protoOf(GameServer).a6y = function () {
|
|
2894
|
+
return this.i6f().a6y();
|
|
2895
2895
|
};
|
|
2896
|
-
protoOf(GameServer).
|
|
2897
|
-
return this.
|
|
2896
|
+
protoOf(GameServer).b6y = function () {
|
|
2897
|
+
return this.i6f().gameLifecycleState;
|
|
2898
2898
|
};
|
|
2899
2899
|
protoOf(GameServer).subscribeToClientAction = function (subscriber) {
|
|
2900
|
-
var tmp = this.
|
|
2901
|
-
tmp.
|
|
2900
|
+
var tmp = this.l6w();
|
|
2901
|
+
tmp.d6l(VOID, GameServer$subscribeToClientAction$slambda_0(this, subscriber, null));
|
|
2902
2902
|
};
|
|
2903
2903
|
protoOf(GameServer).subscribeServerStateUpdate = function (subscriber) {
|
|
2904
|
-
var tmp = this.
|
|
2905
|
-
tmp.
|
|
2904
|
+
var tmp = this.l6w();
|
|
2905
|
+
tmp.d6l(VOID, GameServer$subscribeServerStateUpdate$slambda_0(this, subscriber, null));
|
|
2906
2906
|
};
|
|
2907
2907
|
protoOf(GameServer).subscribeServerStateUpdateJson = function (subscriber) {
|
|
2908
|
-
var tmp = this.
|
|
2909
|
-
tmp.
|
|
2908
|
+
var tmp = this.l6w();
|
|
2909
|
+
tmp.d6l(VOID, GameServer$subscribeServerStateUpdateJson$slambda_0(this, subscriber, null));
|
|
2910
2910
|
};
|
|
2911
2911
|
protoOf(GameServer).subscribeWith = function (subscriber) {
|
|
2912
|
-
var tmp = this.
|
|
2913
|
-
tmp.
|
|
2912
|
+
var tmp = this.l6w();
|
|
2913
|
+
tmp.d6l(VOID, GameServer$subscribeWith$slambda_0(this, subscriber, null));
|
|
2914
2914
|
};
|
|
2915
2915
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
2916
|
-
this.
|
|
2917
|
-
this.
|
|
2916
|
+
this.b56().d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
2917
|
+
this.jdu_1.x6x(GameServer$fromClientEvent$slambda_0(action, null));
|
|
2918
2918
|
};
|
|
2919
2919
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
2920
|
-
this.
|
|
2921
|
-
this.
|
|
2920
|
+
this.b56().d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
2921
|
+
this.jdu_1.x6x(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
2922
2922
|
};
|
|
2923
2923
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
2924
|
-
this.
|
|
2925
|
-
this.
|
|
2924
|
+
this.b56().d('GameEngine_API', 'playerLive: ' + playerId);
|
|
2925
|
+
this.jdu_1.x6x(GameServer$playerLive$slambda_0(this, playerId, null));
|
|
2926
2926
|
};
|
|
2927
2927
|
protoOf(GameServer).playerLeft = function (playerId) {
|
|
2928
|
-
this.
|
|
2929
|
-
this.
|
|
2928
|
+
this.b56().d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
2929
|
+
this.jdu_1.x6x(GameServer$playerLeft$slambda_0(this, playerId, null));
|
|
2930
2930
|
};
|
|
2931
|
-
protoOf(GameServer).
|
|
2932
|
-
this.
|
|
2933
|
-
this.
|
|
2931
|
+
protoOf(GameServer).se3 = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
2932
|
+
this.b56().d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
2933
|
+
this.jdu_1.x6x(GameServer$roomOnCreate$slambda_0(usersArray, config, this, roomId, transition, gameCreatorId, spectators, null));
|
|
2934
2934
|
};
|
|
2935
2935
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
2936
|
-
this.
|
|
2937
|
-
var isCreated = this.
|
|
2938
|
-
this.
|
|
2936
|
+
this.b56().d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
2937
|
+
var isCreated = this.jdu_1.y6x(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
2938
|
+
this.jdu_1.x6x(GameServer$roomOnContinueFromState$slambda_2(isCreated, state, null));
|
|
2939
2939
|
};
|
|
2940
2940
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
2941
|
-
this.
|
|
2942
|
-
this.
|
|
2943
|
-
this.
|
|
2941
|
+
this.b56().d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
2942
|
+
this.jdu_1.x6x(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
2943
|
+
this.jdu_1.x6x(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
2944
2944
|
};
|
|
2945
2945
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
2946
|
-
this.
|
|
2946
|
+
this.jdu_1.x6x(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
2947
2947
|
};
|
|
2948
2948
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
2949
|
-
this.
|
|
2949
|
+
this.jdu_1.x6x(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
2950
2950
|
};
|
|
2951
2951
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
2952
|
-
this.
|
|
2953
|
-
this.
|
|
2952
|
+
this.b56().d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
2953
|
+
this.jdu_1.x6x(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
2954
2954
|
};
|
|
2955
|
-
protoOf(GameServer).
|
|
2956
|
-
this.
|
|
2957
|
-
this.
|
|
2955
|
+
protoOf(GameServer).te3 = function (newRid) {
|
|
2956
|
+
this.b56().d('GameEngine_API', 'roomOnDelete: newRid = ' + newRid);
|
|
2957
|
+
this.jdu_1.x6x(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
2958
2958
|
};
|
|
2959
2959
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
2960
|
-
this.
|
|
2961
|
-
this.
|
|
2960
|
+
this.b56().d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
2961
|
+
this.jdu_1.x6x(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
2962
2962
|
};
|
|
2963
|
-
protoOf(GameServer).
|
|
2964
|
-
this.
|
|
2965
|
-
this.
|
|
2963
|
+
protoOf(GameServer).ue3 = function (reason, roomId) {
|
|
2964
|
+
this.b56().d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
2965
|
+
this.jdu_1.x6x(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
2966
2966
|
};
|
|
2967
2967
|
protoOf(GameServer).clear = function () {
|
|
2968
2968
|
return this.h2();
|
|
@@ -3013,10 +3013,10 @@
|
|
|
3013
3013
|
this.fromRound = fromRound;
|
|
3014
3014
|
this.canStartNewGame = canStartNewGame;
|
|
3015
3015
|
}
|
|
3016
|
-
protoOf(ServerConfig).
|
|
3016
|
+
protoOf(ServerConfig).ve3 = function () {
|
|
3017
3017
|
return this.fromRound;
|
|
3018
3018
|
};
|
|
3019
|
-
protoOf(ServerConfig).
|
|
3019
|
+
protoOf(ServerConfig).we3 = function () {
|
|
3020
3020
|
return this.canStartNewGame;
|
|
3021
3021
|
};
|
|
3022
3022
|
protoOf(ServerConfig).ne = function () {
|
|
@@ -3025,13 +3025,13 @@
|
|
|
3025
3025
|
protoOf(ServerConfig).oe = function () {
|
|
3026
3026
|
return this.canStartNewGame;
|
|
3027
3027
|
};
|
|
3028
|
-
protoOf(ServerConfig).
|
|
3028
|
+
protoOf(ServerConfig).xe3 = function (fromRound, canStartNewGame) {
|
|
3029
3029
|
return new ServerConfig(fromRound, canStartNewGame);
|
|
3030
3030
|
};
|
|
3031
3031
|
protoOf(ServerConfig).copy = function (fromRound, canStartNewGame, $super) {
|
|
3032
3032
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
3033
3033
|
canStartNewGame = canStartNewGame === VOID ? this.canStartNewGame : canStartNewGame;
|
|
3034
|
-
return $super === VOID ? this.
|
|
3034
|
+
return $super === VOID ? this.xe3(fromRound, canStartNewGame) : $super.xe3.call(this, fromRound, canStartNewGame);
|
|
3035
3035
|
};
|
|
3036
3036
|
protoOf(ServerConfig).toString = function () {
|
|
3037
3037
|
return 'ServerConfig(fromRound=' + this.fromRound + ', canStartNewGame=' + this.canStartNewGame + ')';
|
|
@@ -3054,7 +3054,7 @@
|
|
|
3054
3054
|
};
|
|
3055
3055
|
function Companion_1() {
|
|
3056
3056
|
}
|
|
3057
|
-
protoOf(Companion_1).
|
|
3057
|
+
protoOf(Companion_1).q4t = function () {
|
|
3058
3058
|
var tmp = getKClass(ServerStateUpdateDto);
|
|
3059
3059
|
// Inline function 'kotlin.arrayOf' call
|
|
3060
3060
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
@@ -3071,7 +3071,7 @@
|
|
|
3071
3071
|
return SealedClassSerializer_init_$Create$('games.jass.logic.server.data.models.serializable.ServerStateUpdateDto', tmp, tmp_0, tmp_1, tmp$ret$8);
|
|
3072
3072
|
};
|
|
3073
3073
|
protoOf(Companion_1).g10 = function (typeParamsSerializers) {
|
|
3074
|
-
return this.
|
|
3074
|
+
return this.q4t();
|
|
3075
3075
|
};
|
|
3076
3076
|
var Companion_instance_9;
|
|
3077
3077
|
function Companion_getInstance_2() {
|
|
@@ -3081,7 +3081,7 @@
|
|
|
3081
3081
|
}
|
|
3082
3082
|
function Companion_2() {
|
|
3083
3083
|
}
|
|
3084
|
-
protoOf(Companion_2).
|
|
3084
|
+
protoOf(Companion_2).q4t = function () {
|
|
3085
3085
|
return $serializer_getInstance();
|
|
3086
3086
|
};
|
|
3087
3087
|
var Companion_instance_10;
|
|
@@ -3093,20 +3093,20 @@
|
|
|
3093
3093
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 2);
|
|
3094
3094
|
tmp0_serialDesc.gz('roomId', false);
|
|
3095
3095
|
tmp0_serialDesc.gz('table', false);
|
|
3096
|
-
this.
|
|
3096
|
+
this.ye3_1 = tmp0_serialDesc;
|
|
3097
3097
|
}
|
|
3098
|
-
protoOf($serializer).
|
|
3099
|
-
var tmp0_desc = this.
|
|
3098
|
+
protoOf($serializer).ze3 = function (encoder, value) {
|
|
3099
|
+
var tmp0_desc = this.ye3_1;
|
|
3100
3100
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3101
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3101
|
+
tmp1_output.dt(tmp0_desc, 0, value.ae4_1);
|
|
3102
3102
|
tmp1_output.dt(tmp0_desc, 1, value.table);
|
|
3103
3103
|
tmp1_output.pr(tmp0_desc);
|
|
3104
3104
|
};
|
|
3105
3105
|
protoOf($serializer).co = function (encoder, value) {
|
|
3106
|
-
return this.
|
|
3106
|
+
return this.ze3(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3107
3107
|
};
|
|
3108
3108
|
protoOf($serializer).do = function (decoder) {
|
|
3109
|
-
var tmp0_desc = this.
|
|
3109
|
+
var tmp0_desc = this.ye3_1;
|
|
3110
3110
|
var tmp1_flag = true;
|
|
3111
3111
|
var tmp2_index = 0;
|
|
3112
3112
|
var tmp3_bitMask0 = 0;
|
|
@@ -3141,7 +3141,7 @@
|
|
|
3141
3141
|
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3142
3142
|
};
|
|
3143
3143
|
protoOf($serializer).bo = function () {
|
|
3144
|
-
return this.
|
|
3144
|
+
return this.ye3_1;
|
|
3145
3145
|
};
|
|
3146
3146
|
protoOf($serializer).vz = function () {
|
|
3147
3147
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3157,9 +3157,9 @@
|
|
|
3157
3157
|
}
|
|
3158
3158
|
function TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, $this) {
|
|
3159
3159
|
if (!(3 === (3 & seen0))) {
|
|
3160
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance().
|
|
3160
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance().ye3_1);
|
|
3161
3161
|
}
|
|
3162
|
-
$this.
|
|
3162
|
+
$this.ae4_1 = roomId;
|
|
3163
3163
|
$this.table = table;
|
|
3164
3164
|
return $this;
|
|
3165
3165
|
}
|
|
@@ -3167,34 +3167,34 @@
|
|
|
3167
3167
|
return TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, objectCreate(protoOf(TableStateUpdateDto)));
|
|
3168
3168
|
}
|
|
3169
3169
|
function TableStateUpdateDto(roomId, table) {
|
|
3170
|
-
this.
|
|
3170
|
+
this.ae4_1 = roomId;
|
|
3171
3171
|
this.table = table;
|
|
3172
3172
|
}
|
|
3173
|
-
protoOf(TableStateUpdateDto).
|
|
3174
|
-
return this.
|
|
3173
|
+
protoOf(TableStateUpdateDto).p8w = function () {
|
|
3174
|
+
return this.ae4_1;
|
|
3175
3175
|
};
|
|
3176
|
-
protoOf(TableStateUpdateDto).
|
|
3176
|
+
protoOf(TableStateUpdateDto).z6x = function () {
|
|
3177
3177
|
return this.table;
|
|
3178
3178
|
};
|
|
3179
3179
|
protoOf(TableStateUpdateDto).ne = function () {
|
|
3180
|
-
return this.
|
|
3180
|
+
return this.ae4_1;
|
|
3181
3181
|
};
|
|
3182
3182
|
protoOf(TableStateUpdateDto).oe = function () {
|
|
3183
3183
|
return this.table;
|
|
3184
3184
|
};
|
|
3185
|
-
protoOf(TableStateUpdateDto).
|
|
3185
|
+
protoOf(TableStateUpdateDto).z5j = function (roomId, table) {
|
|
3186
3186
|
return new TableStateUpdateDto(roomId, table);
|
|
3187
3187
|
};
|
|
3188
3188
|
protoOf(TableStateUpdateDto).copy = function (roomId, table, $super) {
|
|
3189
|
-
roomId = roomId === VOID ? this.
|
|
3189
|
+
roomId = roomId === VOID ? this.ae4_1 : roomId;
|
|
3190
3190
|
table = table === VOID ? this.table : table;
|
|
3191
|
-
return $super === VOID ? this.
|
|
3191
|
+
return $super === VOID ? this.z5j(roomId, table) : $super.z5j.call(this, roomId, table);
|
|
3192
3192
|
};
|
|
3193
3193
|
protoOf(TableStateUpdateDto).toString = function () {
|
|
3194
|
-
return 'TableStateUpdateDto(roomId=' + this.
|
|
3194
|
+
return 'TableStateUpdateDto(roomId=' + this.ae4_1 + ', table=' + this.table + ')';
|
|
3195
3195
|
};
|
|
3196
3196
|
protoOf(TableStateUpdateDto).hashCode = function () {
|
|
3197
|
-
var result = getStringHashCode(this.
|
|
3197
|
+
var result = getStringHashCode(this.ae4_1);
|
|
3198
3198
|
result = imul(result, 31) + getStringHashCode(this.table) | 0;
|
|
3199
3199
|
return result;
|
|
3200
3200
|
};
|
|
@@ -3203,7 +3203,7 @@
|
|
|
3203
3203
|
return true;
|
|
3204
3204
|
if (!(other instanceof TableStateUpdateDto))
|
|
3205
3205
|
return false;
|
|
3206
|
-
if (!(this.
|
|
3206
|
+
if (!(this.ae4_1 === other.ae4_1))
|
|
3207
3207
|
return false;
|
|
3208
3208
|
if (!(this.table === other.table))
|
|
3209
3209
|
return false;
|
|
@@ -3211,7 +3211,7 @@
|
|
|
3211
3211
|
};
|
|
3212
3212
|
function Companion_3() {
|
|
3213
3213
|
}
|
|
3214
|
-
protoOf(Companion_3).
|
|
3214
|
+
protoOf(Companion_3).q4t = function () {
|
|
3215
3215
|
return $serializer_getInstance_0();
|
|
3216
3216
|
};
|
|
3217
3217
|
var Companion_instance_11;
|
|
@@ -3223,20 +3223,20 @@
|
|
|
3223
3223
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 2);
|
|
3224
3224
|
tmp0_serialDesc.gz('roomId', false);
|
|
3225
3225
|
tmp0_serialDesc.gz('actions', false);
|
|
3226
|
-
this.
|
|
3226
|
+
this.be4_1 = tmp0_serialDesc;
|
|
3227
3227
|
}
|
|
3228
|
-
protoOf($serializer_0).
|
|
3229
|
-
var tmp0_desc = this.
|
|
3228
|
+
protoOf($serializer_0).ce4 = function (encoder, value) {
|
|
3229
|
+
var tmp0_desc = this.be4_1;
|
|
3230
3230
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3231
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3231
|
+
tmp1_output.dt(tmp0_desc, 0, value.de4_1);
|
|
3232
3232
|
tmp1_output.dt(tmp0_desc, 1, value.actions);
|
|
3233
3233
|
tmp1_output.pr(tmp0_desc);
|
|
3234
3234
|
};
|
|
3235
3235
|
protoOf($serializer_0).co = function (encoder, value) {
|
|
3236
|
-
return this.
|
|
3236
|
+
return this.ce4(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
|
|
3237
3237
|
};
|
|
3238
3238
|
protoOf($serializer_0).do = function (decoder) {
|
|
3239
|
-
var tmp0_desc = this.
|
|
3239
|
+
var tmp0_desc = this.be4_1;
|
|
3240
3240
|
var tmp1_flag = true;
|
|
3241
3241
|
var tmp2_index = 0;
|
|
3242
3242
|
var tmp3_bitMask0 = 0;
|
|
@@ -3271,7 +3271,7 @@
|
|
|
3271
3271
|
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3272
3272
|
};
|
|
3273
3273
|
protoOf($serializer_0).bo = function () {
|
|
3274
|
-
return this.
|
|
3274
|
+
return this.be4_1;
|
|
3275
3275
|
};
|
|
3276
3276
|
protoOf($serializer_0).vz = function () {
|
|
3277
3277
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3287,9 +3287,9 @@
|
|
|
3287
3287
|
}
|
|
3288
3288
|
function ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, $this) {
|
|
3289
3289
|
if (!(3 === (3 & seen0))) {
|
|
3290
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().
|
|
3290
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().be4_1);
|
|
3291
3291
|
}
|
|
3292
|
-
$this.
|
|
3292
|
+
$this.de4_1 = roomId;
|
|
3293
3293
|
$this.actions = actions;
|
|
3294
3294
|
return $this;
|
|
3295
3295
|
}
|
|
@@ -3297,34 +3297,34 @@
|
|
|
3297
3297
|
return ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, objectCreate(protoOf(ActionsStateUpdateDto)));
|
|
3298
3298
|
}
|
|
3299
3299
|
function ActionsStateUpdateDto(roomId, actions) {
|
|
3300
|
-
this.
|
|
3300
|
+
this.de4_1 = roomId;
|
|
3301
3301
|
this.actions = actions;
|
|
3302
3302
|
}
|
|
3303
|
-
protoOf(ActionsStateUpdateDto).
|
|
3304
|
-
return this.
|
|
3303
|
+
protoOf(ActionsStateUpdateDto).p8w = function () {
|
|
3304
|
+
return this.de4_1;
|
|
3305
3305
|
};
|
|
3306
|
-
protoOf(ActionsStateUpdateDto).
|
|
3306
|
+
protoOf(ActionsStateUpdateDto).c8x = function () {
|
|
3307
3307
|
return this.actions;
|
|
3308
3308
|
};
|
|
3309
3309
|
protoOf(ActionsStateUpdateDto).ne = function () {
|
|
3310
|
-
return this.
|
|
3310
|
+
return this.de4_1;
|
|
3311
3311
|
};
|
|
3312
3312
|
protoOf(ActionsStateUpdateDto).oe = function () {
|
|
3313
3313
|
return this.actions;
|
|
3314
3314
|
};
|
|
3315
|
-
protoOf(ActionsStateUpdateDto).
|
|
3315
|
+
protoOf(ActionsStateUpdateDto).z5j = function (roomId, actions) {
|
|
3316
3316
|
return new ActionsStateUpdateDto(roomId, actions);
|
|
3317
3317
|
};
|
|
3318
3318
|
protoOf(ActionsStateUpdateDto).copy = function (roomId, actions, $super) {
|
|
3319
|
-
roomId = roomId === VOID ? this.
|
|
3319
|
+
roomId = roomId === VOID ? this.de4_1 : roomId;
|
|
3320
3320
|
actions = actions === VOID ? this.actions : actions;
|
|
3321
|
-
return $super === VOID ? this.
|
|
3321
|
+
return $super === VOID ? this.z5j(roomId, actions) : $super.z5j.call(this, roomId, actions);
|
|
3322
3322
|
};
|
|
3323
3323
|
protoOf(ActionsStateUpdateDto).toString = function () {
|
|
3324
|
-
return 'ActionsStateUpdateDto(roomId=' + this.
|
|
3324
|
+
return 'ActionsStateUpdateDto(roomId=' + this.de4_1 + ', actions=' + this.actions + ')';
|
|
3325
3325
|
};
|
|
3326
3326
|
protoOf(ActionsStateUpdateDto).hashCode = function () {
|
|
3327
|
-
var result = getStringHashCode(this.
|
|
3327
|
+
var result = getStringHashCode(this.de4_1);
|
|
3328
3328
|
result = imul(result, 31) + getStringHashCode(this.actions) | 0;
|
|
3329
3329
|
return result;
|
|
3330
3330
|
};
|
|
@@ -3333,7 +3333,7 @@
|
|
|
3333
3333
|
return true;
|
|
3334
3334
|
if (!(other instanceof ActionsStateUpdateDto))
|
|
3335
3335
|
return false;
|
|
3336
|
-
if (!(this.
|
|
3336
|
+
if (!(this.de4_1 === other.de4_1))
|
|
3337
3337
|
return false;
|
|
3338
3338
|
if (!(this.actions === other.actions))
|
|
3339
3339
|
return false;
|
|
@@ -3363,42 +3363,42 @@
|
|
|
3363
3363
|
var tmp$ret$0 = mapToDto(item);
|
|
3364
3364
|
destination.j(tmp$ret$0);
|
|
3365
3365
|
}
|
|
3366
|
-
return new ActionsStateUpdateDto(_this__u8e3s4.
|
|
3366
|
+
return new ActionsStateUpdateDto(_this__u8e3s4.ee4_1, encoderDecoderProvider.w93(destination));
|
|
3367
3367
|
}
|
|
3368
3368
|
function mapToDto_3(_this__u8e3s4, encoderDecoderProvider) {
|
|
3369
|
-
return new TableStateUpdateDto(_this__u8e3s4.
|
|
3369
|
+
return new TableStateUpdateDto(_this__u8e3s4.fe4_1, encoderDecoderProvider.u93(mapToDto_0(_this__u8e3s4.table)));
|
|
3370
3370
|
}
|
|
3371
3371
|
function ServerStateUpdate() {
|
|
3372
3372
|
}
|
|
3373
3373
|
function TableStateUpdate(roomId, table) {
|
|
3374
|
-
this.
|
|
3374
|
+
this.fe4_1 = roomId;
|
|
3375
3375
|
this.table = table;
|
|
3376
3376
|
}
|
|
3377
|
-
protoOf(TableStateUpdate).
|
|
3378
|
-
return this.
|
|
3377
|
+
protoOf(TableStateUpdate).p8w = function () {
|
|
3378
|
+
return this.fe4_1;
|
|
3379
3379
|
};
|
|
3380
|
-
protoOf(TableStateUpdate).
|
|
3380
|
+
protoOf(TableStateUpdate).z6x = function () {
|
|
3381
3381
|
return this.table;
|
|
3382
3382
|
};
|
|
3383
3383
|
protoOf(TableStateUpdate).ne = function () {
|
|
3384
|
-
return this.
|
|
3384
|
+
return this.fe4_1;
|
|
3385
3385
|
};
|
|
3386
3386
|
protoOf(TableStateUpdate).oe = function () {
|
|
3387
3387
|
return this.table;
|
|
3388
3388
|
};
|
|
3389
|
-
protoOf(TableStateUpdate).
|
|
3389
|
+
protoOf(TableStateUpdate).ge4 = function (roomId, table) {
|
|
3390
3390
|
return new TableStateUpdate(roomId, table);
|
|
3391
3391
|
};
|
|
3392
3392
|
protoOf(TableStateUpdate).copy = function (roomId, table, $super) {
|
|
3393
|
-
roomId = roomId === VOID ? this.
|
|
3393
|
+
roomId = roomId === VOID ? this.fe4_1 : roomId;
|
|
3394
3394
|
table = table === VOID ? this.table : table;
|
|
3395
|
-
return $super === VOID ? this.
|
|
3395
|
+
return $super === VOID ? this.ge4(roomId, table) : $super.ge4.call(this, roomId, table);
|
|
3396
3396
|
};
|
|
3397
3397
|
protoOf(TableStateUpdate).toString = function () {
|
|
3398
|
-
return 'TableStateUpdate(roomId=' + this.
|
|
3398
|
+
return 'TableStateUpdate(roomId=' + this.fe4_1 + ', table=' + this.table.toString() + ')';
|
|
3399
3399
|
};
|
|
3400
3400
|
protoOf(TableStateUpdate).hashCode = function () {
|
|
3401
|
-
var result = getStringHashCode(this.
|
|
3401
|
+
var result = getStringHashCode(this.fe4_1);
|
|
3402
3402
|
result = imul(result, 31) + this.table.hashCode() | 0;
|
|
3403
3403
|
return result;
|
|
3404
3404
|
};
|
|
@@ -3407,41 +3407,41 @@
|
|
|
3407
3407
|
return true;
|
|
3408
3408
|
if (!(other instanceof TableStateUpdate))
|
|
3409
3409
|
return false;
|
|
3410
|
-
if (!(this.
|
|
3410
|
+
if (!(this.fe4_1 === other.fe4_1))
|
|
3411
3411
|
return false;
|
|
3412
3412
|
if (!this.table.equals(other.table))
|
|
3413
3413
|
return false;
|
|
3414
3414
|
return true;
|
|
3415
3415
|
};
|
|
3416
3416
|
function ActionsStateUpdate(roomId, actions) {
|
|
3417
|
-
this.
|
|
3417
|
+
this.ee4_1 = roomId;
|
|
3418
3418
|
this.actions = actions;
|
|
3419
3419
|
}
|
|
3420
|
-
protoOf(ActionsStateUpdate).
|
|
3421
|
-
return this.
|
|
3420
|
+
protoOf(ActionsStateUpdate).p8w = function () {
|
|
3421
|
+
return this.ee4_1;
|
|
3422
3422
|
};
|
|
3423
|
-
protoOf(ActionsStateUpdate).
|
|
3423
|
+
protoOf(ActionsStateUpdate).c8x = function () {
|
|
3424
3424
|
return this.actions;
|
|
3425
3425
|
};
|
|
3426
3426
|
protoOf(ActionsStateUpdate).ne = function () {
|
|
3427
|
-
return this.
|
|
3427
|
+
return this.ee4_1;
|
|
3428
3428
|
};
|
|
3429
3429
|
protoOf(ActionsStateUpdate).oe = function () {
|
|
3430
3430
|
return this.actions;
|
|
3431
3431
|
};
|
|
3432
|
-
protoOf(ActionsStateUpdate).
|
|
3432
|
+
protoOf(ActionsStateUpdate).he4 = function (roomId, actions) {
|
|
3433
3433
|
return new ActionsStateUpdate(roomId, actions);
|
|
3434
3434
|
};
|
|
3435
3435
|
protoOf(ActionsStateUpdate).copy = function (roomId, actions, $super) {
|
|
3436
|
-
roomId = roomId === VOID ? this.
|
|
3436
|
+
roomId = roomId === VOID ? this.ee4_1 : roomId;
|
|
3437
3437
|
actions = actions === VOID ? this.actions : actions;
|
|
3438
|
-
return $super === VOID ? this.
|
|
3438
|
+
return $super === VOID ? this.he4(roomId, actions) : $super.he4.call(this, roomId, actions);
|
|
3439
3439
|
};
|
|
3440
3440
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
3441
|
-
return 'ActionsStateUpdate(roomId=' + this.
|
|
3441
|
+
return 'ActionsStateUpdate(roomId=' + this.ee4_1 + ', actions=' + toString(this.actions) + ')';
|
|
3442
3442
|
};
|
|
3443
3443
|
protoOf(ActionsStateUpdate).hashCode = function () {
|
|
3444
|
-
var result = getStringHashCode(this.
|
|
3444
|
+
var result = getStringHashCode(this.ee4_1);
|
|
3445
3445
|
result = imul(result, 31) + hashCode(this.actions) | 0;
|
|
3446
3446
|
return result;
|
|
3447
3447
|
};
|
|
@@ -3450,7 +3450,7 @@
|
|
|
3450
3450
|
return true;
|
|
3451
3451
|
if (!(other instanceof ActionsStateUpdate))
|
|
3452
3452
|
return false;
|
|
3453
|
-
if (!(this.
|
|
3453
|
+
if (!(this.ee4_1 === other.ee4_1))
|
|
3454
3454
|
return false;
|
|
3455
3455
|
if (!equals(this.actions, other.actions))
|
|
3456
3456
|
return false;
|
|
@@ -3684,18 +3684,18 @@
|
|
|
3684
3684
|
function ToClientEventsObserver() {
|
|
3685
3685
|
}
|
|
3686
3686
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
3687
|
-
this.
|
|
3688
|
-
this.
|
|
3687
|
+
this.re4_1 = this$0;
|
|
3688
|
+
this.se4_1 = $actions;
|
|
3689
3689
|
CoroutineImpl.call(this, resultContinuation);
|
|
3690
3690
|
}
|
|
3691
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3692
|
-
var tmp = this.
|
|
3691
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).ve4 = function ($this$flow, $completion) {
|
|
3692
|
+
var tmp = this.we4($this$flow, $completion);
|
|
3693
3693
|
tmp.t8_1 = Unit_instance;
|
|
3694
3694
|
tmp.u8_1 = null;
|
|
3695
3695
|
return tmp.z8();
|
|
3696
3696
|
};
|
|
3697
3697
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).h9 = function (p1, $completion) {
|
|
3698
|
-
return this.
|
|
3698
|
+
return this.ve4((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
3699
3699
|
};
|
|
3700
3700
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).z8 = function () {
|
|
3701
3701
|
var suspendResult = this.t8_1;
|
|
@@ -3705,19 +3705,19 @@
|
|
|
3705
3705
|
switch (tmp) {
|
|
3706
3706
|
case 0:
|
|
3707
3707
|
this.s8_1 = 4;
|
|
3708
|
-
this.
|
|
3709
|
-
this.
|
|
3708
|
+
this.re4_1.be5_1;
|
|
3709
|
+
this.ue4_1 = transformToEmits(this.re4_1, this.se4_1).l();
|
|
3710
3710
|
this.r8_1 = 1;
|
|
3711
3711
|
continue $sm;
|
|
3712
3712
|
case 1:
|
|
3713
|
-
if (!this.
|
|
3713
|
+
if (!this.ue4_1.m()) {
|
|
3714
3714
|
this.r8_1 = 3;
|
|
3715
3715
|
continue $sm;
|
|
3716
3716
|
}
|
|
3717
3717
|
|
|
3718
|
-
var element = this.
|
|
3718
|
+
var element = this.ue4_1.n();
|
|
3719
3719
|
this.r8_1 = 2;
|
|
3720
|
-
suspendResult = this.
|
|
3720
|
+
suspendResult = this.te4_1.i24(element, this);
|
|
3721
3721
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3722
3722
|
return suspendResult;
|
|
3723
3723
|
}
|
|
@@ -3727,11 +3727,11 @@
|
|
|
3727
3727
|
this.r8_1 = 1;
|
|
3728
3728
|
continue $sm;
|
|
3729
3729
|
case 3:
|
|
3730
|
-
var tmp0 = this.
|
|
3730
|
+
var tmp0 = this.re4_1.ae5_1;
|
|
3731
3731
|
l$ret$1: do {
|
|
3732
3732
|
while (true) {
|
|
3733
3733
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
3734
|
-
var upd = cur - this.
|
|
3734
|
+
var upd = cur - this.se4_1.o() | 0;
|
|
3735
3735
|
if (tmp0.atomicfu$compareAndSet(cur, upd)) {
|
|
3736
3736
|
break l$ret$1;
|
|
3737
3737
|
}
|
|
@@ -3753,15 +3753,15 @@
|
|
|
3753
3753
|
}
|
|
3754
3754
|
while (true);
|
|
3755
3755
|
};
|
|
3756
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3757
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
3758
|
-
i.
|
|
3756
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).we4 = function ($this$flow, completion) {
|
|
3757
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.re4_1, this.se4_1, completion);
|
|
3758
|
+
i.te4_1 = $this$flow;
|
|
3759
3759
|
return i;
|
|
3760
3760
|
};
|
|
3761
3761
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
3762
3762
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
3763
3763
|
var l = function ($this$flow, $completion) {
|
|
3764
|
-
return i.
|
|
3764
|
+
return i.ve4($this$flow, $completion);
|
|
3765
3765
|
};
|
|
3766
3766
|
l.$arity = 1;
|
|
3767
3767
|
return l;
|
|
@@ -3831,29 +3831,29 @@
|
|
|
3831
3831
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
3832
3832
|
}
|
|
3833
3833
|
function mapFromGroupKey($this, _this__u8e3s4) {
|
|
3834
|
-
var tmp = $this.
|
|
3834
|
+
var tmp = $this.ze4_1.y6m();
|
|
3835
3835
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3836
|
-
var this_0 = _this__u8e3s4.
|
|
3836
|
+
var this_0 = _this__u8e3s4.ee5_1;
|
|
3837
3837
|
var tmp_0 = copyToArray(this_0);
|
|
3838
3838
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3839
|
-
var this_1 = _this__u8e3s4.
|
|
3839
|
+
var this_1 = _this__u8e3s4.fe5_1;
|
|
3840
3840
|
var tmp$ret$1 = copyToArray(this_1);
|
|
3841
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
3841
|
+
return new ActionDeliveryPayload(_this__u8e3s4.de5_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.ge5_1);
|
|
3842
3842
|
}
|
|
3843
3843
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
3844
|
-
this.
|
|
3845
|
-
this.
|
|
3846
|
-
this.
|
|
3847
|
-
this.
|
|
3844
|
+
this.de5_1 = tableId;
|
|
3845
|
+
this.ee5_1 = includePlayers;
|
|
3846
|
+
this.fe5_1 = excludePlayers;
|
|
3847
|
+
this.ge5_1 = deliveryType;
|
|
3848
3848
|
}
|
|
3849
3849
|
protoOf(GroupKey).toString = function () {
|
|
3850
|
-
return 'GroupKey(tableId=' + this.
|
|
3850
|
+
return 'GroupKey(tableId=' + this.de5_1 + ', includePlayers=' + toString(this.ee5_1) + ', excludePlayers=' + toString(this.fe5_1) + ', deliveryType=' + this.ge5_1.toString() + ')';
|
|
3851
3851
|
};
|
|
3852
3852
|
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.
|
|
3853
|
+
var result = getStringHashCode(this.de5_1);
|
|
3854
|
+
result = imul(result, 31) + hashCode(this.ee5_1) | 0;
|
|
3855
|
+
result = imul(result, 31) + hashCode(this.fe5_1) | 0;
|
|
3856
|
+
result = imul(result, 31) + this.ge5_1.hashCode() | 0;
|
|
3857
3857
|
return result;
|
|
3858
3858
|
};
|
|
3859
3859
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -3861,35 +3861,35 @@
|
|
|
3861
3861
|
return true;
|
|
3862
3862
|
if (!(other instanceof GroupKey))
|
|
3863
3863
|
return false;
|
|
3864
|
-
if (!(this.
|
|
3864
|
+
if (!(this.de5_1 === other.de5_1))
|
|
3865
3865
|
return false;
|
|
3866
|
-
if (!equals(this.
|
|
3866
|
+
if (!equals(this.ee5_1, other.ee5_1))
|
|
3867
3867
|
return false;
|
|
3868
|
-
if (!equals(this.
|
|
3868
|
+
if (!equals(this.fe5_1, other.fe5_1))
|
|
3869
3869
|
return false;
|
|
3870
|
-
if (!this.
|
|
3870
|
+
if (!this.ge5_1.equals(other.ge5_1))
|
|
3871
3871
|
return false;
|
|
3872
3872
|
return true;
|
|
3873
3873
|
};
|
|
3874
3874
|
function Companion_4() {
|
|
3875
|
-
this.
|
|
3875
|
+
this.he5_1 = 6;
|
|
3876
3876
|
}
|
|
3877
3877
|
var Companion_instance_12;
|
|
3878
3878
|
function Companion_getInstance_5() {
|
|
3879
3879
|
return Companion_instance_12;
|
|
3880
3880
|
}
|
|
3881
3881
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
3882
|
-
this.
|
|
3882
|
+
this.qe5_1 = this$0;
|
|
3883
3883
|
CoroutineImpl.call(this, resultContinuation);
|
|
3884
3884
|
}
|
|
3885
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3886
|
-
var tmp = this.
|
|
3885
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).se5 = function (actions, $completion) {
|
|
3886
|
+
var tmp = this.te5(actions, $completion);
|
|
3887
3887
|
tmp.t8_1 = Unit_instance;
|
|
3888
3888
|
tmp.u8_1 = null;
|
|
3889
3889
|
return tmp.z8();
|
|
3890
3890
|
};
|
|
3891
3891
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).h9 = function (p1, $completion) {
|
|
3892
|
-
return this.
|
|
3892
|
+
return this.se5((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
3893
3893
|
};
|
|
3894
3894
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).z8 = function () {
|
|
3895
3895
|
var suspendResult = this.t8_1;
|
|
@@ -3898,7 +3898,7 @@
|
|
|
3898
3898
|
var tmp = this.r8_1;
|
|
3899
3899
|
if (tmp === 0) {
|
|
3900
3900
|
this.s8_1 = 1;
|
|
3901
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
3901
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.qe5_1, this.re5_1, null));
|
|
3902
3902
|
} else if (tmp === 1) {
|
|
3903
3903
|
throw this.u8_1;
|
|
3904
3904
|
}
|
|
@@ -3908,23 +3908,23 @@
|
|
|
3908
3908
|
}
|
|
3909
3909
|
while (true);
|
|
3910
3910
|
};
|
|
3911
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3912
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
3913
|
-
i.
|
|
3911
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).te5 = function (actions, completion) {
|
|
3912
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.qe5_1, completion);
|
|
3913
|
+
i.re5_1 = actions;
|
|
3914
3914
|
return i;
|
|
3915
3915
|
};
|
|
3916
3916
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
3917
3917
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
3918
3918
|
var l = function (actions, $completion) {
|
|
3919
|
-
return i.
|
|
3919
|
+
return i.se5(actions, $completion);
|
|
3920
3920
|
};
|
|
3921
3921
|
l.$arity = 1;
|
|
3922
3922
|
return l;
|
|
3923
3923
|
}
|
|
3924
3924
|
function $sentEventCOROUTINE$(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
3925
3925
|
CoroutineImpl.call(this, resultContinuation);
|
|
3926
|
-
this.
|
|
3927
|
-
this.
|
|
3926
|
+
this.ce6_1 = _this__u8e3s4;
|
|
3927
|
+
this.de6_1 = fromEvent;
|
|
3928
3928
|
}
|
|
3929
3929
|
protoOf($sentEventCOROUTINE$).z8 = function () {
|
|
3930
3930
|
var suspendResult = this.t8_1;
|
|
@@ -3934,8 +3934,8 @@
|
|
|
3934
3934
|
switch (tmp) {
|
|
3935
3935
|
case 0:
|
|
3936
3936
|
this.s8_1 = 2;
|
|
3937
|
-
this.
|
|
3938
|
-
var tmp0 = this.
|
|
3937
|
+
this.ce6_1.be5_1;
|
|
3938
|
+
var tmp0 = this.ce6_1.ae5_1;
|
|
3939
3939
|
l$ret$1: do {
|
|
3940
3940
|
while (true) {
|
|
3941
3941
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
@@ -3947,7 +3947,7 @@
|
|
|
3947
3947
|
}
|
|
3948
3948
|
while (false);
|
|
3949
3949
|
this.r8_1 = 1;
|
|
3950
|
-
suspendResult = this.
|
|
3950
|
+
suspendResult = this.ce6_1.ce5_1.i24(this.de6_1, this);
|
|
3951
3951
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3952
3952
|
return suspendResult;
|
|
3953
3953
|
}
|
|
@@ -3971,7 +3971,7 @@
|
|
|
3971
3971
|
};
|
|
3972
3972
|
function $waitForCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
3973
3973
|
CoroutineImpl.call(this, resultContinuation);
|
|
3974
|
-
this.
|
|
3974
|
+
this.me6_1 = _this__u8e3s4;
|
|
3975
3975
|
}
|
|
3976
3976
|
protoOf($waitForCOROUTINE$).z8 = function () {
|
|
3977
3977
|
var suspendResult = this.t8_1;
|
|
@@ -3981,12 +3981,12 @@
|
|
|
3981
3981
|
switch (tmp) {
|
|
3982
3982
|
case 0:
|
|
3983
3983
|
this.s8_1 = 5;
|
|
3984
|
-
this.
|
|
3985
|
-
this.
|
|
3984
|
+
this.me6_1.be5_1;
|
|
3985
|
+
this.ne6_1 = 0;
|
|
3986
3986
|
this.r8_1 = 1;
|
|
3987
3987
|
continue $sm;
|
|
3988
3988
|
case 1:
|
|
3989
|
-
if (!!(this.
|
|
3989
|
+
if (!!(this.me6_1.ae5_1.kotlinx$atomicfu$value === 0)) {
|
|
3990
3990
|
this.r8_1 = 4;
|
|
3991
3991
|
continue $sm;
|
|
3992
3992
|
}
|
|
@@ -3999,9 +3999,9 @@
|
|
|
3999
3999
|
|
|
4000
4000
|
continue $sm;
|
|
4001
4001
|
case 2:
|
|
4002
|
-
this.
|
|
4003
|
-
if (this.
|
|
4004
|
-
this.
|
|
4002
|
+
this.ne6_1 = this.ne6_1 + 1 | 0;
|
|
4003
|
+
if (this.ne6_1 > 6) {
|
|
4004
|
+
this.me6_1.ye4_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.me6_1.ae5_1.kotlinx$atomicfu$value);
|
|
4005
4005
|
this.r8_1 = 4;
|
|
4006
4006
|
continue $sm;
|
|
4007
4007
|
} else {
|
|
@@ -4029,183 +4029,183 @@
|
|
|
4029
4029
|
while (true);
|
|
4030
4030
|
};
|
|
4031
4031
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
4032
|
-
this.
|
|
4033
|
-
this.
|
|
4034
|
-
this.
|
|
4035
|
-
this.
|
|
4032
|
+
this.xe4_1 = serverReduxConfig;
|
|
4033
|
+
this.ye4_1 = logger;
|
|
4034
|
+
this.ze4_1 = idsProvider;
|
|
4035
|
+
this.ae5_1 = atomic$ref$1(0);
|
|
4036
4036
|
var tmp = this;
|
|
4037
4037
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
4038
|
-
tmp.
|
|
4039
|
-
this.
|
|
4038
|
+
tmp.be5_1 = get_atomicfu$reentrantLock();
|
|
4039
|
+
this.ce5_1 = MutableSharedFlow();
|
|
4040
4040
|
}
|
|
4041
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4041
|
+
protoOf(ToClientEventsObserverImpl).ie4 = function (fromEvent, $completion) {
|
|
4042
4042
|
var tmp = new $sentEventCOROUTINE$(this, fromEvent, $completion);
|
|
4043
4043
|
tmp.t8_1 = Unit_instance;
|
|
4044
4044
|
tmp.u8_1 = null;
|
|
4045
4045
|
return tmp.z8();
|
|
4046
4046
|
};
|
|
4047
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4047
|
+
protoOf(ToClientEventsObserverImpl).j9r = function ($completion) {
|
|
4048
4048
|
var tmp = new $waitForCOROUTINE$(this, $completion);
|
|
4049
4049
|
tmp.t8_1 = Unit_instance;
|
|
4050
4050
|
tmp.u8_1 = null;
|
|
4051
4051
|
return tmp.z8();
|
|
4052
4052
|
};
|
|
4053
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4054
|
-
if (!this.
|
|
4055
|
-
return this.
|
|
4053
|
+
protoOf(ToClientEventsObserverImpl).zax = function () {
|
|
4054
|
+
if (!this.xe4_1.enabledCombinedEvents) {
|
|
4055
|
+
return this.ce5_1;
|
|
4056
4056
|
}
|
|
4057
|
-
var tmp = windowedByInterval(this.
|
|
4057
|
+
var tmp = windowedByInterval(this.ce5_1, fromInt(this.xe4_1.combinedEventsIntervalMillis));
|
|
4058
4058
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
4059
4059
|
};
|
|
4060
4060
|
function UpdateServerConfigAction(serverConfig) {
|
|
4061
|
-
this.
|
|
4061
|
+
this.oe6_1 = serverConfig;
|
|
4062
4062
|
}
|
|
4063
4063
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
4064
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
4064
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.oe6_1.toString() + ')';
|
|
4065
4065
|
};
|
|
4066
4066
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
4067
|
-
return this.
|
|
4067
|
+
return this.oe6_1.hashCode();
|
|
4068
4068
|
};
|
|
4069
4069
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
4070
4070
|
if (this === other)
|
|
4071
4071
|
return true;
|
|
4072
4072
|
if (!(other instanceof UpdateServerConfigAction))
|
|
4073
4073
|
return false;
|
|
4074
|
-
if (!this.
|
|
4074
|
+
if (!this.oe6_1.equals(other.oe6_1))
|
|
4075
4075
|
return false;
|
|
4076
4076
|
return true;
|
|
4077
4077
|
};
|
|
4078
4078
|
function AddSpectatorsAction(spectators) {
|
|
4079
|
-
this.
|
|
4079
|
+
this.pe6_1 = spectators;
|
|
4080
4080
|
}
|
|
4081
4081
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
4082
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
4082
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.pe6_1) + ')';
|
|
4083
4083
|
};
|
|
4084
4084
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
4085
|
-
return hashCode(this.
|
|
4085
|
+
return hashCode(this.pe6_1);
|
|
4086
4086
|
};
|
|
4087
4087
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
4088
4088
|
if (this === other)
|
|
4089
4089
|
return true;
|
|
4090
4090
|
if (!(other instanceof AddSpectatorsAction))
|
|
4091
4091
|
return false;
|
|
4092
|
-
if (!equals(this.
|
|
4092
|
+
if (!equals(this.pe6_1, other.pe6_1))
|
|
4093
4093
|
return false;
|
|
4094
4094
|
return true;
|
|
4095
4095
|
};
|
|
4096
4096
|
function RemoveSpectatorsAction(spectators) {
|
|
4097
|
-
this.
|
|
4097
|
+
this.qe6_1 = spectators;
|
|
4098
4098
|
}
|
|
4099
4099
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
4100
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
4100
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.qe6_1) + ')';
|
|
4101
4101
|
};
|
|
4102
4102
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
4103
|
-
return hashCode(this.
|
|
4103
|
+
return hashCode(this.qe6_1);
|
|
4104
4104
|
};
|
|
4105
4105
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
4106
4106
|
if (this === other)
|
|
4107
4107
|
return true;
|
|
4108
4108
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
4109
4109
|
return false;
|
|
4110
|
-
if (!equals(this.
|
|
4110
|
+
if (!equals(this.qe6_1, other.qe6_1))
|
|
4111
4111
|
return false;
|
|
4112
4112
|
return true;
|
|
4113
4113
|
};
|
|
4114
4114
|
function SpectatorsAction() {
|
|
4115
4115
|
}
|
|
4116
4116
|
function _get_asyncProvider__jbpyhw($this) {
|
|
4117
|
-
var tmp0 = $this.
|
|
4117
|
+
var tmp0 = $this.we6_1;
|
|
4118
4118
|
var tmp = KProperty1;
|
|
4119
4119
|
// Inline function 'kotlin.getValue' call
|
|
4120
4120
|
getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
|
|
4121
4121
|
return tmp0.w();
|
|
4122
4122
|
}
|
|
4123
4123
|
function _get_logger__rkp4sl($this) {
|
|
4124
|
-
var tmp0 = $this.
|
|
4124
|
+
var tmp0 = $this.xe6_1;
|
|
4125
4125
|
var tmp = KProperty1;
|
|
4126
4126
|
// Inline function 'kotlin.getValue' call
|
|
4127
4127
|
getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
|
|
4128
4128
|
return tmp0.w();
|
|
4129
4129
|
}
|
|
4130
4130
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
4131
|
-
var tmp0 = $this.
|
|
4131
|
+
var tmp0 = $this.ye6_1;
|
|
4132
4132
|
var tmp = KProperty1;
|
|
4133
4133
|
// Inline function 'kotlin.getValue' call
|
|
4134
4134
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
|
|
4135
4135
|
return tmp0.w();
|
|
4136
4136
|
}
|
|
4137
4137
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
4138
|
-
var tmp0 = $this.
|
|
4138
|
+
var tmp0 = $this.ze6_1;
|
|
4139
4139
|
var tmp = KProperty1;
|
|
4140
4140
|
// Inline function 'kotlin.getValue' call
|
|
4141
4141
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
|
|
4142
4142
|
return tmp0.w();
|
|
4143
4143
|
}
|
|
4144
4144
|
function _get_serverConfig__rk2g06($this) {
|
|
4145
|
-
var tmp0 = $this.
|
|
4145
|
+
var tmp0 = $this.ae7_1;
|
|
4146
4146
|
var tmp = KProperty1;
|
|
4147
4147
|
// Inline function 'kotlin.getValue' call
|
|
4148
4148
|
getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
|
|
4149
4149
|
return tmp0.w();
|
|
4150
4150
|
}
|
|
4151
4151
|
function _get_logicConfig__52ww9d($this) {
|
|
4152
|
-
var tmp0 = $this.
|
|
4152
|
+
var tmp0 = $this.be7_1;
|
|
4153
4153
|
var tmp = KProperty1;
|
|
4154
4154
|
// Inline function 'kotlin.getValue' call
|
|
4155
4155
|
getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
|
|
4156
4156
|
return tmp0.w();
|
|
4157
4157
|
}
|
|
4158
4158
|
function _get_idsProvider__fnfajc_0($this) {
|
|
4159
|
-
var tmp0 = $this.
|
|
4159
|
+
var tmp0 = $this.ce7_1;
|
|
4160
4160
|
var tmp = KProperty1;
|
|
4161
4161
|
// Inline function 'kotlin.getValue' call
|
|
4162
4162
|
getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
|
|
4163
4163
|
return tmp0.w();
|
|
4164
4164
|
}
|
|
4165
4165
|
function _get_botConfig__cpaxzc($this) {
|
|
4166
|
-
var tmp0 = $this.
|
|
4166
|
+
var tmp0 = $this.de7_1;
|
|
4167
4167
|
var tmp = KProperty1;
|
|
4168
4168
|
// Inline function 'kotlin.getValue' call
|
|
4169
4169
|
getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
|
|
4170
4170
|
return tmp0.w();
|
|
4171
4171
|
}
|
|
4172
4172
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
4173
|
-
var tmp0 = $this.
|
|
4173
|
+
var tmp0 = $this.ee7_1;
|
|
4174
4174
|
var tmp = KProperty1;
|
|
4175
4175
|
// Inline function 'kotlin.getValue' call
|
|
4176
4176
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
|
|
4177
4177
|
return tmp0.w();
|
|
4178
4178
|
}
|
|
4179
4179
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
4180
|
-
var tmp0 = $this.
|
|
4180
|
+
var tmp0 = $this.fe7_1;
|
|
4181
4181
|
var tmp = KProperty1;
|
|
4182
4182
|
// Inline function 'kotlin.getValue' call
|
|
4183
4183
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
|
|
4184
4184
|
return tmp0.w();
|
|
4185
4185
|
}
|
|
4186
4186
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
4187
|
-
var tmp0 = $this.
|
|
4187
|
+
var tmp0 = $this.ge7_1;
|
|
4188
4188
|
var tmp = KProperty1;
|
|
4189
4189
|
// Inline function 'kotlin.getValue' call
|
|
4190
4190
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
|
|
4191
4191
|
return tmp0.w();
|
|
4192
4192
|
}
|
|
4193
4193
|
function _get_dealerConfig__183ci8($this) {
|
|
4194
|
-
var tmp0 = $this.
|
|
4194
|
+
var tmp0 = $this.he7_1;
|
|
4195
4195
|
var tmp = KProperty1;
|
|
4196
4196
|
// Inline function 'kotlin.getValue' call
|
|
4197
4197
|
getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
|
|
4198
4198
|
return tmp0.w();
|
|
4199
4199
|
}
|
|
4200
4200
|
function _get_poolProvider__tqti6a($this) {
|
|
4201
|
-
var tmp0 = $this.
|
|
4201
|
+
var tmp0 = $this.ie7_1;
|
|
4202
4202
|
var tmp = KProperty1;
|
|
4203
4203
|
// Inline function 'kotlin.getValue' call
|
|
4204
4204
|
getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
|
|
4205
4205
|
return tmp0.w();
|
|
4206
4206
|
}
|
|
4207
4207
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
4208
|
-
var tmp0 = $this.
|
|
4208
|
+
var tmp0 = $this.je7_1;
|
|
4209
4209
|
var tmp = KProperty1;
|
|
4210
4210
|
// Inline function 'kotlin.getValue' call
|
|
4211
4211
|
getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
|
|
@@ -4355,7 +4355,7 @@
|
|
|
4355
4355
|
};
|
|
4356
4356
|
}
|
|
4357
4357
|
function ServerGameStoreContract$_get_middlewares_$lambda_qmuw9r(player) {
|
|
4358
|
-
return !player.
|
|
4358
|
+
return !player.p6g();
|
|
4359
4359
|
}
|
|
4360
4360
|
function ServerGameStoreContract(di, validationStoreContract, timersStoreContract, botGameStoreContract, gameMechanicStoreContract, fileLoggerStoreContract) {
|
|
4361
4361
|
validationStoreContract = validationStoreContract === VOID ? new ValidationStoreContract(di, true, true, null) : validationStoreContract;
|
|
@@ -4369,11 +4369,11 @@
|
|
|
4369
4369
|
tmp = fileLoggerStoreContract;
|
|
4370
4370
|
}
|
|
4371
4371
|
fileLoggerStoreContract = tmp;
|
|
4372
|
-
this.
|
|
4373
|
-
this.
|
|
4374
|
-
this.
|
|
4375
|
-
this.
|
|
4376
|
-
this.
|
|
4372
|
+
this.re6_1 = validationStoreContract;
|
|
4373
|
+
this.se6_1 = timersStoreContract;
|
|
4374
|
+
this.te6_1 = botGameStoreContract;
|
|
4375
|
+
this.ue6_1 = gameMechanicStoreContract;
|
|
4376
|
+
this.ve6_1 = fileLoggerStoreContract;
|
|
4377
4377
|
var tmp_0 = this;
|
|
4378
4378
|
// Inline function 'org.kodein.di.instance' call
|
|
4379
4379
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4381,7 +4381,7 @@
|
|
|
4381
4381
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
4382
4382
|
var tmp_2 = Instance(di, tmp$ret$0, null);
|
|
4383
4383
|
var tmp_3 = KProperty1;
|
|
4384
|
-
tmp_0.
|
|
4384
|
+
tmp_0.we6_1 = tmp_2.c1h(this, getPropertyCallableRef('asyncProvider', 1, tmp_3, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
|
|
4385
4385
|
var tmp_4 = this;
|
|
4386
4386
|
// Inline function 'org.kodein.di.instance' call
|
|
4387
4387
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4389,7 +4389,7 @@
|
|
|
4389
4389
|
var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
4390
4390
|
var tmp_6 = Instance(di, tmp$ret$2, null);
|
|
4391
4391
|
var tmp_7 = KProperty1;
|
|
4392
|
-
tmp_4.
|
|
4392
|
+
tmp_4.xe6_1 = tmp_6.c1h(this, getPropertyCallableRef('logger', 1, tmp_7, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
|
|
4393
4393
|
var tmp_8 = this;
|
|
4394
4394
|
// Inline function 'org.kodein.di.instance' call
|
|
4395
4395
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4397,7 +4397,7 @@
|
|
|
4397
4397
|
var tmp$ret$4 = isInterface(tmp_9, TypeToken) ? tmp_9 : THROW_CCE();
|
|
4398
4398
|
var tmp_10 = Instance(di, tmp$ret$4, null);
|
|
4399
4399
|
var tmp_11 = KProperty1;
|
|
4400
|
-
tmp_8.
|
|
4400
|
+
tmp_8.ye6_1 = tmp_10.c1h(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_11, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
|
|
4401
4401
|
var tmp_12 = this;
|
|
4402
4402
|
// Inline function 'org.kodein.di.instance' call
|
|
4403
4403
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4405,7 +4405,7 @@
|
|
|
4405
4405
|
var tmp$ret$6 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
4406
4406
|
var tmp_14 = Instance(di, tmp$ret$6, null);
|
|
4407
4407
|
var tmp_15 = KProperty1;
|
|
4408
|
-
tmp_12.
|
|
4408
|
+
tmp_12.ze6_1 = tmp_14.c1h(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_15, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
|
|
4409
4409
|
var tmp_16 = this;
|
|
4410
4410
|
// Inline function 'org.kodein.di.instance' call
|
|
4411
4411
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4413,7 +4413,7 @@
|
|
|
4413
4413
|
var tmp$ret$8 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
4414
4414
|
var tmp_18 = Instance(di, tmp$ret$8, null);
|
|
4415
4415
|
var tmp_19 = KProperty1;
|
|
4416
|
-
tmp_16.
|
|
4416
|
+
tmp_16.ae7_1 = tmp_18.c1h(this, getPropertyCallableRef('serverConfig', 1, tmp_19, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
|
|
4417
4417
|
var tmp_20 = this;
|
|
4418
4418
|
// Inline function 'org.kodein.di.instance' call
|
|
4419
4419
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4421,7 +4421,7 @@
|
|
|
4421
4421
|
var tmp$ret$10 = isInterface(tmp_21, TypeToken) ? tmp_21 : THROW_CCE();
|
|
4422
4422
|
var tmp_22 = Instance(di, tmp$ret$10, null);
|
|
4423
4423
|
var tmp_23 = KProperty1;
|
|
4424
|
-
tmp_20.
|
|
4424
|
+
tmp_20.be7_1 = tmp_22.c1h(this, getPropertyCallableRef('logicConfig', 1, tmp_23, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
|
|
4425
4425
|
var tmp_24 = this;
|
|
4426
4426
|
// Inline function 'org.kodein.di.instance' call
|
|
4427
4427
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4429,7 +4429,7 @@
|
|
|
4429
4429
|
var tmp$ret$12 = isInterface(tmp_25, TypeToken) ? tmp_25 : THROW_CCE();
|
|
4430
4430
|
var tmp_26 = Instance(di, tmp$ret$12, null);
|
|
4431
4431
|
var tmp_27 = KProperty1;
|
|
4432
|
-
tmp_24.
|
|
4432
|
+
tmp_24.ce7_1 = tmp_26.c1h(this, getPropertyCallableRef('idsProvider', 1, tmp_27, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
|
|
4433
4433
|
var tmp_28 = this;
|
|
4434
4434
|
// Inline function 'org.kodein.di.instance' call
|
|
4435
4435
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4437,7 +4437,7 @@
|
|
|
4437
4437
|
var tmp$ret$14 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
|
|
4438
4438
|
var tmp_30 = Instance(di, tmp$ret$14, null);
|
|
4439
4439
|
var tmp_31 = KProperty1;
|
|
4440
|
-
tmp_28.
|
|
4440
|
+
tmp_28.de7_1 = tmp_30.c1h(this, getPropertyCallableRef('botConfig', 1, tmp_31, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
|
|
4441
4441
|
var tmp_32 = this;
|
|
4442
4442
|
// Inline function 'org.kodein.di.instance' call
|
|
4443
4443
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4445,7 +4445,7 @@
|
|
|
4445
4445
|
var tmp$ret$16 = isInterface(tmp_33, TypeToken) ? tmp_33 : THROW_CCE();
|
|
4446
4446
|
var tmp_34 = Instance(di, tmp$ret$16, null);
|
|
4447
4447
|
var tmp_35 = KProperty1;
|
|
4448
|
-
tmp_32.
|
|
4448
|
+
tmp_32.ee7_1 = tmp_34.c1h(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_35, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
|
|
4449
4449
|
var tmp_36 = this;
|
|
4450
4450
|
// Inline function 'org.kodein.di.instance' call
|
|
4451
4451
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4453,7 +4453,7 @@
|
|
|
4453
4453
|
var tmp$ret$18 = isInterface(tmp_37, TypeToken) ? tmp_37 : THROW_CCE();
|
|
4454
4454
|
var tmp_38 = Instance(di, tmp$ret$18, null);
|
|
4455
4455
|
var tmp_39 = KProperty1;
|
|
4456
|
-
tmp_36.
|
|
4456
|
+
tmp_36.fe7_1 = tmp_38.c1h(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_39, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
|
|
4457
4457
|
var tmp_40 = this;
|
|
4458
4458
|
// Inline function 'org.kodein.di.instance' call
|
|
4459
4459
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4461,7 +4461,7 @@
|
|
|
4461
4461
|
var tmp$ret$20 = isInterface(tmp_41, TypeToken) ? tmp_41 : THROW_CCE();
|
|
4462
4462
|
var tmp_42 = Instance(di, tmp$ret$20, null);
|
|
4463
4463
|
var tmp_43 = KProperty1;
|
|
4464
|
-
tmp_40.
|
|
4464
|
+
tmp_40.ge7_1 = tmp_42.c1h(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_43, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
|
|
4465
4465
|
var tmp_44 = this;
|
|
4466
4466
|
// Inline function 'org.kodein.di.instance' call
|
|
4467
4467
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4469,7 +4469,7 @@
|
|
|
4469
4469
|
var tmp$ret$22 = isInterface(tmp_45, TypeToken) ? tmp_45 : THROW_CCE();
|
|
4470
4470
|
var tmp_46 = Instance(di, tmp$ret$22, null);
|
|
4471
4471
|
var tmp_47 = KProperty1;
|
|
4472
|
-
tmp_44.
|
|
4472
|
+
tmp_44.he7_1 = tmp_46.c1h(this, getPropertyCallableRef('dealerConfig', 1, tmp_47, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
|
|
4473
4473
|
var tmp_48 = this;
|
|
4474
4474
|
// Inline function 'org.kodein.di.instance' call
|
|
4475
4475
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4477,7 +4477,7 @@
|
|
|
4477
4477
|
var tmp$ret$24 = isInterface(tmp_49, TypeToken) ? tmp_49 : THROW_CCE();
|
|
4478
4478
|
var tmp_50 = Instance(di, tmp$ret$24, null);
|
|
4479
4479
|
var tmp_51 = KProperty1;
|
|
4480
|
-
tmp_48.
|
|
4480
|
+
tmp_48.ie7_1 = tmp_50.c1h(this, getPropertyCallableRef('poolProvider', 1, tmp_51, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
|
|
4481
4481
|
var tmp_52 = this;
|
|
4482
4482
|
// Inline function 'org.kodein.di.instance' call
|
|
4483
4483
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4485,13 +4485,13 @@
|
|
|
4485
4485
|
var tmp$ret$26 = isInterface(tmp_53, TypeToken) ? tmp_53 : THROW_CCE();
|
|
4486
4486
|
var tmp_54 = Instance(di, tmp$ret$26, null);
|
|
4487
4487
|
var tmp_55 = KProperty1;
|
|
4488
|
-
tmp_52.
|
|
4488
|
+
tmp_52.je7_1 = tmp_54.c1h(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_55, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
|
|
4489
4489
|
}
|
|
4490
|
-
protoOf(ServerGameStoreContract).
|
|
4491
|
-
return plus(plus(plus(plus(plus(this.
|
|
4490
|
+
protoOf(ServerGameStoreContract).o9h = function () {
|
|
4491
|
+
return plus(plus(plus(plus(plus(this.re6_1.o9h(), this.ue6_1.o9h()), this.se6_1.o9h()), this.te6_1.o9h()), this.ve6_1.o9h()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl(this))]));
|
|
4492
4492
|
};
|
|
4493
|
-
protoOf(ServerGameStoreContract).
|
|
4494
|
-
var tmp = plus(plus(plus(plus(plus(plus(plus(this.
|
|
4493
|
+
protoOf(ServerGameStoreContract).p9h = function () {
|
|
4494
|
+
var tmp = plus(plus(plus(plus(plus(plus(plus(this.re6_1.p9h(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameWhenNotLiveStrategy.equals(FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance()) ? checkBotsMiddleware(_get_logger__rkp4sl(this)) : null)), this.ue6_1.p9h()), this.se6_1.p9h()), this.te6_1.p9h()), this.ve6_1.p9h()), 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))).v9j(), finishingGameWhenCantStartNewMiddleware()]));
|
|
4495
4495
|
var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this), _get_logger__rkp4sl(this));
|
|
4496
4496
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
4497
4497
|
var tmp1_logger = _get_logger__rkp4sl(this);
|
|
@@ -4518,52 +4518,52 @@
|
|
|
4518
4518
|
}
|
|
4519
4519
|
function finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1() {
|
|
4520
4520
|
}
|
|
4521
|
-
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).
|
|
4521
|
+
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).a6p = function (action) {
|
|
4522
4522
|
return action instanceof RoundEndedAction;
|
|
4523
4523
|
};
|
|
4524
|
-
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).
|
|
4524
|
+
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).p6q = function (store, next, action) {
|
|
4525
4525
|
var tmp4 = action instanceof RoundEndedAction ? action : THROW_CCE();
|
|
4526
4526
|
$l$block_0: {
|
|
4527
4527
|
next(tmp4);
|
|
4528
4528
|
var state = store.state;
|
|
4529
4529
|
if (tmp4.isGameFinished) {
|
|
4530
4530
|
if (!get_serverStatePayload(state).config.canStartNewGame) {
|
|
4531
|
-
store.dispatch(Companion_instance.fromTableWithAnalytics(new GameFinishedReason(Reason_DEPLOY_getInstance()), true, state.
|
|
4531
|
+
store.dispatch(Companion_instance.fromTableWithAnalytics(new GameFinishedReason(Reason_DEPLOY_getInstance()), true, state.y6w_1));
|
|
4532
4532
|
break $l$block_0;
|
|
4533
4533
|
}
|
|
4534
|
-
if (state.
|
|
4535
|
-
store.dispatch(Companion_instance.fromTableWithAnalytics(new GameFinishedReason(Reason_REVENGED_getInstance()), true, state.
|
|
4534
|
+
if (state.z6x().config.mode.equals(RoomMode_REVENGE_getInstance())) {
|
|
4535
|
+
store.dispatch(Companion_instance.fromTableWithAnalytics(new GameFinishedReason(Reason_REVENGED_getInstance()), true, state.y6w_1));
|
|
4536
4536
|
break $l$block_0;
|
|
4537
4537
|
}
|
|
4538
4538
|
}
|
|
4539
4539
|
}
|
|
4540
4540
|
};
|
|
4541
|
-
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).
|
|
4542
|
-
return this.
|
|
4541
|
+
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).z6o = function (store, next, action) {
|
|
4542
|
+
return this.p6q(store, next, action);
|
|
4543
4543
|
};
|
|
4544
4544
|
function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
|
|
4545
|
-
this.
|
|
4545
|
+
this.me7_1 = this$0;
|
|
4546
4546
|
}
|
|
4547
|
-
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).
|
|
4547
|
+
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).a6p = function (action) {
|
|
4548
4548
|
return action instanceof MechanicAction;
|
|
4549
4549
|
};
|
|
4550
|
-
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).
|
|
4550
|
+
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).p6q = function (store, next, action) {
|
|
4551
4551
|
var action_0 = action instanceof MechanicAction ? action : THROW_CCE();
|
|
4552
4552
|
var state = store.state;
|
|
4553
4553
|
// Inline function 'kotlin.with' call
|
|
4554
4554
|
var tmp;
|
|
4555
4555
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
4556
|
-
var tmp0 = this.
|
|
4557
|
-
var tmp2 = action_0.
|
|
4558
|
-
var tmp4 = action_0.
|
|
4556
|
+
var tmp0 = this.me7_1;
|
|
4557
|
+
var tmp2 = action_0.q8a_1;
|
|
4558
|
+
var tmp4 = action_0.s8a_1;
|
|
4559
4559
|
// Inline function 'kotlin.collections.map' call
|
|
4560
|
-
var this_0 = action_0.
|
|
4560
|
+
var this_0 = action_0.t8a_1;
|
|
4561
4561
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4562
4562
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
4563
4563
|
var _iterator__ex2g4s = this_0.l();
|
|
4564
4564
|
while (_iterator__ex2g4s.m()) {
|
|
4565
4565
|
var item = _iterator__ex2g4s.n();
|
|
4566
|
-
var tmp$ret$0 = to(item.
|
|
4566
|
+
var tmp$ret$0 = to(item.w6e_1, PlayerConnectionState_LIVE_getInstance());
|
|
4567
4567
|
destination.j(tmp$ret$0);
|
|
4568
4568
|
}
|
|
4569
4569
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -4593,7 +4593,7 @@
|
|
|
4593
4593
|
var _iterator__ex2g4s_2 = destination_1.l();
|
|
4594
4594
|
while (_iterator__ex2g4s_2.m()) {
|
|
4595
4595
|
var element_0 = _iterator__ex2g4s_2.n();
|
|
4596
|
-
var tmp0_aid = tmp0.
|
|
4596
|
+
var tmp0_aid = tmp0.le7_1.y6m();
|
|
4597
4597
|
// Inline function 'kotlin.collections.map' call
|
|
4598
4598
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4599
4599
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -4615,16 +4615,16 @@
|
|
|
4615
4615
|
tmp = destination_2;
|
|
4616
4616
|
} else {
|
|
4617
4617
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
4618
|
-
var tmp0_0 = this.
|
|
4618
|
+
var tmp0_0 = this.me7_1;
|
|
4619
4619
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4620
|
-
var table = state.
|
|
4621
|
-
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.
|
|
4620
|
+
var table = state.z6x();
|
|
4621
|
+
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.le7_1.y6m(), table.id, null);
|
|
4622
4622
|
var tmp$ret$21 = mapToClient_16(action_0, sendToPlayer_0);
|
|
4623
4623
|
tmp = listOfNotNull(tmp$ret$21);
|
|
4624
4624
|
} else {
|
|
4625
4625
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
4626
|
-
var tmp0_1 = this.
|
|
4627
|
-
var tmp2_0 = action_0.
|
|
4626
|
+
var tmp0_1 = this.me7_1;
|
|
4627
|
+
var tmp2_0 = action_0.w8a_1.id;
|
|
4628
4628
|
var tmp4_0 = action_0.gameCreatorPlayerId;
|
|
4629
4629
|
// Inline function 'kotlin.collections.map' call
|
|
4630
4630
|
var this_1 = action_0.users;
|
|
@@ -4633,7 +4633,7 @@
|
|
|
4633
4633
|
var _iterator__ex2g4s_4 = this_1.l();
|
|
4634
4634
|
while (_iterator__ex2g4s_4.m()) {
|
|
4635
4635
|
var item_2 = _iterator__ex2g4s_4.n();
|
|
4636
|
-
var tmp$ret$23 = to(item_2.
|
|
4636
|
+
var tmp$ret$23 = to(item_2.w6e_1, PlayerConnectionState_LIVE_getInstance());
|
|
4637
4637
|
destination_4.j(tmp$ret$23);
|
|
4638
4638
|
}
|
|
4639
4639
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -4663,7 +4663,7 @@
|
|
|
4663
4663
|
var _iterator__ex2g4s_7 = destination_6.l();
|
|
4664
4664
|
while (_iterator__ex2g4s_7.m()) {
|
|
4665
4665
|
var element_2 = _iterator__ex2g4s_7.n();
|
|
4666
|
-
var tmp0_aid_0 = tmp0_1.
|
|
4666
|
+
var tmp0_aid_0 = tmp0_1.le7_1.y6m();
|
|
4667
4667
|
// Inline function 'kotlin.collections.map' call
|
|
4668
4668
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4669
4669
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -4685,41 +4685,41 @@
|
|
|
4685
4685
|
tmp = destination_7;
|
|
4686
4686
|
} else {
|
|
4687
4687
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
4688
|
-
var tmp0_2 = this.
|
|
4688
|
+
var tmp0_2 = this.me7_1;
|
|
4689
4689
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4690
|
-
var table_0 = state.
|
|
4691
|
-
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.
|
|
4690
|
+
var table_0 = state.z6x();
|
|
4691
|
+
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.le7_1.y6m(), table_0.id, null);
|
|
4692
4692
|
var tmp$ret$44 = mapToClient_14(action_0, sendToPlayer_2);
|
|
4693
4693
|
tmp = listOfNotNull(tmp$ret$44);
|
|
4694
4694
|
} else {
|
|
4695
4695
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
4696
|
-
var tmp0_3 = this.
|
|
4696
|
+
var tmp0_3 = this.me7_1;
|
|
4697
4697
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4698
|
-
var table_1 = state.
|
|
4699
|
-
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.
|
|
4698
|
+
var table_1 = state.z6x();
|
|
4699
|
+
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.le7_1.y6m(), table_1.id, null);
|
|
4700
4700
|
var tmp$ret$46 = mapToClient_13(action_0, sendToPlayer_3);
|
|
4701
4701
|
tmp = listOfNotNull(tmp$ret$46);
|
|
4702
4702
|
} else {
|
|
4703
4703
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
4704
|
-
var tmp0_4 = this.
|
|
4704
|
+
var tmp0_4 = this.me7_1;
|
|
4705
4705
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4706
|
-
var table_2 = state.
|
|
4707
|
-
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.
|
|
4706
|
+
var table_2 = state.z6x();
|
|
4707
|
+
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.le7_1.y6m(), table_2.id, null);
|
|
4708
4708
|
var tmp$ret$48 = mapToClient_12(action_0, sendToPlayer_4);
|
|
4709
4709
|
tmp = listOfNotNull(tmp$ret$48);
|
|
4710
4710
|
} else {
|
|
4711
4711
|
if (action_0 instanceof ErrorAction) {
|
|
4712
|
-
var tmp0_5 = this.
|
|
4712
|
+
var tmp0_5 = this.me7_1;
|
|
4713
4713
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4714
|
-
var table_3 = state.
|
|
4715
|
-
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.
|
|
4714
|
+
var table_3 = state.z6x();
|
|
4715
|
+
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.le7_1.y6m(), table_3.id, null);
|
|
4716
4716
|
var tmp$ret$50 = mapToClient_11(action_0, sendToPlayer_5);
|
|
4717
4717
|
tmp = listOfNotNull(tmp$ret$50);
|
|
4718
4718
|
} else {
|
|
4719
4719
|
if (action_0 instanceof SceneMechanicAction) {
|
|
4720
|
-
var tmp0_6 = this.
|
|
4720
|
+
var tmp0_6 = this.me7_1;
|
|
4721
4721
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4722
|
-
var table_4 = state.
|
|
4722
|
+
var table_4 = state.z6x();
|
|
4723
4723
|
var tmp2_1 = table_4.id;
|
|
4724
4724
|
var tmp4_1 = getGameCreator(table_4.players).playerId;
|
|
4725
4725
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -4750,7 +4750,7 @@
|
|
|
4750
4750
|
var _iterator__ex2g4s_11 = destination_10.l();
|
|
4751
4751
|
while (_iterator__ex2g4s_11.m()) {
|
|
4752
4752
|
var element_4 = _iterator__ex2g4s_11.n();
|
|
4753
|
-
var tmp0_aid_1 = tmp0_6.
|
|
4753
|
+
var tmp0_aid_1 = tmp0_6.le7_1.y6m();
|
|
4754
4754
|
// Inline function 'kotlin.collections.map' call
|
|
4755
4755
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4756
4756
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -4772,9 +4772,9 @@
|
|
|
4772
4772
|
tmp = destination_11;
|
|
4773
4773
|
} else {
|
|
4774
4774
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
4775
|
-
var tmp0_7 = this.
|
|
4775
|
+
var tmp0_7 = this.me7_1;
|
|
4776
4776
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4777
|
-
var table_5 = state.
|
|
4777
|
+
var table_5 = state.z6x();
|
|
4778
4778
|
var tmp2_2 = table_5.id;
|
|
4779
4779
|
var tmp4_2 = getGameCreator(table_5.players).playerId;
|
|
4780
4780
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -4805,7 +4805,7 @@
|
|
|
4805
4805
|
var _iterator__ex2g4s_15 = destination_14.l();
|
|
4806
4806
|
while (_iterator__ex2g4s_15.m()) {
|
|
4807
4807
|
var element_6 = _iterator__ex2g4s_15.n();
|
|
4808
|
-
var tmp0_aid_2 = tmp0_7.
|
|
4808
|
+
var tmp0_aid_2 = tmp0_7.le7_1.y6m();
|
|
4809
4809
|
// Inline function 'kotlin.collections.map' call
|
|
4810
4810
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4811
4811
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -4827,9 +4827,9 @@
|
|
|
4827
4827
|
tmp = destination_15;
|
|
4828
4828
|
} else {
|
|
4829
4829
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
4830
|
-
var tmp0_8 = this.
|
|
4830
|
+
var tmp0_8 = this.me7_1;
|
|
4831
4831
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4832
|
-
var table_6 = state.
|
|
4832
|
+
var table_6 = state.z6x();
|
|
4833
4833
|
var tmp2_3 = table_6.id;
|
|
4834
4834
|
var tmp4_3 = getGameCreator(table_6.players).playerId;
|
|
4835
4835
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -4860,7 +4860,7 @@
|
|
|
4860
4860
|
var _iterator__ex2g4s_19 = destination_18.l();
|
|
4861
4861
|
while (_iterator__ex2g4s_19.m()) {
|
|
4862
4862
|
var element_8 = _iterator__ex2g4s_19.n();
|
|
4863
|
-
var tmp0_aid_3 = tmp0_8.
|
|
4863
|
+
var tmp0_aid_3 = tmp0_8.le7_1.y6m();
|
|
4864
4864
|
// Inline function 'kotlin.collections.map' call
|
|
4865
4865
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4866
4866
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -4872,7 +4872,7 @@
|
|
|
4872
4872
|
}
|
|
4873
4873
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_3, tmp4_3, element_8, destination_20);
|
|
4874
4874
|
var tmp_0;
|
|
4875
|
-
if (this.
|
|
4875
|
+
if (this.me7_1.ke7_1.supportBackwardActions && getPlayer(state.z6x().players, sendToPlayer_8.a7n_1).g71_1.y75_1) {
|
|
4876
4876
|
tmp_0 = null;
|
|
4877
4877
|
} else {
|
|
4878
4878
|
tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
|
|
@@ -4888,72 +4888,72 @@
|
|
|
4888
4888
|
tmp = destination_19;
|
|
4889
4889
|
} else {
|
|
4890
4890
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
4891
|
-
var tmp0_9 = this.
|
|
4892
|
-
var tmp2_4 = state.
|
|
4891
|
+
var tmp0_9 = this.me7_1;
|
|
4892
|
+
var tmp2_4 = state.z6x();
|
|
4893
4893
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4894
|
-
var exceptPlayerId = this.
|
|
4895
|
-
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.
|
|
4894
|
+
var exceptPlayerId = this.me7_1.ke7_1.supportBackwardActions ? action_0.x8b_1 : null;
|
|
4895
|
+
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.le7_1.y6m(), tmp2_4.id, exceptPlayerId);
|
|
4896
4896
|
var tmp$ret$109 = mapToClient_7(action_0, sendToPlayer_9);
|
|
4897
4897
|
tmp = listOfNotNull(tmp$ret$109);
|
|
4898
4898
|
} else {
|
|
4899
4899
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
4900
|
-
var tmp0_10 = this.
|
|
4901
|
-
var tmp2_5 = state.
|
|
4900
|
+
var tmp0_10 = this.me7_1;
|
|
4901
|
+
var tmp2_5 = state.z6x();
|
|
4902
4902
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4903
|
-
var exceptPlayerId_0 = this.
|
|
4904
|
-
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.
|
|
4903
|
+
var exceptPlayerId_0 = this.me7_1.ke7_1.supportBackwardActions ? action_0.b8c_1 : null;
|
|
4904
|
+
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.le7_1.y6m(), tmp2_5.id, exceptPlayerId_0);
|
|
4905
4905
|
var tmp$ret$111 = mapToClient_6(action_0, sendToPlayer_10);
|
|
4906
4906
|
tmp = listOfNotNull(tmp$ret$111);
|
|
4907
4907
|
} else {
|
|
4908
4908
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
4909
|
-
var tmp0_11 = this.
|
|
4909
|
+
var tmp0_11 = this.me7_1;
|
|
4910
4910
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4911
|
-
var table_7 = state.
|
|
4912
|
-
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.
|
|
4911
|
+
var table_7 = state.z6x();
|
|
4912
|
+
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.le7_1.y6m(), table_7.id, null);
|
|
4913
4913
|
var tmp$ret$113 = mapToClient_5(action_0, sendToPlayer_11);
|
|
4914
4914
|
tmp = listOfNotNull(tmp$ret$113);
|
|
4915
4915
|
} else {
|
|
4916
4916
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
4917
|
-
var tmp0_12 = this.
|
|
4918
|
-
var tmp2_6 = state.
|
|
4917
|
+
var tmp0_12 = this.me7_1;
|
|
4918
|
+
var tmp2_6 = state.z6x();
|
|
4919
4919
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4920
|
-
var exceptPlayerId_1 = this.
|
|
4921
|
-
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.
|
|
4920
|
+
var exceptPlayerId_1 = this.me7_1.ke7_1.supportBackwardActions ? action_0.i8c_1 : null;
|
|
4921
|
+
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.le7_1.y6m(), tmp2_6.id, exceptPlayerId_1);
|
|
4922
4922
|
var tmp$ret$115 = mapToClient_4(action_0, sendToPlayer_12);
|
|
4923
4923
|
tmp = listOfNotNull(tmp$ret$115);
|
|
4924
4924
|
} else {
|
|
4925
4925
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
4926
|
-
var tmp0_13 = this.
|
|
4927
|
-
var tmp2_7 = state.
|
|
4926
|
+
var tmp0_13 = this.me7_1;
|
|
4927
|
+
var tmp2_7 = state.z6x();
|
|
4928
4928
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4929
|
-
var exceptPlayerId_2 = this.
|
|
4930
|
-
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.
|
|
4929
|
+
var exceptPlayerId_2 = this.me7_1.ke7_1.supportBackwardActions ? action_0.m8c_1 : null;
|
|
4930
|
+
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.le7_1.y6m(), tmp2_7.id, exceptPlayerId_2);
|
|
4931
4931
|
var tmp$ret$117 = mapToClient_3(action_0, sendToPlayer_13);
|
|
4932
4932
|
tmp = listOfNotNull(tmp$ret$117);
|
|
4933
4933
|
} else {
|
|
4934
4934
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
4935
|
-
var tmp0_14 = this.
|
|
4935
|
+
var tmp0_14 = this.me7_1;
|
|
4936
4936
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4937
|
-
var table_8 = state.
|
|
4938
|
-
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.
|
|
4937
|
+
var table_8 = state.z6x();
|
|
4938
|
+
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.le7_1.y6m(), table_8.id, null);
|
|
4939
4939
|
var tmp$ret$119 = mapToClient_2(action_0, sendToPlayer_14);
|
|
4940
4940
|
tmp = listOfNotNull(tmp$ret$119);
|
|
4941
4941
|
} else {
|
|
4942
4942
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
4943
|
-
var tmp0_15 = this.
|
|
4943
|
+
var tmp0_15 = this.me7_1;
|
|
4944
4944
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4945
|
-
var table_9 = state.
|
|
4946
|
-
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.
|
|
4945
|
+
var table_9 = state.z6x();
|
|
4946
|
+
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.le7_1.y6m(), table_9.id, null);
|
|
4947
4947
|
var tmp$ret$121 = mapToClient_1(action_0, sendToPlayer_15);
|
|
4948
4948
|
tmp = listOfNotNull(tmp$ret$121);
|
|
4949
4949
|
} else {
|
|
4950
4950
|
if (action_0 instanceof MessageMechanicAction) {
|
|
4951
|
-
var message = action_0.
|
|
4952
|
-
var tmp0_16 = this.
|
|
4953
|
-
var tmp2_8 = state.
|
|
4951
|
+
var message = action_0.u8c_1;
|
|
4952
|
+
var tmp0_16 = this.me7_1;
|
|
4953
|
+
var tmp2_8 = state.z6x();
|
|
4954
4954
|
var tmp_1;
|
|
4955
4955
|
var tmp_2;
|
|
4956
|
-
if (this.
|
|
4956
|
+
if (this.me7_1.ke7_1.supportBackwardActions) {
|
|
4957
4957
|
tmp_2 = isInterface(message, UserMessage);
|
|
4958
4958
|
} else {
|
|
4959
4959
|
tmp_2 = false;
|
|
@@ -4965,16 +4965,16 @@
|
|
|
4965
4965
|
}
|
|
4966
4966
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4967
4967
|
var exceptPlayerId_3 = tmp_1;
|
|
4968
|
-
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.
|
|
4968
|
+
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.le7_1.y6m(), tmp2_8.id, exceptPlayerId_3);
|
|
4969
4969
|
var tmp$ret$123 = mapToClient_0(action_0, sendToPlayer_16);
|
|
4970
4970
|
tmp = listOfNotNull(tmp$ret$123);
|
|
4971
4971
|
} else {
|
|
4972
4972
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
4973
|
-
var tmp0_17 = this.
|
|
4974
|
-
var tmp2_9 = state.
|
|
4973
|
+
var tmp0_17 = this.me7_1;
|
|
4974
|
+
var tmp2_9 = state.z6x();
|
|
4975
4975
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4976
4976
|
var exceptPlayerId_4 = action_0.playerId;
|
|
4977
|
-
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.
|
|
4977
|
+
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.le7_1.y6m(), tmp2_9.id, exceptPlayerId_4);
|
|
4978
4978
|
var tmp$ret$125 = mapToClient(action_0, sendToPlayer_17);
|
|
4979
4979
|
tmp = listOfNotNull(tmp$ret$125);
|
|
4980
4980
|
} else {
|
|
@@ -5007,14 +5007,14 @@
|
|
|
5007
5007
|
}
|
|
5008
5008
|
next(action_0);
|
|
5009
5009
|
};
|
|
5010
|
-
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).
|
|
5011
|
-
return this.
|
|
5010
|
+
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).z6o = function (store, next, action) {
|
|
5011
|
+
return this.p6q(store, next, action);
|
|
5012
5012
|
};
|
|
5013
5013
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
5014
|
-
this.
|
|
5015
|
-
this.
|
|
5014
|
+
this.ke7_1 = logicConfig;
|
|
5015
|
+
this.le7_1 = idsProvider;
|
|
5016
5016
|
}
|
|
5017
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
5017
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).v9j = function () {
|
|
5018
5018
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
5019
5019
|
return new ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this);
|
|
5020
5020
|
};
|
|
@@ -5023,8 +5023,8 @@
|
|
|
5023
5023
|
return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
|
|
5024
5024
|
}
|
|
5025
5025
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
5026
|
-
this.
|
|
5027
|
-
this.
|
|
5026
|
+
this.ve7_1 = $provider;
|
|
5027
|
+
this.we7_1 = $action;
|
|
5028
5028
|
CoroutineImpl.call(this, resultContinuation);
|
|
5029
5029
|
}
|
|
5030
5030
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).j29 = function ($this$launchDefault, $completion) {
|
|
@@ -5045,7 +5045,7 @@
|
|
|
5045
5045
|
case 0:
|
|
5046
5046
|
this.s8_1 = 2;
|
|
5047
5047
|
this.r8_1 = 1;
|
|
5048
|
-
suspendResult = this.
|
|
5048
|
+
suspendResult = this.ve7_1.ie4(this.we7_1, this);
|
|
5049
5049
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5050
5050
|
return suspendResult;
|
|
5051
5051
|
}
|
|
@@ -5068,8 +5068,8 @@
|
|
|
5068
5068
|
while (true);
|
|
5069
5069
|
};
|
|
5070
5070
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).k29 = function ($this$launchDefault, completion) {
|
|
5071
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
5072
|
-
i.
|
|
5071
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.ve7_1, this.we7_1, completion);
|
|
5072
|
+
i.xe7_1 = $this$launchDefault;
|
|
5073
5073
|
return i;
|
|
5074
5074
|
};
|
|
5075
5075
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -5081,19 +5081,19 @@
|
|
|
5081
5081
|
return l;
|
|
5082
5082
|
}
|
|
5083
5083
|
function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
|
|
5084
|
-
this.
|
|
5085
|
-
this.
|
|
5084
|
+
this.ye7_1 = $asyncProvider;
|
|
5085
|
+
this.ze7_1 = $provider;
|
|
5086
5086
|
}
|
|
5087
|
-
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).
|
|
5087
|
+
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).a6p = function (action) {
|
|
5088
5088
|
return action instanceof ToClientAction;
|
|
5089
5089
|
};
|
|
5090
|
-
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).
|
|
5090
|
+
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).p6q = function (store, next, action) {
|
|
5091
5091
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
5092
|
-
this.
|
|
5092
|
+
this.ye7_1.d6l(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.ze7_1, action_0, null));
|
|
5093
5093
|
next(action_0);
|
|
5094
5094
|
};
|
|
5095
|
-
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).
|
|
5096
|
-
return this.
|
|
5095
|
+
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).z6o = function (store, next, action) {
|
|
5096
|
+
return this.p6q(store, next, action);
|
|
5097
5097
|
};
|
|
5098
5098
|
function serverConfigReducer() {
|
|
5099
5099
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
@@ -5101,22 +5101,22 @@
|
|
|
5101
5101
|
}
|
|
5102
5102
|
function serverConfigReducer$$inlined$reducerForActionType$1() {
|
|
5103
5103
|
}
|
|
5104
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
5104
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).a6p = function (action) {
|
|
5105
5105
|
return action instanceof UpdateServerConfigAction;
|
|
5106
5106
|
};
|
|
5107
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
5107
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).a9t = function (state, action) {
|
|
5108
5108
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
5109
|
-
return state.
|
|
5109
|
+
return state.o9e(VOID, get_serverStatePayload(state).copy(action_0.oe6_1));
|
|
5110
5110
|
};
|
|
5111
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
5112
|
-
return this.
|
|
5111
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).q6q = function (state, action) {
|
|
5112
|
+
return this.a9t((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5113
5113
|
};
|
|
5114
5114
|
function addRoomMetadata($this, _this__u8e3s4, gameId) {
|
|
5115
5115
|
_this__u8e3s4.metadata.addGame(gameId, new GameMetadata(gameId));
|
|
5116
5116
|
return _this__u8e3s4.metadata;
|
|
5117
5117
|
}
|
|
5118
5118
|
function Companion_5() {
|
|
5119
|
-
this.
|
|
5119
|
+
this.ae8_1 = 'ServerMechanicLifecycleReducer';
|
|
5120
5120
|
}
|
|
5121
5121
|
var Companion_instance_13;
|
|
5122
5122
|
function Companion_getInstance_6() {
|
|
@@ -5127,87 +5127,87 @@
|
|
|
5127
5127
|
var tmp = Companion_instance_1;
|
|
5128
5128
|
var tmp_0;
|
|
5129
5129
|
if (it.isBot) {
|
|
5130
|
-
tmp_0 = Companion_instance_2.
|
|
5130
|
+
tmp_0 = Companion_instance_2.y6f(PlayerConnectionState_LEFT_getInstance());
|
|
5131
5131
|
} else {
|
|
5132
5132
|
var tmp_1 = Companion_instance_2;
|
|
5133
5133
|
var tmp_2 = PlayerConnectionState_LIVE_getInstance();
|
|
5134
5134
|
Companion_getInstance();
|
|
5135
5135
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
5136
|
-
var this_0 = $action.
|
|
5136
|
+
var this_0 = $action.p8a_1.timeoutTimeMillis;
|
|
5137
5137
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
5138
|
-
tmp_0 = tmp_1.
|
|
5138
|
+
tmp_0 = tmp_1.x6f(tmp_2, tmp$ret$0);
|
|
5139
5139
|
}
|
|
5140
|
-
return tmp.
|
|
5140
|
+
return tmp.f6h(tmp_0);
|
|
5141
5141
|
};
|
|
5142
5142
|
}
|
|
5143
5143
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
5144
5144
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
5145
|
-
this.
|
|
5145
|
+
this.de8_1 = logger;
|
|
5146
5146
|
}
|
|
5147
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5148
|
-
this.
|
|
5147
|
+
protoOf(ServerMechanicLifecycleReducer).m9u = function (state, action) {
|
|
5148
|
+
this.de8_1.d('ServerMechanicLifecycleReducer', 'onStart ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
5149
5149
|
var serverState = get_serverStatePayloadOrNull(state.payload);
|
|
5150
|
-
var tableId = action.
|
|
5150
|
+
var tableId = action.q8a_1;
|
|
5151
5151
|
var tmp6_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5152
|
-
var tmp0_$this = this.
|
|
5153
|
-
var tmp1_version = action.
|
|
5154
|
-
var tmp2_config = action.
|
|
5155
|
-
var tmp3_users = action.
|
|
5152
|
+
var tmp0_$this = this.n9u_1;
|
|
5153
|
+
var tmp1_version = action.r8a_1;
|
|
5154
|
+
var tmp2_config = action.p8a_1;
|
|
5155
|
+
var tmp3_users = action.t8a_1;
|
|
5156
5156
|
var tmp4_spectators = action.spectators;
|
|
5157
|
-
var tmp5_gameCreatorPlayerId = action.
|
|
5158
|
-
var tmp7_tableOrNull = tmp0_$this.
|
|
5157
|
+
var tmp5_gameCreatorPlayerId = action.s8a_1;
|
|
5158
|
+
var tmp7_tableOrNull = tmp0_$this.t9v(tableId, tableId, tmp2_config, tmp1_version, tmp3_users, tmp4_spectators, tmp5_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
|
|
5159
5159
|
var tmp;
|
|
5160
5160
|
if (serverState == null) {
|
|
5161
|
-
this.
|
|
5161
|
+
this.de8_1.w(VOID, 'ServerPayload is not onStart');
|
|
5162
5162
|
tmp = Companion_instance_14.initial(VOID, addRoomMetadata(this, get_serverStatePayload(state), tableId));
|
|
5163
5163
|
} else {
|
|
5164
5164
|
tmp = serverState.copy(VOID, addRoomMetadata(this, get_serverStatePayload(state), tableId));
|
|
5165
5165
|
}
|
|
5166
5166
|
var tmp8_payload = tmp;
|
|
5167
|
-
return state.
|
|
5167
|
+
return state.o9e(tmp7_tableOrNull, tmp8_payload, tmp6_gameLifecycleState);
|
|
5168
5168
|
};
|
|
5169
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5170
|
-
this.
|
|
5169
|
+
protoOf(ServerMechanicLifecycleReducer).k9u = function (state, action) {
|
|
5170
|
+
this.de8_1.d('ServerMechanicLifecycleReducer', 'onContinue ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
5171
5171
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5172
|
-
var tmp2_tableOrNull = action.
|
|
5172
|
+
var tmp2_tableOrNull = action.w8a_1;
|
|
5173
5173
|
var tmp = Companion_instance_14;
|
|
5174
5174
|
var tmp_0 = get_serverStatePayload(state).config;
|
|
5175
|
-
var tmp_1 = action.
|
|
5175
|
+
var tmp_1 = action.x8a_1;
|
|
5176
5176
|
var tmp0_safe_receiver = tmp_1 instanceof RestartRoundReason ? tmp_1 : null;
|
|
5177
|
-
var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
5178
|
-
return state.
|
|
5177
|
+
var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.q6d_1), addRoomMetadata(this, get_serverStatePayload(state), action.w8a_1.gameId));
|
|
5178
|
+
return state.o9e(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
|
|
5179
5179
|
};
|
|
5180
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5181
|
-
this.
|
|
5180
|
+
protoOf(ServerMechanicLifecycleReducer).l9u = function (state, action) {
|
|
5181
|
+
this.o9u_1.i5o(action.previousGameId);
|
|
5182
5182
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5183
|
-
var tmp1_tableOrNull = this.
|
|
5183
|
+
var tmp1_tableOrNull = this.n9u_1.u9v(state.z6x(), action.gameId);
|
|
5184
5184
|
var tmp2_payload = get_serverStatePayload(state).copy(VOID, addRoomMetadata(this, get_serverStatePayload(state), action.gameId));
|
|
5185
|
-
return state.
|
|
5185
|
+
return state.o9e(tmp1_tableOrNull, tmp2_payload, tmp0_gameLifecycleState);
|
|
5186
5186
|
};
|
|
5187
5187
|
function spectatorsReducer(logger) {
|
|
5188
5188
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
5189
5189
|
return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
|
|
5190
5190
|
}
|
|
5191
5191
|
function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
|
|
5192
|
-
this.
|
|
5192
|
+
this.ee8_1 = $logger;
|
|
5193
5193
|
}
|
|
5194
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
5194
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).a6p = function (action) {
|
|
5195
5195
|
return isInterface(action, SpectatorsAction);
|
|
5196
5196
|
};
|
|
5197
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
5197
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).a9t = function (state, action) {
|
|
5198
5198
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
5199
|
-
var table = state.
|
|
5199
|
+
var table = state.z6x();
|
|
5200
5200
|
var tmp;
|
|
5201
5201
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
5202
5202
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5203
|
-
var tmp0 = action_0.
|
|
5203
|
+
var tmp0 = action_0.pe6_1;
|
|
5204
5204
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5205
5205
|
var destination = ArrayList_init_$Create$_0();
|
|
5206
5206
|
// Inline function 'kotlin.collections.forEach' call
|
|
5207
5207
|
var _iterator__ex2g4s = tmp0.l();
|
|
5208
5208
|
while (_iterator__ex2g4s.m()) {
|
|
5209
5209
|
var element = _iterator__ex2g4s.n();
|
|
5210
|
-
var tmp0_safe_receiver = singleOrNull(filterByPlayerId(table.spectators, element.
|
|
5210
|
+
var tmp0_safe_receiver = singleOrNull(filterByPlayerId(table.spectators, element.w6e_1));
|
|
5211
5211
|
if (tmp0_safe_receiver == null)
|
|
5212
5212
|
null;
|
|
5213
5213
|
else {
|
|
@@ -5219,9 +5219,9 @@
|
|
|
5219
5219
|
var tmp_0;
|
|
5220
5220
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5221
5221
|
if (!sameSpectators.q()) {
|
|
5222
|
-
this.
|
|
5222
|
+
this.ee8_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
5223
5223
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5224
|
-
var tmp0_0 = action_0.
|
|
5224
|
+
var tmp0_0 = action_0.pe6_1;
|
|
5225
5225
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5226
5226
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
5227
5227
|
var _iterator__ex2g4s_0 = tmp0_0.l();
|
|
@@ -5243,7 +5243,7 @@
|
|
|
5243
5243
|
var _iterator__ex2g4s_1 = sameSpectators.l();
|
|
5244
5244
|
while (_iterator__ex2g4s_1.m()) {
|
|
5245
5245
|
var element_1 = _iterator__ex2g4s_1.n();
|
|
5246
|
-
if (element_0.
|
|
5246
|
+
if (element_0.w6e_1 === element_1.playerId) {
|
|
5247
5247
|
tmp$ret$8 = true;
|
|
5248
5248
|
break $l$block_0;
|
|
5249
5249
|
}
|
|
@@ -5256,7 +5256,7 @@
|
|
|
5256
5256
|
}
|
|
5257
5257
|
tmp_0 = destination_0;
|
|
5258
5258
|
} else {
|
|
5259
|
-
tmp_0 = action_0.
|
|
5259
|
+
tmp_0 = action_0.pe6_1;
|
|
5260
5260
|
}
|
|
5261
5261
|
// Inline function 'kotlin.collections.map' call
|
|
5262
5262
|
var this_0 = tmp_0;
|
|
@@ -5269,18 +5269,18 @@
|
|
|
5269
5269
|
destination_1.j(tmp$ret$13);
|
|
5270
5270
|
}
|
|
5271
5271
|
var spectatorsToAdd = toSet(destination_1);
|
|
5272
|
-
tmp = state.
|
|
5272
|
+
tmp = state.o9e(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
|
|
5273
5273
|
} else {
|
|
5274
5274
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
5275
5275
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5276
|
-
var tmp0_1 = action_0.
|
|
5276
|
+
var tmp0_1 = action_0.qe6_1;
|
|
5277
5277
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5278
5278
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
5279
5279
|
// Inline function 'kotlin.collections.forEach' call
|
|
5280
5280
|
var _iterator__ex2g4s_3 = tmp0_1.l();
|
|
5281
5281
|
while (_iterator__ex2g4s_3.m()) {
|
|
5282
5282
|
var element_2 = _iterator__ex2g4s_3.n();
|
|
5283
|
-
var tmp0_safe_receiver_0 = singleOrNull(filterByPlayerId(table.spectators, element_2.
|
|
5283
|
+
var tmp0_safe_receiver_0 = singleOrNull(filterByPlayerId(table.spectators, element_2.w6e_1));
|
|
5284
5284
|
if (tmp0_safe_receiver_0 == null)
|
|
5285
5285
|
null;
|
|
5286
5286
|
else {
|
|
@@ -5292,9 +5292,9 @@
|
|
|
5292
5292
|
var tmp_2;
|
|
5293
5293
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5294
5294
|
if (!sameSpectators_0.q()) {
|
|
5295
|
-
this.
|
|
5295
|
+
this.ee8_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
5296
5296
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5297
|
-
var tmp0_2 = action_0.
|
|
5297
|
+
var tmp0_2 = action_0.qe6_1;
|
|
5298
5298
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5299
5299
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
5300
5300
|
var _iterator__ex2g4s_4 = tmp0_2.l();
|
|
@@ -5316,7 +5316,7 @@
|
|
|
5316
5316
|
var _iterator__ex2g4s_5 = sameSpectators_0.l();
|
|
5317
5317
|
while (_iterator__ex2g4s_5.m()) {
|
|
5318
5318
|
var element_4 = _iterator__ex2g4s_5.n();
|
|
5319
|
-
if (element_3.
|
|
5319
|
+
if (element_3.w6e_1 === element_4.playerId) {
|
|
5320
5320
|
tmp$ret$24 = true;
|
|
5321
5321
|
break $l$block_2;
|
|
5322
5322
|
}
|
|
@@ -5329,7 +5329,7 @@
|
|
|
5329
5329
|
}
|
|
5330
5330
|
tmp_2 = destination_3;
|
|
5331
5331
|
} else {
|
|
5332
|
-
tmp_2 = action_0.
|
|
5332
|
+
tmp_2 = action_0.qe6_1;
|
|
5333
5333
|
}
|
|
5334
5334
|
var spectatorsToRemove = toSet(tmp_2);
|
|
5335
5335
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -5355,7 +5355,7 @@
|
|
|
5355
5355
|
var _iterator__ex2g4s_7 = spectatorsToRemove.l();
|
|
5356
5356
|
while (_iterator__ex2g4s_7.m()) {
|
|
5357
5357
|
var element_6 = _iterator__ex2g4s_7.n();
|
|
5358
|
-
if (element_5.playerId === element_6.
|
|
5358
|
+
if (element_5.playerId === element_6.w6e_1) {
|
|
5359
5359
|
tmp$ret$29 = true;
|
|
5360
5360
|
break $l$block_4;
|
|
5361
5361
|
}
|
|
@@ -5366,25 +5366,25 @@
|
|
|
5366
5366
|
destination_4.j(element_5);
|
|
5367
5367
|
}
|
|
5368
5368
|
}
|
|
5369
|
-
tmp = state.
|
|
5369
|
+
tmp = state.o9e(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
|
|
5370
5370
|
} else {
|
|
5371
5371
|
noWhenBranchMatchedException();
|
|
5372
5372
|
}
|
|
5373
5373
|
}
|
|
5374
5374
|
return tmp;
|
|
5375
5375
|
};
|
|
5376
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
5377
|
-
return this.
|
|
5376
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).q6q = function (state, action) {
|
|
5377
|
+
return this.a9t((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5378
5378
|
};
|
|
5379
5379
|
function Companion_6() {
|
|
5380
5380
|
}
|
|
5381
|
-
protoOf(Companion_6).
|
|
5381
|
+
protoOf(Companion_6).fe8 = function (config, metadata) {
|
|
5382
5382
|
return new ServerStatePayload(config, metadata);
|
|
5383
5383
|
};
|
|
5384
5384
|
protoOf(Companion_6).initial = function (config, metadata, $super) {
|
|
5385
5385
|
config = config === VOID ? Companion_instance_8.initial(null) : config;
|
|
5386
5386
|
metadata = metadata === VOID ? new RoomMetadata() : metadata;
|
|
5387
|
-
return $super === VOID ? this.
|
|
5387
|
+
return $super === VOID ? this.fe8(config, metadata) : $super.fe8.call(this, config, metadata);
|
|
5388
5388
|
};
|
|
5389
5389
|
var Companion_instance_14;
|
|
5390
5390
|
function Companion_getInstance_7() {
|
|
@@ -5394,10 +5394,10 @@
|
|
|
5394
5394
|
this.config = config;
|
|
5395
5395
|
this.metadata = metadata;
|
|
5396
5396
|
}
|
|
5397
|
-
protoOf(ServerStatePayload).
|
|
5397
|
+
protoOf(ServerStatePayload).e3w = function () {
|
|
5398
5398
|
return this.config;
|
|
5399
5399
|
};
|
|
5400
|
-
protoOf(ServerStatePayload).
|
|
5400
|
+
protoOf(ServerStatePayload).w8z = function () {
|
|
5401
5401
|
return this.metadata;
|
|
5402
5402
|
};
|
|
5403
5403
|
protoOf(ServerStatePayload).ne = function () {
|
|
@@ -5406,13 +5406,13 @@
|
|
|
5406
5406
|
protoOf(ServerStatePayload).oe = function () {
|
|
5407
5407
|
return this.metadata;
|
|
5408
5408
|
};
|
|
5409
|
-
protoOf(ServerStatePayload).
|
|
5409
|
+
protoOf(ServerStatePayload).ge8 = function (config, metadata) {
|
|
5410
5410
|
return new ServerStatePayload(config, metadata);
|
|
5411
5411
|
};
|
|
5412
5412
|
protoOf(ServerStatePayload).copy = function (config, metadata, $super) {
|
|
5413
5413
|
config = config === VOID ? this.config : config;
|
|
5414
5414
|
metadata = metadata === VOID ? this.metadata : metadata;
|
|
5415
|
-
return $super === VOID ? this.
|
|
5415
|
+
return $super === VOID ? this.ge8(config, metadata) : $super.ge8.call(this, config, metadata);
|
|
5416
5416
|
};
|
|
5417
5417
|
protoOf(ServerStatePayload).toString = function () {
|
|
5418
5418
|
return 'ServerStatePayload(config=' + this.config.toString() + ', metadata=' + toString(this.metadata) + ')';
|
|
@@ -5434,12 +5434,12 @@
|
|
|
5434
5434
|
return true;
|
|
5435
5435
|
};
|
|
5436
5436
|
function serverLoggerKeyFromPayload(_this__u8e3s4, payload) {
|
|
5437
|
-
var gameId = Companion_instance_3.
|
|
5437
|
+
var gameId = Companion_instance_3.w9x(payload);
|
|
5438
5438
|
var tmp;
|
|
5439
5439
|
if (!(gameId == null)) {
|
|
5440
5440
|
tmp = new ServerLoggerKey(gameId);
|
|
5441
5441
|
} else {
|
|
5442
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
5442
|
+
var tmp0_safe_receiver = _this__u8e3s4.y6w_1;
|
|
5443
5443
|
tmp = tmp0_safe_receiver == null ? null : get_serverLoggerKey(tmp0_safe_receiver);
|
|
5444
5444
|
}
|
|
5445
5445
|
return tmp;
|
|
@@ -5477,14 +5477,14 @@
|
|
|
5477
5477
|
return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
|
|
5478
5478
|
}
|
|
5479
5479
|
function _get_logger__rkp4sl_0($this) {
|
|
5480
|
-
var tmp0 = $this.
|
|
5480
|
+
var tmp0 = $this.pe8_1;
|
|
5481
5481
|
var tmp = KProperty1;
|
|
5482
5482
|
// Inline function 'kotlin.getValue' call
|
|
5483
5483
|
getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
|
|
5484
5484
|
return tmp0.w();
|
|
5485
5485
|
}
|
|
5486
5486
|
function _get_di__ndbzja($this) {
|
|
5487
|
-
var tmp0 = $this.
|
|
5487
|
+
var tmp0 = $this.qe8_1;
|
|
5488
5488
|
var tmp = KProperty1;
|
|
5489
5489
|
// Inline function 'kotlin.getValue' call
|
|
5490
5490
|
getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
|
|
@@ -5501,8 +5501,8 @@
|
|
|
5501
5501
|
}
|
|
5502
5502
|
function createCallbackOutput($this, gameServer) {
|
|
5503
5503
|
var tmp;
|
|
5504
|
-
if (!($this.
|
|
5505
|
-
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.
|
|
5504
|
+
if (!($this.ne8_1 == null)) {
|
|
5505
|
+
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.ne8_1);
|
|
5506
5506
|
tmp = new CallbackWrapperLoggerOutput(tmp_0, GameServerEngineControllerImpl$createCallbackOutput$lambda(gameServer));
|
|
5507
5507
|
} else {
|
|
5508
5508
|
tmp = null;
|
|
@@ -5516,11 +5516,11 @@
|
|
|
5516
5516
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
5517
5517
|
return function () {
|
|
5518
5518
|
var tmp;
|
|
5519
|
-
if (this$0.
|
|
5519
|
+
if (this$0.ne8_1 == null) {
|
|
5520
5520
|
tmp = null;
|
|
5521
5521
|
} else {
|
|
5522
5522
|
// Inline function 'kotlin.let' call
|
|
5523
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
5523
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.ne8_1)]));
|
|
5524
5524
|
}
|
|
5525
5525
|
var tmp1_elvis_lhs = tmp;
|
|
5526
5526
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -5553,7 +5553,7 @@
|
|
|
5553
5553
|
tmp_0.f1f(tmp$ret$3);
|
|
5554
5554
|
$this$DI.j1b(jsonModule());
|
|
5555
5555
|
$this$DI.j1b(serverHelpersModule());
|
|
5556
|
-
$this$DI.j1b(randomOrgModule(this$0.
|
|
5556
|
+
$this$DI.j1b(randomOrgModule(this$0.oe8_1));
|
|
5557
5557
|
return Unit_instance;
|
|
5558
5558
|
};
|
|
5559
5559
|
}
|
|
@@ -5629,16 +5629,16 @@
|
|
|
5629
5629
|
};
|
|
5630
5630
|
}
|
|
5631
5631
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
5632
|
-
this.
|
|
5632
|
+
this.xe8_1 = $reducer;
|
|
5633
5633
|
}
|
|
5634
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
5634
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).a6p = function (action) {
|
|
5635
5635
|
return isInterface(action, Action);
|
|
5636
5636
|
};
|
|
5637
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
5638
|
-
return this.
|
|
5637
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).a9t = function (state, action) {
|
|
5638
|
+
return this.xe8_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
5639
5639
|
};
|
|
5640
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
5641
|
-
return this.
|
|
5640
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).q6q = function (state, action) {
|
|
5641
|
+
return this.a9t((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5642
5642
|
};
|
|
5643
5643
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($gameServer) {
|
|
5644
5644
|
return function () {
|
|
@@ -5667,7 +5667,7 @@
|
|
|
5667
5667
|
null;
|
|
5668
5668
|
else {
|
|
5669
5669
|
// Inline function 'kotlin.also' call
|
|
5670
|
-
$combinedLogger.
|
|
5670
|
+
$combinedLogger.m52(tmp0_safe_receiver);
|
|
5671
5671
|
// Inline function 'org.kodein.di.bind' call
|
|
5672
5672
|
// Inline function 'org.kodein.type.generic' call
|
|
5673
5673
|
var tmp = typeToken(createKType(getKClass(FileLoggerOutput), arrayOf([]), false));
|
|
@@ -5689,7 +5689,7 @@
|
|
|
5689
5689
|
null;
|
|
5690
5690
|
else {
|
|
5691
5691
|
// Inline function 'kotlin.also' call
|
|
5692
|
-
$combinedLogger.
|
|
5692
|
+
$combinedLogger.m52(tmp1_safe_receiver);
|
|
5693
5693
|
// Inline function 'org.kodein.di.bind' call
|
|
5694
5694
|
// Inline function 'org.kodein.type.generic' call
|
|
5695
5695
|
var tmp_5 = typeToken(createKType(getKClass(CallbackWrapperLoggerOutput), arrayOf([]), false));
|
|
@@ -5712,20 +5712,20 @@
|
|
|
5712
5712
|
function GameServerEngineControllerImpl$createFileLoggerOutput$lambda($gameServer) {
|
|
5713
5713
|
return function (it) {
|
|
5714
5714
|
var tmp0_safe_receiver = $gameServer();
|
|
5715
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
5715
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.i6f();
|
|
5716
5716
|
return tmp1_safe_receiver == null ? null : serverLoggerKeyFromPayload(tmp1_safe_receiver, it);
|
|
5717
5717
|
};
|
|
5718
5718
|
}
|
|
5719
5719
|
function GameServerEngineControllerImpl$createCallbackOutput$lambda($gameServer) {
|
|
5720
5720
|
return function (it) {
|
|
5721
|
-
var payload = Companion_instance_5.
|
|
5721
|
+
var payload = Companion_instance_5.h9w(it);
|
|
5722
5722
|
var tmp;
|
|
5723
5723
|
if (!(payload == null)) {
|
|
5724
5724
|
return payload;
|
|
5725
5725
|
}
|
|
5726
5726
|
var tmp0_safe_receiver = $gameServer();
|
|
5727
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
5728
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
5727
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.i6f();
|
|
5728
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.y6w_1;
|
|
5729
5729
|
return tmp2_safe_receiver == null ? null : toLoggerPayload(tmp2_safe_receiver);
|
|
5730
5730
|
};
|
|
5731
5731
|
}
|
|
@@ -5739,7 +5739,7 @@
|
|
|
5739
5739
|
// Inline function 'kotlin.let' call
|
|
5740
5740
|
$this$DI.j1b(tmp0_safe_receiver);
|
|
5741
5741
|
}
|
|
5742
|
-
$this$DI.j1b(dealerModule(this$0.randomPoolProvider, this$0.
|
|
5742
|
+
$this$DI.j1b(dealerModule(this$0.randomPoolProvider, this$0.oe8_1));
|
|
5743
5743
|
$this$DI.j1b(coreModule($coreConfig));
|
|
5744
5744
|
$this$DI.j1b(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $ratingConfig, $externalReducers, $externalMiddlewares));
|
|
5745
5745
|
return Unit_instance;
|
|
@@ -5748,13 +5748,13 @@
|
|
|
5748
5748
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
5749
5749
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
5750
5750
|
production = production === VOID ? true : production;
|
|
5751
|
-
this.
|
|
5752
|
-
this.
|
|
5753
|
-
AppEnvironment_getInstance().
|
|
5751
|
+
this.ne8_1 = loggerCallback;
|
|
5752
|
+
this.oe8_1 = randomOrgConfig;
|
|
5753
|
+
AppEnvironment_getInstance().d6w(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
|
|
5754
5754
|
var tmp = this;
|
|
5755
|
-
tmp.
|
|
5755
|
+
tmp.pe8_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
5756
5756
|
var tmp_0 = this;
|
|
5757
|
-
tmp_0.
|
|
5757
|
+
tmp_0.qe8_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
5758
5758
|
var tmp_1 = this;
|
|
5759
5759
|
// Inline function 'org.kodein.di.instance' call
|
|
5760
5760
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -5763,7 +5763,7 @@
|
|
|
5763
5763
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5764
5764
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
5765
5765
|
var tmp_4 = KProperty1;
|
|
5766
|
-
tmp_1.
|
|
5766
|
+
tmp_1.re8_1 = tmp_3.c1h(this, getPropertyCallableRef('parser', 1, tmp_4, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
|
|
5767
5767
|
var tmp_5 = this;
|
|
5768
5768
|
// Inline function 'org.kodein.di.instance' call
|
|
5769
5769
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -5772,7 +5772,7 @@
|
|
|
5772
5772
|
var tmp$ret$2 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
5773
5773
|
var tmp_7 = Instance(this_1, tmp$ret$2, null);
|
|
5774
5774
|
var tmp_8 = KProperty1;
|
|
5775
|
-
tmp_5.
|
|
5775
|
+
tmp_5.se8_1 = tmp_7.c1h(this, getPropertyCallableRef('helper', 1, tmp_8, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
|
|
5776
5776
|
var tmp_9 = this;
|
|
5777
5777
|
// Inline function 'org.kodein.di.instance' call
|
|
5778
5778
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -5781,7 +5781,7 @@
|
|
|
5781
5781
|
var tmp$ret$4 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
5782
5782
|
var tmp_11 = Instance(this_2, tmp$ret$4, null);
|
|
5783
5783
|
var tmp_12 = KProperty1;
|
|
5784
|
-
tmp_9.
|
|
5784
|
+
tmp_9.te8_1 = tmp_11.c1h(this, getPropertyCallableRef('serverHelper', 1, tmp_12, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
|
|
5785
5785
|
var tmp_13 = this;
|
|
5786
5786
|
// Inline function 'org.kodein.di.instance' call
|
|
5787
5787
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -5790,7 +5790,7 @@
|
|
|
5790
5790
|
var tmp$ret$6 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
5791
5791
|
var tmp_15 = Instance(this_3, tmp$ret$6, null);
|
|
5792
5792
|
var tmp_16 = KProperty1;
|
|
5793
|
-
tmp_13.
|
|
5793
|
+
tmp_13.ue8_1 = tmp_15.c1h(this, getPropertyCallableRef('resources', 1, tmp_16, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
|
|
5794
5794
|
var tmp_17 = this;
|
|
5795
5795
|
// Inline function 'org.kodein.di.instance' call
|
|
5796
5796
|
var this_4 = _get_di__ndbzja(this);
|
|
@@ -5799,7 +5799,7 @@
|
|
|
5799
5799
|
var tmp$ret$8 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
5800
5800
|
var tmp_19 = Instance(this_4, tmp$ret$8, null);
|
|
5801
5801
|
var tmp_20 = KProperty1;
|
|
5802
|
-
tmp_17.
|
|
5802
|
+
tmp_17.ve8_1 = tmp_19.c1h(this, getPropertyCallableRef('test', 1, tmp_20, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
|
|
5803
5803
|
var tmp_21 = this;
|
|
5804
5804
|
// Inline function 'org.kodein.di.instance' call
|
|
5805
5805
|
var this_5 = _get_di__ndbzja(this);
|
|
@@ -5808,57 +5808,57 @@
|
|
|
5808
5808
|
var tmp$ret$10 = isInterface(tmp_22, TypeToken) ? tmp_22 : THROW_CCE();
|
|
5809
5809
|
var tmp_23 = Instance(this_5, tmp$ret$10, null);
|
|
5810
5810
|
var tmp_24 = KProperty1;
|
|
5811
|
-
tmp_21.
|
|
5811
|
+
tmp_21.we8_1 = tmp_23.c1h(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_24, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
|
|
5812
5812
|
}
|
|
5813
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5814
|
-
var tmp0 = this.
|
|
5813
|
+
protoOf(GameServerEngineControllerImpl).xdm = function () {
|
|
5814
|
+
var tmp0 = this.re8_1;
|
|
5815
5815
|
var tmp = KProperty1;
|
|
5816
5816
|
// Inline function 'kotlin.getValue' call
|
|
5817
5817
|
getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
|
|
5818
5818
|
return tmp0.w();
|
|
5819
5819
|
};
|
|
5820
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5821
|
-
var tmp0 = this.
|
|
5820
|
+
protoOf(GameServerEngineControllerImpl).ie8 = function () {
|
|
5821
|
+
var tmp0 = this.se8_1;
|
|
5822
5822
|
var tmp = KProperty1;
|
|
5823
5823
|
// Inline function 'kotlin.getValue' call
|
|
5824
5824
|
getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
|
|
5825
5825
|
return tmp0.w();
|
|
5826
5826
|
};
|
|
5827
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5828
|
-
var tmp0 = this.
|
|
5827
|
+
protoOf(GameServerEngineControllerImpl).je8 = function () {
|
|
5828
|
+
var tmp0 = this.te8_1;
|
|
5829
5829
|
var tmp = KProperty1;
|
|
5830
5830
|
// Inline function 'kotlin.getValue' call
|
|
5831
5831
|
getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
|
|
5832
5832
|
return tmp0.w();
|
|
5833
5833
|
};
|
|
5834
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5835
|
-
var tmp0 = this.
|
|
5834
|
+
protoOf(GameServerEngineControllerImpl).ke8 = function () {
|
|
5835
|
+
var tmp0 = this.ue8_1;
|
|
5836
5836
|
var tmp = KProperty1;
|
|
5837
5837
|
// Inline function 'kotlin.getValue' call
|
|
5838
5838
|
getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
|
|
5839
5839
|
return tmp0.w();
|
|
5840
5840
|
};
|
|
5841
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5842
|
-
var tmp0 = this.
|
|
5841
|
+
protoOf(GameServerEngineControllerImpl).he8 = function () {
|
|
5842
|
+
var tmp0 = this.ve8_1;
|
|
5843
5843
|
var tmp = KProperty1;
|
|
5844
5844
|
// Inline function 'kotlin.getValue' call
|
|
5845
5845
|
getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
|
|
5846
5846
|
return tmp0.w();
|
|
5847
5847
|
};
|
|
5848
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5849
|
-
var tmp0 = this.
|
|
5848
|
+
protoOf(GameServerEngineControllerImpl).le8 = function () {
|
|
5849
|
+
var tmp0 = this.we8_1;
|
|
5850
5850
|
var tmp = KProperty1;
|
|
5851
5851
|
// Inline function 'kotlin.getValue' call
|
|
5852
5852
|
getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
|
|
5853
5853
|
return tmp0.w();
|
|
5854
5854
|
};
|
|
5855
5855
|
protoOf(GameServerEngineControllerImpl).setEnableLogger = function (enabled) {
|
|
5856
|
-
Logger_getInstance().
|
|
5856
|
+
Logger_getInstance().w52_1 = enabled;
|
|
5857
5857
|
};
|
|
5858
5858
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
5859
5859
|
return this.createGameEngineWithLogic();
|
|
5860
5860
|
};
|
|
5861
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5861
|
+
protoOf(GameServerEngineControllerImpl).me8 = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig) {
|
|
5862
5862
|
var combinedLogger = Companion_instance_6.mx();
|
|
5863
5863
|
var gameServer = {_v: null};
|
|
5864
5864
|
var tmp0_botConfig = new EngineBotConfig(VOID, VOID, VOID, false);
|
|
@@ -5907,7 +5907,7 @@
|
|
|
5907
5907
|
function TestHelper() {
|
|
5908
5908
|
}
|
|
5909
5909
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
5910
|
-
var tmp0 = $this.
|
|
5910
|
+
var tmp0 = $this.ae9_1;
|
|
5911
5911
|
var tmp = KProperty1;
|
|
5912
5912
|
// Inline function 'kotlin.getValue' call
|
|
5913
5913
|
getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
|
|
@@ -5915,7 +5915,7 @@
|
|
|
5915
5915
|
}
|
|
5916
5916
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
5917
5917
|
return function ($this$singleton) {
|
|
5918
|
-
return this$0.
|
|
5918
|
+
return this$0.ye8_1;
|
|
5919
5919
|
};
|
|
5920
5920
|
}
|
|
5921
5921
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -5954,27 +5954,27 @@
|
|
|
5954
5954
|
return emptyMap();
|
|
5955
5955
|
}
|
|
5956
5956
|
function TestHelperImpl(logger) {
|
|
5957
|
-
this.
|
|
5957
|
+
this.ye8_1 = logger;
|
|
5958
5958
|
var tmp = this;
|
|
5959
5959
|
var tmp_0 = Companion_instance_4;
|
|
5960
|
-
tmp.
|
|
5960
|
+
tmp.ze8_1 = tmp_0.q1b(VOID, TestHelperImpl$di$lambda(this));
|
|
5961
5961
|
var tmp_1 = this;
|
|
5962
5962
|
// Inline function 'org.kodein.di.instance' call
|
|
5963
|
-
var this_0 = this.
|
|
5963
|
+
var this_0 = this.ze8_1;
|
|
5964
5964
|
// Inline function 'org.kodein.type.generic' call
|
|
5965
5965
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
5966
5966
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5967
5967
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
5968
5968
|
var tmp_4 = KProperty1;
|
|
5969
|
-
tmp_1.
|
|
5969
|
+
tmp_1.ae9_1 = tmp_3.c1h(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
5970
5970
|
}
|
|
5971
5971
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
5972
|
-
return _get_playerAnswerInteractor__msggz1(this).
|
|
5972
|
+
return _get_playerAnswerInteractor__msggz1(this).u95(playerId, table, botConfig);
|
|
5973
5973
|
};
|
|
5974
5974
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
5975
5975
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
5976
5976
|
if (isInterface(mechanicAction, NextPlayerTurnAction)) {
|
|
5977
|
-
var tmp0 = mechanicAction.
|
|
5977
|
+
var tmp0 = mechanicAction.r9g();
|
|
5978
5978
|
var tmp$ret$0;
|
|
5979
5979
|
$l$block_0: {
|
|
5980
5980
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -6006,7 +6006,7 @@
|
|
|
6006
6006
|
};
|
|
6007
6007
|
protoOf(TestHelperImpl).getPlayerAnswerFromMechanicAction = function (table, currentPlayerId, action, botConfig) {
|
|
6008
6008
|
if (isInterface(action, NextPlayerTurnAction)) {
|
|
6009
|
-
var tmp0 = action.
|
|
6009
|
+
var tmp0 = action.r9g();
|
|
6010
6010
|
var tmp$ret$0;
|
|
6011
6011
|
$l$block_0: {
|
|
6012
6012
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -6039,14 +6039,14 @@
|
|
|
6039
6039
|
function RoomMetadata() {
|
|
6040
6040
|
var tmp = this;
|
|
6041
6041
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
6042
|
-
tmp.
|
|
6042
|
+
tmp.be9_1 = LinkedHashMap_init_$Create$();
|
|
6043
6043
|
this.extras = {};
|
|
6044
|
-
this.extras = this.
|
|
6044
|
+
this.extras = this.be9_1;
|
|
6045
6045
|
}
|
|
6046
|
-
protoOf(RoomMetadata).
|
|
6046
|
+
protoOf(RoomMetadata).ce9 = function () {
|
|
6047
6047
|
return this.extras;
|
|
6048
6048
|
};
|
|
6049
|
-
protoOf(RoomMetadata).
|
|
6049
|
+
protoOf(RoomMetadata).ce9 = function () {
|
|
6050
6050
|
return this.extras;
|
|
6051
6051
|
};
|
|
6052
6052
|
protoOf(RoomMetadata).getGame = function (gameId) {
|
|
@@ -6064,16 +6064,16 @@
|
|
|
6064
6064
|
};
|
|
6065
6065
|
protoOf(RoomMetadata).addGame = function (gameId, game) {
|
|
6066
6066
|
// Inline function 'kotlin.collections.set' call
|
|
6067
|
-
this.
|
|
6067
|
+
this.be9_1.l2(gameId, game);
|
|
6068
6068
|
};
|
|
6069
6069
|
function GameMetadata(gameId) {
|
|
6070
6070
|
this.gameId = gameId;
|
|
6071
6071
|
this.extras = {};
|
|
6072
6072
|
}
|
|
6073
|
-
protoOf(GameMetadata).
|
|
6073
|
+
protoOf(GameMetadata).x5j = function () {
|
|
6074
6074
|
return this.gameId;
|
|
6075
6075
|
};
|
|
6076
|
-
protoOf(GameMetadata).
|
|
6076
|
+
protoOf(GameMetadata).ce9 = function () {
|
|
6077
6077
|
return this.extras;
|
|
6078
6078
|
};
|
|
6079
6079
|
function serverHelpersModule() {
|
|
@@ -6128,70 +6128,70 @@
|
|
|
6128
6128
|
}
|
|
6129
6129
|
//region block: post-declaration
|
|
6130
6130
|
defineProp(protoOf(GameServer$roomOnCreate$2$updatedUsers$previousTeams$1), 'playerId', function () {
|
|
6131
|
-
return this.
|
|
6131
|
+
return this.h6e();
|
|
6132
6132
|
});
|
|
6133
6133
|
protoOf(GameServer).roomOnCreate = roomOnCreate;
|
|
6134
6134
|
protoOf(GameServer).roomOnDelete = roomOnDelete;
|
|
6135
6135
|
protoOf(GameServer).shutdown = shutdown;
|
|
6136
6136
|
defineProp(protoOf(GameServer), 'metadata', function () {
|
|
6137
|
-
return this.
|
|
6137
|
+
return this.w8z();
|
|
6138
6138
|
});
|
|
6139
6139
|
defineProp(protoOf(GameServer), 'id', function () {
|
|
6140
|
-
return this.
|
|
6140
|
+
return this.t5j();
|
|
6141
6141
|
});
|
|
6142
6142
|
defineProp(protoOf(GameServer), 'table', function () {
|
|
6143
|
-
return this.
|
|
6143
|
+
return this.z6x();
|
|
6144
6144
|
});
|
|
6145
6145
|
defineProp(protoOf(GameServer), 'isTableExists', function () {
|
|
6146
|
-
return this.
|
|
6146
|
+
return this.a6y();
|
|
6147
6147
|
});
|
|
6148
6148
|
defineProp(protoOf(GameServer), 'gameLifecycleState', function () {
|
|
6149
|
-
return this.
|
|
6149
|
+
return this.b6y();
|
|
6150
6150
|
});
|
|
6151
6151
|
protoOf($serializer).wz = typeParametersSerializers;
|
|
6152
6152
|
defineProp(protoOf(TableStateUpdateDto), 'roomId', function () {
|
|
6153
|
-
return this.
|
|
6153
|
+
return this.p8w();
|
|
6154
6154
|
});
|
|
6155
6155
|
protoOf($serializer_0).wz = typeParametersSerializers;
|
|
6156
6156
|
defineProp(protoOf(ActionsStateUpdateDto), 'roomId', function () {
|
|
6157
|
-
return this.
|
|
6157
|
+
return this.p8w();
|
|
6158
6158
|
});
|
|
6159
6159
|
defineProp(protoOf(TableStateUpdate), 'roomId', function () {
|
|
6160
|
-
return this.
|
|
6160
|
+
return this.p8w();
|
|
6161
6161
|
});
|
|
6162
6162
|
defineProp(protoOf(ActionsStateUpdate), 'roomId', function () {
|
|
6163
|
-
return this.
|
|
6163
|
+
return this.p8w();
|
|
6164
6164
|
});
|
|
6165
|
-
protoOf(UpdateServerConfigAction).
|
|
6165
|
+
protoOf(UpdateServerConfigAction).m6o = get_actionTag;
|
|
6166
6166
|
defineProp(protoOf(UpdateServerConfigAction), 'actionTag', function () {
|
|
6167
|
-
return this.
|
|
6167
|
+
return this.m6o();
|
|
6168
6168
|
});
|
|
6169
|
-
protoOf(AddSpectatorsAction).
|
|
6169
|
+
protoOf(AddSpectatorsAction).m6o = get_actionTag;
|
|
6170
6170
|
defineProp(protoOf(AddSpectatorsAction), 'actionTag', function () {
|
|
6171
|
-
return this.
|
|
6171
|
+
return this.m6o();
|
|
6172
6172
|
});
|
|
6173
|
-
protoOf(RemoveSpectatorsAction).
|
|
6173
|
+
protoOf(RemoveSpectatorsAction).m6o = get_actionTag;
|
|
6174
6174
|
defineProp(protoOf(RemoveSpectatorsAction), 'actionTag', function () {
|
|
6175
|
-
return this.
|
|
6175
|
+
return this.m6o();
|
|
6176
6176
|
});
|
|
6177
6177
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
6178
6178
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
6179
|
-
return this.
|
|
6179
|
+
return this.xdm();
|
|
6180
6180
|
});
|
|
6181
6181
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
6182
|
-
return this.
|
|
6182
|
+
return this.ie8();
|
|
6183
6183
|
});
|
|
6184
6184
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
6185
|
-
return this.
|
|
6185
|
+
return this.je8();
|
|
6186
6186
|
});
|
|
6187
6187
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
6188
|
-
return this.
|
|
6188
|
+
return this.ke8();
|
|
6189
6189
|
});
|
|
6190
6190
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
6191
|
-
return this.
|
|
6191
|
+
return this.he8();
|
|
6192
6192
|
});
|
|
6193
6193
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
6194
|
-
return this.
|
|
6194
|
+
return this.le8();
|
|
6195
6195
|
});
|
|
6196
6196
|
//endregion
|
|
6197
6197
|
//region block: init
|