raspberry_games_server_game_logic 1.8.418 → 1.8.419
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/Logic_Debertz-ai_module.js.map +1 -1
- package/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-engine.js +866 -849
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.d.ts +13 -11
- package/Logic_Debertz-game_server.js +884 -889
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlinx-coroutines-core.js +9 -9
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -140,6 +140,9 @@
|
|
|
140
140
|
var plus = kotlin_kotlin.$_$.r8;
|
|
141
141
|
var GameStore = kotlin_io_raspberryapps_game_engine_engine.$_$.t4;
|
|
142
142
|
var toString_0 = kotlin_kotlin.$_$.si;
|
|
143
|
+
var mapToFinishReason = kotlin_io_raspberryapps_game_engine_core.$_$.q;
|
|
144
|
+
var Companion_instance_1 = kotlin_io_raspberryapps_game_engine_engine.$_$.d5;
|
|
145
|
+
var CombinedToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.n1;
|
|
143
146
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.p1;
|
|
144
147
|
var mapOf = kotlin_kotlin.$_$.j8;
|
|
145
148
|
var Enum = kotlin_kotlin.$_$.eh;
|
|
@@ -173,7 +176,6 @@
|
|
|
173
176
|
var StateProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.u4;
|
|
174
177
|
var GameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.s4;
|
|
175
178
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.q;
|
|
176
|
-
var CombinedToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.n1;
|
|
177
179
|
var single = kotlin_kotlin.$_$.d9;
|
|
178
180
|
var copyToArray = kotlin_kotlin.$_$.y6;
|
|
179
181
|
var ActionDeliveryPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.m1;
|
|
@@ -187,8 +189,7 @@
|
|
|
187
189
|
var Companion_getInstance = kotlin_kotlin.$_$.v4;
|
|
188
190
|
var DurationUnit_MILLISECONDS_getInstance = kotlin_kotlin.$_$.c;
|
|
189
191
|
var toDuration = kotlin_kotlin.$_$.wg;
|
|
190
|
-
var
|
|
191
|
-
var mapToFinishReason = kotlin_io_raspberryapps_game_engine_core.$_$.q;
|
|
192
|
+
var Companion_instance_2 = kotlin_io_raspberryapps_game_engine_engine.$_$.b5;
|
|
192
193
|
var listOf = kotlin_kotlin.$_$.f8;
|
|
193
194
|
var plus_0 = kotlin_kotlin.$_$.s8;
|
|
194
195
|
var PlayerConnectionChangedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.a3;
|
|
@@ -199,10 +200,9 @@
|
|
|
199
200
|
var TimerType_DELAY_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.m4;
|
|
200
201
|
var StartTimerAction = kotlin_io_raspberryapps_game_engine_core.$_$.e2;
|
|
201
202
|
var AskBotAction_init_$Create$ = kotlin_io_raspberryapps_game_engine_engine.$_$.z4;
|
|
202
|
-
var
|
|
203
|
+
var MechanicException = kotlin_io_raspberryapps_game_engine_core.$_$.b;
|
|
203
204
|
var FinishingGameToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.q1;
|
|
204
205
|
var FinishGameToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.p1;
|
|
205
|
-
var MechanicException = kotlin_io_raspberryapps_game_engine_core.$_$.b;
|
|
206
206
|
var getGameCreator = kotlin_io_raspberryapps_game_engine_engine.$_$.l;
|
|
207
207
|
var UserActionPayload_init_$Create$ = kotlin_io_raspberryapps_game_engine_engine.$_$.y4;
|
|
208
208
|
var mapToClient = kotlin_io_raspberryapps_game_engine_engine.$_$.p;
|
|
@@ -401,10 +401,10 @@
|
|
|
401
401
|
spectators = tmp;
|
|
402
402
|
var tmp_0;
|
|
403
403
|
if ($super === VOID) {
|
|
404
|
-
this.
|
|
404
|
+
this.ua7(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
405
405
|
tmp_0 = Unit_instance;
|
|
406
406
|
} else {
|
|
407
|
-
tmp_0 = $super.
|
|
407
|
+
tmp_0 = $super.ua7.call(this, roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
408
408
|
}
|
|
409
409
|
return tmp_0;
|
|
410
410
|
}
|
|
@@ -412,28 +412,28 @@
|
|
|
412
412
|
newRid = newRid === VOID ? null : newRid;
|
|
413
413
|
var tmp;
|
|
414
414
|
if ($super === VOID) {
|
|
415
|
-
this.
|
|
415
|
+
this.wa7(newRid);
|
|
416
416
|
tmp = Unit_instance;
|
|
417
417
|
} else {
|
|
418
|
-
tmp = $super.
|
|
418
|
+
tmp = $super.wa7.call(this, newRid);
|
|
419
419
|
}
|
|
420
420
|
return tmp;
|
|
421
421
|
}
|
|
422
|
-
function playerLeft(playerId, permanently, $super) {
|
|
423
|
-
permanently = permanently === VOID ? true : permanently;
|
|
424
|
-
return $super === VOID ? this.sa7(playerId, permanently) : $super.sa7.call(this, playerId, permanently);
|
|
425
|
-
}
|
|
426
422
|
function shutdown(reason, roomId, $super) {
|
|
427
423
|
roomId = roomId === VOID ? null : roomId;
|
|
428
424
|
var tmp;
|
|
429
425
|
if ($super === VOID) {
|
|
430
|
-
this.
|
|
426
|
+
this.xa7(reason, roomId);
|
|
431
427
|
tmp = Unit_instance;
|
|
432
428
|
} else {
|
|
433
|
-
tmp = $super.
|
|
429
|
+
tmp = $super.xa7.call(this, reason, roomId);
|
|
434
430
|
}
|
|
435
431
|
return tmp;
|
|
436
432
|
}
|
|
433
|
+
function playerLeft(playerId, permanently, $super) {
|
|
434
|
+
permanently = permanently === VOID ? true : permanently;
|
|
435
|
+
return $super === VOID ? this.ta7(playerId, permanently) : $super.ta7.call(this, playerId, permanently);
|
|
436
|
+
}
|
|
437
437
|
initMetadataForInterface(ServerGameEngineContract, 'ServerGameEngineContract', VOID, VOID, [GameStoreContract]);
|
|
438
438
|
initMetadataForClass(GameServer, 'GameServer', VOID, BaseGame, [BaseGame, ServerGameEngineContract]);
|
|
439
439
|
initMetadataForClass(ServerShutdownReason, 'ServerShutdownReason', VOID, Enum);
|
|
@@ -506,7 +506,7 @@
|
|
|
506
506
|
ratingConfig = ratingConfig === VOID ? new RatingConfig() : ratingConfig;
|
|
507
507
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
508
508
|
botConfig = botConfig === VOID ? new EngineBotConfig(VOID, VOID, VOID, false) : botConfig;
|
|
509
|
-
return $super === VOID ? this.
|
|
509
|
+
return $super === VOID ? this.wad(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, botConfig) : $super.wad.call(this, reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, botConfig);
|
|
510
510
|
}
|
|
511
511
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
512
512
|
initMetadataForClass(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1, VOID, VOID, VOID, [Reducer]);
|
|
@@ -519,17 +519,17 @@
|
|
|
519
519
|
initMetadataForClass(GameMetadata, 'GameMetadata');
|
|
520
520
|
//endregion
|
|
521
521
|
function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
|
|
522
|
-
this.
|
|
522
|
+
this.n9p_1 = $subscriber;
|
|
523
523
|
CoroutineImpl.call(this, resultContinuation);
|
|
524
524
|
}
|
|
525
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
526
|
-
var tmp = this.
|
|
525
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).p9p = function (it, $completion) {
|
|
526
|
+
var tmp = this.q9p(it, $completion);
|
|
527
527
|
tmp.u8_1 = Unit_instance;
|
|
528
528
|
tmp.v8_1 = null;
|
|
529
529
|
return tmp.a9();
|
|
530
530
|
};
|
|
531
531
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).i9 = function (p1, $completion) {
|
|
532
|
-
return this.
|
|
532
|
+
return this.p9p(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
533
533
|
};
|
|
534
534
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).a9 = function () {
|
|
535
535
|
var suspendResult = this.u8_1;
|
|
@@ -538,7 +538,7 @@
|
|
|
538
538
|
var tmp = this.s8_1;
|
|
539
539
|
if (tmp === 0) {
|
|
540
540
|
this.t8_1 = 1;
|
|
541
|
-
this.
|
|
541
|
+
this.n9p_1(this.o9p_1);
|
|
542
542
|
return Unit_instance;
|
|
543
543
|
} else if (tmp === 1) {
|
|
544
544
|
throw this.v8_1;
|
|
@@ -549,31 +549,31 @@
|
|
|
549
549
|
}
|
|
550
550
|
while (true);
|
|
551
551
|
};
|
|
552
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
553
|
-
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.
|
|
554
|
-
i.
|
|
552
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).q9p = function (it, completion) {
|
|
553
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.n9p_1, completion);
|
|
554
|
+
i.o9p_1 = it;
|
|
555
555
|
return i;
|
|
556
556
|
};
|
|
557
557
|
function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
|
|
558
558
|
var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
|
|
559
559
|
var l = function (it, $completion) {
|
|
560
|
-
return i.
|
|
560
|
+
return i.p9p(it, $completion);
|
|
561
561
|
};
|
|
562
562
|
l.$arity = 1;
|
|
563
563
|
return l;
|
|
564
564
|
}
|
|
565
565
|
function GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation) {
|
|
566
|
-
this.
|
|
566
|
+
this.z9p_1 = $subscriber;
|
|
567
567
|
CoroutineImpl.call(this, resultContinuation);
|
|
568
568
|
}
|
|
569
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
570
|
-
var tmp = this.
|
|
569
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).b9q = function (it, $completion) {
|
|
570
|
+
var tmp = this.c9q(it, $completion);
|
|
571
571
|
tmp.u8_1 = Unit_instance;
|
|
572
572
|
tmp.v8_1 = null;
|
|
573
573
|
return tmp.a9();
|
|
574
574
|
};
|
|
575
575
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).i9 = function (p1, $completion) {
|
|
576
|
-
return this.
|
|
576
|
+
return this.b9q((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
|
|
577
577
|
};
|
|
578
578
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).a9 = function () {
|
|
579
579
|
var suspendResult = this.u8_1;
|
|
@@ -582,7 +582,7 @@
|
|
|
582
582
|
var tmp = this.s8_1;
|
|
583
583
|
if (tmp === 0) {
|
|
584
584
|
this.t8_1 = 1;
|
|
585
|
-
this.
|
|
585
|
+
this.z9p_1(this.a9q_1);
|
|
586
586
|
return Unit_instance;
|
|
587
587
|
} else if (tmp === 1) {
|
|
588
588
|
throw this.v8_1;
|
|
@@ -593,22 +593,22 @@
|
|
|
593
593
|
}
|
|
594
594
|
while (true);
|
|
595
595
|
};
|
|
596
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
597
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.
|
|
598
|
-
i.
|
|
596
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).c9q = function (it, completion) {
|
|
597
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.z9p_1, completion);
|
|
598
|
+
i.a9q_1 = it;
|
|
599
599
|
return i;
|
|
600
600
|
};
|
|
601
601
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_0($subscriber, resultContinuation) {
|
|
602
602
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation);
|
|
603
603
|
var l = function (it, $completion) {
|
|
604
|
-
return i.
|
|
604
|
+
return i.b9q(it, $completion);
|
|
605
605
|
};
|
|
606
606
|
l.$arity = 1;
|
|
607
607
|
return l;
|
|
608
608
|
}
|
|
609
609
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
610
|
-
this.
|
|
611
|
-
this.
|
|
610
|
+
this.l9q_1 = $$this$unsafeFlow;
|
|
611
|
+
this.m9q_1 = this$0;
|
|
612
612
|
CoroutineImpl.call(this, resultContinuation);
|
|
613
613
|
}
|
|
614
614
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).w2h = function (value, $completion) {
|
|
@@ -628,10 +628,10 @@
|
|
|
628
628
|
switch (tmp) {
|
|
629
629
|
case 0:
|
|
630
630
|
this.t8_1 = 2;
|
|
631
|
-
var tmp0 = this.
|
|
632
|
-
var value = this.
|
|
631
|
+
var tmp0 = this.l9q_1;
|
|
632
|
+
var value = this.n9q_1;
|
|
633
633
|
this.s8_1 = 1;
|
|
634
|
-
suspendResult = tmp0.n28(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.
|
|
634
|
+
suspendResult = tmp0.n28(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.m9q_1)), this);
|
|
635
635
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
636
636
|
return suspendResult;
|
|
637
637
|
}
|
|
@@ -654,8 +654,8 @@
|
|
|
654
654
|
while (true);
|
|
655
655
|
};
|
|
656
656
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).x2h = function (value, completion) {
|
|
657
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.
|
|
658
|
-
i.
|
|
657
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.l9q_1, this.m9q_1, completion);
|
|
658
|
+
i.n9q_1 = value;
|
|
659
659
|
return i;
|
|
660
660
|
};
|
|
661
661
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
@@ -668,8 +668,8 @@
|
|
|
668
668
|
}
|
|
669
669
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
670
670
|
CoroutineImpl.call(this, resultContinuation);
|
|
671
|
-
this.
|
|
672
|
-
this.
|
|
671
|
+
this.w9q_1 = _this__u8e3s4;
|
|
672
|
+
this.x9q_1 = collector;
|
|
673
673
|
}
|
|
674
674
|
protoOf($collectCOROUTINE$).a9 = function () {
|
|
675
675
|
var suspendResult = this.u8_1;
|
|
@@ -679,10 +679,10 @@
|
|
|
679
679
|
switch (tmp) {
|
|
680
680
|
case 0:
|
|
681
681
|
this.t8_1 = 2;
|
|
682
|
-
var $this$unsafeFlow = this.
|
|
682
|
+
var $this$unsafeFlow = this.x9q_1;
|
|
683
683
|
this.s8_1 = 1;
|
|
684
|
-
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
685
|
-
suspendResult = this.
|
|
684
|
+
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.w9q_1.z9q_1, null);
|
|
685
|
+
suspendResult = this.w9q_1.y9q_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_0), this);
|
|
686
686
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
687
687
|
return suspendResult;
|
|
688
688
|
}
|
|
@@ -705,8 +705,8 @@
|
|
|
705
705
|
while (true);
|
|
706
706
|
};
|
|
707
707
|
function GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1($this, this$0) {
|
|
708
|
-
this.
|
|
709
|
-
this.
|
|
708
|
+
this.y9q_1 = $this;
|
|
709
|
+
this.z9q_1 = this$0;
|
|
710
710
|
}
|
|
711
711
|
protoOf(GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1).o28 = function (collector, $completion) {
|
|
712
712
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
@@ -718,17 +718,17 @@
|
|
|
718
718
|
return this.o28(collector, $completion);
|
|
719
719
|
};
|
|
720
720
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation) {
|
|
721
|
-
this.
|
|
721
|
+
this.i9r_1 = $subscriber;
|
|
722
722
|
CoroutineImpl.call(this, resultContinuation);
|
|
723
723
|
}
|
|
724
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
725
|
-
var tmp = this.
|
|
724
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).k9r = function (it, $completion) {
|
|
725
|
+
var tmp = this.l9r(it, $completion);
|
|
726
726
|
tmp.u8_1 = Unit_instance;
|
|
727
727
|
tmp.v8_1 = null;
|
|
728
728
|
return tmp.a9();
|
|
729
729
|
};
|
|
730
730
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).i9 = function (p1, $completion) {
|
|
731
|
-
return this.
|
|
731
|
+
return this.k9r((!(p1 == null) ? isInterface(p1, ServerStateUpdateDto) : false) ? p1 : THROW_CCE(), $completion);
|
|
732
732
|
};
|
|
733
733
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).a9 = function () {
|
|
734
734
|
var suspendResult = this.u8_1;
|
|
@@ -737,7 +737,7 @@
|
|
|
737
737
|
var tmp = this.s8_1;
|
|
738
738
|
if (tmp === 0) {
|
|
739
739
|
this.t8_1 = 1;
|
|
740
|
-
this.
|
|
740
|
+
this.i9r_1(this.j9r_1);
|
|
741
741
|
return Unit_instance;
|
|
742
742
|
} else if (tmp === 1) {
|
|
743
743
|
throw this.v8_1;
|
|
@@ -748,22 +748,22 @@
|
|
|
748
748
|
}
|
|
749
749
|
while (true);
|
|
750
750
|
};
|
|
751
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
752
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.
|
|
753
|
-
i.
|
|
751
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).l9r = function (it, completion) {
|
|
752
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.i9r_1, completion);
|
|
753
|
+
i.j9r_1 = it;
|
|
754
754
|
return i;
|
|
755
755
|
};
|
|
756
756
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda_0($subscriber, resultContinuation) {
|
|
757
757
|
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation);
|
|
758
758
|
var l = function (it, $completion) {
|
|
759
|
-
return i.
|
|
759
|
+
return i.k9r(it, $completion);
|
|
760
760
|
};
|
|
761
761
|
l.$arity = 1;
|
|
762
762
|
return l;
|
|
763
763
|
}
|
|
764
764
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, $table, resultContinuation) {
|
|
765
|
-
this.
|
|
766
|
-
this.
|
|
765
|
+
this.u9r_1 = $$this$unsafeFlow;
|
|
766
|
+
this.v9r_1 = $table;
|
|
767
767
|
CoroutineImpl.call(this, resultContinuation);
|
|
768
768
|
}
|
|
769
769
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).w2h = function (value, $completion) {
|
|
@@ -783,10 +783,10 @@
|
|
|
783
783
|
switch (tmp) {
|
|
784
784
|
case 0:
|
|
785
785
|
this.t8_1 = 2;
|
|
786
|
-
var tmp0 = this.
|
|
787
|
-
var value = this.
|
|
786
|
+
var tmp0 = this.u9r_1;
|
|
787
|
+
var value = this.w9r_1;
|
|
788
788
|
this.s8_1 = 1;
|
|
789
|
-
suspendResult = tmp0.n28(new ActionsStateUpdate(this.
|
|
789
|
+
suspendResult = tmp0.n28(new ActionsStateUpdate(this.v9r_1.id, value), this);
|
|
790
790
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
791
791
|
return suspendResult;
|
|
792
792
|
}
|
|
@@ -809,8 +809,8 @@
|
|
|
809
809
|
while (true);
|
|
810
810
|
};
|
|
811
811
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).x2h = function (value, completion) {
|
|
812
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.
|
|
813
|
-
i.
|
|
812
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.u9r_1, this.v9r_1, completion);
|
|
813
|
+
i.w9r_1 = value;
|
|
814
814
|
return i;
|
|
815
815
|
};
|
|
816
816
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, $table, resultContinuation) {
|
|
@@ -823,8 +823,8 @@
|
|
|
823
823
|
}
|
|
824
824
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
825
825
|
CoroutineImpl.call(this, resultContinuation);
|
|
826
|
-
this.
|
|
827
|
-
this.
|
|
826
|
+
this.f9s_1 = _this__u8e3s4;
|
|
827
|
+
this.g9s_1 = collector;
|
|
828
828
|
}
|
|
829
829
|
protoOf($collectCOROUTINE$_0).a9 = function () {
|
|
830
830
|
var suspendResult = this.u8_1;
|
|
@@ -834,10 +834,10 @@
|
|
|
834
834
|
switch (tmp) {
|
|
835
835
|
case 0:
|
|
836
836
|
this.t8_1 = 2;
|
|
837
|
-
var $this$unsafeFlow = this.
|
|
837
|
+
var $this$unsafeFlow = this.g9s_1;
|
|
838
838
|
this.s8_1 = 1;
|
|
839
|
-
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
840
|
-
suspendResult = this.
|
|
839
|
+
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.f9s_1.i9s_1, null);
|
|
840
|
+
suspendResult = this.f9s_1.h9s_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
841
841
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
842
842
|
return suspendResult;
|
|
843
843
|
}
|
|
@@ -860,8 +860,8 @@
|
|
|
860
860
|
while (true);
|
|
861
861
|
};
|
|
862
862
|
function _no_name_provided__qut3iv($this, $table) {
|
|
863
|
-
this.
|
|
864
|
-
this.
|
|
863
|
+
this.h9s_1 = $this;
|
|
864
|
+
this.i9s_1 = $table;
|
|
865
865
|
}
|
|
866
866
|
protoOf(_no_name_provided__qut3iv).o28 = function (collector, $completion) {
|
|
867
867
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
@@ -873,18 +873,18 @@
|
|
|
873
873
|
return this.o28(collector, $completion);
|
|
874
874
|
};
|
|
875
875
|
function GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation) {
|
|
876
|
-
this.
|
|
877
|
-
this.
|
|
876
|
+
this.r9s_1 = $table;
|
|
877
|
+
this.s9s_1 = this$0;
|
|
878
878
|
CoroutineImpl.call(this, resultContinuation);
|
|
879
879
|
}
|
|
880
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
881
|
-
var tmp = this.
|
|
880
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).u9s = function ($this$flow, $completion) {
|
|
881
|
+
var tmp = this.v9s($this$flow, $completion);
|
|
882
882
|
tmp.u8_1 = Unit_instance;
|
|
883
883
|
tmp.v8_1 = null;
|
|
884
884
|
return tmp.a9();
|
|
885
885
|
};
|
|
886
886
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).i9 = function (p1, $completion) {
|
|
887
|
-
return this.
|
|
887
|
+
return this.u9s((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
888
888
|
};
|
|
889
889
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).a9 = function () {
|
|
890
890
|
var suspendResult = this.u8_1;
|
|
@@ -895,7 +895,7 @@
|
|
|
895
895
|
case 0:
|
|
896
896
|
this.t8_1 = 3;
|
|
897
897
|
this.s8_1 = 1;
|
|
898
|
-
suspendResult = this.
|
|
898
|
+
suspendResult = this.t9s_1.n28(new TableStateUpdate(this.r9s_1.id, this.r9s_1), this);
|
|
899
899
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
900
900
|
return suspendResult;
|
|
901
901
|
}
|
|
@@ -903,8 +903,8 @@
|
|
|
903
903
|
continue $sm;
|
|
904
904
|
case 1:
|
|
905
905
|
this.s8_1 = 2;
|
|
906
|
-
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.
|
|
907
|
-
suspendResult = emitAll(this.
|
|
906
|
+
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.s9s_1).h8r(), fromInt(_get_serverReduxConfig__rprcrm(this.s9s_1).serverStateUpdateIntervalMillis));
|
|
907
|
+
suspendResult = emitAll(this.t9s_1, new _no_name_provided__qut3iv(this_0, this.r9s_1), this);
|
|
908
908
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
909
909
|
return suspendResult;
|
|
910
910
|
}
|
|
@@ -926,22 +926,22 @@
|
|
|
926
926
|
}
|
|
927
927
|
while (true);
|
|
928
928
|
};
|
|
929
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
930
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.
|
|
931
|
-
i.
|
|
929
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).v9s = function ($this$flow, completion) {
|
|
930
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.r9s_1, this.s9s_1, completion);
|
|
931
|
+
i.t9s_1 = $this$flow;
|
|
932
932
|
return i;
|
|
933
933
|
};
|
|
934
934
|
function GameServer$observeTableStateUpdates$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
935
935
|
var i = new GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation);
|
|
936
936
|
var l = function ($this$flow, $completion) {
|
|
937
|
-
return i.
|
|
937
|
+
return i.u9s($this$flow, $completion);
|
|
938
938
|
};
|
|
939
939
|
l.$arity = 1;
|
|
940
940
|
return l;
|
|
941
941
|
}
|
|
942
942
|
function GameServer$observeTableStateUpdates$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
943
|
-
this.
|
|
944
|
-
this.
|
|
943
|
+
this.e9t_1 = $$this$unsafeFlow;
|
|
944
|
+
this.f9t_1 = this$0;
|
|
945
945
|
CoroutineImpl.call(this, resultContinuation);
|
|
946
946
|
}
|
|
947
947
|
protoOf(GameServer$observeTableStateUpdates$o$collect$slambda).w2h = function (value, $completion) {
|
|
@@ -962,16 +962,16 @@
|
|
|
962
962
|
case 0:
|
|
963
963
|
this.t8_1 = 5;
|
|
964
964
|
var tmp_0 = this;
|
|
965
|
-
tmp_0.
|
|
965
|
+
tmp_0.k9t_1 = this.e9t_1;
|
|
966
966
|
var tmp_1 = this;
|
|
967
|
-
tmp_1.
|
|
967
|
+
tmp_1.j9t_1 = this.g9t_1;
|
|
968
968
|
this.s8_1 = 1;
|
|
969
969
|
continue $sm;
|
|
970
970
|
case 1:
|
|
971
|
-
this.
|
|
972
|
-
var it = this.
|
|
971
|
+
this.h9t_1 = this.k9t_1;
|
|
972
|
+
var it = this.j9t_1;
|
|
973
973
|
var tmp_2;
|
|
974
|
-
if (get_isCreated(this.
|
|
974
|
+
if (get_isCreated(this.f9t_1.t66())) {
|
|
975
975
|
tmp_2 = it;
|
|
976
976
|
} else {
|
|
977
977
|
tmp_2 = null;
|
|
@@ -983,15 +983,15 @@
|
|
|
983
983
|
var tmp_3 = this;
|
|
984
984
|
continue $sm;
|
|
985
985
|
} else {
|
|
986
|
-
this.
|
|
986
|
+
this.i9t_1 = tmp0_elvis_lhs;
|
|
987
987
|
this.s8_1 = 2;
|
|
988
988
|
continue $sm;
|
|
989
989
|
}
|
|
990
990
|
|
|
991
991
|
case 2:
|
|
992
|
-
var transformed = this.
|
|
992
|
+
var transformed = this.i9t_1;
|
|
993
993
|
this.s8_1 = 3;
|
|
994
|
-
suspendResult = this.
|
|
994
|
+
suspendResult = this.h9t_1.n28(transformed, this);
|
|
995
995
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
996
996
|
return suspendResult;
|
|
997
997
|
}
|
|
@@ -1022,8 +1022,8 @@
|
|
|
1022
1022
|
while (true);
|
|
1023
1023
|
};
|
|
1024
1024
|
protoOf(GameServer$observeTableStateUpdates$o$collect$slambda).x2h = function (value, completion) {
|
|
1025
|
-
var i = new GameServer$observeTableStateUpdates$o$collect$slambda(this.
|
|
1026
|
-
i.
|
|
1025
|
+
var i = new GameServer$observeTableStateUpdates$o$collect$slambda(this.e9t_1, this.f9t_1, completion);
|
|
1026
|
+
i.g9t_1 = value;
|
|
1027
1027
|
return i;
|
|
1028
1028
|
};
|
|
1029
1029
|
function GameServer$observeTableStateUpdates$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
@@ -1036,8 +1036,8 @@
|
|
|
1036
1036
|
}
|
|
1037
1037
|
function $collectCOROUTINE$_1(_this__u8e3s4, collector, resultContinuation) {
|
|
1038
1038
|
CoroutineImpl.call(this, resultContinuation);
|
|
1039
|
-
this.
|
|
1040
|
-
this.
|
|
1039
|
+
this.t9t_1 = _this__u8e3s4;
|
|
1040
|
+
this.u9t_1 = collector;
|
|
1041
1041
|
}
|
|
1042
1042
|
protoOf($collectCOROUTINE$_1).a9 = function () {
|
|
1043
1043
|
var suspendResult = this.u8_1;
|
|
@@ -1047,10 +1047,10 @@
|
|
|
1047
1047
|
switch (tmp) {
|
|
1048
1048
|
case 0:
|
|
1049
1049
|
this.t8_1 = 2;
|
|
1050
|
-
var $this$unsafeFlow = this.
|
|
1050
|
+
var $this$unsafeFlow = this.u9t_1;
|
|
1051
1051
|
this.s8_1 = 1;
|
|
1052
|
-
var tmp_0 = GameServer$observeTableStateUpdates$o$collect$slambda_0($this$unsafeFlow, this.
|
|
1053
|
-
suspendResult = this.
|
|
1052
|
+
var tmp_0 = GameServer$observeTableStateUpdates$o$collect$slambda_0($this$unsafeFlow, this.t9t_1.w9t_1, null);
|
|
1053
|
+
suspendResult = this.t9t_1.v9t_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
1054
1054
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1055
1055
|
return suspendResult;
|
|
1056
1056
|
}
|
|
@@ -1073,7 +1073,7 @@
|
|
|
1073
1073
|
while (true);
|
|
1074
1074
|
};
|
|
1075
1075
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
1076
|
-
this.
|
|
1076
|
+
this.f9u_1 = $$this$unsafeFlow;
|
|
1077
1077
|
CoroutineImpl.call(this, resultContinuation);
|
|
1078
1078
|
}
|
|
1079
1079
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).w2h = function (value, $completion) {
|
|
@@ -1094,28 +1094,28 @@
|
|
|
1094
1094
|
case 0:
|
|
1095
1095
|
this.t8_1 = 5;
|
|
1096
1096
|
var tmp_0 = this;
|
|
1097
|
-
tmp_0.
|
|
1097
|
+
tmp_0.k9u_1 = this.f9u_1;
|
|
1098
1098
|
var tmp_1 = this;
|
|
1099
|
-
tmp_1.
|
|
1099
|
+
tmp_1.j9u_1 = this.g9u_1;
|
|
1100
1100
|
this.s8_1 = 1;
|
|
1101
1101
|
continue $sm;
|
|
1102
1102
|
case 1:
|
|
1103
|
-
this.
|
|
1104
|
-
var tmp0_elvis_lhs = this.
|
|
1103
|
+
this.h9u_1 = this.k9u_1;
|
|
1104
|
+
var tmp0_elvis_lhs = this.j9u_1.tableOrNull;
|
|
1105
1105
|
if (tmp0_elvis_lhs == null) {
|
|
1106
1106
|
this.s8_1 = 4;
|
|
1107
1107
|
var tmp_2 = this;
|
|
1108
1108
|
continue $sm;
|
|
1109
1109
|
} else {
|
|
1110
|
-
this.
|
|
1110
|
+
this.i9u_1 = tmp0_elvis_lhs;
|
|
1111
1111
|
this.s8_1 = 2;
|
|
1112
1112
|
continue $sm;
|
|
1113
1113
|
}
|
|
1114
1114
|
|
|
1115
1115
|
case 2:
|
|
1116
|
-
var transformed = this.
|
|
1116
|
+
var transformed = this.i9u_1;
|
|
1117
1117
|
this.s8_1 = 3;
|
|
1118
|
-
suspendResult = this.
|
|
1118
|
+
suspendResult = this.h9u_1.n28(transformed, this);
|
|
1119
1119
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1120
1120
|
return suspendResult;
|
|
1121
1121
|
}
|
|
@@ -1146,8 +1146,8 @@
|
|
|
1146
1146
|
while (true);
|
|
1147
1147
|
};
|
|
1148
1148
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).x2h = function (value, completion) {
|
|
1149
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
1150
|
-
i.
|
|
1149
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.f9u_1, completion);
|
|
1150
|
+
i.g9u_1 = value;
|
|
1151
1151
|
return i;
|
|
1152
1152
|
};
|
|
1153
1153
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1160,8 +1160,8 @@
|
|
|
1160
1160
|
}
|
|
1161
1161
|
function $collectCOROUTINE$_2(_this__u8e3s4, collector, resultContinuation) {
|
|
1162
1162
|
CoroutineImpl.call(this, resultContinuation);
|
|
1163
|
-
this.
|
|
1164
|
-
this.
|
|
1163
|
+
this.t9u_1 = _this__u8e3s4;
|
|
1164
|
+
this.u9u_1 = collector;
|
|
1165
1165
|
}
|
|
1166
1166
|
protoOf($collectCOROUTINE$_2).a9 = function () {
|
|
1167
1167
|
var suspendResult = this.u8_1;
|
|
@@ -1171,10 +1171,10 @@
|
|
|
1171
1171
|
switch (tmp) {
|
|
1172
1172
|
case 0:
|
|
1173
1173
|
this.t8_1 = 2;
|
|
1174
|
-
var $this$unsafeFlow = this.
|
|
1174
|
+
var $this$unsafeFlow = this.u9u_1;
|
|
1175
1175
|
this.s8_1 = 1;
|
|
1176
1176
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($this$unsafeFlow, null);
|
|
1177
|
-
suspendResult = this.
|
|
1177
|
+
suspendResult = this.t9u_1.v9u_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1178
1178
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1179
1179
|
return suspendResult;
|
|
1180
1180
|
}
|
|
@@ -1197,7 +1197,7 @@
|
|
|
1197
1197
|
while (true);
|
|
1198
1198
|
};
|
|
1199
1199
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_1($$this$unsafeFlow, resultContinuation) {
|
|
1200
|
-
this.
|
|
1200
|
+
this.e9v_1 = $$this$unsafeFlow;
|
|
1201
1201
|
CoroutineImpl.call(this, resultContinuation);
|
|
1202
1202
|
}
|
|
1203
1203
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).w2h = function (value, $completion) {
|
|
@@ -1217,8 +1217,8 @@
|
|
|
1217
1217
|
switch (tmp) {
|
|
1218
1218
|
case 0:
|
|
1219
1219
|
this.t8_1 = 2;
|
|
1220
|
-
var tmp0 = this.
|
|
1221
|
-
var value = this.
|
|
1220
|
+
var tmp0 = this.e9v_1;
|
|
1221
|
+
var value = this.f9v_1;
|
|
1222
1222
|
this.s8_1 = 1;
|
|
1223
1223
|
suspendResult = tmp0.n28(to(value.gameInfo.roundNumberTotal, value), this);
|
|
1224
1224
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1243,8 +1243,8 @@
|
|
|
1243
1243
|
while (true);
|
|
1244
1244
|
};
|
|
1245
1245
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).x2h = function (value, completion) {
|
|
1246
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.
|
|
1247
|
-
i.
|
|
1246
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.e9v_1, completion);
|
|
1247
|
+
i.f9v_1 = value;
|
|
1248
1248
|
return i;
|
|
1249
1249
|
};
|
|
1250
1250
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1257,8 +1257,8 @@
|
|
|
1257
1257
|
}
|
|
1258
1258
|
function $collectCOROUTINE$_3(_this__u8e3s4, collector, resultContinuation) {
|
|
1259
1259
|
CoroutineImpl.call(this, resultContinuation);
|
|
1260
|
-
this.
|
|
1261
|
-
this.
|
|
1260
|
+
this.o9v_1 = _this__u8e3s4;
|
|
1261
|
+
this.p9v_1 = collector;
|
|
1262
1262
|
}
|
|
1263
1263
|
protoOf($collectCOROUTINE$_3).a9 = function () {
|
|
1264
1264
|
var suspendResult = this.u8_1;
|
|
@@ -1268,10 +1268,10 @@
|
|
|
1268
1268
|
switch (tmp) {
|
|
1269
1269
|
case 0:
|
|
1270
1270
|
this.t8_1 = 2;
|
|
1271
|
-
var $this$unsafeFlow = this.
|
|
1271
|
+
var $this$unsafeFlow = this.p9v_1;
|
|
1272
1272
|
this.s8_1 = 1;
|
|
1273
1273
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($this$unsafeFlow, null);
|
|
1274
|
-
suspendResult = this.
|
|
1274
|
+
suspendResult = this.o9v_1.q9v_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1275
1275
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1276
1276
|
return suspendResult;
|
|
1277
1277
|
}
|
|
@@ -1294,7 +1294,7 @@
|
|
|
1294
1294
|
while (true);
|
|
1295
1295
|
};
|
|
1296
1296
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_3($$this$unsafeFlow, resultContinuation) {
|
|
1297
|
-
this.
|
|
1297
|
+
this.z9v_1 = $$this$unsafeFlow;
|
|
1298
1298
|
CoroutineImpl.call(this, resultContinuation);
|
|
1299
1299
|
}
|
|
1300
1300
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).w2h = function (value, $completion) {
|
|
@@ -1314,8 +1314,8 @@
|
|
|
1314
1314
|
switch (tmp) {
|
|
1315
1315
|
case 0:
|
|
1316
1316
|
this.t8_1 = 2;
|
|
1317
|
-
var tmp0 = this.
|
|
1318
|
-
var value = this.
|
|
1317
|
+
var tmp0 = this.z9v_1;
|
|
1318
|
+
var value = this.a9w_1;
|
|
1319
1319
|
this.s8_1 = 1;
|
|
1320
1320
|
suspendResult = tmp0.n28(value.ne_1, this);
|
|
1321
1321
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1340,8 +1340,8 @@
|
|
|
1340
1340
|
while (true);
|
|
1341
1341
|
};
|
|
1342
1342
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).x2h = function (value, completion) {
|
|
1343
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.
|
|
1344
|
-
i.
|
|
1343
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.z9v_1, completion);
|
|
1344
|
+
i.a9w_1 = value;
|
|
1345
1345
|
return i;
|
|
1346
1346
|
};
|
|
1347
1347
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1354,8 +1354,8 @@
|
|
|
1354
1354
|
}
|
|
1355
1355
|
function $collectCOROUTINE$_4(_this__u8e3s4, collector, resultContinuation) {
|
|
1356
1356
|
CoroutineImpl.call(this, resultContinuation);
|
|
1357
|
-
this.
|
|
1358
|
-
this.
|
|
1357
|
+
this.j9w_1 = _this__u8e3s4;
|
|
1358
|
+
this.k9w_1 = collector;
|
|
1359
1359
|
}
|
|
1360
1360
|
protoOf($collectCOROUTINE$_4).a9 = function () {
|
|
1361
1361
|
var suspendResult = this.u8_1;
|
|
@@ -1365,10 +1365,10 @@
|
|
|
1365
1365
|
switch (tmp) {
|
|
1366
1366
|
case 0:
|
|
1367
1367
|
this.t8_1 = 2;
|
|
1368
|
-
var $this$unsafeFlow = this.
|
|
1368
|
+
var $this$unsafeFlow = this.k9w_1;
|
|
1369
1369
|
this.s8_1 = 1;
|
|
1370
1370
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($this$unsafeFlow, null);
|
|
1371
|
-
suspendResult = this.
|
|
1371
|
+
suspendResult = this.j9w_1.l9w_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1372
1372
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1373
1373
|
return suspendResult;
|
|
1374
1374
|
}
|
|
@@ -1391,17 +1391,17 @@
|
|
|
1391
1391
|
while (true);
|
|
1392
1392
|
};
|
|
1393
1393
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
1394
|
-
this.
|
|
1394
|
+
this.u9w_1 = $subscriber;
|
|
1395
1395
|
CoroutineImpl.call(this, resultContinuation);
|
|
1396
1396
|
}
|
|
1397
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1398
|
-
var tmp = this.
|
|
1397
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).w9w = function (it, $completion) {
|
|
1398
|
+
var tmp = this.x9w(it, $completion);
|
|
1399
1399
|
tmp.u8_1 = Unit_instance;
|
|
1400
1400
|
tmp.v8_1 = null;
|
|
1401
1401
|
return tmp.a9();
|
|
1402
1402
|
};
|
|
1403
1403
|
protoOf(GameServer$subscribeWith$slambda$slambda).i9 = function (p1, $completion) {
|
|
1404
|
-
return this.
|
|
1404
|
+
return this.w9w(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
1405
1405
|
};
|
|
1406
1406
|
protoOf(GameServer$subscribeWith$slambda$slambda).a9 = function () {
|
|
1407
1407
|
var suspendResult = this.u8_1;
|
|
@@ -1410,7 +1410,7 @@
|
|
|
1410
1410
|
var tmp = this.s8_1;
|
|
1411
1411
|
if (tmp === 0) {
|
|
1412
1412
|
this.t8_1 = 1;
|
|
1413
|
-
this.
|
|
1413
|
+
this.u9w_1(this.v9w_1);
|
|
1414
1414
|
return Unit_instance;
|
|
1415
1415
|
} else if (tmp === 1) {
|
|
1416
1416
|
throw this.v8_1;
|
|
@@ -1421,91 +1421,91 @@
|
|
|
1421
1421
|
}
|
|
1422
1422
|
while (true);
|
|
1423
1423
|
};
|
|
1424
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1425
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
1426
|
-
i.
|
|
1424
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).x9w = function (it, completion) {
|
|
1425
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.u9w_1, completion);
|
|
1426
|
+
i.v9w_1 = it;
|
|
1427
1427
|
return i;
|
|
1428
1428
|
};
|
|
1429
1429
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
1430
1430
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
1431
1431
|
var l = function (it, $completion) {
|
|
1432
|
-
return i.
|
|
1432
|
+
return i.w9w(it, $completion);
|
|
1433
1433
|
};
|
|
1434
1434
|
l.$arity = 1;
|
|
1435
1435
|
return l;
|
|
1436
1436
|
}
|
|
1437
1437
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
1438
|
-
var tmp0 = $this.
|
|
1438
|
+
var tmp0 = $this.c9x_1;
|
|
1439
1439
|
var tmp = KProperty1;
|
|
1440
1440
|
// Inline function 'kotlin.getValue' call
|
|
1441
1441
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, GameServer$_get_toClientEventsObserver_$ref_utir8s_0(), null);
|
|
1442
1442
|
return tmp0.x();
|
|
1443
1443
|
}
|
|
1444
1444
|
function _get_fromClientEventsObserver__a7vzd3($this) {
|
|
1445
|
-
var tmp0 = $this.
|
|
1445
|
+
var tmp0 = $this.d9x_1;
|
|
1446
1446
|
var tmp = KProperty1;
|
|
1447
1447
|
// Inline function 'kotlin.getValue' call
|
|
1448
1448
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, GameServer$_get_fromClientEventsObserver_$ref_nf1g79_0(), null);
|
|
1449
1449
|
return tmp0.x();
|
|
1450
1450
|
}
|
|
1451
1451
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
1452
|
-
var tmp0 = $this.
|
|
1452
|
+
var tmp0 = $this.e9x_1;
|
|
1453
1453
|
var tmp = KProperty1;
|
|
1454
1454
|
// Inline function 'kotlin.getValue' call
|
|
1455
1455
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, GameServer$_get_playerConnectionInteractor_$ref_of8tan_0(), null);
|
|
1456
1456
|
return tmp0.x();
|
|
1457
1457
|
}
|
|
1458
1458
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
1459
|
-
var tmp0 = $this.
|
|
1459
|
+
var tmp0 = $this.f9x_1;
|
|
1460
1460
|
var tmp = KProperty1;
|
|
1461
1461
|
// Inline function 'kotlin.getValue' call
|
|
1462
1462
|
getPropertyCallableRef('teamsLogicProvider', 1, tmp, GameServer$_get_teamsLogicProvider_$ref_b7y54g_0(), null);
|
|
1463
1463
|
return tmp0.x();
|
|
1464
1464
|
}
|
|
1465
1465
|
function _get_userRatingInteractor__a09mdy($this) {
|
|
1466
|
-
var tmp0 = $this.
|
|
1466
|
+
var tmp0 = $this.g9x_1;
|
|
1467
1467
|
var tmp = KProperty1;
|
|
1468
1468
|
// Inline function 'kotlin.getValue' call
|
|
1469
1469
|
getPropertyCallableRef('userRatingInteractor', 1, tmp, GameServer$_get_userRatingInteractor_$ref_8uo6aw_0(), null);
|
|
1470
1470
|
return tmp0.x();
|
|
1471
1471
|
}
|
|
1472
1472
|
function _get_random__h29cgo($this) {
|
|
1473
|
-
var tmp0 = $this.
|
|
1473
|
+
var tmp0 = $this.h9x_1;
|
|
1474
1474
|
var tmp = KProperty1;
|
|
1475
1475
|
// Inline function 'kotlin.getValue' call
|
|
1476
1476
|
getPropertyCallableRef('random', 1, tmp, GameServer$_get_random_$ref_fottnq(), null);
|
|
1477
1477
|
return tmp0.x();
|
|
1478
1478
|
}
|
|
1479
1479
|
function _get_idsProvider__fnfajc($this) {
|
|
1480
|
-
var tmp0 = $this.
|
|
1480
|
+
var tmp0 = $this.i9x_1;
|
|
1481
1481
|
var tmp = KProperty1;
|
|
1482
1482
|
// Inline function 'kotlin.getValue' call
|
|
1483
1483
|
getPropertyCallableRef('idsProvider', 1, tmp, GameServer$_get_idsProvider_$ref_89s908_0(), null);
|
|
1484
1484
|
return tmp0.x();
|
|
1485
1485
|
}
|
|
1486
1486
|
function _get_serverReduxConfig__rprcrm($this) {
|
|
1487
|
-
var tmp0 = $this.
|
|
1487
|
+
var tmp0 = $this.j9x_1;
|
|
1488
1488
|
var tmp = KProperty1;
|
|
1489
1489
|
// Inline function 'kotlin.getValue' call
|
|
1490
1490
|
getPropertyCallableRef('serverReduxConfig', 1, tmp, GameServer$_get_serverReduxConfig_$ref_7h6jq6_0(), null);
|
|
1491
1491
|
return tmp0.x();
|
|
1492
1492
|
}
|
|
1493
1493
|
function _get_encoderDecoderProvider__qqgrji($this) {
|
|
1494
|
-
var tmp0 = $this.
|
|
1494
|
+
var tmp0 = $this.k9x_1;
|
|
1495
1495
|
var tmp = KProperty1;
|
|
1496
1496
|
// Inline function 'kotlin.getValue' call
|
|
1497
1497
|
getPropertyCallableRef('encoderDecoderProvider', 1, tmp, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8_0(), null);
|
|
1498
1498
|
return tmp0.x();
|
|
1499
1499
|
}
|
|
1500
1500
|
function _get_engineLogicConfig__l11qpf($this) {
|
|
1501
|
-
var tmp0 = $this.
|
|
1501
|
+
var tmp0 = $this.l9x_1;
|
|
1502
1502
|
var tmp = KProperty1;
|
|
1503
1503
|
// Inline function 'kotlin.getValue' call
|
|
1504
1504
|
getPropertyCallableRef('engineLogicConfig', 1, tmp, GameServer$_get_engineLogicConfig_$ref_nlkv2l_0(), null);
|
|
1505
1505
|
return tmp0.x();
|
|
1506
1506
|
}
|
|
1507
1507
|
function _get_botChatInteractor__17f3on($this) {
|
|
1508
|
-
var tmp0 = $this.
|
|
1508
|
+
var tmp0 = $this.m9x_1;
|
|
1509
1509
|
var tmp = KProperty1;
|
|
1510
1510
|
// Inline function 'kotlin.getValue' call
|
|
1511
1511
|
getPropertyCallableRef('botChatInteractor', 1, tmp, GameServer$_get_botChatInteractor_$ref_zf10ih_0(), null);
|
|
@@ -1638,20 +1638,20 @@
|
|
|
1638
1638
|
return _get_teamsLogicProvider__u10pm6($this).c8r(updatedTeams);
|
|
1639
1639
|
}
|
|
1640
1640
|
function Companion() {
|
|
1641
|
-
this.
|
|
1641
|
+
this.o9x_1 = 'GameEngine_API';
|
|
1642
1642
|
}
|
|
1643
1643
|
var Companion_instance_9;
|
|
1644
1644
|
function Companion_getInstance_0() {
|
|
1645
1645
|
return Companion_instance_9;
|
|
1646
1646
|
}
|
|
1647
1647
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
1648
|
-
this.
|
|
1648
|
+
this.p9x_1 = function_0;
|
|
1649
1649
|
}
|
|
1650
1650
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).n28 = function (value, $completion) {
|
|
1651
|
-
return this.
|
|
1651
|
+
return this.p9x_1(value, $completion);
|
|
1652
1652
|
};
|
|
1653
1653
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).b3 = function () {
|
|
1654
|
-
return this.
|
|
1654
|
+
return this.p9x_1;
|
|
1655
1655
|
};
|
|
1656
1656
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
1657
1657
|
var tmp;
|
|
@@ -1672,13 +1672,13 @@
|
|
|
1672
1672
|
return hashCode(this.b3());
|
|
1673
1673
|
};
|
|
1674
1674
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
1675
|
-
this.
|
|
1675
|
+
this.q9x_1 = function_0;
|
|
1676
1676
|
}
|
|
1677
1677
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).n28 = function (value, $completion) {
|
|
1678
|
-
return this.
|
|
1678
|
+
return this.q9x_1(value, $completion);
|
|
1679
1679
|
};
|
|
1680
1680
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).b3 = function () {
|
|
1681
|
-
return this.
|
|
1681
|
+
return this.q9x_1;
|
|
1682
1682
|
};
|
|
1683
1683
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
1684
1684
|
var tmp;
|
|
@@ -1699,13 +1699,13 @@
|
|
|
1699
1699
|
return hashCode(this.b3());
|
|
1700
1700
|
};
|
|
1701
1701
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
1702
|
-
this.
|
|
1702
|
+
this.r9x_1 = function_0;
|
|
1703
1703
|
}
|
|
1704
1704
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).n28 = function (value, $completion) {
|
|
1705
|
-
return this.
|
|
1705
|
+
return this.r9x_1(value, $completion);
|
|
1706
1706
|
};
|
|
1707
1707
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).b3 = function () {
|
|
1708
|
-
return this.
|
|
1708
|
+
return this.r9x_1;
|
|
1709
1709
|
};
|
|
1710
1710
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
1711
1711
|
var tmp;
|
|
@@ -1726,13 +1726,13 @@
|
|
|
1726
1726
|
return hashCode(this.b3());
|
|
1727
1727
|
};
|
|
1728
1728
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
1729
|
-
this.
|
|
1729
|
+
this.s9x_1 = function_0;
|
|
1730
1730
|
}
|
|
1731
1731
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).n28 = function (value, $completion) {
|
|
1732
|
-
return this.
|
|
1732
|
+
return this.s9x_1(value, $completion);
|
|
1733
1733
|
};
|
|
1734
1734
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).b3 = function () {
|
|
1735
|
-
return this.
|
|
1735
|
+
return this.s9x_1;
|
|
1736
1736
|
};
|
|
1737
1737
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
1738
1738
|
var tmp;
|
|
@@ -1753,13 +1753,13 @@
|
|
|
1753
1753
|
return hashCode(this.b3());
|
|
1754
1754
|
};
|
|
1755
1755
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
|
|
1756
|
-
this.
|
|
1756
|
+
this.t9x_1 = function_0;
|
|
1757
1757
|
}
|
|
1758
1758
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).n28 = function (value, $completion) {
|
|
1759
|
-
return this.
|
|
1759
|
+
return this.t9x_1(value, $completion);
|
|
1760
1760
|
};
|
|
1761
1761
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).b3 = function () {
|
|
1762
|
-
return this.
|
|
1762
|
+
return this.t9x_1;
|
|
1763
1763
|
};
|
|
1764
1764
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
|
|
1765
1765
|
var tmp;
|
|
@@ -1780,13 +1780,13 @@
|
|
|
1780
1780
|
return hashCode(this.b3());
|
|
1781
1781
|
};
|
|
1782
1782
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_4(function_0) {
|
|
1783
|
-
this.
|
|
1783
|
+
this.u9x_1 = function_0;
|
|
1784
1784
|
}
|
|
1785
1785
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).n28 = function (value, $completion) {
|
|
1786
|
-
return this.
|
|
1786
|
+
return this.u9x_1(value, $completion);
|
|
1787
1787
|
};
|
|
1788
1788
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).b3 = function () {
|
|
1789
|
-
return this.
|
|
1789
|
+
return this.u9x_1;
|
|
1790
1790
|
};
|
|
1791
1791
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).equals = function (other) {
|
|
1792
1792
|
var tmp;
|
|
@@ -1917,8 +1917,8 @@
|
|
|
1917
1917
|
};
|
|
1918
1918
|
}
|
|
1919
1919
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
1920
|
-
this.
|
|
1921
|
-
this.
|
|
1920
|
+
this.d9y_1 = this$0;
|
|
1921
|
+
this.e9y_1 = $subscriber;
|
|
1922
1922
|
CoroutineImpl.call(this, resultContinuation);
|
|
1923
1923
|
}
|
|
1924
1924
|
protoOf(GameServer$subscribeToClientAction$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -1939,8 +1939,8 @@
|
|
|
1939
1939
|
case 0:
|
|
1940
1940
|
this.t8_1 = 2;
|
|
1941
1941
|
this.s8_1 = 1;
|
|
1942
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
1943
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
1942
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.d9y_1).g9y();
|
|
1943
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.e9y_1, null);
|
|
1944
1944
|
suspendResult = tmp_0.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1945
1945
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1946
1946
|
return suspendResult;
|
|
@@ -1964,8 +1964,8 @@
|
|
|
1964
1964
|
while (true);
|
|
1965
1965
|
};
|
|
1966
1966
|
protoOf(GameServer$subscribeToClientAction$slambda).c2d = function ($this$launchDefault, completion) {
|
|
1967
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
1968
|
-
i.
|
|
1967
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.d9y_1, this.e9y_1, completion);
|
|
1968
|
+
i.f9y_1 = $this$launchDefault;
|
|
1969
1969
|
return i;
|
|
1970
1970
|
};
|
|
1971
1971
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1977,8 +1977,8 @@
|
|
|
1977
1977
|
return l;
|
|
1978
1978
|
}
|
|
1979
1979
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
1980
|
-
this.
|
|
1981
|
-
this.
|
|
1980
|
+
this.p9y_1 = this$0;
|
|
1981
|
+
this.q9y_1 = $subscriber;
|
|
1982
1982
|
CoroutineImpl.call(this, resultContinuation);
|
|
1983
1983
|
}
|
|
1984
1984
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -1999,8 +1999,8 @@
|
|
|
1999
1999
|
case 0:
|
|
2000
2000
|
this.t8_1 = 2;
|
|
2001
2001
|
this.s8_1 = 1;
|
|
2002
|
-
var tmp_0 = observeTableStateUpdates(this.
|
|
2003
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
2002
|
+
var tmp_0 = observeTableStateUpdates(this.p9y_1);
|
|
2003
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.q9y_1, null);
|
|
2004
2004
|
suspendResult = tmp_0.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
2005
2005
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2006
2006
|
return suspendResult;
|
|
@@ -2024,8 +2024,8 @@
|
|
|
2024
2024
|
while (true);
|
|
2025
2025
|
};
|
|
2026
2026
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).c2d = function ($this$launchDefault, completion) {
|
|
2027
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
2028
|
-
i.
|
|
2027
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.p9y_1, this.q9y_1, completion);
|
|
2028
|
+
i.r9y_1 = $this$launchDefault;
|
|
2029
2029
|
return i;
|
|
2030
2030
|
};
|
|
2031
2031
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -2037,8 +2037,8 @@
|
|
|
2037
2037
|
return l;
|
|
2038
2038
|
}
|
|
2039
2039
|
function GameServer$subscribeServerStateUpdateJson$slambda(this$0, $subscriber, resultContinuation) {
|
|
2040
|
-
this.
|
|
2041
|
-
this.
|
|
2040
|
+
this.a9z_1 = this$0;
|
|
2041
|
+
this.b9z_1 = $subscriber;
|
|
2042
2042
|
CoroutineImpl.call(this, resultContinuation);
|
|
2043
2043
|
}
|
|
2044
2044
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -2059,9 +2059,9 @@
|
|
|
2059
2059
|
case 0:
|
|
2060
2060
|
this.t8_1 = 2;
|
|
2061
2061
|
this.s8_1 = 1;
|
|
2062
|
-
var this_0 = observeTableStateUpdates(this.
|
|
2063
|
-
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.
|
|
2064
|
-
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.
|
|
2062
|
+
var this_0 = observeTableStateUpdates(this.a9z_1);
|
|
2063
|
+
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.a9z_1);
|
|
2064
|
+
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.b9z_1, null);
|
|
2065
2065
|
suspendResult = tmp_0.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
2066
2066
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2067
2067
|
return suspendResult;
|
|
@@ -2085,8 +2085,8 @@
|
|
|
2085
2085
|
while (true);
|
|
2086
2086
|
};
|
|
2087
2087
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).c2d = function ($this$launchDefault, completion) {
|
|
2088
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.
|
|
2089
|
-
i.
|
|
2088
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.a9z_1, this.b9z_1, completion);
|
|
2089
|
+
i.c9z_1 = $this$launchDefault;
|
|
2090
2090
|
return i;
|
|
2091
2091
|
};
|
|
2092
2092
|
function GameServer$subscribeServerStateUpdateJson$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -2098,18 +2098,18 @@
|
|
|
2098
2098
|
return l;
|
|
2099
2099
|
}
|
|
2100
2100
|
function GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation) {
|
|
2101
|
-
this.
|
|
2101
|
+
this.l9z_1 = this$0;
|
|
2102
2102
|
CoroutineImpl.call(this, resultContinuation);
|
|
2103
2103
|
}
|
|
2104
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
2105
|
-
var tmp = this.
|
|
2104
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).o9z = function ($this$transformLatest, it, $completion) {
|
|
2105
|
+
var tmp = this.p9z($this$transformLatest, it, $completion);
|
|
2106
2106
|
tmp.u8_1 = Unit_instance;
|
|
2107
2107
|
tmp.v8_1 = null;
|
|
2108
2108
|
return tmp.a9();
|
|
2109
2109
|
};
|
|
2110
2110
|
protoOf(GameServer$observeTableStateUpdates$slambda).j9 = function (p1, p2, $completion) {
|
|
2111
2111
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
2112
|
-
return this.
|
|
2112
|
+
return this.o9z(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
2113
2113
|
};
|
|
2114
2114
|
protoOf(GameServer$observeTableStateUpdates$slambda).a9 = function () {
|
|
2115
2115
|
var suspendResult = this.u8_1;
|
|
@@ -2120,8 +2120,8 @@
|
|
|
2120
2120
|
case 0:
|
|
2121
2121
|
this.t8_1 = 2;
|
|
2122
2122
|
this.s8_1 = 1;
|
|
2123
|
-
var table = this.
|
|
2124
|
-
suspendResult = emitAll(this.
|
|
2123
|
+
var table = this.n9z_1;
|
|
2124
|
+
suspendResult = emitAll(this.m9z_1, flow(GameServer$observeTableStateUpdates$slambda$slambda_0(table, this.l9z_1, null)), this);
|
|
2125
2125
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2126
2126
|
return suspendResult;
|
|
2127
2127
|
}
|
|
@@ -2143,23 +2143,23 @@
|
|
|
2143
2143
|
}
|
|
2144
2144
|
while (true);
|
|
2145
2145
|
};
|
|
2146
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
2147
|
-
var i = new GameServer$observeTableStateUpdates$slambda(this.
|
|
2148
|
-
i.
|
|
2149
|
-
i.
|
|
2146
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).p9z = function ($this$transformLatest, it, completion) {
|
|
2147
|
+
var i = new GameServer$observeTableStateUpdates$slambda(this.l9z_1, completion);
|
|
2148
|
+
i.m9z_1 = $this$transformLatest;
|
|
2149
|
+
i.n9z_1 = it;
|
|
2150
2150
|
return i;
|
|
2151
2151
|
};
|
|
2152
2152
|
function GameServer$observeTableStateUpdates$slambda_0(this$0, resultContinuation) {
|
|
2153
2153
|
var i = new GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation);
|
|
2154
2154
|
var l = function ($this$transformLatest, it, $completion) {
|
|
2155
|
-
return i.
|
|
2155
|
+
return i.o9z($this$transformLatest, it, $completion);
|
|
2156
2156
|
};
|
|
2157
2157
|
l.$arity = 2;
|
|
2158
2158
|
return l;
|
|
2159
2159
|
}
|
|
2160
2160
|
function GameServer$observeTableStateUpdates$$inlined$mapNotNull$1($this, this$0) {
|
|
2161
|
-
this.
|
|
2162
|
-
this.
|
|
2161
|
+
this.v9t_1 = $this;
|
|
2162
|
+
this.w9t_1 = this$0;
|
|
2163
2163
|
}
|
|
2164
2164
|
protoOf(GameServer$observeTableStateUpdates$$inlined$mapNotNull$1).o28 = function (collector, $completion) {
|
|
2165
2165
|
var tmp = new $collectCOROUTINE$_1(this, collector, $completion);
|
|
@@ -2171,7 +2171,7 @@
|
|
|
2171
2171
|
return this.o28(collector, $completion);
|
|
2172
2172
|
};
|
|
2173
2173
|
function GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1($this) {
|
|
2174
|
-
this.
|
|
2174
|
+
this.v9u_1 = $this;
|
|
2175
2175
|
}
|
|
2176
2176
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).o28 = function (collector, $completion) {
|
|
2177
2177
|
var tmp = new $collectCOROUTINE$_2(this, collector, $completion);
|
|
@@ -2183,7 +2183,7 @@
|
|
|
2183
2183
|
return this.o28(collector, $completion);
|
|
2184
2184
|
};
|
|
2185
2185
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$1($this) {
|
|
2186
|
-
this.
|
|
2186
|
+
this.q9v_1 = $this;
|
|
2187
2187
|
}
|
|
2188
2188
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).o28 = function (collector, $completion) {
|
|
2189
2189
|
var tmp = new $collectCOROUTINE$_3(this, collector, $completion);
|
|
@@ -2198,7 +2198,7 @@
|
|
|
2198
2198
|
return old.me_1 === new_0.me_1;
|
|
2199
2199
|
}
|
|
2200
2200
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$2($this) {
|
|
2201
|
-
this.
|
|
2201
|
+
this.l9w_1 = $this;
|
|
2202
2202
|
}
|
|
2203
2203
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).o28 = function (collector, $completion) {
|
|
2204
2204
|
var tmp = new $collectCOROUTINE$_4(this, collector, $completion);
|
|
@@ -2210,8 +2210,8 @@
|
|
|
2210
2210
|
return this.o28(collector, $completion);
|
|
2211
2211
|
};
|
|
2212
2212
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
2213
|
-
this.
|
|
2214
|
-
this.
|
|
2213
|
+
this.y9z_1 = this$0;
|
|
2214
|
+
this.z9z_1 = $subscriber;
|
|
2215
2215
|
CoroutineImpl.call(this, resultContinuation);
|
|
2216
2216
|
}
|
|
2217
2217
|
protoOf(GameServer$subscribeWith$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -2232,8 +2232,8 @@
|
|
|
2232
2232
|
case 0:
|
|
2233
2233
|
this.t8_1 = 2;
|
|
2234
2234
|
this.s8_1 = 1;
|
|
2235
|
-
var tmp_0 = distinctUntilChanged(this.
|
|
2236
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
2235
|
+
var tmp_0 = distinctUntilChanged(this.y9z_1.w6q());
|
|
2236
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.z9z_1, null);
|
|
2237
2237
|
suspendResult = tmp_0.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_4(tmp_1), this);
|
|
2238
2238
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2239
2239
|
return suspendResult;
|
|
@@ -2257,8 +2257,8 @@
|
|
|
2257
2257
|
while (true);
|
|
2258
2258
|
};
|
|
2259
2259
|
protoOf(GameServer$subscribeWith$slambda).c2d = function ($this$launchDefault, completion) {
|
|
2260
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
2261
|
-
i.
|
|
2260
|
+
var i = new GameServer$subscribeWith$slambda(this.y9z_1, this.z9z_1, completion);
|
|
2261
|
+
i.aa0_1 = $this$launchDefault;
|
|
2262
2262
|
return i;
|
|
2263
2263
|
};
|
|
2264
2264
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -2270,18 +2270,18 @@
|
|
|
2270
2270
|
return l;
|
|
2271
2271
|
}
|
|
2272
2272
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
2273
|
-
this.
|
|
2273
|
+
this.ja0_1 = $action;
|
|
2274
2274
|
CoroutineImpl.call(this, resultContinuation);
|
|
2275
2275
|
}
|
|
2276
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
2277
|
-
var tmp = this.
|
|
2276
|
+
protoOf(GameServer$fromClientEvent$slambda).ma0 = function ($this$dispatchAsync, store, $completion) {
|
|
2277
|
+
var tmp = this.na0($this$dispatchAsync, store, $completion);
|
|
2278
2278
|
tmp.u8_1 = Unit_instance;
|
|
2279
2279
|
tmp.v8_1 = null;
|
|
2280
2280
|
return tmp.a9();
|
|
2281
2281
|
};
|
|
2282
2282
|
protoOf(GameServer$fromClientEvent$slambda).j9 = function (p1, p2, $completion) {
|
|
2283
2283
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2284
|
-
return this.
|
|
2284
|
+
return this.ma0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2285
2285
|
};
|
|
2286
2286
|
protoOf(GameServer$fromClientEvent$slambda).a9 = function () {
|
|
2287
2287
|
var suspendResult = this.u8_1;
|
|
@@ -2290,11 +2290,11 @@
|
|
|
2290
2290
|
var tmp = this.s8_1;
|
|
2291
2291
|
if (tmp === 0) {
|
|
2292
2292
|
this.t8_1 = 1;
|
|
2293
|
-
if (this.
|
|
2294
|
-
if (!get_isCreated(this.
|
|
2293
|
+
if (this.ja0_1 instanceof PlayerReadyFromClientAction)
|
|
2294
|
+
if (!get_isCreated(this.la0_1.state)) {
|
|
2295
2295
|
return Unit_instance;
|
|
2296
2296
|
}
|
|
2297
|
-
this.
|
|
2297
|
+
this.la0_1.dispatch(this.ja0_1);
|
|
2298
2298
|
return Unit_instance;
|
|
2299
2299
|
} else if (tmp === 1) {
|
|
2300
2300
|
throw this.v8_1;
|
|
@@ -2305,33 +2305,33 @@
|
|
|
2305
2305
|
}
|
|
2306
2306
|
while (true);
|
|
2307
2307
|
};
|
|
2308
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
2309
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
2310
|
-
i.
|
|
2311
|
-
i.
|
|
2308
|
+
protoOf(GameServer$fromClientEvent$slambda).na0 = function ($this$dispatchAsync, store, completion) {
|
|
2309
|
+
var i = new GameServer$fromClientEvent$slambda(this.ja0_1, completion);
|
|
2310
|
+
i.ka0_1 = $this$dispatchAsync;
|
|
2311
|
+
i.la0_1 = store;
|
|
2312
2312
|
return i;
|
|
2313
2313
|
};
|
|
2314
2314
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
2315
2315
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
2316
2316
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2317
|
-
return i.
|
|
2317
|
+
return i.ma0($this$dispatchAsync, store, $completion);
|
|
2318
2318
|
};
|
|
2319
2319
|
l.$arity = 2;
|
|
2320
2320
|
return l;
|
|
2321
2321
|
}
|
|
2322
2322
|
function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
|
|
2323
|
-
this.
|
|
2323
|
+
this.wa0_1 = $playerId;
|
|
2324
2324
|
CoroutineImpl.call(this, resultContinuation);
|
|
2325
2325
|
}
|
|
2326
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2327
|
-
var tmp = this.
|
|
2326
|
+
protoOf(GameServer$playerLostConnection$slambda).ma0 = function ($this$dispatchAsync, store, $completion) {
|
|
2327
|
+
var tmp = this.na0($this$dispatchAsync, store, $completion);
|
|
2328
2328
|
tmp.u8_1 = Unit_instance;
|
|
2329
2329
|
tmp.v8_1 = null;
|
|
2330
2330
|
return tmp.a9();
|
|
2331
2331
|
};
|
|
2332
2332
|
protoOf(GameServer$playerLostConnection$slambda).j9 = function (p1, p2, $completion) {
|
|
2333
2333
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2334
|
-
return this.
|
|
2334
|
+
return this.ma0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2335
2335
|
};
|
|
2336
2336
|
protoOf(GameServer$playerLostConnection$slambda).a9 = function () {
|
|
2337
2337
|
var suspendResult = this.u8_1;
|
|
@@ -2340,12 +2340,12 @@
|
|
|
2340
2340
|
var tmp = this.s8_1;
|
|
2341
2341
|
if (tmp === 0) {
|
|
2342
2342
|
this.t8_1 = 1;
|
|
2343
|
-
if (!get_isCreated(this.
|
|
2343
|
+
if (!get_isCreated(this.ya0_1.state)) {
|
|
2344
2344
|
return Unit_instance;
|
|
2345
2345
|
}
|
|
2346
|
-
var tmp_0 = this.
|
|
2346
|
+
var tmp_0 = this.ya0_1.dispatch;
|
|
2347
2347
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
2348
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2348
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.wa0_1));
|
|
2349
2349
|
return Unit_instance;
|
|
2350
2350
|
} else if (tmp === 1) {
|
|
2351
2351
|
throw this.v8_1;
|
|
@@ -2356,34 +2356,34 @@
|
|
|
2356
2356
|
}
|
|
2357
2357
|
while (true);
|
|
2358
2358
|
};
|
|
2359
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2360
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
2361
|
-
i.
|
|
2362
|
-
i.
|
|
2359
|
+
protoOf(GameServer$playerLostConnection$slambda).na0 = function ($this$dispatchAsync, store, completion) {
|
|
2360
|
+
var i = new GameServer$playerLostConnection$slambda(this.wa0_1, completion);
|
|
2361
|
+
i.xa0_1 = $this$dispatchAsync;
|
|
2362
|
+
i.ya0_1 = store;
|
|
2363
2363
|
return i;
|
|
2364
2364
|
};
|
|
2365
2365
|
function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
|
|
2366
2366
|
var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
|
|
2367
2367
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2368
|
-
return i.
|
|
2368
|
+
return i.ma0($this$dispatchAsync, store, $completion);
|
|
2369
2369
|
};
|
|
2370
2370
|
l.$arity = 2;
|
|
2371
2371
|
return l;
|
|
2372
2372
|
}
|
|
2373
2373
|
function GameServer$playerLive$slambda(this$0, $playerId, resultContinuation) {
|
|
2374
|
-
this.
|
|
2375
|
-
this.
|
|
2374
|
+
this.ha1_1 = this$0;
|
|
2375
|
+
this.ia1_1 = $playerId;
|
|
2376
2376
|
CoroutineImpl.call(this, resultContinuation);
|
|
2377
2377
|
}
|
|
2378
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2379
|
-
var tmp = this.
|
|
2378
|
+
protoOf(GameServer$playerLive$slambda).ma0 = function ($this$dispatchAsync, store, $completion) {
|
|
2379
|
+
var tmp = this.na0($this$dispatchAsync, store, $completion);
|
|
2380
2380
|
tmp.u8_1 = Unit_instance;
|
|
2381
2381
|
tmp.v8_1 = null;
|
|
2382
2382
|
return tmp.a9();
|
|
2383
2383
|
};
|
|
2384
2384
|
protoOf(GameServer$playerLive$slambda).j9 = function (p1, p2, $completion) {
|
|
2385
2385
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2386
|
-
return this.
|
|
2386
|
+
return this.ma0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2387
2387
|
};
|
|
2388
2388
|
protoOf(GameServer$playerLive$slambda).a9 = function () {
|
|
2389
2389
|
var suspendResult = this.u8_1;
|
|
@@ -2392,16 +2392,16 @@
|
|
|
2392
2392
|
var tmp = this.s8_1;
|
|
2393
2393
|
if (tmp === 0) {
|
|
2394
2394
|
this.t8_1 = 1;
|
|
2395
|
-
if (get_isFinished(this.
|
|
2395
|
+
if (get_isFinished(this.ka1_1.state) || get_isFinishing(this.ka1_1.state)) {
|
|
2396
2396
|
return Unit_instance;
|
|
2397
2397
|
}
|
|
2398
|
-
if (!_get_serverReduxConfig__rprcrm(this.
|
|
2399
|
-
this.
|
|
2398
|
+
if (!_get_serverReduxConfig__rprcrm(this.ha1_1).waitForPlayerToConnectOnStart && (!get_isCreated(this.ka1_1.state) || !this.ha1_1.t66().z6r())) {
|
|
2399
|
+
this.ha1_1.h4q().v('GameEngine_API', 'playerLive: ' + this.ia1_1 + ' before game is created');
|
|
2400
2400
|
return Unit_instance;
|
|
2401
2401
|
}
|
|
2402
|
-
var tmp_0 = this.
|
|
2402
|
+
var tmp_0 = this.ka1_1.dispatch;
|
|
2403
2403
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2404
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2404
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.ia1_1));
|
|
2405
2405
|
return Unit_instance;
|
|
2406
2406
|
} else if (tmp === 1) {
|
|
2407
2407
|
throw this.v8_1;
|
|
@@ -2412,35 +2412,35 @@
|
|
|
2412
2412
|
}
|
|
2413
2413
|
while (true);
|
|
2414
2414
|
};
|
|
2415
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2416
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
2417
|
-
i.
|
|
2418
|
-
i.
|
|
2415
|
+
protoOf(GameServer$playerLive$slambda).na0 = function ($this$dispatchAsync, store, completion) {
|
|
2416
|
+
var i = new GameServer$playerLive$slambda(this.ha1_1, this.ia1_1, completion);
|
|
2417
|
+
i.ja1_1 = $this$dispatchAsync;
|
|
2418
|
+
i.ka1_1 = store;
|
|
2419
2419
|
return i;
|
|
2420
2420
|
};
|
|
2421
2421
|
function GameServer$playerLive$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2422
2422
|
var i = new GameServer$playerLive$slambda(this$0, $playerId, resultContinuation);
|
|
2423
2423
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2424
|
-
return i.
|
|
2424
|
+
return i.ma0($this$dispatchAsync, store, $completion);
|
|
2425
2425
|
};
|
|
2426
2426
|
l.$arity = 2;
|
|
2427
2427
|
return l;
|
|
2428
2428
|
}
|
|
2429
2429
|
function GameServer$playerLeft$slambda(this$0, $playerId, $permanently, resultContinuation) {
|
|
2430
|
-
this.
|
|
2431
|
-
this.
|
|
2432
|
-
this.
|
|
2430
|
+
this.ta1_1 = this$0;
|
|
2431
|
+
this.ua1_1 = $playerId;
|
|
2432
|
+
this.va1_1 = $permanently;
|
|
2433
2433
|
CoroutineImpl.call(this, resultContinuation);
|
|
2434
2434
|
}
|
|
2435
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2436
|
-
var tmp = this.
|
|
2435
|
+
protoOf(GameServer$playerLeft$slambda).ma0 = function ($this$dispatchAsync, store, $completion) {
|
|
2436
|
+
var tmp = this.na0($this$dispatchAsync, store, $completion);
|
|
2437
2437
|
tmp.u8_1 = Unit_instance;
|
|
2438
2438
|
tmp.v8_1 = null;
|
|
2439
2439
|
return tmp.a9();
|
|
2440
2440
|
};
|
|
2441
2441
|
protoOf(GameServer$playerLeft$slambda).j9 = function (p1, p2, $completion) {
|
|
2442
2442
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2443
|
-
return this.
|
|
2443
|
+
return this.ma0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2444
2444
|
};
|
|
2445
2445
|
protoOf(GameServer$playerLeft$slambda).a9 = function () {
|
|
2446
2446
|
var suspendResult = this.u8_1;
|
|
@@ -2449,22 +2449,22 @@
|
|
|
2449
2449
|
var tmp = this.s8_1;
|
|
2450
2450
|
if (tmp === 0) {
|
|
2451
2451
|
this.t8_1 = 1;
|
|
2452
|
-
if (get_isFinished(this.
|
|
2452
|
+
if (get_isFinished(this.xa1_1.state) || get_isFinishing(this.xa1_1.state)) {
|
|
2453
2453
|
return Unit_instance;
|
|
2454
2454
|
}
|
|
2455
|
-
if (!get_isCreated(this.
|
|
2456
|
-
this.
|
|
2455
|
+
if (!get_isCreated(this.xa1_1.state) || !this.ta1_1.t66().z6r()) {
|
|
2456
|
+
this.ta1_1.h4q().w('GameEngine_API', 'playerLeft: ' + this.ua1_1 + ' before game is created');
|
|
2457
2457
|
return Unit_instance;
|
|
2458
2458
|
}
|
|
2459
|
-
var tmp_0 = this.
|
|
2459
|
+
var tmp_0 = this.xa1_1.dispatch;
|
|
2460
2460
|
var tmp_1;
|
|
2461
|
-
if (this.
|
|
2461
|
+
if (this.va1_1) {
|
|
2462
2462
|
tmp_1 = PlayerConnectionState_LEFT_getInstance();
|
|
2463
2463
|
} else {
|
|
2464
2464
|
tmp_1 = PlayerConnectionState_LEFT_getInstance();
|
|
2465
2465
|
}
|
|
2466
2466
|
var tmp0_connectionState = tmp_1;
|
|
2467
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2467
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.ua1_1));
|
|
2468
2468
|
return Unit_instance;
|
|
2469
2469
|
} else if (tmp === 1) {
|
|
2470
2470
|
throw this.v8_1;
|
|
@@ -2475,39 +2475,39 @@
|
|
|
2475
2475
|
}
|
|
2476
2476
|
while (true);
|
|
2477
2477
|
};
|
|
2478
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2479
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
2480
|
-
i.
|
|
2481
|
-
i.
|
|
2478
|
+
protoOf(GameServer$playerLeft$slambda).na0 = function ($this$dispatchAsync, store, completion) {
|
|
2479
|
+
var i = new GameServer$playerLeft$slambda(this.ta1_1, this.ua1_1, this.va1_1, completion);
|
|
2480
|
+
i.wa1_1 = $this$dispatchAsync;
|
|
2481
|
+
i.xa1_1 = store;
|
|
2482
2482
|
return i;
|
|
2483
2483
|
};
|
|
2484
2484
|
function GameServer$playerLeft$slambda_0(this$0, $playerId, $permanently, resultContinuation) {
|
|
2485
2485
|
var i = new GameServer$playerLeft$slambda(this$0, $playerId, $permanently, resultContinuation);
|
|
2486
2486
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2487
|
-
return i.
|
|
2487
|
+
return i.ma0($this$dispatchAsync, store, $completion);
|
|
2488
2488
|
};
|
|
2489
2489
|
l.$arity = 2;
|
|
2490
2490
|
return l;
|
|
2491
2491
|
}
|
|
2492
2492
|
function GameServer$roomOnCreate$slambda($usersArray, this$0, $config, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2493
|
-
this.
|
|
2494
|
-
this.
|
|
2495
|
-
this.
|
|
2496
|
-
this.
|
|
2497
|
-
this.
|
|
2498
|
-
this.
|
|
2499
|
-
this.
|
|
2493
|
+
this.ga2_1 = $usersArray;
|
|
2494
|
+
this.ha2_1 = this$0;
|
|
2495
|
+
this.ia2_1 = $config;
|
|
2496
|
+
this.ja2_1 = $roomId;
|
|
2497
|
+
this.ka2_1 = $transition;
|
|
2498
|
+
this.la2_1 = $gameCreatorId;
|
|
2499
|
+
this.ma2_1 = $spectators;
|
|
2500
2500
|
CoroutineImpl.call(this, resultContinuation);
|
|
2501
2501
|
}
|
|
2502
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2503
|
-
var tmp = this.
|
|
2502
|
+
protoOf(GameServer$roomOnCreate$slambda).ma0 = function ($this$dispatchAsync, store, $completion) {
|
|
2503
|
+
var tmp = this.na0($this$dispatchAsync, store, $completion);
|
|
2504
2504
|
tmp.u8_1 = Unit_instance;
|
|
2505
2505
|
tmp.v8_1 = null;
|
|
2506
2506
|
return tmp.a9();
|
|
2507
2507
|
};
|
|
2508
2508
|
protoOf(GameServer$roomOnCreate$slambda).j9 = function (p1, p2, $completion) {
|
|
2509
2509
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2510
|
-
return this.
|
|
2510
|
+
return this.ma0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2511
2511
|
};
|
|
2512
2512
|
protoOf(GameServer$roomOnCreate$slambda).a9 = function () {
|
|
2513
2513
|
var suspendResult = this.u8_1;
|
|
@@ -2516,18 +2516,18 @@
|
|
|
2516
2516
|
var tmp = this.s8_1;
|
|
2517
2517
|
if (tmp === 0) {
|
|
2518
2518
|
this.t8_1 = 1;
|
|
2519
|
-
var users = toList(this.
|
|
2520
|
-
if (!validatePlayerCount(this.
|
|
2521
|
-
this.
|
|
2519
|
+
var users = toList(this.ga2_1);
|
|
2520
|
+
if (!validatePlayerCount(this.ha2_1, this.ia2_1, users, this.ja2_1)) {
|
|
2521
|
+
this.oa2_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.ha2_1.table.isGameFinished, this.ha2_1.table));
|
|
2522
2522
|
return Unit_instance;
|
|
2523
2523
|
}
|
|
2524
|
-
var orderedUsers = orderUsers(this.
|
|
2525
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
2526
|
-
var tmp_0 = this.
|
|
2524
|
+
var orderedUsers = orderUsers(this.ha2_1, users, this.ia2_1, this.ka2_1);
|
|
2525
|
+
var gameCreatorUser = getPlayer(users, this.la2_1);
|
|
2526
|
+
var tmp_0 = this.oa2_1.dispatch;
|
|
2527
2527
|
var tmp0_version = get_versionOrDefault(GameEngineConfig_instance);
|
|
2528
2528
|
var tmp1_users = sortWithItem(orderedUsers, gameCreatorUser);
|
|
2529
|
-
var tmp2_spectators = toList(this.
|
|
2530
|
-
tmp_0(new StartGameMechanicAction(this.
|
|
2529
|
+
var tmp2_spectators = toList(this.ma2_1);
|
|
2530
|
+
tmp_0(new StartGameMechanicAction(this.ia2_1, this.ja2_1, tmp0_version, this.la2_1, tmp1_users, VOID, tmp2_spectators));
|
|
2531
2531
|
return Unit_instance;
|
|
2532
2532
|
} else if (tmp === 1) {
|
|
2533
2533
|
throw this.v8_1;
|
|
@@ -2538,39 +2538,39 @@
|
|
|
2538
2538
|
}
|
|
2539
2539
|
while (true);
|
|
2540
2540
|
};
|
|
2541
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2542
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
2543
|
-
i.
|
|
2544
|
-
i.
|
|
2541
|
+
protoOf(GameServer$roomOnCreate$slambda).na0 = function ($this$dispatchAsync, store, completion) {
|
|
2542
|
+
var i = new GameServer$roomOnCreate$slambda(this.ga2_1, this.ha2_1, this.ia2_1, this.ja2_1, this.ka2_1, this.la2_1, this.ma2_1, completion);
|
|
2543
|
+
i.na2_1 = $this$dispatchAsync;
|
|
2544
|
+
i.oa2_1 = store;
|
|
2545
2545
|
return i;
|
|
2546
2546
|
};
|
|
2547
2547
|
function GameServer$roomOnCreate$slambda_0($usersArray, this$0, $config, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2548
2548
|
var i = new GameServer$roomOnCreate$slambda($usersArray, this$0, $config, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation);
|
|
2549
2549
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2550
|
-
return i.
|
|
2550
|
+
return i.ma0($this$dispatchAsync, store, $completion);
|
|
2551
2551
|
};
|
|
2552
2552
|
l.$arity = 2;
|
|
2553
2553
|
return l;
|
|
2554
2554
|
}
|
|
2555
2555
|
function GameServer$preserveTeams$previousTeams$1($playerId) {
|
|
2556
|
-
this.
|
|
2556
|
+
this.pa2_1 = $playerId;
|
|
2557
2557
|
}
|
|
2558
2558
|
protoOf(GameServer$preserveTeams$previousTeams$1).v65 = function () {
|
|
2559
|
-
return this.
|
|
2559
|
+
return this.pa2_1;
|
|
2560
2560
|
};
|
|
2561
2561
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
2562
|
-
this.
|
|
2562
|
+
this.ya2_1 = $state;
|
|
2563
2563
|
CoroutineImpl.call(this, resultContinuation);
|
|
2564
2564
|
}
|
|
2565
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2566
|
-
var tmp = this.
|
|
2565
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).ba3 = function ($this$dispatchAwait, store, $completion) {
|
|
2566
|
+
var tmp = this.na0($this$dispatchAwait, store, $completion);
|
|
2567
2567
|
tmp.u8_1 = Unit_instance;
|
|
2568
2568
|
tmp.v8_1 = null;
|
|
2569
2569
|
return tmp.a9();
|
|
2570
2570
|
};
|
|
2571
2571
|
protoOf(GameServer$roomOnContinueFromState$slambda).j9 = function (p1, p2, $completion) {
|
|
2572
2572
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2573
|
-
return this.
|
|
2573
|
+
return this.ba3(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2574
2574
|
};
|
|
2575
2575
|
protoOf(GameServer$roomOnContinueFromState$slambda).a9 = function () {
|
|
2576
2576
|
var suspendResult = this.u8_1;
|
|
@@ -2579,10 +2579,10 @@
|
|
|
2579
2579
|
var tmp = this.s8_1;
|
|
2580
2580
|
if (tmp === 0) {
|
|
2581
2581
|
this.t8_1 = 1;
|
|
2582
|
-
if (get_isCreating(this.
|
|
2583
|
-
var tmp_0 = this.
|
|
2582
|
+
if (get_isCreating(this.aa3_1.state)) {
|
|
2583
|
+
var tmp_0 = this.aa3_1.dispatch;
|
|
2584
2584
|
var tmp0_reason = new RestartRoundReason(null);
|
|
2585
|
-
var tmp1_table = this.
|
|
2585
|
+
var tmp1_table = this.ya2_1.table;
|
|
2586
2586
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2587
2587
|
return true;
|
|
2588
2588
|
}
|
|
@@ -2596,34 +2596,34 @@
|
|
|
2596
2596
|
}
|
|
2597
2597
|
while (true);
|
|
2598
2598
|
};
|
|
2599
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2600
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
2601
|
-
i.
|
|
2602
|
-
i.
|
|
2599
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).na0 = function ($this$dispatchAwait, store, completion) {
|
|
2600
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.ya2_1, completion);
|
|
2601
|
+
i.za2_1 = $this$dispatchAwait;
|
|
2602
|
+
i.aa3_1 = store;
|
|
2603
2603
|
return i;
|
|
2604
2604
|
};
|
|
2605
2605
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
2606
2606
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
2607
2607
|
var l = function ($this$dispatchAwait, store, $completion) {
|
|
2608
|
-
return i.
|
|
2608
|
+
return i.ba3($this$dispatchAwait, store, $completion);
|
|
2609
2609
|
};
|
|
2610
2610
|
l.$arity = 2;
|
|
2611
2611
|
return l;
|
|
2612
2612
|
}
|
|
2613
2613
|
function GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation) {
|
|
2614
|
-
this.
|
|
2615
|
-
this.
|
|
2614
|
+
this.ka3_1 = $isCreated;
|
|
2615
|
+
this.la3_1 = $state;
|
|
2616
2616
|
CoroutineImpl.call(this, resultContinuation);
|
|
2617
2617
|
}
|
|
2618
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2619
|
-
var tmp = this.
|
|
2618
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).ma0 = function ($this$dispatchAsync, store, $completion) {
|
|
2619
|
+
var tmp = this.na0($this$dispatchAsync, store, $completion);
|
|
2620
2620
|
tmp.u8_1 = Unit_instance;
|
|
2621
2621
|
tmp.v8_1 = null;
|
|
2622
2622
|
return tmp.a9();
|
|
2623
2623
|
};
|
|
2624
2624
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).j9 = function (p1, p2, $completion) {
|
|
2625
2625
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2626
|
-
return this.
|
|
2626
|
+
return this.ma0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2627
2627
|
};
|
|
2628
2628
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).a9 = function () {
|
|
2629
2629
|
var suspendResult = this.u8_1;
|
|
@@ -2634,7 +2634,7 @@
|
|
|
2634
2634
|
case 0:
|
|
2635
2635
|
this.t8_1 = 3;
|
|
2636
2636
|
this.s8_1 = 1;
|
|
2637
|
-
suspendResult = this.
|
|
2637
|
+
suspendResult = this.ka3_1.z1t(this);
|
|
2638
2638
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2639
2639
|
return suspendResult;
|
|
2640
2640
|
}
|
|
@@ -2642,10 +2642,10 @@
|
|
|
2642
2642
|
continue $sm;
|
|
2643
2643
|
case 1:
|
|
2644
2644
|
if (suspendResult) {
|
|
2645
|
-
var _iterator__ex2g4s = this.
|
|
2645
|
+
var _iterator__ex2g4s = this.la3_1.actions.l();
|
|
2646
2646
|
while (_iterator__ex2g4s.m()) {
|
|
2647
2647
|
var element = _iterator__ex2g4s.n();
|
|
2648
|
-
this.
|
|
2648
|
+
this.na3_1.dispatch(element);
|
|
2649
2649
|
}
|
|
2650
2650
|
this.s8_1 = 2;
|
|
2651
2651
|
continue $sm;
|
|
@@ -2670,35 +2670,35 @@
|
|
|
2670
2670
|
}
|
|
2671
2671
|
while (true);
|
|
2672
2672
|
};
|
|
2673
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2674
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
2675
|
-
i.
|
|
2676
|
-
i.
|
|
2673
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).na0 = function ($this$dispatchAsync, store, completion) {
|
|
2674
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.ka3_1, this.la3_1, completion);
|
|
2675
|
+
i.ma3_1 = $this$dispatchAsync;
|
|
2676
|
+
i.na3_1 = store;
|
|
2677
2677
|
return i;
|
|
2678
2678
|
};
|
|
2679
2679
|
function GameServer$roomOnContinueFromState$slambda_2($isCreated, $state, resultContinuation) {
|
|
2680
2680
|
var i = new GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation);
|
|
2681
2681
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2682
|
-
return i.
|
|
2682
|
+
return i.ma0($this$dispatchAsync, store, $completion);
|
|
2683
2683
|
};
|
|
2684
2684
|
l.$arity = 2;
|
|
2685
2685
|
return l;
|
|
2686
2686
|
}
|
|
2687
2687
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
2688
|
-
this.
|
|
2689
|
-
this.
|
|
2690
|
-
this.
|
|
2688
|
+
this.wa3_1 = $tableLite;
|
|
2689
|
+
this.xa3_1 = $roomId;
|
|
2690
|
+
this.ya3_1 = this$0;
|
|
2691
2691
|
CoroutineImpl.call(this, resultContinuation);
|
|
2692
2692
|
}
|
|
2693
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2694
|
-
var tmp = this.
|
|
2693
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).ma0 = function ($this$dispatchAsync, store, $completion) {
|
|
2694
|
+
var tmp = this.na0($this$dispatchAsync, store, $completion);
|
|
2695
2695
|
tmp.u8_1 = Unit_instance;
|
|
2696
2696
|
tmp.v8_1 = null;
|
|
2697
2697
|
return tmp.a9();
|
|
2698
2698
|
};
|
|
2699
2699
|
protoOf(GameServer$roomOnContinueFromRound$slambda).j9 = function (p1, p2, $completion) {
|
|
2700
2700
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2701
|
-
return this.
|
|
2701
|
+
return this.ma0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2702
2702
|
};
|
|
2703
2703
|
protoOf(GameServer$roomOnContinueFromRound$slambda).a9 = function () {
|
|
2704
2704
|
var suspendResult = this.u8_1;
|
|
@@ -2707,9 +2707,9 @@
|
|
|
2707
2707
|
var tmp = this.s8_1;
|
|
2708
2708
|
if (tmp === 0) {
|
|
2709
2709
|
this.t8_1 = 1;
|
|
2710
|
-
var tmp_0 = this.
|
|
2711
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
2712
|
-
var tmp1_table = Companion_instance_0.restartRound(this.
|
|
2710
|
+
var tmp_0 = this.aa4_1.dispatch;
|
|
2711
|
+
var tmp0_reason = new RestartRoundReason(this.wa3_1.gameInfo.round.roundNumber);
|
|
2712
|
+
var tmp1_table = Companion_instance_0.restartRound(this.xa3_1, _get_idsProvider__fnfajc(this.ya3_1).d6e(), get_versionOrDefault(GameEngineConfig_instance), this.wa3_1);
|
|
2713
2713
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2714
2714
|
return Unit_instance;
|
|
2715
2715
|
} else if (tmp === 1) {
|
|
@@ -2721,16 +2721,16 @@
|
|
|
2721
2721
|
}
|
|
2722
2722
|
while (true);
|
|
2723
2723
|
};
|
|
2724
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2725
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
2726
|
-
i.
|
|
2727
|
-
i.
|
|
2724
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).na0 = function ($this$dispatchAsync, store, completion) {
|
|
2725
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.wa3_1, this.xa3_1, this.ya3_1, completion);
|
|
2726
|
+
i.za3_1 = $this$dispatchAsync;
|
|
2727
|
+
i.aa4_1 = store;
|
|
2728
2728
|
return i;
|
|
2729
2729
|
};
|
|
2730
2730
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
2731
2731
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
2732
2732
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2733
|
-
return i.
|
|
2733
|
+
return i.ma0($this$dispatchAsync, store, $completion);
|
|
2734
2734
|
};
|
|
2735
2735
|
l.$arity = 2;
|
|
2736
2736
|
return l;
|
|
@@ -2738,15 +2738,15 @@
|
|
|
2738
2738
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
2739
2739
|
CoroutineImpl.call(this, resultContinuation);
|
|
2740
2740
|
}
|
|
2741
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2742
|
-
var tmp = this.
|
|
2741
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).ma0 = function ($this$dispatchAsync, store, $completion) {
|
|
2742
|
+
var tmp = this.na0($this$dispatchAsync, store, $completion);
|
|
2743
2743
|
tmp.u8_1 = Unit_instance;
|
|
2744
2744
|
tmp.v8_1 = null;
|
|
2745
2745
|
return tmp.a9();
|
|
2746
2746
|
};
|
|
2747
2747
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).j9 = function (p1, p2, $completion) {
|
|
2748
2748
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2749
|
-
return this.
|
|
2749
|
+
return this.ma0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2750
2750
|
};
|
|
2751
2751
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).a9 = function () {
|
|
2752
2752
|
var suspendResult = this.u8_1;
|
|
@@ -2755,7 +2755,7 @@
|
|
|
2755
2755
|
var tmp = this.s8_1;
|
|
2756
2756
|
if (tmp === 0) {
|
|
2757
2757
|
this.t8_1 = 1;
|
|
2758
|
-
this.
|
|
2758
|
+
this.ka4_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
2759
2759
|
return Unit_instance;
|
|
2760
2760
|
} else if (tmp === 1) {
|
|
2761
2761
|
throw this.v8_1;
|
|
@@ -2766,33 +2766,33 @@
|
|
|
2766
2766
|
}
|
|
2767
2767
|
while (true);
|
|
2768
2768
|
};
|
|
2769
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2769
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).na0 = function ($this$dispatchAsync, store, completion) {
|
|
2770
2770
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
2771
|
-
i.
|
|
2772
|
-
i.
|
|
2771
|
+
i.ja4_1 = $this$dispatchAsync;
|
|
2772
|
+
i.ka4_1 = store;
|
|
2773
2773
|
return i;
|
|
2774
2774
|
};
|
|
2775
2775
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
2776
2776
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
2777
2777
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2778
|
-
return i.
|
|
2778
|
+
return i.ma0($this$dispatchAsync, store, $completion);
|
|
2779
2779
|
};
|
|
2780
2780
|
l.$arity = 2;
|
|
2781
2781
|
return l;
|
|
2782
2782
|
}
|
|
2783
2783
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
2784
|
-
this.
|
|
2784
|
+
this.ta4_1 = $spectators;
|
|
2785
2785
|
CoroutineImpl.call(this, resultContinuation);
|
|
2786
2786
|
}
|
|
2787
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2788
|
-
var tmp = this.
|
|
2787
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).ma0 = function ($this$dispatchAsync, store, $completion) {
|
|
2788
|
+
var tmp = this.na0($this$dispatchAsync, store, $completion);
|
|
2789
2789
|
tmp.u8_1 = Unit_instance;
|
|
2790
2790
|
tmp.v8_1 = null;
|
|
2791
2791
|
return tmp.a9();
|
|
2792
2792
|
};
|
|
2793
2793
|
protoOf(GameServer$addSpectatorsToRoom$slambda).j9 = function (p1, p2, $completion) {
|
|
2794
2794
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2795
|
-
return this.
|
|
2795
|
+
return this.ma0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2796
2796
|
};
|
|
2797
2797
|
protoOf(GameServer$addSpectatorsToRoom$slambda).a9 = function () {
|
|
2798
2798
|
var suspendResult = this.u8_1;
|
|
@@ -2801,7 +2801,7 @@
|
|
|
2801
2801
|
var tmp = this.s8_1;
|
|
2802
2802
|
if (tmp === 0) {
|
|
2803
2803
|
this.t8_1 = 1;
|
|
2804
|
-
this.
|
|
2804
|
+
this.va4_1.dispatch(new AddSpectatorsAction(toList(this.ta4_1)));
|
|
2805
2805
|
return Unit_instance;
|
|
2806
2806
|
} else if (tmp === 1) {
|
|
2807
2807
|
throw this.v8_1;
|
|
@@ -2812,33 +2812,33 @@
|
|
|
2812
2812
|
}
|
|
2813
2813
|
while (true);
|
|
2814
2814
|
};
|
|
2815
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2816
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
2817
|
-
i.
|
|
2818
|
-
i.
|
|
2815
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).na0 = function ($this$dispatchAsync, store, completion) {
|
|
2816
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.ta4_1, completion);
|
|
2817
|
+
i.ua4_1 = $this$dispatchAsync;
|
|
2818
|
+
i.va4_1 = store;
|
|
2819
2819
|
return i;
|
|
2820
2820
|
};
|
|
2821
2821
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
2822
2822
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
2823
2823
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2824
|
-
return i.
|
|
2824
|
+
return i.ma0($this$dispatchAsync, store, $completion);
|
|
2825
2825
|
};
|
|
2826
2826
|
l.$arity = 2;
|
|
2827
2827
|
return l;
|
|
2828
2828
|
}
|
|
2829
2829
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
2830
|
-
this.
|
|
2830
|
+
this.ea5_1 = $spectators;
|
|
2831
2831
|
CoroutineImpl.call(this, resultContinuation);
|
|
2832
2832
|
}
|
|
2833
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2834
|
-
var tmp = this.
|
|
2833
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).ma0 = function ($this$dispatchAsync, store, $completion) {
|
|
2834
|
+
var tmp = this.na0($this$dispatchAsync, store, $completion);
|
|
2835
2835
|
tmp.u8_1 = Unit_instance;
|
|
2836
2836
|
tmp.v8_1 = null;
|
|
2837
2837
|
return tmp.a9();
|
|
2838
2838
|
};
|
|
2839
2839
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).j9 = function (p1, p2, $completion) {
|
|
2840
2840
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2841
|
-
return this.
|
|
2841
|
+
return this.ma0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2842
2842
|
};
|
|
2843
2843
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).a9 = function () {
|
|
2844
2844
|
var suspendResult = this.u8_1;
|
|
@@ -2847,7 +2847,7 @@
|
|
|
2847
2847
|
var tmp = this.s8_1;
|
|
2848
2848
|
if (tmp === 0) {
|
|
2849
2849
|
this.t8_1 = 1;
|
|
2850
|
-
this.
|
|
2850
|
+
this.ga5_1.dispatch(new RemoveSpectatorsAction(toList(this.ea5_1)));
|
|
2851
2851
|
return Unit_instance;
|
|
2852
2852
|
} else if (tmp === 1) {
|
|
2853
2853
|
throw this.v8_1;
|
|
@@ -2858,34 +2858,34 @@
|
|
|
2858
2858
|
}
|
|
2859
2859
|
while (true);
|
|
2860
2860
|
};
|
|
2861
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2862
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
2863
|
-
i.
|
|
2864
|
-
i.
|
|
2861
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).na0 = function ($this$dispatchAsync, store, completion) {
|
|
2862
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.ea5_1, completion);
|
|
2863
|
+
i.fa5_1 = $this$dispatchAsync;
|
|
2864
|
+
i.ga5_1 = store;
|
|
2865
2865
|
return i;
|
|
2866
2866
|
};
|
|
2867
2867
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
2868
2868
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
2869
2869
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2870
|
-
return i.
|
|
2870
|
+
return i.ma0($this$dispatchAsync, store, $completion);
|
|
2871
2871
|
};
|
|
2872
2872
|
l.$arity = 2;
|
|
2873
2873
|
return l;
|
|
2874
2874
|
}
|
|
2875
2875
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
2876
|
-
this.
|
|
2877
|
-
this.
|
|
2876
|
+
this.pa5_1 = $playerId;
|
|
2877
|
+
this.qa5_1 = this$0;
|
|
2878
2878
|
CoroutineImpl.call(this, resultContinuation);
|
|
2879
2879
|
}
|
|
2880
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2881
|
-
var tmp = this.
|
|
2880
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).ma0 = function ($this$dispatchAsync, store, $completion) {
|
|
2881
|
+
var tmp = this.na0($this$dispatchAsync, store, $completion);
|
|
2882
2882
|
tmp.u8_1 = Unit_instance;
|
|
2883
2883
|
tmp.v8_1 = null;
|
|
2884
2884
|
return tmp.a9();
|
|
2885
2885
|
};
|
|
2886
2886
|
protoOf(GameServer$roomRefreshPlayerState$slambda).j9 = function (p1, p2, $completion) {
|
|
2887
2887
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2888
|
-
return this.
|
|
2888
|
+
return this.ma0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2889
2889
|
};
|
|
2890
2890
|
protoOf(GameServer$roomRefreshPlayerState$slambda).a9 = function () {
|
|
2891
2891
|
var suspendResult = this.u8_1;
|
|
@@ -2894,14 +2894,14 @@
|
|
|
2894
2894
|
var tmp = this.s8_1;
|
|
2895
2895
|
if (tmp === 0) {
|
|
2896
2896
|
this.t8_1 = 1;
|
|
2897
|
-
var table = this.
|
|
2898
|
-
var player = getPlayer(table.players, this.
|
|
2897
|
+
var table = this.sa5_1.state.x6r();
|
|
2898
|
+
var player = getPlayer(table.players, this.pa5_1);
|
|
2899
2899
|
if (player.i6v_1.z68().n67_1.isLive) {
|
|
2900
|
-
this.
|
|
2900
|
+
this.sa5_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.qa5_1).ta5(player, table));
|
|
2901
2901
|
} else {
|
|
2902
|
-
var tmp_0 = this.
|
|
2902
|
+
var tmp_0 = this.sa5_1.dispatch;
|
|
2903
2903
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2904
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2904
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.pa5_1));
|
|
2905
2905
|
}
|
|
2906
2906
|
return Unit_instance;
|
|
2907
2907
|
} else if (tmp === 1) {
|
|
@@ -2913,34 +2913,34 @@
|
|
|
2913
2913
|
}
|
|
2914
2914
|
while (true);
|
|
2915
2915
|
};
|
|
2916
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2917
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
2918
|
-
i.
|
|
2919
|
-
i.
|
|
2916
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).na0 = function ($this$dispatchAsync, store, completion) {
|
|
2917
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.pa5_1, this.qa5_1, completion);
|
|
2918
|
+
i.ra5_1 = $this$dispatchAsync;
|
|
2919
|
+
i.sa5_1 = store;
|
|
2920
2920
|
return i;
|
|
2921
2921
|
};
|
|
2922
2922
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
2923
2923
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
2924
2924
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2925
|
-
return i.
|
|
2925
|
+
return i.ma0($this$dispatchAsync, store, $completion);
|
|
2926
2926
|
};
|
|
2927
2927
|
l.$arity = 2;
|
|
2928
2928
|
return l;
|
|
2929
2929
|
}
|
|
2930
2930
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
2931
|
-
this.
|
|
2932
|
-
this.
|
|
2931
|
+
this.ca6_1 = this$0;
|
|
2932
|
+
this.da6_1 = $newRid;
|
|
2933
2933
|
CoroutineImpl.call(this, resultContinuation);
|
|
2934
2934
|
}
|
|
2935
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2936
|
-
var tmp = this.
|
|
2935
|
+
protoOf(GameServer$roomOnDelete$slambda).ma0 = function ($this$dispatchAsync, store, $completion) {
|
|
2936
|
+
var tmp = this.na0($this$dispatchAsync, store, $completion);
|
|
2937
2937
|
tmp.u8_1 = Unit_instance;
|
|
2938
2938
|
tmp.v8_1 = null;
|
|
2939
2939
|
return tmp.a9();
|
|
2940
2940
|
};
|
|
2941
2941
|
protoOf(GameServer$roomOnDelete$slambda).j9 = function (p1, p2, $completion) {
|
|
2942
2942
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2943
|
-
return this.
|
|
2943
|
+
return this.ma0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2944
2944
|
};
|
|
2945
2945
|
protoOf(GameServer$roomOnDelete$slambda).a9 = function () {
|
|
2946
2946
|
var suspendResult = this.u8_1;
|
|
@@ -2949,10 +2949,10 @@
|
|
|
2949
2949
|
var tmp = this.s8_1;
|
|
2950
2950
|
if (tmp === 0) {
|
|
2951
2951
|
this.t8_1 = 1;
|
|
2952
|
-
var it = this.
|
|
2952
|
+
var it = this.ca6_1.t66().x6q_1;
|
|
2953
2953
|
var tmp_0;
|
|
2954
2954
|
if (it == null) {
|
|
2955
|
-
this.
|
|
2955
|
+
this.ca6_1.h4q().w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
2956
2956
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
2957
2957
|
} else {
|
|
2958
2958
|
tmp_0 = it;
|
|
@@ -2961,15 +2961,15 @@
|
|
|
2961
2961
|
var gameTransition = terminationState.t92_1;
|
|
2962
2962
|
var tmp_1;
|
|
2963
2963
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
2964
|
-
var tmp0_elvis_lhs = this.
|
|
2964
|
+
var tmp0_elvis_lhs = this.da6_1;
|
|
2965
2965
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
2966
2966
|
} else {
|
|
2967
2967
|
tmp_1 = gameTransition;
|
|
2968
2968
|
}
|
|
2969
2969
|
var transition = tmp_1;
|
|
2970
|
-
var tmp_2 = this.
|
|
2970
|
+
var tmp_2 = this.fa6_1.dispatch;
|
|
2971
2971
|
var tmp0_reason = terminationState.s92_1;
|
|
2972
|
-
var tmp1_isGameFinished = this.
|
|
2972
|
+
var tmp1_isGameFinished = this.ca6_1.t66().x6r().isGameFinished;
|
|
2973
2973
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
2974
2974
|
return Unit_instance;
|
|
2975
2975
|
} else if (tmp === 1) {
|
|
@@ -2981,33 +2981,33 @@
|
|
|
2981
2981
|
}
|
|
2982
2982
|
while (true);
|
|
2983
2983
|
};
|
|
2984
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2985
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
2986
|
-
i.
|
|
2987
|
-
i.
|
|
2984
|
+
protoOf(GameServer$roomOnDelete$slambda).na0 = function ($this$dispatchAsync, store, completion) {
|
|
2985
|
+
var i = new GameServer$roomOnDelete$slambda(this.ca6_1, this.da6_1, completion);
|
|
2986
|
+
i.ea6_1 = $this$dispatchAsync;
|
|
2987
|
+
i.fa6_1 = store;
|
|
2988
2988
|
return i;
|
|
2989
2989
|
};
|
|
2990
2990
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
2991
2991
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
2992
2992
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2993
|
-
return i.
|
|
2993
|
+
return i.ma0($this$dispatchAsync, store, $completion);
|
|
2994
2994
|
};
|
|
2995
2995
|
l.$arity = 2;
|
|
2996
2996
|
return l;
|
|
2997
2997
|
}
|
|
2998
2998
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
2999
|
-
this.
|
|
2999
|
+
this.oa6_1 = $enabled;
|
|
3000
3000
|
CoroutineImpl.call(this, resultContinuation);
|
|
3001
3001
|
}
|
|
3002
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
3003
|
-
var tmp = this.
|
|
3002
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).ma0 = function ($this$dispatchAsync, store, $completion) {
|
|
3003
|
+
var tmp = this.na0($this$dispatchAsync, store, $completion);
|
|
3004
3004
|
tmp.u8_1 = Unit_instance;
|
|
3005
3005
|
tmp.v8_1 = null;
|
|
3006
3006
|
return tmp.a9();
|
|
3007
3007
|
};
|
|
3008
3008
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).j9 = function (p1, p2, $completion) {
|
|
3009
3009
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3010
|
-
return this.
|
|
3010
|
+
return this.ma0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3011
3011
|
};
|
|
3012
3012
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).a9 = function () {
|
|
3013
3013
|
var suspendResult = this.u8_1;
|
|
@@ -3016,7 +3016,7 @@
|
|
|
3016
3016
|
var tmp = this.s8_1;
|
|
3017
3017
|
if (tmp === 0) {
|
|
3018
3018
|
this.t8_1 = 1;
|
|
3019
|
-
this.
|
|
3019
|
+
this.qa6_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload_0(this.qa6_1.state).config.copy(VOID, !this.oa6_1)));
|
|
3020
3020
|
return Unit_instance;
|
|
3021
3021
|
} else if (tmp === 1) {
|
|
3022
3022
|
throw this.v8_1;
|
|
@@ -3027,35 +3027,35 @@
|
|
|
3027
3027
|
}
|
|
3028
3028
|
while (true);
|
|
3029
3029
|
};
|
|
3030
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
3031
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
3032
|
-
i.
|
|
3033
|
-
i.
|
|
3030
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).na0 = function ($this$dispatchAsync, store, completion) {
|
|
3031
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.oa6_1, completion);
|
|
3032
|
+
i.pa6_1 = $this$dispatchAsync;
|
|
3033
|
+
i.qa6_1 = store;
|
|
3034
3034
|
return i;
|
|
3035
3035
|
};
|
|
3036
3036
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
3037
3037
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
3038
3038
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3039
|
-
return i.
|
|
3039
|
+
return i.ma0($this$dispatchAsync, store, $completion);
|
|
3040
3040
|
};
|
|
3041
3041
|
l.$arity = 2;
|
|
3042
3042
|
return l;
|
|
3043
3043
|
}
|
|
3044
3044
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
3045
|
-
this.
|
|
3046
|
-
this.
|
|
3047
|
-
this.
|
|
3045
|
+
this.za6_1 = $reason;
|
|
3046
|
+
this.aa7_1 = this$0;
|
|
3047
|
+
this.ba7_1 = $roomId;
|
|
3048
3048
|
CoroutineImpl.call(this, resultContinuation);
|
|
3049
3049
|
}
|
|
3050
|
-
protoOf(GameServer$shutdown$slambda).
|
|
3051
|
-
var tmp = this.
|
|
3050
|
+
protoOf(GameServer$shutdown$slambda).ma0 = function ($this$dispatchAsync, store, $completion) {
|
|
3051
|
+
var tmp = this.na0($this$dispatchAsync, store, $completion);
|
|
3052
3052
|
tmp.u8_1 = Unit_instance;
|
|
3053
3053
|
tmp.v8_1 = null;
|
|
3054
3054
|
return tmp.a9();
|
|
3055
3055
|
};
|
|
3056
3056
|
protoOf(GameServer$shutdown$slambda).j9 = function (p1, p2, $completion) {
|
|
3057
3057
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3058
|
-
return this.
|
|
3058
|
+
return this.ma0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3059
3059
|
};
|
|
3060
3060
|
protoOf(GameServer$shutdown$slambda).a9 = function () {
|
|
3061
3061
|
var suspendResult = this.u8_1;
|
|
@@ -3064,11 +3064,11 @@
|
|
|
3064
3064
|
var tmp = this.s8_1;
|
|
3065
3065
|
if (tmp === 0) {
|
|
3066
3066
|
this.t8_1 = 1;
|
|
3067
|
-
var state = this.
|
|
3067
|
+
var state = this.da7_1.store.state;
|
|
3068
3068
|
if (state.z6r()) {
|
|
3069
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
3069
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.za6_1, get_serverShutdownReasonMapping());
|
|
3070
3070
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
3071
|
-
var tmp_0 = this.
|
|
3071
|
+
var tmp_0 = this.da7_1.dispatch;
|
|
3072
3072
|
var tmp_1 = Companion_instance;
|
|
3073
3073
|
var tmp_2;
|
|
3074
3074
|
switch (shutdownReason.q2_1) {
|
|
@@ -3082,10 +3082,10 @@
|
|
|
3082
3082
|
noWhenBranchMatchedException();
|
|
3083
3083
|
break;
|
|
3084
3084
|
}
|
|
3085
|
-
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.
|
|
3085
|
+
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.aa7_1.table.isGameFinished, this.aa7_1.table));
|
|
3086
3086
|
} else {
|
|
3087
|
-
this.
|
|
3088
|
-
var tmp_3 = this.
|
|
3087
|
+
this.aa7_1.h4q().w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.ba7_1);
|
|
3088
|
+
var tmp_3 = this.da7_1.dispatch;
|
|
3089
3089
|
var tmp2_safe_receiver = state.x6q_1;
|
|
3090
3090
|
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.t92_1));
|
|
3091
3091
|
}
|
|
@@ -3099,37 +3099,37 @@
|
|
|
3099
3099
|
}
|
|
3100
3100
|
while (true);
|
|
3101
3101
|
};
|
|
3102
|
-
protoOf(GameServer$shutdown$slambda).
|
|
3103
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
3104
|
-
i.
|
|
3105
|
-
i.
|
|
3102
|
+
protoOf(GameServer$shutdown$slambda).na0 = function ($this$dispatchAsync, store, completion) {
|
|
3103
|
+
var i = new GameServer$shutdown$slambda(this.za6_1, this.aa7_1, this.ba7_1, completion);
|
|
3104
|
+
i.ca7_1 = $this$dispatchAsync;
|
|
3105
|
+
i.da7_1 = store;
|
|
3106
3106
|
return i;
|
|
3107
3107
|
};
|
|
3108
3108
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
3109
3109
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
3110
3110
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3111
|
-
return i.
|
|
3111
|
+
return i.ma0($this$dispatchAsync, store, $completion);
|
|
3112
3112
|
};
|
|
3113
3113
|
l.$arity = 2;
|
|
3114
3114
|
return l;
|
|
3115
3115
|
}
|
|
3116
3116
|
function GameServer$handlePlayerMessage$slambda($botChatInteractor, $message, $fromPlayerId, $onMessageGenerated, this$0, resultContinuation) {
|
|
3117
|
-
this.
|
|
3118
|
-
this.
|
|
3119
|
-
this.
|
|
3120
|
-
this.
|
|
3121
|
-
this.
|
|
3117
|
+
this.ma7_1 = $botChatInteractor;
|
|
3118
|
+
this.na7_1 = $message;
|
|
3119
|
+
this.oa7_1 = $fromPlayerId;
|
|
3120
|
+
this.pa7_1 = $onMessageGenerated;
|
|
3121
|
+
this.qa7_1 = this$0;
|
|
3122
3122
|
CoroutineImpl.call(this, resultContinuation);
|
|
3123
3123
|
}
|
|
3124
|
-
protoOf(GameServer$handlePlayerMessage$slambda).
|
|
3125
|
-
var tmp = this.
|
|
3124
|
+
protoOf(GameServer$handlePlayerMessage$slambda).ma0 = function ($this$dispatchAsync, store, $completion) {
|
|
3125
|
+
var tmp = this.na0($this$dispatchAsync, store, $completion);
|
|
3126
3126
|
tmp.u8_1 = Unit_instance;
|
|
3127
3127
|
tmp.v8_1 = null;
|
|
3128
3128
|
return tmp.a9();
|
|
3129
3129
|
};
|
|
3130
3130
|
protoOf(GameServer$handlePlayerMessage$slambda).j9 = function (p1, p2, $completion) {
|
|
3131
3131
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3132
|
-
return this.
|
|
3132
|
+
return this.ma0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3133
3133
|
};
|
|
3134
3134
|
protoOf(GameServer$handlePlayerMessage$slambda).a9 = function () {
|
|
3135
3135
|
var suspendResult = this.u8_1;
|
|
@@ -3139,18 +3139,18 @@
|
|
|
3139
3139
|
switch (tmp) {
|
|
3140
3140
|
case 0:
|
|
3141
3141
|
this.t8_1 = 3;
|
|
3142
|
-
var state = this.
|
|
3142
|
+
var state = this.sa7_1.store.state;
|
|
3143
3143
|
if (state.z6r()) {
|
|
3144
3144
|
var tmp0_table = state.x6r();
|
|
3145
3145
|
this.s8_1 = 1;
|
|
3146
|
-
suspendResult = this.
|
|
3146
|
+
suspendResult = this.ma7_1.o8r(tmp0_table, this.na7_1, this.oa7_1, VOID, this);
|
|
3147
3147
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3148
3148
|
return suspendResult;
|
|
3149
3149
|
}
|
|
3150
3150
|
continue $sm;
|
|
3151
3151
|
} else {
|
|
3152
|
-
this.
|
|
3153
|
-
var tmp_0 = this.
|
|
3152
|
+
this.qa7_1.h4q().w('GameEngine_API', "GameServer: can't generate message without table, " + this.oa7_1);
|
|
3153
|
+
var tmp_0 = this.sa7_1.dispatch;
|
|
3154
3154
|
var tmp1_safe_receiver = state.x6q_1;
|
|
3155
3155
|
tmp_0(new ClearAction(tmp1_safe_receiver == null ? null : tmp1_safe_receiver.t92_1));
|
|
3156
3156
|
this.s8_1 = 2;
|
|
@@ -3160,7 +3160,7 @@
|
|
|
3160
3160
|
case 1:
|
|
3161
3161
|
var message = suspendResult;
|
|
3162
3162
|
if (!(message == null)) {
|
|
3163
|
-
this.
|
|
3163
|
+
this.pa7_1(message);
|
|
3164
3164
|
}
|
|
3165
3165
|
|
|
3166
3166
|
this.s8_1 = 2;
|
|
@@ -3181,16 +3181,16 @@
|
|
|
3181
3181
|
}
|
|
3182
3182
|
while (true);
|
|
3183
3183
|
};
|
|
3184
|
-
protoOf(GameServer$handlePlayerMessage$slambda).
|
|
3185
|
-
var i = new GameServer$handlePlayerMessage$slambda(this.
|
|
3186
|
-
i.
|
|
3187
|
-
i.
|
|
3184
|
+
protoOf(GameServer$handlePlayerMessage$slambda).na0 = function ($this$dispatchAsync, store, completion) {
|
|
3185
|
+
var i = new GameServer$handlePlayerMessage$slambda(this.ma7_1, this.na7_1, this.oa7_1, this.pa7_1, this.qa7_1, completion);
|
|
3186
|
+
i.ra7_1 = $this$dispatchAsync;
|
|
3187
|
+
i.sa7_1 = store;
|
|
3188
3188
|
return i;
|
|
3189
3189
|
};
|
|
3190
3190
|
function GameServer$handlePlayerMessage$slambda_0($botChatInteractor, $message, $fromPlayerId, $onMessageGenerated, this$0, resultContinuation) {
|
|
3191
3191
|
var i = new GameServer$handlePlayerMessage$slambda($botChatInteractor, $message, $fromPlayerId, $onMessageGenerated, this$0, resultContinuation);
|
|
3192
3192
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3193
|
-
return i.
|
|
3193
|
+
return i.ma0($this$dispatchAsync, store, $completion);
|
|
3194
3194
|
};
|
|
3195
3195
|
l.$arity = 2;
|
|
3196
3196
|
return l;
|
|
@@ -3221,7 +3221,7 @@
|
|
|
3221
3221
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
3222
3222
|
var tmp_3 = Instance(di, tmp$ret$2, null);
|
|
3223
3223
|
var tmp_4 = KProperty1;
|
|
3224
|
-
tmp_1.
|
|
3224
|
+
tmp_1.c9x_1 = tmp_3.w64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_4, GameServer$_get_toClientEventsObserver_$ref_utir8s(), null));
|
|
3225
3225
|
var tmp_5 = this;
|
|
3226
3226
|
// Inline function 'org.kodein.di.instance' call
|
|
3227
3227
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3229,7 +3229,7 @@
|
|
|
3229
3229
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
3230
3230
|
var tmp_7 = Instance(di, tmp$ret$4, null);
|
|
3231
3231
|
var tmp_8 = KProperty1;
|
|
3232
|
-
tmp_5.
|
|
3232
|
+
tmp_5.d9x_1 = tmp_7.w64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_8, GameServer$_get_fromClientEventsObserver_$ref_nf1g79(), null));
|
|
3233
3233
|
var tmp_9 = this;
|
|
3234
3234
|
// Inline function 'org.kodein.di.instance' call
|
|
3235
3235
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3237,7 +3237,7 @@
|
|
|
3237
3237
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
3238
3238
|
var tmp_11 = Instance(di, tmp$ret$6, null);
|
|
3239
3239
|
var tmp_12 = KProperty1;
|
|
3240
|
-
tmp_9.
|
|
3240
|
+
tmp_9.e9x_1 = tmp_11.w64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_12, GameServer$_get_playerConnectionInteractor_$ref_of8tan(), null));
|
|
3241
3241
|
var tmp_13 = this;
|
|
3242
3242
|
// Inline function 'org.kodein.di.instance' call
|
|
3243
3243
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3245,7 +3245,7 @@
|
|
|
3245
3245
|
var tmp$ret$8 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
3246
3246
|
var tmp_15 = Instance(di, tmp$ret$8, null);
|
|
3247
3247
|
var tmp_16 = KProperty1;
|
|
3248
|
-
tmp_13.
|
|
3248
|
+
tmp_13.f9x_1 = tmp_15.w64(this, getPropertyCallableRef('teamsLogicProvider', 1, tmp_16, GameServer$_get_teamsLogicProvider_$ref_b7y54g(), null));
|
|
3249
3249
|
var tmp_17 = this;
|
|
3250
3250
|
// Inline function 'org.kodein.di.instance' call
|
|
3251
3251
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3253,9 +3253,9 @@
|
|
|
3253
3253
|
var tmp$ret$10 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
3254
3254
|
var tmp_19 = Instance(di, tmp$ret$10, null);
|
|
3255
3255
|
var tmp_20 = KProperty1;
|
|
3256
|
-
tmp_17.
|
|
3256
|
+
tmp_17.g9x_1 = tmp_19.w64(this, getPropertyCallableRef('userRatingInteractor', 1, tmp_20, GameServer$_get_userRatingInteractor_$ref_8uo6aw(), null));
|
|
3257
3257
|
var tmp_21 = this;
|
|
3258
|
-
tmp_21.
|
|
3258
|
+
tmp_21.h9x_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
3259
3259
|
var tmp_22 = this;
|
|
3260
3260
|
// Inline function 'org.kodein.di.instance' call
|
|
3261
3261
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3263,7 +3263,7 @@
|
|
|
3263
3263
|
var tmp$ret$12 = isInterface(tmp_23, TypeToken) ? tmp_23 : THROW_CCE();
|
|
3264
3264
|
var tmp_24 = Instance(di, tmp$ret$12, null);
|
|
3265
3265
|
var tmp_25 = KProperty1;
|
|
3266
|
-
tmp_22.
|
|
3266
|
+
tmp_22.i9x_1 = tmp_24.w64(this, getPropertyCallableRef('idsProvider', 1, tmp_25, GameServer$_get_idsProvider_$ref_89s908(), null));
|
|
3267
3267
|
var tmp_26 = this;
|
|
3268
3268
|
// Inline function 'org.kodein.di.instance' call
|
|
3269
3269
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3271,7 +3271,7 @@
|
|
|
3271
3271
|
var tmp$ret$14 = isInterface(tmp_27, TypeToken) ? tmp_27 : THROW_CCE();
|
|
3272
3272
|
var tmp_28 = Instance(di, tmp$ret$14, null);
|
|
3273
3273
|
var tmp_29 = KProperty1;
|
|
3274
|
-
tmp_26.
|
|
3274
|
+
tmp_26.j9x_1 = tmp_28.w64(this, getPropertyCallableRef('serverReduxConfig', 1, tmp_29, GameServer$_get_serverReduxConfig_$ref_7h6jq6(), null));
|
|
3275
3275
|
var tmp_30 = this;
|
|
3276
3276
|
// Inline function 'org.kodein.di.instance' call
|
|
3277
3277
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3279,7 +3279,7 @@
|
|
|
3279
3279
|
var tmp$ret$16 = isInterface(tmp_31, TypeToken) ? tmp_31 : THROW_CCE();
|
|
3280
3280
|
var tmp_32 = Instance(di, tmp$ret$16, null);
|
|
3281
3281
|
var tmp_33 = KProperty1;
|
|
3282
|
-
tmp_30.
|
|
3282
|
+
tmp_30.k9x_1 = tmp_32.w64(this, getPropertyCallableRef('encoderDecoderProvider', 1, tmp_33, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8(), null));
|
|
3283
3283
|
var tmp_34 = this;
|
|
3284
3284
|
// Inline function 'org.kodein.di.instance' call
|
|
3285
3285
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3287,7 +3287,7 @@
|
|
|
3287
3287
|
var tmp$ret$18 = isInterface(tmp_35, TypeToken) ? tmp_35 : THROW_CCE();
|
|
3288
3288
|
var tmp_36 = Instance(di, tmp$ret$18, null);
|
|
3289
3289
|
var tmp_37 = KProperty1;
|
|
3290
|
-
tmp_34.
|
|
3290
|
+
tmp_34.l9x_1 = tmp_36.w64(this, getPropertyCallableRef('engineLogicConfig', 1, tmp_37, GameServer$_get_engineLogicConfig_$ref_nlkv2l(), null));
|
|
3291
3291
|
var tmp_38 = this;
|
|
3292
3292
|
// Inline function 'org.kodein.di.instanceOrNull' call
|
|
3293
3293
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3295,14 +3295,14 @@
|
|
|
3295
3295
|
var tmp$ret$20 = isInterface(tmp_39, TypeToken) ? tmp_39 : THROW_CCE();
|
|
3296
3296
|
var tmp_40 = InstanceOrNull(di, tmp$ret$20, null);
|
|
3297
3297
|
var tmp_41 = KProperty1;
|
|
3298
|
-
tmp_38.
|
|
3298
|
+
tmp_38.m9x_1 = tmp_40.w64(this, getPropertyCallableRef('botChatInteractor', 1, tmp_41, GameServer$_get_botChatInteractor_$ref_zf10ih(), null));
|
|
3299
3299
|
var tmp_42 = this;
|
|
3300
|
-
var tmp0_externalMiddlewares = plus(storeContract.
|
|
3301
|
-
var tmp1_externalReducers = plus(storeContract.
|
|
3302
|
-
tmp_42.
|
|
3300
|
+
var tmp0_externalMiddlewares = plus(storeContract.j97(), externalMiddlewares);
|
|
3301
|
+
var tmp1_externalReducers = plus(storeContract.i97(), externalReducers);
|
|
3302
|
+
tmp_42.n9x_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
3303
3303
|
}
|
|
3304
3304
|
protoOf(GameServer).n6q = function () {
|
|
3305
|
-
return this.
|
|
3305
|
+
return this.n9x_1;
|
|
3306
3306
|
};
|
|
3307
3307
|
protoOf(GameServer).z8l = function () {
|
|
3308
3308
|
return get_serverStatePayload_0(this.t66()).metadata;
|
|
@@ -3357,17 +3357,17 @@
|
|
|
3357
3357
|
};
|
|
3358
3358
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
3359
3359
|
this.h4q().d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
3360
|
-
this.
|
|
3360
|
+
this.n9x_1.v6r(GameServer$fromClientEvent$slambda_0(action, null));
|
|
3361
3361
|
};
|
|
3362
3362
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
3363
3363
|
this.h4q().d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
3364
|
-
this.
|
|
3364
|
+
this.n9x_1.v6r(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
3365
3365
|
};
|
|
3366
3366
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
3367
3367
|
this.h4q().d('GameEngine_API', 'playerLive: ' + playerId);
|
|
3368
|
-
this.
|
|
3368
|
+
this.n9x_1.v6r(GameServer$playerLive$slambda_0(this, playerId, null));
|
|
3369
3369
|
};
|
|
3370
|
-
protoOf(GameServer).
|
|
3370
|
+
protoOf(GameServer).ta7 = function (playerId, permanently) {
|
|
3371
3371
|
this.h4q().d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
3372
3372
|
var tmp;
|
|
3373
3373
|
if (this.t66().z6r()) {
|
|
@@ -3376,44 +3376,58 @@
|
|
|
3376
3376
|
tmp = new PlayerLeftResult(null, null);
|
|
3377
3377
|
}
|
|
3378
3378
|
var result = tmp;
|
|
3379
|
-
this.
|
|
3379
|
+
this.n9x_1.v6r(GameServer$playerLeft$slambda_0(this, playerId, permanently, null));
|
|
3380
3380
|
return result;
|
|
3381
3381
|
};
|
|
3382
|
-
protoOf(GameServer).
|
|
3382
|
+
protoOf(GameServer).ua7 = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
3383
3383
|
this.h4q().d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
3384
|
-
this.
|
|
3384
|
+
this.n9x_1.v6r(GameServer$roomOnCreate$slambda_0(usersArray, this, config, roomId, transition, gameCreatorId, spectators, null));
|
|
3385
3385
|
};
|
|
3386
3386
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
3387
3387
|
this.h4q().d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
3388
|
-
var isCreated = this.
|
|
3389
|
-
this.
|
|
3388
|
+
var isCreated = this.n9x_1.w6r(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
3389
|
+
this.n9x_1.v6r(GameServer$roomOnContinueFromState$slambda_2(isCreated, state, null));
|
|
3390
3390
|
};
|
|
3391
3391
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
3392
3392
|
this.h4q().d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
3393
|
-
this.
|
|
3394
|
-
this.
|
|
3393
|
+
this.n9x_1.v6r(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
3394
|
+
this.n9x_1.v6r(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
3395
3395
|
};
|
|
3396
3396
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
3397
|
-
this.
|
|
3397
|
+
this.n9x_1.v6r(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
3398
3398
|
};
|
|
3399
3399
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
3400
|
-
this.
|
|
3400
|
+
this.n9x_1.v6r(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
3401
3401
|
};
|
|
3402
3402
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
3403
3403
|
this.h4q().d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
3404
|
-
this.
|
|
3404
|
+
this.n9x_1.v6r(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
3405
|
+
};
|
|
3406
|
+
protoOf(GameServer).getToClientFinishActionBeforeDisconnect = function (playerId, originState) {
|
|
3407
|
+
this.h4q().d('GameEngine_API', 'getToClientFinishActionBeforeDisconnect: ' + playerId);
|
|
3408
|
+
if (!this.isTableExists) {
|
|
3409
|
+
this.h4q().w('GameEngine_API', "Table not exists can't use playerConnectionInteractor");
|
|
3410
|
+
return null;
|
|
3411
|
+
}
|
|
3412
|
+
var table = this.table;
|
|
3413
|
+
var player = getPlayer(table.players, playerId);
|
|
3414
|
+
var actions = _get_playerConnectionInteractor__si6cxf(this).va7(playerId, player.c68(), table.id, mapToFinishReason(originState, player, table.playersConnections), table.isGameFinished);
|
|
3415
|
+
if (actions.r()) {
|
|
3416
|
+
return null;
|
|
3417
|
+
}
|
|
3418
|
+
return new CombinedToClientAction(actions, Companion_instance_1.user(_get_idsProvider__fnfajc(this).d6e(), table.id, playerId));
|
|
3405
3419
|
};
|
|
3406
|
-
protoOf(GameServer).
|
|
3420
|
+
protoOf(GameServer).wa7 = function (newRid) {
|
|
3407
3421
|
this.h4q().d('GameEngine_API', 'roomOnDelete: newRid = ' + newRid);
|
|
3408
|
-
this.
|
|
3422
|
+
this.n9x_1.v6r(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
3409
3423
|
};
|
|
3410
3424
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
3411
3425
|
this.h4q().d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
3412
|
-
this.
|
|
3426
|
+
this.n9x_1.v6r(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
3413
3427
|
};
|
|
3414
|
-
protoOf(GameServer).
|
|
3428
|
+
protoOf(GameServer).xa7 = function (reason, roomId) {
|
|
3415
3429
|
this.h4q().d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
3416
|
-
this.
|
|
3430
|
+
this.n9x_1.v6r(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
3417
3431
|
};
|
|
3418
3432
|
protoOf(GameServer).handlePlayerMessage = function (message, fromPlayerId, onMessageGenerated) {
|
|
3419
3433
|
var tmp0_elvis_lhs = _get_botChatInteractor__17f3on(this);
|
|
@@ -3425,7 +3439,7 @@
|
|
|
3425
3439
|
}
|
|
3426
3440
|
var botChatInteractor = tmp;
|
|
3427
3441
|
this.h4q().d('GameEngine_API', 'handlePlayerMessage: ' + fromPlayerId);
|
|
3428
|
-
this.
|
|
3442
|
+
this.n9x_1.v6r(GameServer$handlePlayerMessage$slambda_0(botChatInteractor, message, fromPlayerId, onMessageGenerated, this, null));
|
|
3429
3443
|
};
|
|
3430
3444
|
protoOf(GameServer).clear = function () {
|
|
3431
3445
|
return this.i2();
|
|
@@ -3479,13 +3493,13 @@
|
|
|
3479
3493
|
this.shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy;
|
|
3480
3494
|
this.shouldFinishGameWithBots = shouldFinishGameWithBots;
|
|
3481
3495
|
}
|
|
3482
|
-
protoOf(ServerConfig).
|
|
3496
|
+
protoOf(ServerConfig).ya7 = function () {
|
|
3483
3497
|
return this.fromRound;
|
|
3484
3498
|
};
|
|
3485
|
-
protoOf(ServerConfig).
|
|
3499
|
+
protoOf(ServerConfig).za7 = function () {
|
|
3486
3500
|
return this.shouldFinishGameWhenDeploy;
|
|
3487
3501
|
};
|
|
3488
|
-
protoOf(ServerConfig).
|
|
3502
|
+
protoOf(ServerConfig).aa8 = function () {
|
|
3489
3503
|
return this.shouldFinishGameWithBots;
|
|
3490
3504
|
};
|
|
3491
3505
|
protoOf(ServerConfig).oe = function () {
|
|
@@ -3497,14 +3511,14 @@
|
|
|
3497
3511
|
protoOf(ServerConfig).xl = function () {
|
|
3498
3512
|
return this.shouldFinishGameWithBots;
|
|
3499
3513
|
};
|
|
3500
|
-
protoOf(ServerConfig).
|
|
3514
|
+
protoOf(ServerConfig).ba8 = function (fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) {
|
|
3501
3515
|
return new ServerConfig(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots);
|
|
3502
3516
|
};
|
|
3503
3517
|
protoOf(ServerConfig).copy = function (fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots, $super) {
|
|
3504
3518
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
3505
3519
|
shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy === VOID ? this.shouldFinishGameWhenDeploy : shouldFinishGameWhenDeploy;
|
|
3506
3520
|
shouldFinishGameWithBots = shouldFinishGameWithBots === VOID ? this.shouldFinishGameWithBots : shouldFinishGameWithBots;
|
|
3507
|
-
return $super === VOID ? this.
|
|
3521
|
+
return $super === VOID ? this.ba8(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) : $super.ba8.call(this, fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots);
|
|
3508
3522
|
};
|
|
3509
3523
|
protoOf(ServerConfig).toString = function () {
|
|
3510
3524
|
return 'ServerConfig(fromRound=' + this.fromRound + ', shouldFinishGameWhenDeploy=' + this.shouldFinishGameWhenDeploy + ', shouldFinishGameWithBots=' + this.shouldFinishGameWithBots + ')';
|
|
@@ -3569,20 +3583,20 @@
|
|
|
3569
3583
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 2);
|
|
3570
3584
|
tmp0_serialDesc.gz('roomId', false);
|
|
3571
3585
|
tmp0_serialDesc.gz('table', false);
|
|
3572
|
-
this.
|
|
3586
|
+
this.ca8_1 = tmp0_serialDesc;
|
|
3573
3587
|
}
|
|
3574
|
-
protoOf($serializer).
|
|
3575
|
-
var tmp0_desc = this.
|
|
3588
|
+
protoOf($serializer).da8 = function (encoder, value) {
|
|
3589
|
+
var tmp0_desc = this.ca8_1;
|
|
3576
3590
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3577
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3591
|
+
tmp1_output.dt(tmp0_desc, 0, value.ea8_1);
|
|
3578
3592
|
tmp1_output.dt(tmp0_desc, 1, value.table);
|
|
3579
3593
|
tmp1_output.pr(tmp0_desc);
|
|
3580
3594
|
};
|
|
3581
3595
|
protoOf($serializer).co = function (encoder, value) {
|
|
3582
|
-
return this.
|
|
3596
|
+
return this.da8(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3583
3597
|
};
|
|
3584
3598
|
protoOf($serializer).do = function (decoder) {
|
|
3585
|
-
var tmp0_desc = this.
|
|
3599
|
+
var tmp0_desc = this.ca8_1;
|
|
3586
3600
|
var tmp1_flag = true;
|
|
3587
3601
|
var tmp2_index = 0;
|
|
3588
3602
|
var tmp3_bitMask0 = 0;
|
|
@@ -3617,7 +3631,7 @@
|
|
|
3617
3631
|
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3618
3632
|
};
|
|
3619
3633
|
protoOf($serializer).bo = function () {
|
|
3620
|
-
return this.
|
|
3634
|
+
return this.ca8_1;
|
|
3621
3635
|
};
|
|
3622
3636
|
protoOf($serializer).vz = function () {
|
|
3623
3637
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3633,9 +3647,9 @@
|
|
|
3633
3647
|
}
|
|
3634
3648
|
function TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, $this) {
|
|
3635
3649
|
if (!(3 === (3 & seen0))) {
|
|
3636
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance().
|
|
3650
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance().ca8_1);
|
|
3637
3651
|
}
|
|
3638
|
-
$this.
|
|
3652
|
+
$this.ea8_1 = roomId;
|
|
3639
3653
|
$this.table = table;
|
|
3640
3654
|
return $this;
|
|
3641
3655
|
}
|
|
@@ -3643,17 +3657,17 @@
|
|
|
3643
3657
|
return TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, objectCreate(protoOf(TableStateUpdateDto)));
|
|
3644
3658
|
}
|
|
3645
3659
|
function TableStateUpdateDto(roomId, table) {
|
|
3646
|
-
this.
|
|
3660
|
+
this.ea8_1 = roomId;
|
|
3647
3661
|
this.table = table;
|
|
3648
3662
|
}
|
|
3649
3663
|
protoOf(TableStateUpdateDto).s8i = function () {
|
|
3650
|
-
return this.
|
|
3664
|
+
return this.ea8_1;
|
|
3651
3665
|
};
|
|
3652
3666
|
protoOf(TableStateUpdateDto).x6r = function () {
|
|
3653
3667
|
return this.table;
|
|
3654
3668
|
};
|
|
3655
3669
|
protoOf(TableStateUpdateDto).oe = function () {
|
|
3656
|
-
return this.
|
|
3670
|
+
return this.ea8_1;
|
|
3657
3671
|
};
|
|
3658
3672
|
protoOf(TableStateUpdateDto).pe = function () {
|
|
3659
3673
|
return this.table;
|
|
@@ -3662,15 +3676,15 @@
|
|
|
3662
3676
|
return new TableStateUpdateDto(roomId, table);
|
|
3663
3677
|
};
|
|
3664
3678
|
protoOf(TableStateUpdateDto).copy = function (roomId, table, $super) {
|
|
3665
|
-
roomId = roomId === VOID ? this.
|
|
3679
|
+
roomId = roomId === VOID ? this.ea8_1 : roomId;
|
|
3666
3680
|
table = table === VOID ? this.table : table;
|
|
3667
3681
|
return $super === VOID ? this.e54(roomId, table) : $super.e54.call(this, roomId, table);
|
|
3668
3682
|
};
|
|
3669
3683
|
protoOf(TableStateUpdateDto).toString = function () {
|
|
3670
|
-
return 'TableStateUpdateDto(roomId=' + this.
|
|
3684
|
+
return 'TableStateUpdateDto(roomId=' + this.ea8_1 + ', table=' + this.table + ')';
|
|
3671
3685
|
};
|
|
3672
3686
|
protoOf(TableStateUpdateDto).hashCode = function () {
|
|
3673
|
-
var result = getStringHashCode(this.
|
|
3687
|
+
var result = getStringHashCode(this.ea8_1);
|
|
3674
3688
|
result = imul(result, 31) + getStringHashCode(this.table) | 0;
|
|
3675
3689
|
return result;
|
|
3676
3690
|
};
|
|
@@ -3679,7 +3693,7 @@
|
|
|
3679
3693
|
return true;
|
|
3680
3694
|
if (!(other instanceof TableStateUpdateDto))
|
|
3681
3695
|
return false;
|
|
3682
|
-
if (!(this.
|
|
3696
|
+
if (!(this.ea8_1 === other.ea8_1))
|
|
3683
3697
|
return false;
|
|
3684
3698
|
if (!(this.table === other.table))
|
|
3685
3699
|
return false;
|
|
@@ -3699,20 +3713,20 @@
|
|
|
3699
3713
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 2);
|
|
3700
3714
|
tmp0_serialDesc.gz('roomId', false);
|
|
3701
3715
|
tmp0_serialDesc.gz('actions', false);
|
|
3702
|
-
this.
|
|
3716
|
+
this.fa8_1 = tmp0_serialDesc;
|
|
3703
3717
|
}
|
|
3704
|
-
protoOf($serializer_0).
|
|
3705
|
-
var tmp0_desc = this.
|
|
3718
|
+
protoOf($serializer_0).ga8 = function (encoder, value) {
|
|
3719
|
+
var tmp0_desc = this.fa8_1;
|
|
3706
3720
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3707
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3721
|
+
tmp1_output.dt(tmp0_desc, 0, value.ha8_1);
|
|
3708
3722
|
tmp1_output.dt(tmp0_desc, 1, value.actions);
|
|
3709
3723
|
tmp1_output.pr(tmp0_desc);
|
|
3710
3724
|
};
|
|
3711
3725
|
protoOf($serializer_0).co = function (encoder, value) {
|
|
3712
|
-
return this.
|
|
3726
|
+
return this.ga8(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
|
|
3713
3727
|
};
|
|
3714
3728
|
protoOf($serializer_0).do = function (decoder) {
|
|
3715
|
-
var tmp0_desc = this.
|
|
3729
|
+
var tmp0_desc = this.fa8_1;
|
|
3716
3730
|
var tmp1_flag = true;
|
|
3717
3731
|
var tmp2_index = 0;
|
|
3718
3732
|
var tmp3_bitMask0 = 0;
|
|
@@ -3747,7 +3761,7 @@
|
|
|
3747
3761
|
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3748
3762
|
};
|
|
3749
3763
|
protoOf($serializer_0).bo = function () {
|
|
3750
|
-
return this.
|
|
3764
|
+
return this.fa8_1;
|
|
3751
3765
|
};
|
|
3752
3766
|
protoOf($serializer_0).vz = function () {
|
|
3753
3767
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3763,9 +3777,9 @@
|
|
|
3763
3777
|
}
|
|
3764
3778
|
function ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, $this) {
|
|
3765
3779
|
if (!(3 === (3 & seen0))) {
|
|
3766
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().
|
|
3780
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().fa8_1);
|
|
3767
3781
|
}
|
|
3768
|
-
$this.
|
|
3782
|
+
$this.ha8_1 = roomId;
|
|
3769
3783
|
$this.actions = actions;
|
|
3770
3784
|
return $this;
|
|
3771
3785
|
}
|
|
@@ -3773,17 +3787,17 @@
|
|
|
3773
3787
|
return ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, objectCreate(protoOf(ActionsStateUpdateDto)));
|
|
3774
3788
|
}
|
|
3775
3789
|
function ActionsStateUpdateDto(roomId, actions) {
|
|
3776
|
-
this.
|
|
3790
|
+
this.ha8_1 = roomId;
|
|
3777
3791
|
this.actions = actions;
|
|
3778
3792
|
}
|
|
3779
3793
|
protoOf(ActionsStateUpdateDto).s8i = function () {
|
|
3780
|
-
return this.
|
|
3794
|
+
return this.ha8_1;
|
|
3781
3795
|
};
|
|
3782
3796
|
protoOf(ActionsStateUpdateDto).g8j = function () {
|
|
3783
3797
|
return this.actions;
|
|
3784
3798
|
};
|
|
3785
3799
|
protoOf(ActionsStateUpdateDto).oe = function () {
|
|
3786
|
-
return this.
|
|
3800
|
+
return this.ha8_1;
|
|
3787
3801
|
};
|
|
3788
3802
|
protoOf(ActionsStateUpdateDto).pe = function () {
|
|
3789
3803
|
return this.actions;
|
|
@@ -3792,15 +3806,15 @@
|
|
|
3792
3806
|
return new ActionsStateUpdateDto(roomId, actions);
|
|
3793
3807
|
};
|
|
3794
3808
|
protoOf(ActionsStateUpdateDto).copy = function (roomId, actions, $super) {
|
|
3795
|
-
roomId = roomId === VOID ? this.
|
|
3809
|
+
roomId = roomId === VOID ? this.ha8_1 : roomId;
|
|
3796
3810
|
actions = actions === VOID ? this.actions : actions;
|
|
3797
3811
|
return $super === VOID ? this.e54(roomId, actions) : $super.e54.call(this, roomId, actions);
|
|
3798
3812
|
};
|
|
3799
3813
|
protoOf(ActionsStateUpdateDto).toString = function () {
|
|
3800
|
-
return 'ActionsStateUpdateDto(roomId=' + this.
|
|
3814
|
+
return 'ActionsStateUpdateDto(roomId=' + this.ha8_1 + ', actions=' + this.actions + ')';
|
|
3801
3815
|
};
|
|
3802
3816
|
protoOf(ActionsStateUpdateDto).hashCode = function () {
|
|
3803
|
-
var result = getStringHashCode(this.
|
|
3817
|
+
var result = getStringHashCode(this.ha8_1);
|
|
3804
3818
|
result = imul(result, 31) + getStringHashCode(this.actions) | 0;
|
|
3805
3819
|
return result;
|
|
3806
3820
|
};
|
|
@@ -3809,7 +3823,7 @@
|
|
|
3809
3823
|
return true;
|
|
3810
3824
|
if (!(other instanceof ActionsStateUpdateDto))
|
|
3811
3825
|
return false;
|
|
3812
|
-
if (!(this.
|
|
3826
|
+
if (!(this.ha8_1 === other.ha8_1))
|
|
3813
3827
|
return false;
|
|
3814
3828
|
if (!(this.actions === other.actions))
|
|
3815
3829
|
return false;
|
|
@@ -3839,42 +3853,42 @@
|
|
|
3839
3853
|
var tmp$ret$0 = mapToDto(item);
|
|
3840
3854
|
destination.j(tmp$ret$0);
|
|
3841
3855
|
}
|
|
3842
|
-
return new ActionsStateUpdateDto(_this__u8e3s4.
|
|
3856
|
+
return new ActionsStateUpdateDto(_this__u8e3s4.ia8_1, encoderDecoderProvider.i8q(destination));
|
|
3843
3857
|
}
|
|
3844
3858
|
function mapToDto_3(_this__u8e3s4, encoderDecoderProvider) {
|
|
3845
|
-
return new TableStateUpdateDto(_this__u8e3s4.
|
|
3859
|
+
return new TableStateUpdateDto(_this__u8e3s4.ja8_1, encoderDecoderProvider.g8q(mapToDto_0(_this__u8e3s4.table)));
|
|
3846
3860
|
}
|
|
3847
3861
|
function ServerStateUpdate() {
|
|
3848
3862
|
}
|
|
3849
3863
|
function TableStateUpdate(roomId, table) {
|
|
3850
|
-
this.
|
|
3864
|
+
this.ja8_1 = roomId;
|
|
3851
3865
|
this.table = table;
|
|
3852
3866
|
}
|
|
3853
3867
|
protoOf(TableStateUpdate).s8i = function () {
|
|
3854
|
-
return this.
|
|
3868
|
+
return this.ja8_1;
|
|
3855
3869
|
};
|
|
3856
3870
|
protoOf(TableStateUpdate).x6r = function () {
|
|
3857
3871
|
return this.table;
|
|
3858
3872
|
};
|
|
3859
3873
|
protoOf(TableStateUpdate).oe = function () {
|
|
3860
|
-
return this.
|
|
3874
|
+
return this.ja8_1;
|
|
3861
3875
|
};
|
|
3862
3876
|
protoOf(TableStateUpdate).pe = function () {
|
|
3863
3877
|
return this.table;
|
|
3864
3878
|
};
|
|
3865
|
-
protoOf(TableStateUpdate).
|
|
3879
|
+
protoOf(TableStateUpdate).ka8 = function (roomId, table) {
|
|
3866
3880
|
return new TableStateUpdate(roomId, table);
|
|
3867
3881
|
};
|
|
3868
3882
|
protoOf(TableStateUpdate).copy = function (roomId, table, $super) {
|
|
3869
|
-
roomId = roomId === VOID ? this.
|
|
3883
|
+
roomId = roomId === VOID ? this.ja8_1 : roomId;
|
|
3870
3884
|
table = table === VOID ? this.table : table;
|
|
3871
|
-
return $super === VOID ? this.
|
|
3885
|
+
return $super === VOID ? this.ka8(roomId, table) : $super.ka8.call(this, roomId, table);
|
|
3872
3886
|
};
|
|
3873
3887
|
protoOf(TableStateUpdate).toString = function () {
|
|
3874
|
-
return 'TableStateUpdate(roomId=' + this.
|
|
3888
|
+
return 'TableStateUpdate(roomId=' + this.ja8_1 + ', table=' + this.table.toString() + ')';
|
|
3875
3889
|
};
|
|
3876
3890
|
protoOf(TableStateUpdate).hashCode = function () {
|
|
3877
|
-
var result = getStringHashCode(this.
|
|
3891
|
+
var result = getStringHashCode(this.ja8_1);
|
|
3878
3892
|
result = imul(result, 31) + this.table.hashCode() | 0;
|
|
3879
3893
|
return result;
|
|
3880
3894
|
};
|
|
@@ -3883,41 +3897,41 @@
|
|
|
3883
3897
|
return true;
|
|
3884
3898
|
if (!(other instanceof TableStateUpdate))
|
|
3885
3899
|
return false;
|
|
3886
|
-
if (!(this.
|
|
3900
|
+
if (!(this.ja8_1 === other.ja8_1))
|
|
3887
3901
|
return false;
|
|
3888
3902
|
if (!this.table.equals(other.table))
|
|
3889
3903
|
return false;
|
|
3890
3904
|
return true;
|
|
3891
3905
|
};
|
|
3892
3906
|
function ActionsStateUpdate(roomId, actions) {
|
|
3893
|
-
this.
|
|
3907
|
+
this.ia8_1 = roomId;
|
|
3894
3908
|
this.actions = actions;
|
|
3895
3909
|
}
|
|
3896
3910
|
protoOf(ActionsStateUpdate).s8i = function () {
|
|
3897
|
-
return this.
|
|
3911
|
+
return this.ia8_1;
|
|
3898
3912
|
};
|
|
3899
3913
|
protoOf(ActionsStateUpdate).g8j = function () {
|
|
3900
3914
|
return this.actions;
|
|
3901
3915
|
};
|
|
3902
3916
|
protoOf(ActionsStateUpdate).oe = function () {
|
|
3903
|
-
return this.
|
|
3917
|
+
return this.ia8_1;
|
|
3904
3918
|
};
|
|
3905
3919
|
protoOf(ActionsStateUpdate).pe = function () {
|
|
3906
3920
|
return this.actions;
|
|
3907
3921
|
};
|
|
3908
|
-
protoOf(ActionsStateUpdate).
|
|
3922
|
+
protoOf(ActionsStateUpdate).la8 = function (roomId, actions) {
|
|
3909
3923
|
return new ActionsStateUpdate(roomId, actions);
|
|
3910
3924
|
};
|
|
3911
3925
|
protoOf(ActionsStateUpdate).copy = function (roomId, actions, $super) {
|
|
3912
|
-
roomId = roomId === VOID ? this.
|
|
3926
|
+
roomId = roomId === VOID ? this.ia8_1 : roomId;
|
|
3913
3927
|
actions = actions === VOID ? this.actions : actions;
|
|
3914
|
-
return $super === VOID ? this.
|
|
3928
|
+
return $super === VOID ? this.la8(roomId, actions) : $super.la8.call(this, roomId, actions);
|
|
3915
3929
|
};
|
|
3916
3930
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
3917
|
-
return 'ActionsStateUpdate(roomId=' + this.
|
|
3931
|
+
return 'ActionsStateUpdate(roomId=' + this.ia8_1 + ', actions=' + toString(this.actions) + ')';
|
|
3918
3932
|
};
|
|
3919
3933
|
protoOf(ActionsStateUpdate).hashCode = function () {
|
|
3920
|
-
var result = getStringHashCode(this.
|
|
3934
|
+
var result = getStringHashCode(this.ia8_1);
|
|
3921
3935
|
result = imul(result, 31) + hashCode(this.actions) | 0;
|
|
3922
3936
|
return result;
|
|
3923
3937
|
};
|
|
@@ -3926,7 +3940,7 @@
|
|
|
3926
3940
|
return true;
|
|
3927
3941
|
if (!(other instanceof ActionsStateUpdate))
|
|
3928
3942
|
return false;
|
|
3929
|
-
if (!(this.
|
|
3943
|
+
if (!(this.ia8_1 === other.ia8_1))
|
|
3930
3944
|
return false;
|
|
3931
3945
|
if (!equals(this.actions, other.actions))
|
|
3932
3946
|
return false;
|
|
@@ -4166,18 +4180,18 @@
|
|
|
4166
4180
|
function ToClientEventsObserver() {
|
|
4167
4181
|
}
|
|
4168
4182
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
4169
|
-
this.
|
|
4170
|
-
this.
|
|
4183
|
+
this.va8_1 = this$0;
|
|
4184
|
+
this.wa8_1 = $actions;
|
|
4171
4185
|
CoroutineImpl.call(this, resultContinuation);
|
|
4172
4186
|
}
|
|
4173
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
4174
|
-
var tmp = this.
|
|
4187
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).za8 = function ($this$flow, $completion) {
|
|
4188
|
+
var tmp = this.aa9($this$flow, $completion);
|
|
4175
4189
|
tmp.u8_1 = Unit_instance;
|
|
4176
4190
|
tmp.v8_1 = null;
|
|
4177
4191
|
return tmp.a9();
|
|
4178
4192
|
};
|
|
4179
4193
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).i9 = function (p1, $completion) {
|
|
4180
|
-
return this.
|
|
4194
|
+
return this.za8((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
4181
4195
|
};
|
|
4182
4196
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).a9 = function () {
|
|
4183
4197
|
var suspendResult = this.u8_1;
|
|
@@ -4187,19 +4201,19 @@
|
|
|
4187
4201
|
switch (tmp) {
|
|
4188
4202
|
case 0:
|
|
4189
4203
|
this.t8_1 = 4;
|
|
4190
|
-
this.
|
|
4191
|
-
this.
|
|
4204
|
+
this.va8_1.fa9_1;
|
|
4205
|
+
this.ya8_1 = transformToEmits(this.va8_1, this.wa8_1).l();
|
|
4192
4206
|
this.s8_1 = 1;
|
|
4193
4207
|
continue $sm;
|
|
4194
4208
|
case 1:
|
|
4195
|
-
if (!this.
|
|
4209
|
+
if (!this.ya8_1.m()) {
|
|
4196
4210
|
this.s8_1 = 3;
|
|
4197
4211
|
continue $sm;
|
|
4198
4212
|
}
|
|
4199
4213
|
|
|
4200
|
-
var element = this.
|
|
4214
|
+
var element = this.ya8_1.n();
|
|
4201
4215
|
this.s8_1 = 2;
|
|
4202
|
-
suspendResult = this.
|
|
4216
|
+
suspendResult = this.xa8_1.n28(element, this);
|
|
4203
4217
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4204
4218
|
return suspendResult;
|
|
4205
4219
|
}
|
|
@@ -4209,11 +4223,11 @@
|
|
|
4209
4223
|
this.s8_1 = 1;
|
|
4210
4224
|
continue $sm;
|
|
4211
4225
|
case 3:
|
|
4212
|
-
var tmp0 = this.
|
|
4226
|
+
var tmp0 = this.va8_1.ea9_1;
|
|
4213
4227
|
l$ret$1: do {
|
|
4214
4228
|
while (true) {
|
|
4215
4229
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
4216
|
-
var upd = cur - this.
|
|
4230
|
+
var upd = cur - this.wa8_1.o() | 0;
|
|
4217
4231
|
if (tmp0.atomicfu$compareAndSet(cur, upd)) {
|
|
4218
4232
|
break l$ret$1;
|
|
4219
4233
|
}
|
|
@@ -4235,15 +4249,15 @@
|
|
|
4235
4249
|
}
|
|
4236
4250
|
while (true);
|
|
4237
4251
|
};
|
|
4238
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
4239
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
4240
|
-
i.
|
|
4252
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).aa9 = function ($this$flow, completion) {
|
|
4253
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.va8_1, this.wa8_1, completion);
|
|
4254
|
+
i.xa8_1 = $this$flow;
|
|
4241
4255
|
return i;
|
|
4242
4256
|
};
|
|
4243
4257
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
4244
4258
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
4245
4259
|
var l = function ($this$flow, $completion) {
|
|
4246
|
-
return i.
|
|
4260
|
+
return i.za8($this$flow, $completion);
|
|
4247
4261
|
};
|
|
4248
4262
|
l.$arity = 1;
|
|
4249
4263
|
return l;
|
|
@@ -4313,29 +4327,29 @@
|
|
|
4313
4327
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
4314
4328
|
}
|
|
4315
4329
|
function mapFromGroupKey($this, _this__u8e3s4) {
|
|
4316
|
-
var tmp = $this.
|
|
4330
|
+
var tmp = $this.da9_1.d6e();
|
|
4317
4331
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4318
|
-
var this_0 = _this__u8e3s4.
|
|
4332
|
+
var this_0 = _this__u8e3s4.ia9_1;
|
|
4319
4333
|
var tmp_0 = copyToArray(this_0);
|
|
4320
4334
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4321
|
-
var this_1 = _this__u8e3s4.
|
|
4335
|
+
var this_1 = _this__u8e3s4.ja9_1;
|
|
4322
4336
|
var tmp$ret$1 = copyToArray(this_1);
|
|
4323
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
4337
|
+
return new ActionDeliveryPayload(_this__u8e3s4.ha9_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.ka9_1);
|
|
4324
4338
|
}
|
|
4325
4339
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
4326
|
-
this.
|
|
4327
|
-
this.
|
|
4328
|
-
this.
|
|
4329
|
-
this.
|
|
4340
|
+
this.ha9_1 = tableId;
|
|
4341
|
+
this.ia9_1 = includePlayers;
|
|
4342
|
+
this.ja9_1 = excludePlayers;
|
|
4343
|
+
this.ka9_1 = deliveryType;
|
|
4330
4344
|
}
|
|
4331
4345
|
protoOf(GroupKey).toString = function () {
|
|
4332
|
-
return 'GroupKey(tableId=' + this.
|
|
4346
|
+
return 'GroupKey(tableId=' + this.ha9_1 + ', includePlayers=' + toString(this.ia9_1) + ', excludePlayers=' + toString(this.ja9_1) + ', deliveryType=' + this.ka9_1.toString() + ')';
|
|
4333
4347
|
};
|
|
4334
4348
|
protoOf(GroupKey).hashCode = function () {
|
|
4335
|
-
var result = getStringHashCode(this.
|
|
4336
|
-
result = imul(result, 31) + hashCode(this.
|
|
4337
|
-
result = imul(result, 31) + hashCode(this.
|
|
4338
|
-
result = imul(result, 31) + this.
|
|
4349
|
+
var result = getStringHashCode(this.ha9_1);
|
|
4350
|
+
result = imul(result, 31) + hashCode(this.ia9_1) | 0;
|
|
4351
|
+
result = imul(result, 31) + hashCode(this.ja9_1) | 0;
|
|
4352
|
+
result = imul(result, 31) + this.ka9_1.hashCode() | 0;
|
|
4339
4353
|
return result;
|
|
4340
4354
|
};
|
|
4341
4355
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -4343,35 +4357,35 @@
|
|
|
4343
4357
|
return true;
|
|
4344
4358
|
if (!(other instanceof GroupKey))
|
|
4345
4359
|
return false;
|
|
4346
|
-
if (!(this.
|
|
4360
|
+
if (!(this.ha9_1 === other.ha9_1))
|
|
4347
4361
|
return false;
|
|
4348
|
-
if (!equals(this.
|
|
4362
|
+
if (!equals(this.ia9_1, other.ia9_1))
|
|
4349
4363
|
return false;
|
|
4350
|
-
if (!equals(this.
|
|
4364
|
+
if (!equals(this.ja9_1, other.ja9_1))
|
|
4351
4365
|
return false;
|
|
4352
|
-
if (!this.
|
|
4366
|
+
if (!this.ka9_1.equals(other.ka9_1))
|
|
4353
4367
|
return false;
|
|
4354
4368
|
return true;
|
|
4355
4369
|
};
|
|
4356
4370
|
function Companion_4() {
|
|
4357
|
-
this.
|
|
4371
|
+
this.la9_1 = 6;
|
|
4358
4372
|
}
|
|
4359
4373
|
var Companion_instance_14;
|
|
4360
4374
|
function Companion_getInstance_5() {
|
|
4361
4375
|
return Companion_instance_14;
|
|
4362
4376
|
}
|
|
4363
4377
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
4364
|
-
this.
|
|
4378
|
+
this.ua9_1 = this$0;
|
|
4365
4379
|
CoroutineImpl.call(this, resultContinuation);
|
|
4366
4380
|
}
|
|
4367
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4368
|
-
var tmp = this.
|
|
4381
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).wa9 = function (actions, $completion) {
|
|
4382
|
+
var tmp = this.xa9(actions, $completion);
|
|
4369
4383
|
tmp.u8_1 = Unit_instance;
|
|
4370
4384
|
tmp.v8_1 = null;
|
|
4371
4385
|
return tmp.a9();
|
|
4372
4386
|
};
|
|
4373
4387
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).i9 = function (p1, $completion) {
|
|
4374
|
-
return this.
|
|
4388
|
+
return this.wa9((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
4375
4389
|
};
|
|
4376
4390
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).a9 = function () {
|
|
4377
4391
|
var suspendResult = this.u8_1;
|
|
@@ -4380,7 +4394,7 @@
|
|
|
4380
4394
|
var tmp = this.s8_1;
|
|
4381
4395
|
if (tmp === 0) {
|
|
4382
4396
|
this.t8_1 = 1;
|
|
4383
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
4397
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.ua9_1, this.va9_1, null));
|
|
4384
4398
|
} else if (tmp === 1) {
|
|
4385
4399
|
throw this.v8_1;
|
|
4386
4400
|
}
|
|
@@ -4390,23 +4404,23 @@
|
|
|
4390
4404
|
}
|
|
4391
4405
|
while (true);
|
|
4392
4406
|
};
|
|
4393
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4394
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
4395
|
-
i.
|
|
4407
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).xa9 = function (actions, completion) {
|
|
4408
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.ua9_1, completion);
|
|
4409
|
+
i.va9_1 = actions;
|
|
4396
4410
|
return i;
|
|
4397
4411
|
};
|
|
4398
4412
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
4399
4413
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
4400
4414
|
var l = function (actions, $completion) {
|
|
4401
|
-
return i.
|
|
4415
|
+
return i.wa9(actions, $completion);
|
|
4402
4416
|
};
|
|
4403
4417
|
l.$arity = 1;
|
|
4404
4418
|
return l;
|
|
4405
4419
|
}
|
|
4406
4420
|
function $sentEventCOROUTINE$(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
4407
4421
|
CoroutineImpl.call(this, resultContinuation);
|
|
4408
|
-
this.
|
|
4409
|
-
this.
|
|
4422
|
+
this.gaa_1 = _this__u8e3s4;
|
|
4423
|
+
this.haa_1 = fromEvent;
|
|
4410
4424
|
}
|
|
4411
4425
|
protoOf($sentEventCOROUTINE$).a9 = function () {
|
|
4412
4426
|
var suspendResult = this.u8_1;
|
|
@@ -4416,8 +4430,8 @@
|
|
|
4416
4430
|
switch (tmp) {
|
|
4417
4431
|
case 0:
|
|
4418
4432
|
this.t8_1 = 2;
|
|
4419
|
-
this.
|
|
4420
|
-
var tmp0 = this.
|
|
4433
|
+
this.gaa_1.fa9_1;
|
|
4434
|
+
var tmp0 = this.gaa_1.ea9_1;
|
|
4421
4435
|
l$ret$1: do {
|
|
4422
4436
|
while (true) {
|
|
4423
4437
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
@@ -4429,7 +4443,7 @@
|
|
|
4429
4443
|
}
|
|
4430
4444
|
while (false);
|
|
4431
4445
|
this.s8_1 = 1;
|
|
4432
|
-
suspendResult = this.
|
|
4446
|
+
suspendResult = this.gaa_1.ga9_1.n28(this.haa_1, this);
|
|
4433
4447
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4434
4448
|
return suspendResult;
|
|
4435
4449
|
}
|
|
@@ -4453,7 +4467,7 @@
|
|
|
4453
4467
|
};
|
|
4454
4468
|
function $waitForCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
4455
4469
|
CoroutineImpl.call(this, resultContinuation);
|
|
4456
|
-
this.
|
|
4470
|
+
this.qaa_1 = _this__u8e3s4;
|
|
4457
4471
|
}
|
|
4458
4472
|
protoOf($waitForCOROUTINE$).a9 = function () {
|
|
4459
4473
|
var suspendResult = this.u8_1;
|
|
@@ -4463,12 +4477,12 @@
|
|
|
4463
4477
|
switch (tmp) {
|
|
4464
4478
|
case 0:
|
|
4465
4479
|
this.t8_1 = 5;
|
|
4466
|
-
this.
|
|
4467
|
-
this.
|
|
4480
|
+
this.qaa_1.fa9_1;
|
|
4481
|
+
this.raa_1 = 0;
|
|
4468
4482
|
this.s8_1 = 1;
|
|
4469
4483
|
continue $sm;
|
|
4470
4484
|
case 1:
|
|
4471
|
-
if (!!(this.
|
|
4485
|
+
if (!!(this.qaa_1.ea9_1.kotlinx$atomicfu$value === 0)) {
|
|
4472
4486
|
this.s8_1 = 4;
|
|
4473
4487
|
continue $sm;
|
|
4474
4488
|
}
|
|
@@ -4481,9 +4495,9 @@
|
|
|
4481
4495
|
|
|
4482
4496
|
continue $sm;
|
|
4483
4497
|
case 2:
|
|
4484
|
-
this.
|
|
4485
|
-
if (this.
|
|
4486
|
-
this.
|
|
4498
|
+
this.raa_1 = this.raa_1 + 1 | 0;
|
|
4499
|
+
if (this.raa_1 > 6) {
|
|
4500
|
+
this.qaa_1.ca9_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.qaa_1.ea9_1.kotlinx$atomicfu$value);
|
|
4487
4501
|
this.s8_1 = 4;
|
|
4488
4502
|
continue $sm;
|
|
4489
4503
|
} else {
|
|
@@ -4511,58 +4525,55 @@
|
|
|
4511
4525
|
while (true);
|
|
4512
4526
|
};
|
|
4513
4527
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
4514
|
-
this.
|
|
4515
|
-
this.
|
|
4516
|
-
this.
|
|
4517
|
-
this.
|
|
4528
|
+
this.ba9_1 = serverReduxConfig;
|
|
4529
|
+
this.ca9_1 = logger;
|
|
4530
|
+
this.da9_1 = idsProvider;
|
|
4531
|
+
this.ea9_1 = atomic$ref$1(0);
|
|
4518
4532
|
var tmp = this;
|
|
4519
4533
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
4520
|
-
tmp.
|
|
4521
|
-
this.
|
|
4534
|
+
tmp.fa9_1 = get_atomicfu$reentrantLock();
|
|
4535
|
+
this.ga9_1 = MutableSharedFlow();
|
|
4522
4536
|
}
|
|
4523
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4537
|
+
protoOf(ToClientEventsObserverImpl).ma8 = function (fromEvent, $completion) {
|
|
4524
4538
|
var tmp = new $sentEventCOROUTINE$(this, fromEvent, $completion);
|
|
4525
4539
|
tmp.u8_1 = Unit_instance;
|
|
4526
4540
|
tmp.v8_1 = null;
|
|
4527
4541
|
return tmp.a9();
|
|
4528
4542
|
};
|
|
4529
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4543
|
+
protoOf(ToClientEventsObserverImpl).d9h = function ($completion) {
|
|
4530
4544
|
var tmp = new $waitForCOROUTINE$(this, $completion);
|
|
4531
4545
|
tmp.u8_1 = Unit_instance;
|
|
4532
4546
|
tmp.v8_1 = null;
|
|
4533
4547
|
return tmp.a9();
|
|
4534
4548
|
};
|
|
4535
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4536
|
-
if (!this.
|
|
4537
|
-
return this.
|
|
4549
|
+
protoOf(ToClientEventsObserverImpl).g9y = function () {
|
|
4550
|
+
if (!this.ba9_1.enabledCombinedEvents) {
|
|
4551
|
+
return this.ga9_1;
|
|
4538
4552
|
}
|
|
4539
|
-
var tmp = windowedByInterval(this.
|
|
4553
|
+
var tmp = windowedByInterval(this.ga9_1, fromInt(this.ba9_1.combinedEventsIntervalMillis));
|
|
4540
4554
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
4541
4555
|
};
|
|
4542
4556
|
function PlayerConnectionInteractor() {
|
|
4543
4557
|
}
|
|
4544
|
-
function waitPlayerOrDisconnect($this, newConnectionState, table, player, waitForPlayer
|
|
4545
|
-
if (waitForPlayer && $this.
|
|
4558
|
+
function waitPlayerOrDisconnect($this, newConnectionState, table, player, waitForPlayer) {
|
|
4559
|
+
if (waitForPlayer && $this.uaa_1.waitForPlayerToReconnect) {
|
|
4546
4560
|
var tmp = player.i6v_1.z68();
|
|
4547
4561
|
Companion_getInstance();
|
|
4548
4562
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
4549
|
-
var this_0 = $this.
|
|
4563
|
+
var this_0 = $this.uaa_1.reconnectionCheckDurationMillis;
|
|
4550
4564
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
4551
4565
|
var noRecentReconnects = tmp.u67(tmp$ret$0);
|
|
4552
4566
|
if (noRecentReconnects) {
|
|
4553
|
-
|
|
4554
|
-
var tmp1_players = table.playersConnections;
|
|
4555
|
-
var tmp2_isGameFinished = table.isGameFinished;
|
|
4556
|
-
return getWaitingForReconnectPlayerActions($this, tmp0_tableId, newConnectionState, player, tmp1_players, sendFinishToClientActions, tmp2_isGameFinished);
|
|
4567
|
+
return $this.taa(player.playerId, newConnectionState);
|
|
4557
4568
|
}
|
|
4558
4569
|
}
|
|
4559
|
-
var canRemoveGameWhenNoPlayers =
|
|
4570
|
+
var canRemoveGameWhenNoPlayers = Companion_instance_2.g6v($this.uaa_1.finishGameWhenNotLiveStrategy, player.playerId, table.players);
|
|
4560
4571
|
if (canRemoveGameWhenNoPlayers) {
|
|
4561
|
-
return listOf($this.
|
|
4572
|
+
return listOf($this.yaa_1.g8x(mapToFinishReason(newConnectionState, player, table.playersConnections), table, 'Disconnect: No Players to continue game'));
|
|
4562
4573
|
}
|
|
4563
4574
|
if (table.sceneInfo.b7g()) {
|
|
4564
|
-
if (!$this.
|
|
4565
|
-
return listOf($this.
|
|
4575
|
+
if (!$this.vaa_1.openRoomIfFinished) {
|
|
4576
|
+
return listOf($this.yaa_1.g8x(mapToFinishReason(newConnectionState, player, table.playersConnections), table, 'Disconnect: Game is finished'));
|
|
4566
4577
|
}
|
|
4567
4578
|
// Inline function 'kotlin.collections.filter' call
|
|
4568
4579
|
var tmp0 = table.players;
|
|
@@ -4637,72 +4648,47 @@
|
|
|
4637
4648
|
}
|
|
4638
4649
|
var readyLivePlayers = destination_3;
|
|
4639
4650
|
var usersToJoinRoomSize = table.players.o() - notAlivePlayers.o() | 0;
|
|
4640
|
-
if ($this.
|
|
4641
|
-
return listOf($this.
|
|
4651
|
+
if ($this.vaa_1.minPlayersToOpenRoom >= usersToJoinRoomSize) {
|
|
4652
|
+
return listOf($this.yaa_1.g8x(mapToFinishReason(newConnectionState, player, table.playersConnections), table, 'Disconnect: Not enough users to create room'));
|
|
4642
4653
|
}
|
|
4643
4654
|
var allPlayersMadeDecision = (readyLivePlayers.o() + notAlivePlayers.o() | 0) === table.players.o();
|
|
4644
4655
|
if (allPlayersMadeDecision) {
|
|
4645
|
-
var
|
|
4646
|
-
var
|
|
4647
|
-
return listOf(
|
|
4656
|
+
var tmp0_$this = $this.yaa_1;
|
|
4657
|
+
var tmp1_reason = mapToFinishReason(newConnectionState, player, table.playersConnections);
|
|
4658
|
+
return listOf(tmp0_$this.f8x(tmp1_reason, table, 'Disconnect: Game is finished, transition to room', readyLivePlayers));
|
|
4648
4659
|
}
|
|
4649
4660
|
}
|
|
4650
|
-
if (!$this.
|
|
4651
|
-
return listOf($this.
|
|
4661
|
+
if (!$this.uaa_1.botReplacesPlayerAfterTimeout) {
|
|
4662
|
+
return listOf($this.yaa_1.g8x(mapToFinishReason(newConnectionState, player, table.playersConnections), table, "Disconnect: Can't continue game without bots"));
|
|
4652
4663
|
}
|
|
4653
|
-
return getPlayerDisconnectedActions($this, newConnectionState,
|
|
4654
|
-
}
|
|
4655
|
-
function waitPlayerOrDisconnect$default($this, newConnectionState, table, player, waitForPlayer, sendFinishToClientActions, $super) {
|
|
4656
|
-
sendFinishToClientActions = sendFinishToClientActions === VOID ? true : sendFinishToClientActions;
|
|
4657
|
-
return waitPlayerOrDisconnect($this, newConnectionState, table, player, waitForPlayer, sendFinishToClientActions);
|
|
4664
|
+
return getPlayerDisconnectedActions($this, newConnectionState, player);
|
|
4658
4665
|
}
|
|
4659
4666
|
function getPlayerConnectedActions($this, player, table) {
|
|
4660
4667
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
4661
4668
|
var actionsList = ArrayList_init_$Create$_0();
|
|
4662
|
-
actionsList.q(listOf_0([new PlayerConnectionChangedMechanicAction(player.playerId, PlayerConnectionState_LIVE_getInstance()), $this.
|
|
4669
|
+
actionsList.q(listOf_0([new PlayerConnectionChangedMechanicAction(player.playerId, PlayerConnectionState_LIVE_getInstance()), $this.ta5(player, table)]));
|
|
4663
4670
|
if (player.i6v_1.i67()) {
|
|
4664
|
-
actionsList.q(listOf_0([new StopTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.i6v_1.p68())), new StartTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.i6v_1.p68(), true), _Duration___get_inWholeMilliseconds__impl__msfiry($this.
|
|
4671
|
+
actionsList.q(listOf_0([new StopTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.i6v_1.p68())), new StartTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.i6v_1.p68(), true), _Duration___get_inWholeMilliseconds__impl__msfiry($this.waa_1.g9l(table.config)), VOID, TimerType_DELAY_getInstance())]));
|
|
4665
4672
|
}
|
|
4666
4673
|
return actionsList;
|
|
4667
4674
|
}
|
|
4668
|
-
function getPlayerDisconnectedActions($this, connectionState,
|
|
4675
|
+
function getPlayerDisconnectedActions($this, connectionState, player) {
|
|
4669
4676
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
4670
4677
|
var actionsList = ArrayList_init_$Create$_0();
|
|
4671
|
-
if (finishToClientActions) {
|
|
4672
|
-
actionsList.q(getFinishToClientActions($this, player.playerId, player.i6v_1.z68().n67_1.isLive, tableId, mapToFinishReason(connectionState, player, players), isGameFinished));
|
|
4673
|
-
}
|
|
4674
4678
|
actionsList.j(new PlayerConnectionChangedMechanicAction(player.playerId, connectionState));
|
|
4675
4679
|
if (player.i6v_1.i67()) {
|
|
4676
4680
|
actionsList.j(AskBotAction_init_$Create$(player.playerId, 'PlayerTurn when connection changed'));
|
|
4677
4681
|
}
|
|
4678
4682
|
return actionsList;
|
|
4679
4683
|
}
|
|
4680
|
-
function getFinishToClientActions($this, sendToPlayerId, isLive, tableId, reason, isGameFinished) {
|
|
4681
|
-
if (!isLive) {
|
|
4682
|
-
return emptyList();
|
|
4683
|
-
}
|
|
4684
|
-
var tmp0_deliveryPayload = Companion_instance_2.user($this.vaa_1.d6e(), tableId, sendToPlayerId);
|
|
4685
|
-
var tmp = new FinishingGameToClientAction(reason, isGameFinished, null, tmp0_deliveryPayload);
|
|
4686
|
-
var tmp1_deliveryPayload = Companion_instance_2.user($this.vaa_1.d6e(), tableId, sendToPlayerId);
|
|
4687
|
-
return listOf_0([tmp, new FinishGameToClientAction(reason, isGameFinished, null, tmp1_deliveryPayload)]);
|
|
4688
|
-
}
|
|
4689
|
-
function getWaitingForReconnectPlayerActions($this, tableId, newConnectionState, player, players, finishToClientActions, isGameFinished) {
|
|
4690
|
-
// Inline function 'kotlin.collections.mutableListOf' call
|
|
4691
|
-
var actionsList = ArrayList_init_$Create$_0();
|
|
4692
|
-
if (finishToClientActions) {
|
|
4693
|
-
actionsList.q(getFinishToClientActions($this, player.playerId, player.i6v_1.z68().n67_1.isLive, tableId, mapToFinishReason(newConnectionState, player, players), isGameFinished));
|
|
4694
|
-
}
|
|
4695
|
-
actionsList.q($this.raa(player.playerId, newConnectionState));
|
|
4696
|
-
return actionsList;
|
|
4697
|
-
}
|
|
4698
4684
|
function PlayerConnectionInteractorImpl(serverConfig, engineLogicConfig, playerTurnMechanicReducer, idsProvider, gameLifecycleInteractor) {
|
|
4699
|
-
this.
|
|
4700
|
-
this.
|
|
4701
|
-
this.
|
|
4702
|
-
this.
|
|
4703
|
-
this.
|
|
4685
|
+
this.uaa_1 = serverConfig;
|
|
4686
|
+
this.vaa_1 = engineLogicConfig;
|
|
4687
|
+
this.waa_1 = playerTurnMechanicReducer;
|
|
4688
|
+
this.xaa_1 = idsProvider;
|
|
4689
|
+
this.yaa_1 = gameLifecycleInteractor;
|
|
4704
4690
|
}
|
|
4705
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4691
|
+
protoOf(PlayerConnectionInteractorImpl).saa = function (newConnectionState, playerId, table, afterReconnection) {
|
|
4706
4692
|
var player = getPlayer(table.players, playerId);
|
|
4707
4693
|
var tmp;
|
|
4708
4694
|
switch (newConnectionState.q2_1) {
|
|
@@ -4712,18 +4698,18 @@
|
|
|
4712
4698
|
case 4:
|
|
4713
4699
|
case 5:
|
|
4714
4700
|
var tmp1_waitForPlayer = !afterReconnection && !table.sceneInfo.b7g() && table.config.isPrivate;
|
|
4715
|
-
tmp = waitPlayerOrDisconnect
|
|
4701
|
+
tmp = waitPlayerOrDisconnect(this, newConnectionState, table, player, tmp1_waitForPlayer);
|
|
4716
4702
|
break;
|
|
4717
4703
|
case 2:
|
|
4718
4704
|
var tmp2_waitForPlayer = !afterReconnection;
|
|
4719
|
-
tmp = waitPlayerOrDisconnect
|
|
4705
|
+
tmp = waitPlayerOrDisconnect(this, newConnectionState, table, player, tmp2_waitForPlayer);
|
|
4720
4706
|
break;
|
|
4721
4707
|
case 3:
|
|
4722
4708
|
var tmp3_waitForPlayer = !afterReconnection;
|
|
4723
|
-
tmp = waitPlayerOrDisconnect(this, newConnectionState, table, player, tmp3_waitForPlayer
|
|
4709
|
+
tmp = waitPlayerOrDisconnect(this, newConnectionState, table, player, tmp3_waitForPlayer);
|
|
4724
4710
|
break;
|
|
4725
4711
|
case 7:
|
|
4726
|
-
tmp = waitPlayerOrDisconnect(this, newConnectionState, table, player, false
|
|
4712
|
+
tmp = waitPlayerOrDisconnect(this, newConnectionState, table, player, false);
|
|
4727
4713
|
break;
|
|
4728
4714
|
case 0:
|
|
4729
4715
|
case 6:
|
|
@@ -4734,10 +4720,19 @@
|
|
|
4734
4720
|
}
|
|
4735
4721
|
return tmp;
|
|
4736
4722
|
};
|
|
4737
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4738
|
-
|
|
4739
|
-
|
|
4740
|
-
|
|
4723
|
+
protoOf(PlayerConnectionInteractorImpl).va7 = function (sendToPlayerId, isLive, tableId, reason, isGameFinished) {
|
|
4724
|
+
if (!isLive) {
|
|
4725
|
+
return emptyList();
|
|
4726
|
+
}
|
|
4727
|
+
var tmp0_deliveryPayload = Companion_instance_1.user(this.xaa_1.d6e(), tableId, sendToPlayerId);
|
|
4728
|
+
var tmp = new FinishingGameToClientAction(reason, isGameFinished, null, tmp0_deliveryPayload);
|
|
4729
|
+
var tmp1_deliveryPayload = Companion_instance_1.user(this.xaa_1.d6e(), tableId, sendToPlayerId);
|
|
4730
|
+
return listOf_0([tmp, new FinishGameToClientAction(reason, isGameFinished, null, tmp1_deliveryPayload)]);
|
|
4731
|
+
};
|
|
4732
|
+
protoOf(PlayerConnectionInteractorImpl).ta5 = function (sendToPlayer, table) {
|
|
4733
|
+
var updatedTable = this.waa_1.h9j(table, sendToPlayer.playerId, PlayerConnectionState_LIVE_getInstance(), null);
|
|
4734
|
+
var aid = this.xaa_1.d6e();
|
|
4735
|
+
var tmp4_deliveryPayload = Companion_instance_1.userFromTable(aid, updatedTable, sendToPlayer.playerId);
|
|
4741
4736
|
var tmp0_playerId = sendToPlayer.playerId;
|
|
4742
4737
|
var tmp1_gameCreatorPlayerId = getGameCreator(updatedTable.players).playerId;
|
|
4743
4738
|
var tmp2_tableId = updatedTable.id;
|
|
@@ -4755,164 +4750,164 @@
|
|
|
4755
4750
|
var tmp6_reason = new PlayerReturnsReason(sendToPlayer.playerId);
|
|
4756
4751
|
return new ContinueGameToClientAction(tmp5_table, tmp6_reason, null, tmp4_deliveryPayload);
|
|
4757
4752
|
};
|
|
4758
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4753
|
+
protoOf(PlayerConnectionInteractorImpl).taa = function (playerId, newConnectionState) {
|
|
4759
4754
|
var tmp = System_instance.ck();
|
|
4760
4755
|
Companion_getInstance();
|
|
4761
4756
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
4762
|
-
var this_0 = this.
|
|
4757
|
+
var this_0 = this.uaa_1.waitForPlayerToReconnectTimeOutMillis;
|
|
4763
4758
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
4764
4759
|
var reconnectUntilTime = tmp.rk(tmp$ret$0);
|
|
4765
|
-
return listOf_0([new PlayerConnectionChangedMechanicAction(playerId, PlayerConnectionState_DISCONNECTING_getInstance(), newConnectionState, false, reconnectUntilTime.toString()), new StartTimerAction(new PlayerReconnectionWaitingTimerTag(playerId, newConnectionState), fromInt(this.
|
|
4760
|
+
return listOf_0([new PlayerConnectionChangedMechanicAction(playerId, PlayerConnectionState_DISCONNECTING_getInstance(), newConnectionState, false, reconnectUntilTime.toString()), new StartTimerAction(new PlayerReconnectionWaitingTimerTag(playerId, newConnectionState), fromInt(this.uaa_1.waitForPlayerToReconnectTimeOutMillis), VOID, TimerType_DELAY_getInstance())]);
|
|
4766
4761
|
};
|
|
4767
4762
|
function UpdateServerConfigAction(serverConfig) {
|
|
4768
|
-
this.
|
|
4763
|
+
this.zaa_1 = serverConfig;
|
|
4769
4764
|
}
|
|
4770
4765
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
4771
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
4766
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.zaa_1.toString() + ')';
|
|
4772
4767
|
};
|
|
4773
4768
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
4774
|
-
return this.
|
|
4769
|
+
return this.zaa_1.hashCode();
|
|
4775
4770
|
};
|
|
4776
4771
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
4777
4772
|
if (this === other)
|
|
4778
4773
|
return true;
|
|
4779
4774
|
if (!(other instanceof UpdateServerConfigAction))
|
|
4780
4775
|
return false;
|
|
4781
|
-
if (!this.
|
|
4776
|
+
if (!this.zaa_1.equals(other.zaa_1))
|
|
4782
4777
|
return false;
|
|
4783
4778
|
return true;
|
|
4784
4779
|
};
|
|
4785
4780
|
function SpectatorsAction() {
|
|
4786
4781
|
}
|
|
4787
4782
|
function AddSpectatorsAction(spectators) {
|
|
4788
|
-
this.
|
|
4783
|
+
this.aab_1 = spectators;
|
|
4789
4784
|
}
|
|
4790
4785
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
4791
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
4786
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.aab_1) + ')';
|
|
4792
4787
|
};
|
|
4793
4788
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
4794
|
-
return hashCode(this.
|
|
4789
|
+
return hashCode(this.aab_1);
|
|
4795
4790
|
};
|
|
4796
4791
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
4797
4792
|
if (this === other)
|
|
4798
4793
|
return true;
|
|
4799
4794
|
if (!(other instanceof AddSpectatorsAction))
|
|
4800
4795
|
return false;
|
|
4801
|
-
if (!equals(this.
|
|
4796
|
+
if (!equals(this.aab_1, other.aab_1))
|
|
4802
4797
|
return false;
|
|
4803
4798
|
return true;
|
|
4804
4799
|
};
|
|
4805
4800
|
function RemoveSpectatorsAction(spectators) {
|
|
4806
|
-
this.
|
|
4801
|
+
this.bab_1 = spectators;
|
|
4807
4802
|
}
|
|
4808
4803
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
4809
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
4804
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.bab_1) + ')';
|
|
4810
4805
|
};
|
|
4811
4806
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
4812
|
-
return hashCode(this.
|
|
4807
|
+
return hashCode(this.bab_1);
|
|
4813
4808
|
};
|
|
4814
4809
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
4815
4810
|
if (this === other)
|
|
4816
4811
|
return true;
|
|
4817
4812
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
4818
4813
|
return false;
|
|
4819
|
-
if (!equals(this.
|
|
4814
|
+
if (!equals(this.bab_1, other.bab_1))
|
|
4820
4815
|
return false;
|
|
4821
4816
|
return true;
|
|
4822
4817
|
};
|
|
4823
4818
|
function _get_asyncProvider__jbpyhw($this) {
|
|
4824
|
-
var tmp0 = $this.
|
|
4819
|
+
var tmp0 = $this.hab_1;
|
|
4825
4820
|
var tmp = KProperty1;
|
|
4826
4821
|
// Inline function 'kotlin.getValue' call
|
|
4827
4822
|
getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
|
|
4828
4823
|
return tmp0.x();
|
|
4829
4824
|
}
|
|
4830
4825
|
function _get_logger__rkp4sl($this) {
|
|
4831
|
-
var tmp0 = $this.
|
|
4826
|
+
var tmp0 = $this.iab_1;
|
|
4832
4827
|
var tmp = KProperty1;
|
|
4833
4828
|
// Inline function 'kotlin.getValue' call
|
|
4834
4829
|
getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
|
|
4835
4830
|
return tmp0.x();
|
|
4836
4831
|
}
|
|
4837
4832
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
4838
|
-
var tmp0 = $this.
|
|
4833
|
+
var tmp0 = $this.jab_1;
|
|
4839
4834
|
var tmp = KProperty1;
|
|
4840
4835
|
// Inline function 'kotlin.getValue' call
|
|
4841
4836
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
|
|
4842
4837
|
return tmp0.x();
|
|
4843
4838
|
}
|
|
4844
4839
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
4845
|
-
var tmp0 = $this.
|
|
4840
|
+
var tmp0 = $this.kab_1;
|
|
4846
4841
|
var tmp = KProperty1;
|
|
4847
4842
|
// Inline function 'kotlin.getValue' call
|
|
4848
4843
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
|
|
4849
4844
|
return tmp0.x();
|
|
4850
4845
|
}
|
|
4851
4846
|
function _get_serverConfig__rk2g06($this) {
|
|
4852
|
-
var tmp0 = $this.
|
|
4847
|
+
var tmp0 = $this.lab_1;
|
|
4853
4848
|
var tmp = KProperty1;
|
|
4854
4849
|
// Inline function 'kotlin.getValue' call
|
|
4855
4850
|
getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
|
|
4856
4851
|
return tmp0.x();
|
|
4857
4852
|
}
|
|
4858
4853
|
function _get_logicConfig__52ww9d($this) {
|
|
4859
|
-
var tmp0 = $this.
|
|
4854
|
+
var tmp0 = $this.mab_1;
|
|
4860
4855
|
var tmp = KProperty1;
|
|
4861
4856
|
// Inline function 'kotlin.getValue' call
|
|
4862
4857
|
getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
|
|
4863
4858
|
return tmp0.x();
|
|
4864
4859
|
}
|
|
4865
4860
|
function _get_idsProvider__fnfajc_0($this) {
|
|
4866
|
-
var tmp0 = $this.
|
|
4861
|
+
var tmp0 = $this.nab_1;
|
|
4867
4862
|
var tmp = KProperty1;
|
|
4868
4863
|
// Inline function 'kotlin.getValue' call
|
|
4869
4864
|
getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
|
|
4870
4865
|
return tmp0.x();
|
|
4871
4866
|
}
|
|
4872
4867
|
function _get_botConfig__cpaxzc($this) {
|
|
4873
|
-
var tmp0 = $this.
|
|
4868
|
+
var tmp0 = $this.oab_1;
|
|
4874
4869
|
var tmp = KProperty1;
|
|
4875
4870
|
// Inline function 'kotlin.getValue' call
|
|
4876
4871
|
getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
|
|
4877
4872
|
return tmp0.x();
|
|
4878
4873
|
}
|
|
4879
4874
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
4880
|
-
var tmp0 = $this.
|
|
4875
|
+
var tmp0 = $this.pab_1;
|
|
4881
4876
|
var tmp = KProperty1;
|
|
4882
4877
|
// Inline function 'kotlin.getValue' call
|
|
4883
4878
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
|
|
4884
4879
|
return tmp0.x();
|
|
4885
4880
|
}
|
|
4886
4881
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
4887
|
-
var tmp0 = $this.
|
|
4882
|
+
var tmp0 = $this.qab_1;
|
|
4888
4883
|
var tmp = KProperty1;
|
|
4889
4884
|
// Inline function 'kotlin.getValue' call
|
|
4890
4885
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
|
|
4891
4886
|
return tmp0.x();
|
|
4892
4887
|
}
|
|
4893
4888
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
4894
|
-
var tmp0 = $this.
|
|
4889
|
+
var tmp0 = $this.rab_1;
|
|
4895
4890
|
var tmp = KProperty1;
|
|
4896
4891
|
// Inline function 'kotlin.getValue' call
|
|
4897
4892
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
|
|
4898
4893
|
return tmp0.x();
|
|
4899
4894
|
}
|
|
4900
4895
|
function _get_dealerConfig__183ci8($this) {
|
|
4901
|
-
var tmp0 = $this.
|
|
4896
|
+
var tmp0 = $this.sab_1;
|
|
4902
4897
|
var tmp = KProperty1;
|
|
4903
4898
|
// Inline function 'kotlin.getValue' call
|
|
4904
4899
|
getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
|
|
4905
4900
|
return tmp0.x();
|
|
4906
4901
|
}
|
|
4907
4902
|
function _get_poolProvider__tqti6a($this) {
|
|
4908
|
-
var tmp0 = $this.
|
|
4903
|
+
var tmp0 = $this.tab_1;
|
|
4909
4904
|
var tmp = KProperty1;
|
|
4910
4905
|
// Inline function 'kotlin.getValue' call
|
|
4911
4906
|
getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
|
|
4912
4907
|
return tmp0.x();
|
|
4913
4908
|
}
|
|
4914
4909
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
4915
|
-
var tmp0 = $this.
|
|
4910
|
+
var tmp0 = $this.uab_1;
|
|
4916
4911
|
var tmp = KProperty1;
|
|
4917
4912
|
// Inline function 'kotlin.getValue' call
|
|
4918
4913
|
getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
|
|
@@ -5076,11 +5071,11 @@
|
|
|
5076
5071
|
tmp = fileLoggerStoreContract;
|
|
5077
5072
|
}
|
|
5078
5073
|
fileLoggerStoreContract = tmp;
|
|
5079
|
-
this.
|
|
5080
|
-
this.
|
|
5081
|
-
this.
|
|
5082
|
-
this.
|
|
5083
|
-
this.
|
|
5074
|
+
this.cab_1 = validationStoreContract;
|
|
5075
|
+
this.dab_1 = timersStoreContract;
|
|
5076
|
+
this.eab_1 = botGameStoreContract;
|
|
5077
|
+
this.fab_1 = gameMechanicStoreContract;
|
|
5078
|
+
this.gab_1 = fileLoggerStoreContract;
|
|
5084
5079
|
var tmp_0 = this;
|
|
5085
5080
|
// Inline function 'org.kodein.di.instance' call
|
|
5086
5081
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5088,7 +5083,7 @@
|
|
|
5088
5083
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
5089
5084
|
var tmp_2 = Instance(di, tmp$ret$0, null);
|
|
5090
5085
|
var tmp_3 = KProperty1;
|
|
5091
|
-
tmp_0.
|
|
5086
|
+
tmp_0.hab_1 = tmp_2.w64(this, getPropertyCallableRef('asyncProvider', 1, tmp_3, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
|
|
5092
5087
|
var tmp_4 = this;
|
|
5093
5088
|
// Inline function 'org.kodein.di.instance' call
|
|
5094
5089
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5096,7 +5091,7 @@
|
|
|
5096
5091
|
var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
5097
5092
|
var tmp_6 = Instance(di, tmp$ret$2, null);
|
|
5098
5093
|
var tmp_7 = KProperty1;
|
|
5099
|
-
tmp_4.
|
|
5094
|
+
tmp_4.iab_1 = tmp_6.w64(this, getPropertyCallableRef('logger', 1, tmp_7, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
|
|
5100
5095
|
var tmp_8 = this;
|
|
5101
5096
|
// Inline function 'org.kodein.di.instance' call
|
|
5102
5097
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5104,7 +5099,7 @@
|
|
|
5104
5099
|
var tmp$ret$4 = isInterface(tmp_9, TypeToken) ? tmp_9 : THROW_CCE();
|
|
5105
5100
|
var tmp_10 = Instance(di, tmp$ret$4, null);
|
|
5106
5101
|
var tmp_11 = KProperty1;
|
|
5107
|
-
tmp_8.
|
|
5102
|
+
tmp_8.jab_1 = tmp_10.w64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_11, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
|
|
5108
5103
|
var tmp_12 = this;
|
|
5109
5104
|
// Inline function 'org.kodein.di.instance' call
|
|
5110
5105
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5112,7 +5107,7 @@
|
|
|
5112
5107
|
var tmp$ret$6 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
5113
5108
|
var tmp_14 = Instance(di, tmp$ret$6, null);
|
|
5114
5109
|
var tmp_15 = KProperty1;
|
|
5115
|
-
tmp_12.
|
|
5110
|
+
tmp_12.kab_1 = tmp_14.w64(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_15, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
|
|
5116
5111
|
var tmp_16 = this;
|
|
5117
5112
|
// Inline function 'org.kodein.di.instance' call
|
|
5118
5113
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5120,7 +5115,7 @@
|
|
|
5120
5115
|
var tmp$ret$8 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
5121
5116
|
var tmp_18 = Instance(di, tmp$ret$8, null);
|
|
5122
5117
|
var tmp_19 = KProperty1;
|
|
5123
|
-
tmp_16.
|
|
5118
|
+
tmp_16.lab_1 = tmp_18.w64(this, getPropertyCallableRef('serverConfig', 1, tmp_19, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
|
|
5124
5119
|
var tmp_20 = this;
|
|
5125
5120
|
// Inline function 'org.kodein.di.instance' call
|
|
5126
5121
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5128,7 +5123,7 @@
|
|
|
5128
5123
|
var tmp$ret$10 = isInterface(tmp_21, TypeToken) ? tmp_21 : THROW_CCE();
|
|
5129
5124
|
var tmp_22 = Instance(di, tmp$ret$10, null);
|
|
5130
5125
|
var tmp_23 = KProperty1;
|
|
5131
|
-
tmp_20.
|
|
5126
|
+
tmp_20.mab_1 = tmp_22.w64(this, getPropertyCallableRef('logicConfig', 1, tmp_23, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
|
|
5132
5127
|
var tmp_24 = this;
|
|
5133
5128
|
// Inline function 'org.kodein.di.instance' call
|
|
5134
5129
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5136,7 +5131,7 @@
|
|
|
5136
5131
|
var tmp$ret$12 = isInterface(tmp_25, TypeToken) ? tmp_25 : THROW_CCE();
|
|
5137
5132
|
var tmp_26 = Instance(di, tmp$ret$12, null);
|
|
5138
5133
|
var tmp_27 = KProperty1;
|
|
5139
|
-
tmp_24.
|
|
5134
|
+
tmp_24.nab_1 = tmp_26.w64(this, getPropertyCallableRef('idsProvider', 1, tmp_27, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
|
|
5140
5135
|
var tmp_28 = this;
|
|
5141
5136
|
// Inline function 'org.kodein.di.instance' call
|
|
5142
5137
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5144,7 +5139,7 @@
|
|
|
5144
5139
|
var tmp$ret$14 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
|
|
5145
5140
|
var tmp_30 = Instance(di, tmp$ret$14, null);
|
|
5146
5141
|
var tmp_31 = KProperty1;
|
|
5147
|
-
tmp_28.
|
|
5142
|
+
tmp_28.oab_1 = tmp_30.w64(this, getPropertyCallableRef('botConfig', 1, tmp_31, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
|
|
5148
5143
|
var tmp_32 = this;
|
|
5149
5144
|
// Inline function 'org.kodein.di.instance' call
|
|
5150
5145
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5152,7 +5147,7 @@
|
|
|
5152
5147
|
var tmp$ret$16 = isInterface(tmp_33, TypeToken) ? tmp_33 : THROW_CCE();
|
|
5153
5148
|
var tmp_34 = Instance(di, tmp$ret$16, null);
|
|
5154
5149
|
var tmp_35 = KProperty1;
|
|
5155
|
-
tmp_32.
|
|
5150
|
+
tmp_32.pab_1 = tmp_34.w64(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_35, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
|
|
5156
5151
|
var tmp_36 = this;
|
|
5157
5152
|
// Inline function 'org.kodein.di.instance' call
|
|
5158
5153
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5160,7 +5155,7 @@
|
|
|
5160
5155
|
var tmp$ret$18 = isInterface(tmp_37, TypeToken) ? tmp_37 : THROW_CCE();
|
|
5161
5156
|
var tmp_38 = Instance(di, tmp$ret$18, null);
|
|
5162
5157
|
var tmp_39 = KProperty1;
|
|
5163
|
-
tmp_36.
|
|
5158
|
+
tmp_36.qab_1 = tmp_38.w64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_39, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
|
|
5164
5159
|
var tmp_40 = this;
|
|
5165
5160
|
// Inline function 'org.kodein.di.instance' call
|
|
5166
5161
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5168,7 +5163,7 @@
|
|
|
5168
5163
|
var tmp$ret$20 = isInterface(tmp_41, TypeToken) ? tmp_41 : THROW_CCE();
|
|
5169
5164
|
var tmp_42 = Instance(di, tmp$ret$20, null);
|
|
5170
5165
|
var tmp_43 = KProperty1;
|
|
5171
|
-
tmp_40.
|
|
5166
|
+
tmp_40.rab_1 = tmp_42.w64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_43, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
|
|
5172
5167
|
var tmp_44 = this;
|
|
5173
5168
|
// Inline function 'org.kodein.di.instance' call
|
|
5174
5169
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5176,7 +5171,7 @@
|
|
|
5176
5171
|
var tmp$ret$22 = isInterface(tmp_45, TypeToken) ? tmp_45 : THROW_CCE();
|
|
5177
5172
|
var tmp_46 = Instance(di, tmp$ret$22, null);
|
|
5178
5173
|
var tmp_47 = KProperty1;
|
|
5179
|
-
tmp_44.
|
|
5174
|
+
tmp_44.sab_1 = tmp_46.w64(this, getPropertyCallableRef('dealerConfig', 1, tmp_47, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
|
|
5180
5175
|
var tmp_48 = this;
|
|
5181
5176
|
// Inline function 'org.kodein.di.instance' call
|
|
5182
5177
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5184,7 +5179,7 @@
|
|
|
5184
5179
|
var tmp$ret$24 = isInterface(tmp_49, TypeToken) ? tmp_49 : THROW_CCE();
|
|
5185
5180
|
var tmp_50 = Instance(di, tmp$ret$24, null);
|
|
5186
5181
|
var tmp_51 = KProperty1;
|
|
5187
|
-
tmp_48.
|
|
5182
|
+
tmp_48.tab_1 = tmp_50.w64(this, getPropertyCallableRef('poolProvider', 1, tmp_51, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
|
|
5188
5183
|
var tmp_52 = this;
|
|
5189
5184
|
// Inline function 'org.kodein.di.instance' call
|
|
5190
5185
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5192,20 +5187,20 @@
|
|
|
5192
5187
|
var tmp$ret$26 = isInterface(tmp_53, TypeToken) ? tmp_53 : THROW_CCE();
|
|
5193
5188
|
var tmp_54 = Instance(di, tmp$ret$26, null);
|
|
5194
5189
|
var tmp_55 = KProperty1;
|
|
5195
|
-
tmp_52.
|
|
5190
|
+
tmp_52.uab_1 = tmp_54.w64(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_55, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
|
|
5196
5191
|
}
|
|
5197
|
-
protoOf(ServerGameStoreContract).h97 = function () {
|
|
5198
|
-
return plus(plus(plus(plus(plus(this.aab_1.h97(), this.dab_1.h97()), this.bab_1.h97()), this.cab_1.h97()), this.eab_1.h97()), listOf_0([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl(this)), playerConnectionUpdateReducer()]));
|
|
5199
|
-
};
|
|
5200
5192
|
protoOf(ServerGameStoreContract).i97 = function () {
|
|
5201
|
-
|
|
5193
|
+
return plus(plus(plus(plus(plus(this.cab_1.i97(), this.fab_1.i97()), this.dab_1.i97()), this.eab_1.i97()), this.gab_1.i97()), listOf_0([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl(this)), playerConnectionUpdateReducer()]));
|
|
5194
|
+
};
|
|
5195
|
+
protoOf(ServerGameStoreContract).j97 = function () {
|
|
5196
|
+
var tmp = this.cab_1.j97();
|
|
5202
5197
|
var tmp_0;
|
|
5203
5198
|
if (_get_serverConfig__rk2g06(this).finishGameWhenNotLiveStrategy.equals(FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance())) {
|
|
5204
5199
|
tmp_0 = checkBotsMiddleware(_get_logger__rkp4sl(this));
|
|
5205
5200
|
} else {
|
|
5206
5201
|
tmp_0 = null;
|
|
5207
5202
|
}
|
|
5208
|
-
var tmp_1 = plus(plus(plus(plus(plus(tmp, listOfNotNull(tmp_0)), this.
|
|
5203
|
+
var tmp_1 = plus(plus(plus(plus(plus(tmp, listOfNotNull(tmp_0)), this.fab_1.j97()), this.dab_1.j97()), this.eab_1.j97()), this.gab_1.j97());
|
|
5209
5204
|
var tmp_2 = playerConnectionUpdateMiddleware(_get_playerConnectionInteractor__si6cxf_0(this));
|
|
5210
5205
|
var tmp_3 = playerReconnectionTimeoutMiddleware(_get_playerConnectionInteractor__si6cxf_0(this));
|
|
5211
5206
|
var tmp_4;
|
|
@@ -5214,7 +5209,7 @@
|
|
|
5214
5209
|
} else {
|
|
5215
5210
|
tmp_4 = null;
|
|
5216
5211
|
}
|
|
5217
|
-
var tmp_5 = plus(plus(tmp_1, listOfNotNull_0([tmp_2, tmp_3, tmp_4])), 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))).
|
|
5212
|
+
var tmp_5 = plus(plus(tmp_1, listOfNotNull_0([tmp_2, tmp_3, tmp_4])), 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))).p99(), finishingGameWhenCantStartNewMiddleware()]));
|
|
5218
5213
|
var tmp_6 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this), _get_logger__rkp4sl(this));
|
|
5219
5214
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
5220
5215
|
var tmp1_logger = _get_logger__rkp4sl(this);
|
|
@@ -5265,7 +5260,7 @@
|
|
|
5265
5260
|
return this.u6h(store, next, action);
|
|
5266
5261
|
};
|
|
5267
5262
|
function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
|
|
5268
|
-
this.
|
|
5263
|
+
this.xab_1 = this$0;
|
|
5269
5264
|
}
|
|
5270
5265
|
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).f6g = function (action) {
|
|
5271
5266
|
return action instanceof MechanicAction;
|
|
@@ -5276,7 +5271,7 @@
|
|
|
5276
5271
|
// Inline function 'kotlin.with' call
|
|
5277
5272
|
var tmp;
|
|
5278
5273
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
5279
|
-
var tmp0 = this.
|
|
5274
|
+
var tmp0 = this.xab_1;
|
|
5280
5275
|
var tmp2 = action_0.q93_1;
|
|
5281
5276
|
var tmp4 = action_0.s93_1;
|
|
5282
5277
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -5316,7 +5311,7 @@
|
|
|
5316
5311
|
var _iterator__ex2g4s_2 = destination_1.l();
|
|
5317
5312
|
while (_iterator__ex2g4s_2.m()) {
|
|
5318
5313
|
var element_0 = _iterator__ex2g4s_2.n();
|
|
5319
|
-
var tmp0_aid = tmp0.
|
|
5314
|
+
var tmp0_aid = tmp0.wab_1.d6e();
|
|
5320
5315
|
// Inline function 'kotlin.collections.map' call
|
|
5321
5316
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5322
5317
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -5338,15 +5333,15 @@
|
|
|
5338
5333
|
tmp = destination_2;
|
|
5339
5334
|
} else {
|
|
5340
5335
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
5341
|
-
var tmp0_0 = this.
|
|
5336
|
+
var tmp0_0 = this.xab_1;
|
|
5342
5337
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5343
5338
|
var table = state.x6r();
|
|
5344
|
-
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.
|
|
5339
|
+
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.wab_1.d6e(), table.id, null);
|
|
5345
5340
|
var tmp$ret$21 = mapToClient_18(action_0, sendToPlayer_0);
|
|
5346
5341
|
tmp = listOfNotNull(tmp$ret$21);
|
|
5347
5342
|
} else {
|
|
5348
5343
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
5349
|
-
var tmp0_1 = this.
|
|
5344
|
+
var tmp0_1 = this.xab_1;
|
|
5350
5345
|
var tmp2_0 = action_0.table.id;
|
|
5351
5346
|
var tmp4_0 = action_0.gameCreatorPlayerId;
|
|
5352
5347
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -5386,7 +5381,7 @@
|
|
|
5386
5381
|
var _iterator__ex2g4s_7 = destination_6.l();
|
|
5387
5382
|
while (_iterator__ex2g4s_7.m()) {
|
|
5388
5383
|
var element_2 = _iterator__ex2g4s_7.n();
|
|
5389
|
-
var tmp0_aid_0 = tmp0_1.
|
|
5384
|
+
var tmp0_aid_0 = tmp0_1.wab_1.d6e();
|
|
5390
5385
|
// Inline function 'kotlin.collections.map' call
|
|
5391
5386
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5392
5387
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -5408,39 +5403,39 @@
|
|
|
5408
5403
|
tmp = destination_7;
|
|
5409
5404
|
} else {
|
|
5410
5405
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
5411
|
-
var tmp0_2 = this.
|
|
5406
|
+
var tmp0_2 = this.xab_1;
|
|
5412
5407
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5413
5408
|
var table_0 = state.x6r();
|
|
5414
|
-
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.
|
|
5409
|
+
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.wab_1.d6e(), table_0.id, null);
|
|
5415
5410
|
var tmp$ret$44 = mapToClient_16(action_0, sendToPlayer_2);
|
|
5416
5411
|
tmp = listOfNotNull(tmp$ret$44);
|
|
5417
5412
|
} else {
|
|
5418
5413
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
5419
|
-
var tmp0_3 = this.
|
|
5414
|
+
var tmp0_3 = this.xab_1;
|
|
5420
5415
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5421
5416
|
var table_1 = state.x6r();
|
|
5422
|
-
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.
|
|
5417
|
+
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.wab_1.d6e(), table_1.id, null);
|
|
5423
5418
|
var tmp$ret$46 = mapToClient_15(action_0, sendToPlayer_3);
|
|
5424
5419
|
tmp = listOfNotNull(tmp$ret$46);
|
|
5425
5420
|
} else {
|
|
5426
5421
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
5427
|
-
var tmp0_4 = this.
|
|
5422
|
+
var tmp0_4 = this.xab_1;
|
|
5428
5423
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5429
5424
|
var table_2 = state.x6r();
|
|
5430
|
-
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.
|
|
5425
|
+
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.wab_1.d6e(), table_2.id, null);
|
|
5431
5426
|
var tmp$ret$48 = mapToClient_14(action_0, sendToPlayer_4);
|
|
5432
5427
|
tmp = listOfNotNull(tmp$ret$48);
|
|
5433
5428
|
} else {
|
|
5434
5429
|
if (action_0 instanceof ErrorAction) {
|
|
5435
|
-
var tmp0_5 = this.
|
|
5430
|
+
var tmp0_5 = this.xab_1;
|
|
5436
5431
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5437
5432
|
var table_3 = state.x6r();
|
|
5438
|
-
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.
|
|
5433
|
+
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.wab_1.d6e(), table_3.id, null);
|
|
5439
5434
|
var tmp$ret$50 = mapToClient_13(action_0, sendToPlayer_5);
|
|
5440
5435
|
tmp = listOfNotNull(tmp$ret$50);
|
|
5441
5436
|
} else {
|
|
5442
5437
|
if (action_0 instanceof SceneMechanicAction) {
|
|
5443
|
-
var tmp0_6 = this.
|
|
5438
|
+
var tmp0_6 = this.xab_1;
|
|
5444
5439
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
5445
5440
|
var table_4 = state.x6r();
|
|
5446
5441
|
var tmp2_1 = table_4.id;
|
|
@@ -5473,7 +5468,7 @@
|
|
|
5473
5468
|
var _iterator__ex2g4s_11 = destination_10.l();
|
|
5474
5469
|
while (_iterator__ex2g4s_11.m()) {
|
|
5475
5470
|
var element_4 = _iterator__ex2g4s_11.n();
|
|
5476
|
-
var tmp0_aid_1 = tmp0_6.
|
|
5471
|
+
var tmp0_aid_1 = tmp0_6.wab_1.d6e();
|
|
5477
5472
|
// Inline function 'kotlin.collections.map' call
|
|
5478
5473
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5479
5474
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -5495,7 +5490,7 @@
|
|
|
5495
5490
|
tmp = destination_11;
|
|
5496
5491
|
} else {
|
|
5497
5492
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
5498
|
-
var tmp0_7 = this.
|
|
5493
|
+
var tmp0_7 = this.xab_1;
|
|
5499
5494
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
5500
5495
|
var table_5 = state.x6r();
|
|
5501
5496
|
var tmp2_2 = table_5.id;
|
|
@@ -5528,7 +5523,7 @@
|
|
|
5528
5523
|
var _iterator__ex2g4s_15 = destination_14.l();
|
|
5529
5524
|
while (_iterator__ex2g4s_15.m()) {
|
|
5530
5525
|
var element_6 = _iterator__ex2g4s_15.n();
|
|
5531
|
-
var tmp0_aid_2 = tmp0_7.
|
|
5526
|
+
var tmp0_aid_2 = tmp0_7.wab_1.d6e();
|
|
5532
5527
|
// Inline function 'kotlin.collections.map' call
|
|
5533
5528
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5534
5529
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -5550,7 +5545,7 @@
|
|
|
5550
5545
|
tmp = destination_15;
|
|
5551
5546
|
} else {
|
|
5552
5547
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
5553
|
-
var tmp0_8 = this.
|
|
5548
|
+
var tmp0_8 = this.xab_1;
|
|
5554
5549
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
5555
5550
|
var table_6 = state.x6r();
|
|
5556
5551
|
var tmp2_3 = table_6.id;
|
|
@@ -5583,7 +5578,7 @@
|
|
|
5583
5578
|
var _iterator__ex2g4s_19 = destination_18.l();
|
|
5584
5579
|
while (_iterator__ex2g4s_19.m()) {
|
|
5585
5580
|
var element_8 = _iterator__ex2g4s_19.n();
|
|
5586
|
-
var tmp0_aid_3 = tmp0_8.
|
|
5581
|
+
var tmp0_aid_3 = tmp0_8.wab_1.d6e();
|
|
5587
5582
|
// Inline function 'kotlin.collections.map' call
|
|
5588
5583
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5589
5584
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -5595,7 +5590,7 @@
|
|
|
5595
5590
|
}
|
|
5596
5591
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_3, tmp4_3, element_8, destination_20);
|
|
5597
5592
|
var tmp_0;
|
|
5598
|
-
if (this.vab_1.
|
|
5593
|
+
if (this.xab_1.vab_1.supportBackwardActions && getPlayer(state.x6r().players, sendToPlayer_8.u7g_1).k6v_1.u6z_1) {
|
|
5599
5594
|
tmp_0 = null;
|
|
5600
5595
|
} else {
|
|
5601
5596
|
tmp_0 = mapToClient_10(action_0, sendToPlayer_8);
|
|
@@ -5611,81 +5606,81 @@
|
|
|
5611
5606
|
tmp = destination_19;
|
|
5612
5607
|
} else {
|
|
5613
5608
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
5614
|
-
var tmp0_9 = this.
|
|
5609
|
+
var tmp0_9 = this.xab_1;
|
|
5615
5610
|
var tmp2_4 = state.x6r();
|
|
5616
5611
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5617
|
-
var exceptPlayerId = this.vab_1.
|
|
5618
|
-
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.
|
|
5612
|
+
var exceptPlayerId = this.xab_1.vab_1.supportBackwardActions ? action_0.j94_1 : null;
|
|
5613
|
+
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.wab_1.d6e(), tmp2_4.id, exceptPlayerId);
|
|
5619
5614
|
var tmp$ret$109 = mapToClient_9(action_0, sendToPlayer_9);
|
|
5620
5615
|
tmp = listOfNotNull(tmp$ret$109);
|
|
5621
5616
|
} else {
|
|
5622
5617
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
5623
|
-
var tmp0_10 = this.
|
|
5618
|
+
var tmp0_10 = this.xab_1;
|
|
5624
5619
|
var tmp2_5 = state.x6r();
|
|
5625
5620
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5626
|
-
var exceptPlayerId_0 = this.vab_1.
|
|
5627
|
-
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.
|
|
5621
|
+
var exceptPlayerId_0 = this.xab_1.vab_1.supportBackwardActions ? action_0.r8z_1 : null;
|
|
5622
|
+
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.wab_1.d6e(), tmp2_5.id, exceptPlayerId_0);
|
|
5628
5623
|
var tmp$ret$111 = mapToClient_8(action_0, sendToPlayer_10);
|
|
5629
5624
|
tmp = listOfNotNull(tmp$ret$111);
|
|
5630
5625
|
} else {
|
|
5631
5626
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
5632
|
-
var tmp0_11 = this.
|
|
5627
|
+
var tmp0_11 = this.xab_1;
|
|
5633
5628
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5634
5629
|
var table_7 = state.x6r();
|
|
5635
|
-
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.
|
|
5630
|
+
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.wab_1.d6e(), table_7.id, null);
|
|
5636
5631
|
var tmp$ret$113 = mapToClient_7(action_0, sendToPlayer_11);
|
|
5637
5632
|
tmp = listOfNotNull(tmp$ret$113);
|
|
5638
5633
|
} else {
|
|
5639
5634
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
5640
|
-
var tmp0_12 = this.
|
|
5635
|
+
var tmp0_12 = this.xab_1;
|
|
5641
5636
|
var tmp2_6 = state.x6r();
|
|
5642
5637
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5643
|
-
var exceptPlayerId_1 = this.vab_1.
|
|
5644
|
-
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.
|
|
5638
|
+
var exceptPlayerId_1 = this.xab_1.vab_1.supportBackwardActions ? action_0.p94_1 : null;
|
|
5639
|
+
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.wab_1.d6e(), tmp2_6.id, exceptPlayerId_1);
|
|
5645
5640
|
var tmp$ret$115 = mapToClient_6(action_0, sendToPlayer_12);
|
|
5646
5641
|
tmp = listOfNotNull(tmp$ret$115);
|
|
5647
5642
|
} else {
|
|
5648
5643
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
5649
|
-
var tmp0_13 = this.
|
|
5644
|
+
var tmp0_13 = this.xab_1;
|
|
5650
5645
|
var tmp2_7 = state.x6r();
|
|
5651
5646
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5652
|
-
var exceptPlayerId_2 = this.vab_1.
|
|
5653
|
-
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.
|
|
5647
|
+
var exceptPlayerId_2 = this.xab_1.vab_1.supportBackwardActions ? action_0.x8z_1 : null;
|
|
5648
|
+
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.wab_1.d6e(), tmp2_7.id, exceptPlayerId_2);
|
|
5654
5649
|
var tmp$ret$117 = mapToClient_5(action_0, sendToPlayer_13);
|
|
5655
5650
|
tmp = listOfNotNull(tmp$ret$117);
|
|
5656
5651
|
} else {
|
|
5657
5652
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
5658
|
-
var tmp0_14 = this.
|
|
5653
|
+
var tmp0_14 = this.xab_1;
|
|
5659
5654
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5660
5655
|
var table_8 = state.x6r();
|
|
5661
|
-
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.
|
|
5656
|
+
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.wab_1.d6e(), table_8.id, null);
|
|
5662
5657
|
var tmp$ret$119 = mapToClient_4(action_0, sendToPlayer_14);
|
|
5663
5658
|
tmp = listOfNotNull(tmp$ret$119);
|
|
5664
5659
|
} else {
|
|
5665
5660
|
if (action_0 instanceof TakeAllRemainingCardsMechanicAction) {
|
|
5666
|
-
var tmp0_15 = this.
|
|
5661
|
+
var tmp0_15 = this.xab_1;
|
|
5667
5662
|
var tmp2_8 = state.x6r();
|
|
5668
5663
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5669
|
-
var exceptPlayerId_3 = this.vab_1.
|
|
5670
|
-
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.
|
|
5664
|
+
var exceptPlayerId_3 = this.xab_1.vab_1.supportBackwardActions ? action_0.r94_1 : null;
|
|
5665
|
+
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.wab_1.d6e(), tmp2_8.id, exceptPlayerId_3);
|
|
5671
5666
|
var tmp$ret$121 = mapToClient_3(action_0, sendToPlayer_15);
|
|
5672
5667
|
tmp = listOfNotNull(tmp$ret$121);
|
|
5673
5668
|
} else {
|
|
5674
5669
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
5675
|
-
var tmp0_16 = this.
|
|
5670
|
+
var tmp0_16 = this.xab_1;
|
|
5676
5671
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5677
5672
|
var table_9 = state.x6r();
|
|
5678
|
-
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.
|
|
5673
|
+
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.wab_1.d6e(), table_9.id, null);
|
|
5679
5674
|
var tmp$ret$123 = mapToClient_2(action_0, sendToPlayer_16);
|
|
5680
5675
|
tmp = listOfNotNull(tmp$ret$123);
|
|
5681
5676
|
} else {
|
|
5682
5677
|
if (action_0 instanceof MessageMechanicAction) {
|
|
5683
5678
|
var message = action_0.message;
|
|
5684
|
-
var tmp0_17 = this.
|
|
5679
|
+
var tmp0_17 = this.xab_1;
|
|
5685
5680
|
var tmp2_9 = state.x6r();
|
|
5686
5681
|
var tmp_1;
|
|
5687
5682
|
var tmp_2;
|
|
5688
|
-
if (this.vab_1.
|
|
5683
|
+
if (this.xab_1.vab_1.supportBackwardActions) {
|
|
5689
5684
|
tmp_2 = isInterface(message, UserMessage);
|
|
5690
5685
|
} else {
|
|
5691
5686
|
tmp_2 = false;
|
|
@@ -5697,16 +5692,16 @@
|
|
|
5697
5692
|
}
|
|
5698
5693
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5699
5694
|
var exceptPlayerId_4 = tmp_1;
|
|
5700
|
-
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.
|
|
5695
|
+
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.wab_1.d6e(), tmp2_9.id, exceptPlayerId_4);
|
|
5701
5696
|
var tmp$ret$125 = mapToClient_1(action_0, sendToPlayer_17);
|
|
5702
5697
|
tmp = listOfNotNull(tmp$ret$125);
|
|
5703
5698
|
} else {
|
|
5704
5699
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
5705
|
-
var tmp0_18 = this.
|
|
5700
|
+
var tmp0_18 = this.xab_1;
|
|
5706
5701
|
var tmp2_10 = state.x6r();
|
|
5707
5702
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5708
5703
|
var exceptPlayerId_5 = action_0.playerId;
|
|
5709
|
-
var sendToPlayer_18 = new RoomActionPayload(tmp0_18.
|
|
5704
|
+
var sendToPlayer_18 = new RoomActionPayload(tmp0_18.wab_1.d6e(), tmp2_10.id, exceptPlayerId_5);
|
|
5710
5705
|
var tmp$ret$127 = mapToClient_0(action_0, sendToPlayer_18);
|
|
5711
5706
|
tmp = listOfNotNull(tmp$ret$127);
|
|
5712
5707
|
} else {
|
|
@@ -5744,10 +5739,10 @@
|
|
|
5744
5739
|
return this.u6h(store, next, action);
|
|
5745
5740
|
};
|
|
5746
5741
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
5747
|
-
this.
|
|
5748
|
-
this.
|
|
5742
|
+
this.vab_1 = logicConfig;
|
|
5743
|
+
this.wab_1 = idsProvider;
|
|
5749
5744
|
}
|
|
5750
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
5745
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).p99 = function () {
|
|
5751
5746
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
5752
5747
|
return new ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this);
|
|
5753
5748
|
};
|
|
@@ -5756,7 +5751,7 @@
|
|
|
5756
5751
|
return new playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1(playerConnectionInteractor);
|
|
5757
5752
|
}
|
|
5758
5753
|
function playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1($playerConnectionInteractor) {
|
|
5759
|
-
this.
|
|
5754
|
+
this.yab_1 = $playerConnectionInteractor;
|
|
5760
5755
|
}
|
|
5761
5756
|
protoOf(playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1).f6g = function (action) {
|
|
5762
5757
|
return action instanceof PlayerConnectionUpdateAction;
|
|
@@ -5792,7 +5787,7 @@
|
|
|
5792
5787
|
var _iterator__ex2g4s_0 = destination.l();
|
|
5793
5788
|
while (_iterator__ex2g4s_0.m()) {
|
|
5794
5789
|
var element_0 = _iterator__ex2g4s_0.n();
|
|
5795
|
-
if (element_0.
|
|
5790
|
+
if (element_0.zab_1 === tmp4.z92_1) {
|
|
5796
5791
|
if (found) {
|
|
5797
5792
|
tmp$ret$4 = null;
|
|
5798
5793
|
break $l$block_2;
|
|
@@ -5811,7 +5806,7 @@
|
|
|
5811
5806
|
if (!(reconnectionTimerTag == null)) {
|
|
5812
5807
|
store.dispatch(new StopTimerAction(reconnectionTimerTag));
|
|
5813
5808
|
}
|
|
5814
|
-
var actions = this.
|
|
5809
|
+
var actions = this.yab_1.saa(tmp4.y92_1, tmp4.z92_1, store.state.x6r(), tmp4.a93_1);
|
|
5815
5810
|
// Inline function 'kotlin.collections.forEach' call
|
|
5816
5811
|
var _iterator__ex2g4s_1 = actions.l();
|
|
5817
5812
|
while (_iterator__ex2g4s_1.m()) {
|
|
@@ -5828,15 +5823,15 @@
|
|
|
5828
5823
|
return new playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1(playerConnectionInteractor);
|
|
5829
5824
|
}
|
|
5830
5825
|
function PlayerReconnectionWaitingTimerTag(playerId, state) {
|
|
5831
|
-
this.
|
|
5832
|
-
this.
|
|
5826
|
+
this.zab_1 = playerId;
|
|
5827
|
+
this.aac_1 = state;
|
|
5833
5828
|
}
|
|
5834
5829
|
protoOf(PlayerReconnectionWaitingTimerTag).toString = function () {
|
|
5835
|
-
return 'PlayerReconnectionWaitingTimerTag(playerId=' + this.
|
|
5830
|
+
return 'PlayerReconnectionWaitingTimerTag(playerId=' + this.zab_1 + ', state=' + this.aac_1.toString() + ')';
|
|
5836
5831
|
};
|
|
5837
5832
|
protoOf(PlayerReconnectionWaitingTimerTag).hashCode = function () {
|
|
5838
|
-
var result = getStringHashCode(this.
|
|
5839
|
-
result = imul(result, 31) + this.
|
|
5833
|
+
var result = getStringHashCode(this.zab_1);
|
|
5834
|
+
result = imul(result, 31) + this.aac_1.hashCode() | 0;
|
|
5840
5835
|
return result;
|
|
5841
5836
|
};
|
|
5842
5837
|
protoOf(PlayerReconnectionWaitingTimerTag).equals = function (other) {
|
|
@@ -5844,14 +5839,14 @@
|
|
|
5844
5839
|
return true;
|
|
5845
5840
|
if (!(other instanceof PlayerReconnectionWaitingTimerTag))
|
|
5846
5841
|
return false;
|
|
5847
|
-
if (!(this.
|
|
5842
|
+
if (!(this.zab_1 === other.zab_1))
|
|
5848
5843
|
return false;
|
|
5849
|
-
if (!this.
|
|
5844
|
+
if (!this.aac_1.equals(other.aac_1))
|
|
5850
5845
|
return false;
|
|
5851
5846
|
return true;
|
|
5852
5847
|
};
|
|
5853
5848
|
function playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1($playerConnectionInteractor) {
|
|
5854
|
-
this.
|
|
5849
|
+
this.bac_1 = $playerConnectionInteractor;
|
|
5855
5850
|
}
|
|
5856
5851
|
protoOf(playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1).f6g = function (action) {
|
|
5857
5852
|
return action instanceof TimerTickAction;
|
|
@@ -5865,7 +5860,7 @@
|
|
|
5865
5860
|
var timerTag = tmp4.b6g_1;
|
|
5866
5861
|
if (timerTag instanceof PlayerReconnectionWaitingTimerTag) {
|
|
5867
5862
|
var state = store.state;
|
|
5868
|
-
var actions = this.
|
|
5863
|
+
var actions = this.bac_1.saa(timerTag.aac_1, timerTag.zab_1, state.x6r(), true);
|
|
5869
5864
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5870
5865
|
if (!actions.r()) {
|
|
5871
5866
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5887,7 +5882,7 @@
|
|
|
5887
5882
|
return new playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1(playerConnectionInteractor);
|
|
5888
5883
|
}
|
|
5889
5884
|
function playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1($playerConnectionInteractor) {
|
|
5890
|
-
this.
|
|
5885
|
+
this.cac_1 = $playerConnectionInteractor;
|
|
5891
5886
|
}
|
|
5892
5887
|
protoOf(playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1).f6g = function (action) {
|
|
5893
5888
|
return isInterface(action, FirstMechanicAction);
|
|
@@ -5914,7 +5909,7 @@
|
|
|
5914
5909
|
var tmp0_newConnectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
5915
5910
|
var tmp1_playerId = element_0.playerId;
|
|
5916
5911
|
// Inline function 'kotlin.collections.forEach' call
|
|
5917
|
-
var _iterator__ex2g4s_1 = this.
|
|
5912
|
+
var _iterator__ex2g4s_1 = this.cac_1.taa(tmp1_playerId, tmp0_newConnectionState).l();
|
|
5918
5913
|
while (_iterator__ex2g4s_1.m()) {
|
|
5919
5914
|
var element_1 = _iterator__ex2g4s_1.n();
|
|
5920
5915
|
store.dispatch(element_1);
|
|
@@ -5929,8 +5924,8 @@
|
|
|
5929
5924
|
return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
|
|
5930
5925
|
}
|
|
5931
5926
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
5932
|
-
this.
|
|
5933
|
-
this.
|
|
5927
|
+
this.lac_1 = $provider;
|
|
5928
|
+
this.mac_1 = $action;
|
|
5934
5929
|
CoroutineImpl.call(this, resultContinuation);
|
|
5935
5930
|
}
|
|
5936
5931
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -5951,7 +5946,7 @@
|
|
|
5951
5946
|
case 0:
|
|
5952
5947
|
this.t8_1 = 2;
|
|
5953
5948
|
this.s8_1 = 1;
|
|
5954
|
-
suspendResult = this.
|
|
5949
|
+
suspendResult = this.lac_1.ma8(this.mac_1, this);
|
|
5955
5950
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5956
5951
|
return suspendResult;
|
|
5957
5952
|
}
|
|
@@ -5974,8 +5969,8 @@
|
|
|
5974
5969
|
while (true);
|
|
5975
5970
|
};
|
|
5976
5971
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).c2d = function ($this$launchDefault, completion) {
|
|
5977
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
5978
|
-
i.
|
|
5972
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.lac_1, this.mac_1, completion);
|
|
5973
|
+
i.nac_1 = $this$launchDefault;
|
|
5979
5974
|
return i;
|
|
5980
5975
|
};
|
|
5981
5976
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -5987,15 +5982,15 @@
|
|
|
5987
5982
|
return l;
|
|
5988
5983
|
}
|
|
5989
5984
|
function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
|
|
5990
|
-
this.
|
|
5991
|
-
this.
|
|
5985
|
+
this.oac_1 = $asyncProvider;
|
|
5986
|
+
this.pac_1 = $provider;
|
|
5992
5987
|
}
|
|
5993
5988
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).f6g = function (action) {
|
|
5994
5989
|
return action instanceof ToClientAction;
|
|
5995
5990
|
};
|
|
5996
5991
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).u6h = function (store, next, action) {
|
|
5997
5992
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
5998
|
-
this.
|
|
5993
|
+
this.oac_1.i6c(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.pac_1, action_0, null));
|
|
5999
5994
|
next(action_0);
|
|
6000
5995
|
};
|
|
6001
5996
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).e6g = function (store, next, action) {
|
|
@@ -6006,11 +6001,11 @@
|
|
|
6006
6001
|
return new playerTurnTimeoutWhenHasConnectionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, serverConfig, logger);
|
|
6007
6002
|
}
|
|
6008
6003
|
function playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda($store, $timerTag, $serverConfig, $logger, $action, resultContinuation) {
|
|
6009
|
-
this.
|
|
6010
|
-
this.
|
|
6011
|
-
this.
|
|
6012
|
-
this.
|
|
6013
|
-
this.
|
|
6004
|
+
this.yac_1 = $store;
|
|
6005
|
+
this.zac_1 = $timerTag;
|
|
6006
|
+
this.aad_1 = $serverConfig;
|
|
6007
|
+
this.bad_1 = $logger;
|
|
6008
|
+
this.cad_1 = $action;
|
|
6014
6009
|
CoroutineImpl.call(this, resultContinuation);
|
|
6015
6010
|
}
|
|
6016
6011
|
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda).b2d = function ($this$launchDefaultWithLock, $completion) {
|
|
@@ -6029,13 +6024,13 @@
|
|
|
6029
6024
|
var tmp = this.s8_1;
|
|
6030
6025
|
if (tmp === 0) {
|
|
6031
6026
|
this.t8_1 = 1;
|
|
6032
|
-
var table = this.
|
|
6033
|
-
var player = getPlayer(table.players, this.
|
|
6027
|
+
var table = this.yac_1.state.x6r();
|
|
6028
|
+
var player = getPlayer(table.players, this.zac_1.v65());
|
|
6034
6029
|
var connectionState = player.i6v_1.z68().n67_1;
|
|
6035
6030
|
var tmp_0;
|
|
6036
6031
|
switch (connectionState.q2_1) {
|
|
6037
6032
|
case 1:
|
|
6038
|
-
tmp_0 = listOf(new PlayerConnectionUpdateAction(PlayerConnectionState_TIMEOUT_getInstance(), player.playerId, this.
|
|
6033
|
+
tmp_0 = listOf(new PlayerConnectionUpdateAction(PlayerConnectionState_TIMEOUT_getInstance(), player.playerId, this.zac_1.l9g_1));
|
|
6039
6034
|
break;
|
|
6040
6035
|
case 6:
|
|
6041
6036
|
tmp_0 = emptyList();
|
|
@@ -6045,8 +6040,8 @@
|
|
|
6045
6040
|
case 3:
|
|
6046
6041
|
case 2:
|
|
6047
6042
|
var tmp_1;
|
|
6048
|
-
if (table.sceneInfo.b7g() && this.
|
|
6049
|
-
tmp_1 = new PlayerConnectionUpdateAction(PlayerConnectionState_DELETED_getInstance(), player.playerId, this.
|
|
6043
|
+
if (table.sceneInfo.b7g() && this.aad_1.closeIfBotsAtFinish) {
|
|
6044
|
+
tmp_1 = new PlayerConnectionUpdateAction(PlayerConnectionState_DELETED_getInstance(), player.playerId, this.zac_1.l9g_1);
|
|
6050
6045
|
} else {
|
|
6051
6046
|
tmp_1 = AskBotAction_init_$Create$(player.playerId, 'PlayerTurn when connection state = ' + connectionState.toString());
|
|
6052
6047
|
}
|
|
@@ -6055,7 +6050,7 @@
|
|
|
6055
6050
|
break;
|
|
6056
6051
|
case 0:
|
|
6057
6052
|
case 7:
|
|
6058
|
-
this.
|
|
6053
|
+
this.bad_1.w('playerTurnTimeoutWhenHasConnectionMiddleware', "Can't support this state " + connectionState.toString() + ', ' + ('action:' + this.cad_1.toString()));
|
|
6059
6054
|
tmp_0 = emptyList();
|
|
6060
6055
|
break;
|
|
6061
6056
|
default:
|
|
@@ -6067,7 +6062,7 @@
|
|
|
6067
6062
|
var _iterator__ex2g4s = actions.l();
|
|
6068
6063
|
while (_iterator__ex2g4s.m()) {
|
|
6069
6064
|
var element = _iterator__ex2g4s.n();
|
|
6070
|
-
this.
|
|
6065
|
+
this.yac_1.dispatch(element);
|
|
6071
6066
|
}
|
|
6072
6067
|
}
|
|
6073
6068
|
return Unit_instance;
|
|
@@ -6081,8 +6076,8 @@
|
|
|
6081
6076
|
while (true);
|
|
6082
6077
|
};
|
|
6083
6078
|
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda).c2d = function ($this$launchDefaultWithLock, completion) {
|
|
6084
|
-
var i = new playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda(this.
|
|
6085
|
-
i.
|
|
6079
|
+
var i = new playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda(this.yac_1, this.zac_1, this.aad_1, this.bad_1, this.cad_1, completion);
|
|
6080
|
+
i.dad_1 = $this$launchDefaultWithLock;
|
|
6086
6081
|
return i;
|
|
6087
6082
|
};
|
|
6088
6083
|
function playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda_0($store, $timerTag, $serverConfig, $logger, $action, resultContinuation) {
|
|
@@ -6094,9 +6089,9 @@
|
|
|
6094
6089
|
return l;
|
|
6095
6090
|
}
|
|
6096
6091
|
function playerTurnTimeoutWhenHasConnectionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $serverConfig, $logger) {
|
|
6097
|
-
this.
|
|
6098
|
-
this.
|
|
6099
|
-
this.
|
|
6092
|
+
this.ead_1 = $asyncProvider;
|
|
6093
|
+
this.fad_1 = $serverConfig;
|
|
6094
|
+
this.gad_1 = $logger;
|
|
6100
6095
|
}
|
|
6101
6096
|
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$$inlined$middlewareForActionType$1).f6g = function (action) {
|
|
6102
6097
|
return action instanceof TimerTickAction;
|
|
@@ -6105,7 +6100,7 @@
|
|
|
6105
6100
|
var action_0 = action instanceof TimerTickAction ? action : THROW_CCE();
|
|
6106
6101
|
var timerTag = action_0.b6g_1;
|
|
6107
6102
|
if (timerTag instanceof PlayerTurnTimerTag) {
|
|
6108
|
-
this.
|
|
6103
|
+
this.ead_1.k6c(VOID, playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda_0(store, timerTag, this.fad_1, this.gad_1, action_0, null));
|
|
6109
6104
|
}
|
|
6110
6105
|
next(action_0);
|
|
6111
6106
|
};
|
|
@@ -6121,19 +6116,19 @@
|
|
|
6121
6116
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).f6g = function (action) {
|
|
6122
6117
|
return action instanceof UpdateServerConfigAction;
|
|
6123
6118
|
};
|
|
6124
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
6119
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).u9i = function (state, action) {
|
|
6125
6120
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
6126
|
-
return state.r92(VOID, get_serverStatePayload_0(state).copy(action_0.
|
|
6121
|
+
return state.r92(VOID, get_serverStatePayload_0(state).copy(action_0.zaa_1));
|
|
6127
6122
|
};
|
|
6128
6123
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).v6h = function (state, action) {
|
|
6129
|
-
return this.
|
|
6124
|
+
return this.u9i((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
6130
6125
|
};
|
|
6131
6126
|
function addRoomMetadata($this, _this__u8e3s4, gameId) {
|
|
6132
6127
|
_this__u8e3s4.metadata.addGame(gameId, new GameMetadata(gameId));
|
|
6133
6128
|
return _this__u8e3s4.metadata;
|
|
6134
6129
|
}
|
|
6135
6130
|
function Companion_5() {
|
|
6136
|
-
this.
|
|
6131
|
+
this.had_1 = 'ServerMechanicLifecycleReducer';
|
|
6137
6132
|
}
|
|
6138
6133
|
var Companion_instance_15;
|
|
6139
6134
|
function Companion_getInstance_6() {
|
|
@@ -6147,7 +6142,7 @@
|
|
|
6147
6142
|
tmp_0 = Companion_instance_4.l67(PlayerConnectionState_LEFT_PERMANENTLY_getInstance());
|
|
6148
6143
|
} else {
|
|
6149
6144
|
var tmp_1;
|
|
6150
|
-
if (this$0.
|
|
6145
|
+
if (this$0.lad_1.waitForPlayerToConnectOnStart) {
|
|
6151
6146
|
var tmp_2 = Companion_instance_4;
|
|
6152
6147
|
var tmp_3;
|
|
6153
6148
|
if ($updatedServerPayload.connectedPlayers.u1(it.j66_1)) {
|
|
@@ -6177,26 +6172,26 @@
|
|
|
6177
6172
|
}
|
|
6178
6173
|
function ServerMechanicLifecycleReducer(logger, serverReduxConfig, tableLifecycleReducer, randomPoolProvider) {
|
|
6179
6174
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
6180
|
-
this.
|
|
6181
|
-
this.
|
|
6175
|
+
this.kad_1 = logger;
|
|
6176
|
+
this.lad_1 = serverReduxConfig;
|
|
6182
6177
|
}
|
|
6183
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
6184
|
-
this.
|
|
6178
|
+
protoOf(ServerMechanicLifecycleReducer).l9k = function (state, action) {
|
|
6179
|
+
this.kad_1.d('ServerMechanicLifecycleReducer', 'onStart ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
6185
6180
|
var tableId = action.q93_1;
|
|
6186
6181
|
var serverState = get_serverStatePayload_0(state);
|
|
6187
6182
|
var updatedServerPayload = serverState.copy(VOID, addRoomMetadata(this, serverState, tableId));
|
|
6188
6183
|
var tmp6_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
6189
|
-
var tmp0_$this = this.
|
|
6184
|
+
var tmp0_$this = this.m9k_1;
|
|
6190
6185
|
var tmp1_version = action.r93_1;
|
|
6191
6186
|
var tmp2_config = action.p93_1;
|
|
6192
6187
|
var tmp3_users = action.t93_1;
|
|
6193
6188
|
var tmp4_spectators = action.spectators;
|
|
6194
6189
|
var tmp5_gameCreatorPlayerId = action.s93_1;
|
|
6195
|
-
var tmp7_tableOrNull = tmp0_$this.
|
|
6190
|
+
var tmp7_tableOrNull = tmp0_$this.u9l(tableId, tableId, tmp2_config, tmp1_version, tmp3_users, tmp4_spectators, tmp5_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(this, updatedServerPayload, action));
|
|
6196
6191
|
return state.r92(tmp7_tableOrNull, updatedServerPayload, tmp6_gameLifecycleState);
|
|
6197
6192
|
};
|
|
6198
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
6199
|
-
this.
|
|
6193
|
+
protoOf(ServerMechanicLifecycleReducer).j9k = function (state, action) {
|
|
6194
|
+
this.kad_1.d('ServerMechanicLifecycleReducer', 'onContinue ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
6200
6195
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
6201
6196
|
var tmp2_tableOrNull = action.table;
|
|
6202
6197
|
var tmp = Companion_instance_16;
|
|
@@ -6206,10 +6201,10 @@
|
|
|
6206
6201
|
var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.f65_1), addRoomMetadata(this, get_serverStatePayload_0(state), action.table.gameId));
|
|
6207
6202
|
return state.r92(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
|
|
6208
6203
|
};
|
|
6209
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
6210
|
-
this.
|
|
6204
|
+
protoOf(ServerMechanicLifecycleReducer).k9k = function (state, action) {
|
|
6205
|
+
this.n9k_1.n58(action.previousGameId);
|
|
6211
6206
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
6212
|
-
var tmp1_tableOrNull = this.
|
|
6207
|
+
var tmp1_tableOrNull = this.m9k_1.v9l(state.x6r(), action.gameId);
|
|
6213
6208
|
var tmp2_payload = get_serverStatePayload_0(state).copy(VOID, addRoomMetadata(this, get_serverStatePayload_0(state), action.gameId));
|
|
6214
6209
|
return state.r92(tmp1_tableOrNull, tmp2_payload, tmp0_gameLifecycleState);
|
|
6215
6210
|
};
|
|
@@ -6218,18 +6213,18 @@
|
|
|
6218
6213
|
return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
|
|
6219
6214
|
}
|
|
6220
6215
|
function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
|
|
6221
|
-
this.
|
|
6216
|
+
this.mad_1 = $logger;
|
|
6222
6217
|
}
|
|
6223
6218
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).f6g = function (action) {
|
|
6224
6219
|
return isInterface(action, SpectatorsAction);
|
|
6225
6220
|
};
|
|
6226
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
6221
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).u9i = function (state, action) {
|
|
6227
6222
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
6228
6223
|
var table = state.x6r();
|
|
6229
6224
|
var tmp;
|
|
6230
6225
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
6231
6226
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
6232
|
-
var tmp0 = action_0.
|
|
6227
|
+
var tmp0 = action_0.aab_1;
|
|
6233
6228
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
6234
6229
|
var destination = ArrayList_init_$Create$_0();
|
|
6235
6230
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -6248,9 +6243,9 @@
|
|
|
6248
6243
|
var tmp_0;
|
|
6249
6244
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
6250
6245
|
if (!sameSpectators.r()) {
|
|
6251
|
-
this.
|
|
6246
|
+
this.mad_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
6252
6247
|
// Inline function 'kotlin.collections.filterNot' call
|
|
6253
|
-
var tmp0_0 = action_0.
|
|
6248
|
+
var tmp0_0 = action_0.aab_1;
|
|
6254
6249
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
6255
6250
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
6256
6251
|
var _iterator__ex2g4s_0 = tmp0_0.l();
|
|
@@ -6285,7 +6280,7 @@
|
|
|
6285
6280
|
}
|
|
6286
6281
|
tmp_0 = destination_0;
|
|
6287
6282
|
} else {
|
|
6288
|
-
tmp_0 = action_0.
|
|
6283
|
+
tmp_0 = action_0.aab_1;
|
|
6289
6284
|
}
|
|
6290
6285
|
// Inline function 'kotlin.collections.map' call
|
|
6291
6286
|
var this_0 = tmp_0;
|
|
@@ -6302,7 +6297,7 @@
|
|
|
6302
6297
|
} else {
|
|
6303
6298
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
6304
6299
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
6305
|
-
var tmp0_1 = action_0.
|
|
6300
|
+
var tmp0_1 = action_0.bab_1;
|
|
6306
6301
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
6307
6302
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
6308
6303
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -6321,9 +6316,9 @@
|
|
|
6321
6316
|
var tmp_2;
|
|
6322
6317
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
6323
6318
|
if (!sameSpectators_0.r()) {
|
|
6324
|
-
this.
|
|
6319
|
+
this.mad_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
6325
6320
|
// Inline function 'kotlin.collections.filterNot' call
|
|
6326
|
-
var tmp0_2 = action_0.
|
|
6321
|
+
var tmp0_2 = action_0.bab_1;
|
|
6327
6322
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
6328
6323
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
6329
6324
|
var _iterator__ex2g4s_4 = tmp0_2.l();
|
|
@@ -6358,7 +6353,7 @@
|
|
|
6358
6353
|
}
|
|
6359
6354
|
tmp_2 = destination_3;
|
|
6360
6355
|
} else {
|
|
6361
|
-
tmp_2 = action_0.
|
|
6356
|
+
tmp_2 = action_0.bab_1;
|
|
6362
6357
|
}
|
|
6363
6358
|
var spectatorsToRemove = toSet(tmp_2);
|
|
6364
6359
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -6403,7 +6398,7 @@
|
|
|
6403
6398
|
return tmp;
|
|
6404
6399
|
};
|
|
6405
6400
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).v6h = function (state, action) {
|
|
6406
|
-
return this.
|
|
6401
|
+
return this.u9i((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
6407
6402
|
};
|
|
6408
6403
|
function playerConnectionUpdateReducer() {
|
|
6409
6404
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
@@ -6414,7 +6409,7 @@
|
|
|
6414
6409
|
protoOf(playerConnectionUpdateReducer$$inlined$reducerForActionType$1).f6g = function (action) {
|
|
6415
6410
|
return action instanceof PlayerConnectionUpdateAction;
|
|
6416
6411
|
};
|
|
6417
|
-
protoOf(playerConnectionUpdateReducer$$inlined$reducerForActionType$1).
|
|
6412
|
+
protoOf(playerConnectionUpdateReducer$$inlined$reducerForActionType$1).u9i = function (state, action) {
|
|
6418
6413
|
var action_0 = action instanceof PlayerConnectionUpdateAction ? action : THROW_CCE();
|
|
6419
6414
|
var statePayload = get_serverStatePayload_0(state);
|
|
6420
6415
|
var tmp;
|
|
@@ -6426,17 +6421,17 @@
|
|
|
6426
6421
|
return tmp;
|
|
6427
6422
|
};
|
|
6428
6423
|
protoOf(playerConnectionUpdateReducer$$inlined$reducerForActionType$1).v6h = function (state, action) {
|
|
6429
|
-
return this.
|
|
6424
|
+
return this.u9i((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
6430
6425
|
};
|
|
6431
6426
|
function Companion_6() {
|
|
6432
6427
|
}
|
|
6433
|
-
protoOf(Companion_6).
|
|
6428
|
+
protoOf(Companion_6).nad = function (config, metadata) {
|
|
6434
6429
|
return new ServerStatePayload(config, metadata, emptyList());
|
|
6435
6430
|
};
|
|
6436
6431
|
protoOf(Companion_6).initial = function (config, metadata, $super) {
|
|
6437
6432
|
config = config === VOID ? Companion_instance_10.initial(null) : config;
|
|
6438
6433
|
metadata = metadata === VOID ? new RoomMetadata() : metadata;
|
|
6439
|
-
return $super === VOID ? this.
|
|
6434
|
+
return $super === VOID ? this.nad(config, metadata) : $super.nad.call(this, config, metadata);
|
|
6440
6435
|
};
|
|
6441
6436
|
var Companion_instance_16;
|
|
6442
6437
|
function Companion_getInstance_7() {
|
|
@@ -6453,7 +6448,7 @@
|
|
|
6453
6448
|
protoOf(ServerStatePayload).z8l = function () {
|
|
6454
6449
|
return this.metadata;
|
|
6455
6450
|
};
|
|
6456
|
-
protoOf(ServerStatePayload).
|
|
6451
|
+
protoOf(ServerStatePayload).oad = function () {
|
|
6457
6452
|
return this.connectedPlayers;
|
|
6458
6453
|
};
|
|
6459
6454
|
protoOf(ServerStatePayload).oe = function () {
|
|
@@ -6465,14 +6460,14 @@
|
|
|
6465
6460
|
protoOf(ServerStatePayload).xl = function () {
|
|
6466
6461
|
return this.connectedPlayers;
|
|
6467
6462
|
};
|
|
6468
|
-
protoOf(ServerStatePayload).
|
|
6463
|
+
protoOf(ServerStatePayload).pad = function (config, metadata, connectedPlayers) {
|
|
6469
6464
|
return new ServerStatePayload(config, metadata, connectedPlayers);
|
|
6470
6465
|
};
|
|
6471
6466
|
protoOf(ServerStatePayload).copy = function (config, metadata, connectedPlayers, $super) {
|
|
6472
6467
|
config = config === VOID ? this.config : config;
|
|
6473
6468
|
metadata = metadata === VOID ? this.metadata : metadata;
|
|
6474
6469
|
connectedPlayers = connectedPlayers === VOID ? this.connectedPlayers : connectedPlayers;
|
|
6475
|
-
return $super === VOID ? this.
|
|
6470
|
+
return $super === VOID ? this.pad(config, metadata, connectedPlayers) : $super.pad.call(this, config, metadata, connectedPlayers);
|
|
6476
6471
|
};
|
|
6477
6472
|
protoOf(ServerStatePayload).toString = function () {
|
|
6478
6473
|
return 'ServerStatePayload(config=' + this.config.toString() + ', metadata=' + toString(this.metadata) + ', connectedPlayers=' + toString(this.connectedPlayers) + ')';
|
|
@@ -6520,7 +6515,7 @@
|
|
|
6520
6515
|
return new ServerLoggerKey(_this__u8e3s4.gameId);
|
|
6521
6516
|
}
|
|
6522
6517
|
function serverLoggerKeyFromPayload(_this__u8e3s4, payload) {
|
|
6523
|
-
var gameId = Companion_instance_5.
|
|
6518
|
+
var gameId = Companion_instance_5.w9n(payload);
|
|
6524
6519
|
var tmp;
|
|
6525
6520
|
if (!(gameId == null)) {
|
|
6526
6521
|
tmp = new ServerLoggerKey(gameId);
|
|
@@ -6537,14 +6532,14 @@
|
|
|
6537
6532
|
return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
|
|
6538
6533
|
}
|
|
6539
6534
|
function _get_logger__rkp4sl_0($this) {
|
|
6540
|
-
var tmp0 = $this.
|
|
6535
|
+
var tmp0 = $this.zad_1;
|
|
6541
6536
|
var tmp = KProperty1;
|
|
6542
6537
|
// Inline function 'kotlin.getValue' call
|
|
6543
6538
|
getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
|
|
6544
6539
|
return tmp0.x();
|
|
6545
6540
|
}
|
|
6546
6541
|
function _get_di__ndbzja($this) {
|
|
6547
|
-
var tmp0 = $this.
|
|
6542
|
+
var tmp0 = $this.aae_1;
|
|
6548
6543
|
var tmp = KProperty1;
|
|
6549
6544
|
// Inline function 'kotlin.getValue' call
|
|
6550
6545
|
getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
|
|
@@ -6561,8 +6556,8 @@
|
|
|
6561
6556
|
}
|
|
6562
6557
|
function createCallbackOutput($this, gameServer) {
|
|
6563
6558
|
var tmp;
|
|
6564
|
-
if (!($this.
|
|
6565
|
-
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.
|
|
6559
|
+
if (!($this.xad_1 == null)) {
|
|
6560
|
+
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.xad_1);
|
|
6566
6561
|
tmp = new CallbackWrapperLoggerOutput(tmp_0, GameServerEngineControllerImpl$createCallbackOutput$lambda(gameServer));
|
|
6567
6562
|
} else {
|
|
6568
6563
|
tmp = null;
|
|
@@ -6576,11 +6571,11 @@
|
|
|
6576
6571
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
6577
6572
|
return function () {
|
|
6578
6573
|
var tmp;
|
|
6579
|
-
if (this$0.
|
|
6574
|
+
if (this$0.xad_1 == null) {
|
|
6580
6575
|
tmp = null;
|
|
6581
6576
|
} else {
|
|
6582
6577
|
// Inline function 'kotlin.let' call
|
|
6583
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
6578
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.xad_1)]));
|
|
6584
6579
|
}
|
|
6585
6580
|
var tmp1_elvis_lhs = tmp;
|
|
6586
6581
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -6613,7 +6608,7 @@
|
|
|
6613
6608
|
tmp_0.z62(tmp$ret$3);
|
|
6614
6609
|
$this$DI.d5z(jsonModule());
|
|
6615
6610
|
$this$DI.d5z(serverHelpersModule());
|
|
6616
|
-
$this$DI.d5z(randomOrgModule(this$0.
|
|
6611
|
+
$this$DI.d5z(randomOrgModule(this$0.yad_1));
|
|
6617
6612
|
return Unit_instance;
|
|
6618
6613
|
};
|
|
6619
6614
|
}
|
|
@@ -6689,16 +6684,16 @@
|
|
|
6689
6684
|
};
|
|
6690
6685
|
}
|
|
6691
6686
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
6692
|
-
this.
|
|
6687
|
+
this.hae_1 = $reducer;
|
|
6693
6688
|
}
|
|
6694
6689
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).f6g = function (action) {
|
|
6695
6690
|
return isInterface(action, Action);
|
|
6696
6691
|
};
|
|
6697
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
6698
|
-
return this.
|
|
6692
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).u9i = function (state, action) {
|
|
6693
|
+
return this.hae_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
6699
6694
|
};
|
|
6700
6695
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).v6h = function (state, action) {
|
|
6701
|
-
return this.
|
|
6696
|
+
return this.u9i((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
6702
6697
|
};
|
|
6703
6698
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($gameServer) {
|
|
6704
6699
|
return function () {
|
|
@@ -6778,7 +6773,7 @@
|
|
|
6778
6773
|
}
|
|
6779
6774
|
function GameServerEngineControllerImpl$createCallbackOutput$lambda($gameServer) {
|
|
6780
6775
|
return function (it) {
|
|
6781
|
-
var payload = Companion_instance_7.
|
|
6776
|
+
var payload = Companion_instance_7.i9m(it);
|
|
6782
6777
|
var tmp;
|
|
6783
6778
|
if (!(payload == null)) {
|
|
6784
6779
|
return payload;
|
|
@@ -6799,7 +6794,7 @@
|
|
|
6799
6794
|
// Inline function 'kotlin.let' call
|
|
6800
6795
|
$this$DI.d5z(tmp0_safe_receiver);
|
|
6801
6796
|
}
|
|
6802
|
-
$this$DI.d5z(dealerModule(this$0.randomPoolProvider, this$0.
|
|
6797
|
+
$this$DI.d5z(dealerModule(this$0.randomPoolProvider, this$0.yad_1));
|
|
6803
6798
|
$this$DI.d5z(coreModule($coreConfig));
|
|
6804
6799
|
$this$DI.d5z(createGameServerDI($serverConfig, $logicConfig, $engineBotConfig, $dealerConfig, $ratingConfig, $externalReducers, $externalMiddlewares));
|
|
6805
6800
|
return Unit_instance;
|
|
@@ -6808,8 +6803,8 @@
|
|
|
6808
6803
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
6809
6804
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
6810
6805
|
production = production === VOID ? true : production;
|
|
6811
|
-
this.
|
|
6812
|
-
this.
|
|
6806
|
+
this.xad_1 = loggerCallback;
|
|
6807
|
+
this.yad_1 = randomOrgConfig;
|
|
6813
6808
|
var tmp = AppEnvironment_getInstance();
|
|
6814
6809
|
var tmp_0;
|
|
6815
6810
|
if (production) {
|
|
@@ -6819,9 +6814,9 @@
|
|
|
6819
6814
|
}
|
|
6820
6815
|
tmp.c6m(tmp_0);
|
|
6821
6816
|
var tmp_1 = this;
|
|
6822
|
-
tmp_1.
|
|
6817
|
+
tmp_1.zad_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
6823
6818
|
var tmp_2 = this;
|
|
6824
|
-
tmp_2.
|
|
6819
|
+
tmp_2.aae_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
6825
6820
|
var tmp_3 = this;
|
|
6826
6821
|
// Inline function 'org.kodein.di.instance' call
|
|
6827
6822
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -6830,7 +6825,7 @@
|
|
|
6830
6825
|
var tmp$ret$0 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
6831
6826
|
var tmp_5 = Instance(this_0, tmp$ret$0, null);
|
|
6832
6827
|
var tmp_6 = KProperty1;
|
|
6833
|
-
tmp_3.
|
|
6828
|
+
tmp_3.bae_1 = tmp_5.w64(this, getPropertyCallableRef('parser', 1, tmp_6, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
|
|
6834
6829
|
var tmp_7 = this;
|
|
6835
6830
|
// Inline function 'org.kodein.di.instance' call
|
|
6836
6831
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -6839,7 +6834,7 @@
|
|
|
6839
6834
|
var tmp$ret$2 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
6840
6835
|
var tmp_9 = Instance(this_1, tmp$ret$2, null);
|
|
6841
6836
|
var tmp_10 = KProperty1;
|
|
6842
|
-
tmp_7.
|
|
6837
|
+
tmp_7.cae_1 = tmp_9.w64(this, getPropertyCallableRef('helper', 1, tmp_10, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
|
|
6843
6838
|
var tmp_11 = this;
|
|
6844
6839
|
// Inline function 'org.kodein.di.instance' call
|
|
6845
6840
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -6848,7 +6843,7 @@
|
|
|
6848
6843
|
var tmp$ret$4 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
6849
6844
|
var tmp_13 = Instance(this_2, tmp$ret$4, null);
|
|
6850
6845
|
var tmp_14 = KProperty1;
|
|
6851
|
-
tmp_11.
|
|
6846
|
+
tmp_11.dae_1 = tmp_13.w64(this, getPropertyCallableRef('serverHelper', 1, tmp_14, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
|
|
6852
6847
|
var tmp_15 = this;
|
|
6853
6848
|
// Inline function 'org.kodein.di.instance' call
|
|
6854
6849
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -6857,7 +6852,7 @@
|
|
|
6857
6852
|
var tmp$ret$6 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
6858
6853
|
var tmp_17 = Instance(this_3, tmp$ret$6, null);
|
|
6859
6854
|
var tmp_18 = KProperty1;
|
|
6860
|
-
tmp_15.
|
|
6855
|
+
tmp_15.eae_1 = tmp_17.w64(this, getPropertyCallableRef('resources', 1, tmp_18, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
|
|
6861
6856
|
var tmp_19 = this;
|
|
6862
6857
|
// Inline function 'org.kodein.di.instance' call
|
|
6863
6858
|
var this_4 = _get_di__ndbzja(this);
|
|
@@ -6866,7 +6861,7 @@
|
|
|
6866
6861
|
var tmp$ret$8 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
6867
6862
|
var tmp_21 = Instance(this_4, tmp$ret$8, null);
|
|
6868
6863
|
var tmp_22 = KProperty1;
|
|
6869
|
-
tmp_19.
|
|
6864
|
+
tmp_19.fae_1 = tmp_21.w64(this, getPropertyCallableRef('test', 1, tmp_22, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
|
|
6870
6865
|
var tmp_23 = this;
|
|
6871
6866
|
// Inline function 'org.kodein.di.instance' call
|
|
6872
6867
|
var this_5 = _get_di__ndbzja(this);
|
|
@@ -6875,45 +6870,45 @@
|
|
|
6875
6870
|
var tmp$ret$10 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
6876
6871
|
var tmp_25 = Instance(this_5, tmp$ret$10, null);
|
|
6877
6872
|
var tmp_26 = KProperty1;
|
|
6878
|
-
tmp_23.
|
|
6873
|
+
tmp_23.gae_1 = tmp_25.w64(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_26, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
|
|
6879
6874
|
}
|
|
6880
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6881
|
-
var tmp0 = this.
|
|
6875
|
+
protoOf(GameServerEngineControllerImpl).qad = function () {
|
|
6876
|
+
var tmp0 = this.bae_1;
|
|
6882
6877
|
var tmp = KProperty1;
|
|
6883
6878
|
// Inline function 'kotlin.getValue' call
|
|
6884
6879
|
getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
|
|
6885
6880
|
return tmp0.x();
|
|
6886
6881
|
};
|
|
6887
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6888
|
-
var tmp0 = this.
|
|
6882
|
+
protoOf(GameServerEngineControllerImpl).sad = function () {
|
|
6883
|
+
var tmp0 = this.cae_1;
|
|
6889
6884
|
var tmp = KProperty1;
|
|
6890
6885
|
// Inline function 'kotlin.getValue' call
|
|
6891
6886
|
getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
|
|
6892
6887
|
return tmp0.x();
|
|
6893
6888
|
};
|
|
6894
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6895
|
-
var tmp0 = this.
|
|
6889
|
+
protoOf(GameServerEngineControllerImpl).tad = function () {
|
|
6890
|
+
var tmp0 = this.dae_1;
|
|
6896
6891
|
var tmp = KProperty1;
|
|
6897
6892
|
// Inline function 'kotlin.getValue' call
|
|
6898
6893
|
getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
|
|
6899
6894
|
return tmp0.x();
|
|
6900
6895
|
};
|
|
6901
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6902
|
-
var tmp0 = this.
|
|
6896
|
+
protoOf(GameServerEngineControllerImpl).uad = function () {
|
|
6897
|
+
var tmp0 = this.eae_1;
|
|
6903
6898
|
var tmp = KProperty1;
|
|
6904
6899
|
// Inline function 'kotlin.getValue' call
|
|
6905
6900
|
getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
|
|
6906
6901
|
return tmp0.x();
|
|
6907
6902
|
};
|
|
6908
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6909
|
-
var tmp0 = this.
|
|
6903
|
+
protoOf(GameServerEngineControllerImpl).rad = function () {
|
|
6904
|
+
var tmp0 = this.fae_1;
|
|
6910
6905
|
var tmp = KProperty1;
|
|
6911
6906
|
// Inline function 'kotlin.getValue' call
|
|
6912
6907
|
getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
|
|
6913
6908
|
return tmp0.x();
|
|
6914
6909
|
};
|
|
6915
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6916
|
-
var tmp0 = this.
|
|
6910
|
+
protoOf(GameServerEngineControllerImpl).vad = function () {
|
|
6911
|
+
var tmp0 = this.gae_1;
|
|
6917
6912
|
var tmp = KProperty1;
|
|
6918
6913
|
// Inline function 'kotlin.getValue' call
|
|
6919
6914
|
getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
|
|
@@ -6925,7 +6920,7 @@
|
|
|
6925
6920
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
6926
6921
|
return this.createGameEngineWithLogic();
|
|
6927
6922
|
};
|
|
6928
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6923
|
+
protoOf(GameServerEngineControllerImpl).wad = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, botConfig) {
|
|
6929
6924
|
var combinedLogger = Companion_instance_8.mx();
|
|
6930
6925
|
var gameServer = {_v: null};
|
|
6931
6926
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -6973,7 +6968,7 @@
|
|
|
6973
6968
|
function TestHelper() {
|
|
6974
6969
|
}
|
|
6975
6970
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
6976
|
-
var tmp0 = $this.
|
|
6971
|
+
var tmp0 = $this.kae_1;
|
|
6977
6972
|
var tmp = KProperty1;
|
|
6978
6973
|
// Inline function 'kotlin.getValue' call
|
|
6979
6974
|
getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
|
|
@@ -6981,7 +6976,7 @@
|
|
|
6981
6976
|
}
|
|
6982
6977
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
6983
6978
|
return function ($this$singleton) {
|
|
6984
|
-
return this$0.
|
|
6979
|
+
return this$0.iae_1;
|
|
6985
6980
|
};
|
|
6986
6981
|
}
|
|
6987
6982
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -7021,19 +7016,19 @@
|
|
|
7021
7016
|
return emptyMap();
|
|
7022
7017
|
}
|
|
7023
7018
|
function TestHelperImpl(logger) {
|
|
7024
|
-
this.
|
|
7019
|
+
this.iae_1 = logger;
|
|
7025
7020
|
var tmp = this;
|
|
7026
7021
|
var tmp_0 = Companion_instance_6;
|
|
7027
|
-
tmp.
|
|
7022
|
+
tmp.jae_1 = tmp_0.k5z(VOID, TestHelperImpl$di$lambda(this));
|
|
7028
7023
|
var tmp_1 = this;
|
|
7029
7024
|
// Inline function 'org.kodein.di.instance' call
|
|
7030
|
-
var this_0 = this.
|
|
7025
|
+
var this_0 = this.jae_1;
|
|
7031
7026
|
// Inline function 'org.kodein.type.generic' call
|
|
7032
7027
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
7033
7028
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
7034
7029
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
7035
7030
|
var tmp_4 = KProperty1;
|
|
7036
|
-
tmp_1.
|
|
7031
|
+
tmp_1.kae_1 = tmp_3.w64(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
7037
7032
|
}
|
|
7038
7033
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
7039
7034
|
return _get_playerAnswerInteractor__msggz1(this).f8t(playerId, table, botConfig);
|
|
@@ -7106,14 +7101,14 @@
|
|
|
7106
7101
|
function RoomMetadata() {
|
|
7107
7102
|
var tmp = this;
|
|
7108
7103
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
7109
|
-
tmp.
|
|
7104
|
+
tmp.lae_1 = LinkedHashMap_init_$Create$();
|
|
7110
7105
|
this.extras = {};
|
|
7111
|
-
this.extras = this.
|
|
7106
|
+
this.extras = this.lae_1;
|
|
7112
7107
|
}
|
|
7113
|
-
protoOf(RoomMetadata).
|
|
7108
|
+
protoOf(RoomMetadata).mae = function () {
|
|
7114
7109
|
return this.extras;
|
|
7115
7110
|
};
|
|
7116
|
-
protoOf(RoomMetadata).
|
|
7111
|
+
protoOf(RoomMetadata).mae = function () {
|
|
7117
7112
|
return this.extras;
|
|
7118
7113
|
};
|
|
7119
7114
|
protoOf(RoomMetadata).getGame = function (gameId) {
|
|
@@ -7131,7 +7126,7 @@
|
|
|
7131
7126
|
};
|
|
7132
7127
|
protoOf(RoomMetadata).addGame = function (gameId, game) {
|
|
7133
7128
|
// Inline function 'kotlin.collections.set' call
|
|
7134
|
-
this.
|
|
7129
|
+
this.lae_1.f2(gameId, game);
|
|
7135
7130
|
};
|
|
7136
7131
|
function GameMetadata(gameId) {
|
|
7137
7132
|
this.gameId = gameId;
|
|
@@ -7140,7 +7135,7 @@
|
|
|
7140
7135
|
protoOf(GameMetadata).c54 = function () {
|
|
7141
7136
|
return this.gameId;
|
|
7142
7137
|
};
|
|
7143
|
-
protoOf(GameMetadata).
|
|
7138
|
+
protoOf(GameMetadata).mae = function () {
|
|
7144
7139
|
return this.extras;
|
|
7145
7140
|
};
|
|
7146
7141
|
function serverHelpersModule() {
|
|
@@ -7249,22 +7244,22 @@
|
|
|
7249
7244
|
protoOf(PlayerReconnectionWaitingTimerTag).b92 = ignoreTimerResetValidation;
|
|
7250
7245
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
7251
7246
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
7252
|
-
return this.
|
|
7247
|
+
return this.qad();
|
|
7253
7248
|
});
|
|
7254
7249
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
7255
|
-
return this.
|
|
7250
|
+
return this.sad();
|
|
7256
7251
|
});
|
|
7257
7252
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
7258
|
-
return this.
|
|
7253
|
+
return this.tad();
|
|
7259
7254
|
});
|
|
7260
7255
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
7261
|
-
return this.
|
|
7256
|
+
return this.uad();
|
|
7262
7257
|
});
|
|
7263
7258
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
7264
|
-
return this.
|
|
7259
|
+
return this.rad();
|
|
7265
7260
|
});
|
|
7266
7261
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
7267
|
-
return this.
|
|
7262
|
+
return this.vad();
|
|
7268
7263
|
});
|
|
7269
7264
|
//endregion
|
|
7270
7265
|
//region block: init
|