raspberry_games_server_game_logic 1.8.385 → 1.8.386
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-core.js +327 -309
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +10381 -10354
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.js +877 -902
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +4 -4
- package/kotlinx-coroutines-core.js +8 -8
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (factory) {
|
|
2
2
|
if (typeof define === 'function' && define.amd)
|
|
3
|
-
define(['exports', './kotlin-kotlin-stdlib.js', './Logic_Debertz-engine.js', './kotlinx-coroutines-core.js', './Logic_Debertz-core.js', './raspberry-cardgame-lib-random.js', './
|
|
3
|
+
define(['exports', './kotlin-kotlin-stdlib.js', './Logic_Debertz-engine.js', './kotlinx-coroutines-core.js', './Logic_Debertz-core.js', './raspberry-cardgame-lib-random.js', './Kosi-Kaverit-kaverit.js', './Kosi-Kodein-kodein-di.js', './kotlinx-serialization-kotlinx-serialization-core.js', './raspberry-cardgame-lib-logger.js', './kotlinx-atomicfu.js', './raspberry-cardgame-lib-core.js'], factory);
|
|
4
4
|
else if (typeof exports === 'object')
|
|
5
|
-
factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./Logic_Debertz-engine.js'), require('./kotlinx-coroutines-core.js'), require('./Logic_Debertz-core.js'), require('./raspberry-cardgame-lib-random.js'), require('./
|
|
5
|
+
factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./Logic_Debertz-engine.js'), require('./kotlinx-coroutines-core.js'), require('./Logic_Debertz-core.js'), require('./raspberry-cardgame-lib-random.js'), require('./Kosi-Kaverit-kaverit.js'), require('./Kosi-Kodein-kodein-di.js'), require('./kotlinx-serialization-kotlinx-serialization-core.js'), require('./raspberry-cardgame-lib-logger.js'), require('./kotlinx-atomicfu.js'), require('./raspberry-cardgame-lib-core.js'));
|
|
6
6
|
else {
|
|
7
7
|
if (typeof globalThis['kotlin-kotlin-stdlib'] === 'undefined') {
|
|
8
8
|
throw new Error("Error loading module 'io.raspberryapps.game-engine:game_server'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'io.raspberryapps.game-engine:game_server'.");
|
|
@@ -19,9 +19,6 @@
|
|
|
19
19
|
if (typeof globalThis['raspberry-cardgame-lib-random'] === 'undefined') {
|
|
20
20
|
throw new Error("Error loading module 'io.raspberryapps.game-engine:game_server'. Its dependency 'raspberry-cardgame-lib-random' was not found. Please, check whether 'raspberry-cardgame-lib-random' is loaded prior to 'io.raspberryapps.game-engine:game_server'.");
|
|
21
21
|
}
|
|
22
|
-
if (typeof globalThis['raspberry-cardgame-lib-logger'] === 'undefined') {
|
|
23
|
-
throw new Error("Error loading module 'io.raspberryapps.game-engine:game_server'. Its dependency 'raspberry-cardgame-lib-logger' was not found. Please, check whether 'raspberry-cardgame-lib-logger' is loaded prior to 'io.raspberryapps.game-engine:game_server'.");
|
|
24
|
-
}
|
|
25
22
|
if (typeof globalThis['Kosi-Kaverit-kaverit'] === 'undefined') {
|
|
26
23
|
throw new Error("Error loading module 'io.raspberryapps.game-engine:game_server'. Its dependency 'Kosi-Kaverit-kaverit' was not found. Please, check whether 'Kosi-Kaverit-kaverit' is loaded prior to 'io.raspberryapps.game-engine:game_server'.");
|
|
27
24
|
}
|
|
@@ -31,15 +28,18 @@
|
|
|
31
28
|
if (typeof globalThis['kotlinx-serialization-kotlinx-serialization-core'] === 'undefined') {
|
|
32
29
|
throw new Error("Error loading module 'io.raspberryapps.game-engine:game_server'. Its dependency 'kotlinx-serialization-kotlinx-serialization-core' was not found. Please, check whether 'kotlinx-serialization-kotlinx-serialization-core' is loaded prior to 'io.raspberryapps.game-engine:game_server'.");
|
|
33
30
|
}
|
|
31
|
+
if (typeof globalThis['raspberry-cardgame-lib-logger'] === 'undefined') {
|
|
32
|
+
throw new Error("Error loading module 'io.raspberryapps.game-engine:game_server'. Its dependency 'raspberry-cardgame-lib-logger' was not found. Please, check whether 'raspberry-cardgame-lib-logger' is loaded prior to 'io.raspberryapps.game-engine:game_server'.");
|
|
33
|
+
}
|
|
34
34
|
if (typeof globalThis['kotlinx-atomicfu'] === 'undefined') {
|
|
35
35
|
throw new Error("Error loading module 'io.raspberryapps.game-engine:game_server'. Its dependency 'kotlinx-atomicfu' was not found. Please, check whether 'kotlinx-atomicfu' is loaded prior to 'io.raspberryapps.game-engine:game_server'.");
|
|
36
36
|
}
|
|
37
37
|
if (typeof globalThis['raspberry-cardgame-lib-core'] === 'undefined') {
|
|
38
38
|
throw new Error("Error loading module 'io.raspberryapps.game-engine:game_server'. Its dependency 'raspberry-cardgame-lib-core' was not found. Please, check whether 'raspberry-cardgame-lib-core' is loaded prior to 'io.raspberryapps.game-engine:game_server'.");
|
|
39
39
|
}
|
|
40
|
-
globalThis['io.raspberryapps.game-engine:game_server'] = factory(typeof globalThis['io.raspberryapps.game-engine:game_server'] === 'undefined' ? {} : globalThis['io.raspberryapps.game-engine:game_server'], globalThis['kotlin-kotlin-stdlib'], globalThis['Logic_Debertz-engine'], globalThis['kotlinx-coroutines-core'], globalThis['Logic_Debertz-core'], globalThis['raspberry-cardgame-lib-random'], globalThis['
|
|
40
|
+
globalThis['io.raspberryapps.game-engine:game_server'] = factory(typeof globalThis['io.raspberryapps.game-engine:game_server'] === 'undefined' ? {} : globalThis['io.raspberryapps.game-engine:game_server'], globalThis['kotlin-kotlin-stdlib'], globalThis['Logic_Debertz-engine'], globalThis['kotlinx-coroutines-core'], globalThis['Logic_Debertz-core'], globalThis['raspberry-cardgame-lib-random'], globalThis['Kosi-Kaverit-kaverit'], globalThis['Kosi-Kodein-kodein-di'], globalThis['kotlinx-serialization-kotlinx-serialization-core'], globalThis['raspberry-cardgame-lib-logger'], globalThis['kotlinx-atomicfu'], globalThis['raspberry-cardgame-lib-core']);
|
|
41
41
|
}
|
|
42
|
-
}(function (_, kotlin_kotlin, kotlin_io_raspberryapps_game_engine_engine, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_io_raspberryapps_game_engine_core, kotlin_io_raspberryapps_cardgame_random,
|
|
42
|
+
}(function (_, kotlin_kotlin, kotlin_io_raspberryapps_game_engine_engine, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_io_raspberryapps_game_engine_core, kotlin_io_raspberryapps_cardgame_random, kotlin_org_kodein_type_kaverit, kotlin_org_kodein_di_kodein_di, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core, kotlin_io_raspberryapps_cardgame_logger, kotlin_org_jetbrains_kotlinx_atomicfu, kotlin_io_raspberryapps_cardgame_core) {
|
|
43
43
|
'use strict';
|
|
44
44
|
//region block: imports
|
|
45
45
|
var imul = Math.imul;
|
|
@@ -116,7 +116,6 @@
|
|
|
116
116
|
var noWhenBranchMatchedException = kotlin_kotlin.$_$.ii;
|
|
117
117
|
var BaseGame = kotlin_io_raspberryapps_game_engine_engine.$_$.e4;
|
|
118
118
|
var emptyList = kotlin_kotlin.$_$.d7;
|
|
119
|
-
var RaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.g;
|
|
120
119
|
var getKClass = kotlin_kotlin.$_$.ce;
|
|
121
120
|
var arrayOf = kotlin_kotlin.$_$.yh;
|
|
122
121
|
var createKType = kotlin_kotlin.$_$.ae;
|
|
@@ -151,6 +150,7 @@
|
|
|
151
150
|
var mapToDto = kotlin_io_raspberryapps_game_engine_engine.$_$.k;
|
|
152
151
|
var mapToDto_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.l;
|
|
153
152
|
var Module_init_$Create$ = kotlin_org_kodein_di_kodein_di.$_$.a;
|
|
153
|
+
var RaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.g;
|
|
154
154
|
var TableLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.t3;
|
|
155
155
|
var RandomPoolProvider = kotlin_io_raspberryapps_cardgame_random.$_$.i;
|
|
156
156
|
var PlayerTurnMechanicReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.s3;
|
|
@@ -360,10 +360,10 @@
|
|
|
360
360
|
spectators = tmp;
|
|
361
361
|
var tmp_0;
|
|
362
362
|
if ($super === VOID) {
|
|
363
|
-
this.
|
|
363
|
+
this.h9v(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
364
364
|
tmp_0 = Unit_instance;
|
|
365
365
|
} else {
|
|
366
|
-
tmp_0 = $super.
|
|
366
|
+
tmp_0 = $super.h9v.call(this, roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
367
367
|
}
|
|
368
368
|
return tmp_0;
|
|
369
369
|
}
|
|
@@ -371,10 +371,10 @@
|
|
|
371
371
|
newRid = newRid === VOID ? null : newRid;
|
|
372
372
|
var tmp;
|
|
373
373
|
if ($super === VOID) {
|
|
374
|
-
this.
|
|
374
|
+
this.i9v(newRid);
|
|
375
375
|
tmp = Unit_instance;
|
|
376
376
|
} else {
|
|
377
|
-
tmp = $super.
|
|
377
|
+
tmp = $super.i9v.call(this, newRid);
|
|
378
378
|
}
|
|
379
379
|
return tmp;
|
|
380
380
|
}
|
|
@@ -382,10 +382,10 @@
|
|
|
382
382
|
roomId = roomId === VOID ? null : roomId;
|
|
383
383
|
var tmp;
|
|
384
384
|
if ($super === VOID) {
|
|
385
|
-
this.
|
|
385
|
+
this.j9v(reason, roomId);
|
|
386
386
|
tmp = Unit_instance;
|
|
387
387
|
} else {
|
|
388
|
-
tmp = $super.
|
|
388
|
+
tmp = $super.j9v.call(this, reason, roomId);
|
|
389
389
|
}
|
|
390
390
|
return tmp;
|
|
391
391
|
}
|
|
@@ -450,7 +450,7 @@
|
|
|
450
450
|
dealerConfig = dealerConfig === VOID ? new DealerConfig() : dealerConfig;
|
|
451
451
|
ratingConfig = ratingConfig === VOID ? new RatingConfig() : ratingConfig;
|
|
452
452
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
453
|
-
return $super === VOID ? this.
|
|
453
|
+
return $super === VOID ? this.ba0(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig) : $super.ba0.call(this, reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig);
|
|
454
454
|
}
|
|
455
455
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
456
456
|
initMetadataForClass(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1, VOID, VOID, VOID, [Reducer]);
|
|
@@ -461,17 +461,17 @@
|
|
|
461
461
|
initMetadataForClass(TestHelperImpl, 'TestHelperImpl', VOID, VOID, [TestHelper]);
|
|
462
462
|
//endregion
|
|
463
463
|
function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
|
|
464
|
-
this.
|
|
464
|
+
this.v9e_1 = $subscriber;
|
|
465
465
|
CoroutineImpl.call(this, resultContinuation);
|
|
466
466
|
}
|
|
467
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
468
|
-
var tmp = this.
|
|
467
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).x9e = function (it, $completion) {
|
|
468
|
+
var tmp = this.y9e(it, $completion);
|
|
469
469
|
tmp.t8_1 = Unit_instance;
|
|
470
470
|
tmp.u8_1 = null;
|
|
471
471
|
return tmp.z8();
|
|
472
472
|
};
|
|
473
473
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).h9 = function (p1, $completion) {
|
|
474
|
-
return this.
|
|
474
|
+
return this.x9e(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
475
475
|
};
|
|
476
476
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).z8 = function () {
|
|
477
477
|
var suspendResult = this.t8_1;
|
|
@@ -480,7 +480,7 @@
|
|
|
480
480
|
var tmp = this.r8_1;
|
|
481
481
|
if (tmp === 0) {
|
|
482
482
|
this.s8_1 = 1;
|
|
483
|
-
this.
|
|
483
|
+
this.v9e_1(this.w9e_1);
|
|
484
484
|
return Unit_instance;
|
|
485
485
|
} else if (tmp === 1) {
|
|
486
486
|
throw this.u8_1;
|
|
@@ -491,31 +491,31 @@
|
|
|
491
491
|
}
|
|
492
492
|
while (true);
|
|
493
493
|
};
|
|
494
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
495
|
-
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.
|
|
496
|
-
i.
|
|
494
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).y9e = function (it, completion) {
|
|
495
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.v9e_1, completion);
|
|
496
|
+
i.w9e_1 = it;
|
|
497
497
|
return i;
|
|
498
498
|
};
|
|
499
499
|
function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
|
|
500
500
|
var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
|
|
501
501
|
var l = function (it, $completion) {
|
|
502
|
-
return i.
|
|
502
|
+
return i.x9e(it, $completion);
|
|
503
503
|
};
|
|
504
504
|
l.$arity = 1;
|
|
505
505
|
return l;
|
|
506
506
|
}
|
|
507
507
|
function GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation) {
|
|
508
|
-
this.
|
|
508
|
+
this.h9f_1 = $subscriber;
|
|
509
509
|
CoroutineImpl.call(this, resultContinuation);
|
|
510
510
|
}
|
|
511
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
512
|
-
var tmp = this.
|
|
511
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).j9f = function (it, $completion) {
|
|
512
|
+
var tmp = this.k9f(it, $completion);
|
|
513
513
|
tmp.t8_1 = Unit_instance;
|
|
514
514
|
tmp.u8_1 = null;
|
|
515
515
|
return tmp.z8();
|
|
516
516
|
};
|
|
517
517
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).h9 = function (p1, $completion) {
|
|
518
|
-
return this.
|
|
518
|
+
return this.j9f((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
|
|
519
519
|
};
|
|
520
520
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).z8 = function () {
|
|
521
521
|
var suspendResult = this.t8_1;
|
|
@@ -524,7 +524,7 @@
|
|
|
524
524
|
var tmp = this.r8_1;
|
|
525
525
|
if (tmp === 0) {
|
|
526
526
|
this.s8_1 = 1;
|
|
527
|
-
this.
|
|
527
|
+
this.h9f_1(this.i9f_1);
|
|
528
528
|
return Unit_instance;
|
|
529
529
|
} else if (tmp === 1) {
|
|
530
530
|
throw this.u8_1;
|
|
@@ -535,22 +535,22 @@
|
|
|
535
535
|
}
|
|
536
536
|
while (true);
|
|
537
537
|
};
|
|
538
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
539
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.
|
|
540
|
-
i.
|
|
538
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).k9f = function (it, completion) {
|
|
539
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.h9f_1, completion);
|
|
540
|
+
i.i9f_1 = it;
|
|
541
541
|
return i;
|
|
542
542
|
};
|
|
543
543
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_0($subscriber, resultContinuation) {
|
|
544
544
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation);
|
|
545
545
|
var l = function (it, $completion) {
|
|
546
|
-
return i.
|
|
546
|
+
return i.j9f(it, $completion);
|
|
547
547
|
};
|
|
548
548
|
l.$arity = 1;
|
|
549
549
|
return l;
|
|
550
550
|
}
|
|
551
551
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
552
|
-
this.
|
|
553
|
-
this.
|
|
552
|
+
this.t9f_1 = $$this$unsafeFlow;
|
|
553
|
+
this.u9f_1 = this$0;
|
|
554
554
|
CoroutineImpl.call(this, resultContinuation);
|
|
555
555
|
}
|
|
556
556
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).u2h = function (value, $completion) {
|
|
@@ -570,10 +570,10 @@
|
|
|
570
570
|
switch (tmp) {
|
|
571
571
|
case 0:
|
|
572
572
|
this.s8_1 = 2;
|
|
573
|
-
var tmp0 = this.
|
|
574
|
-
var value = this.
|
|
573
|
+
var tmp0 = this.t9f_1;
|
|
574
|
+
var value = this.v9f_1;
|
|
575
575
|
this.r8_1 = 1;
|
|
576
|
-
suspendResult = tmp0.l28(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.
|
|
576
|
+
suspendResult = tmp0.l28(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.u9f_1)), this);
|
|
577
577
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
578
578
|
return suspendResult;
|
|
579
579
|
}
|
|
@@ -596,8 +596,8 @@
|
|
|
596
596
|
while (true);
|
|
597
597
|
};
|
|
598
598
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).v2h = function (value, completion) {
|
|
599
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.
|
|
600
|
-
i.
|
|
599
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.t9f_1, this.u9f_1, completion);
|
|
600
|
+
i.v9f_1 = value;
|
|
601
601
|
return i;
|
|
602
602
|
};
|
|
603
603
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
@@ -610,8 +610,8 @@
|
|
|
610
610
|
}
|
|
611
611
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
612
612
|
CoroutineImpl.call(this, resultContinuation);
|
|
613
|
-
this.
|
|
614
|
-
this.
|
|
613
|
+
this.e9g_1 = _this__u8e3s4;
|
|
614
|
+
this.f9g_1 = collector;
|
|
615
615
|
}
|
|
616
616
|
protoOf($collectCOROUTINE$).z8 = function () {
|
|
617
617
|
var suspendResult = this.t8_1;
|
|
@@ -621,10 +621,10 @@
|
|
|
621
621
|
switch (tmp) {
|
|
622
622
|
case 0:
|
|
623
623
|
this.s8_1 = 2;
|
|
624
|
-
var $this$unsafeFlow = this.
|
|
624
|
+
var $this$unsafeFlow = this.f9g_1;
|
|
625
625
|
this.r8_1 = 1;
|
|
626
|
-
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
627
|
-
suspendResult = this.
|
|
626
|
+
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.e9g_1.h9g_1, null);
|
|
627
|
+
suspendResult = this.e9g_1.g9g_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_0), this);
|
|
628
628
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
629
629
|
return suspendResult;
|
|
630
630
|
}
|
|
@@ -647,8 +647,8 @@
|
|
|
647
647
|
while (true);
|
|
648
648
|
};
|
|
649
649
|
function GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1($this, this$0) {
|
|
650
|
-
this.
|
|
651
|
-
this.
|
|
650
|
+
this.g9g_1 = $this;
|
|
651
|
+
this.h9g_1 = this$0;
|
|
652
652
|
}
|
|
653
653
|
protoOf(GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1).m28 = function (collector, $completion) {
|
|
654
654
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
@@ -660,17 +660,17 @@
|
|
|
660
660
|
return this.m28(collector, $completion);
|
|
661
661
|
};
|
|
662
662
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation) {
|
|
663
|
-
this.
|
|
663
|
+
this.q9g_1 = $subscriber;
|
|
664
664
|
CoroutineImpl.call(this, resultContinuation);
|
|
665
665
|
}
|
|
666
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
667
|
-
var tmp = this.
|
|
666
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).s9g = function (it, $completion) {
|
|
667
|
+
var tmp = this.t9g(it, $completion);
|
|
668
668
|
tmp.t8_1 = Unit_instance;
|
|
669
669
|
tmp.u8_1 = null;
|
|
670
670
|
return tmp.z8();
|
|
671
671
|
};
|
|
672
672
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).h9 = function (p1, $completion) {
|
|
673
|
-
return this.
|
|
673
|
+
return this.s9g((!(p1 == null) ? isInterface(p1, ServerStateUpdateDto) : false) ? p1 : THROW_CCE(), $completion);
|
|
674
674
|
};
|
|
675
675
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).z8 = function () {
|
|
676
676
|
var suspendResult = this.t8_1;
|
|
@@ -679,7 +679,7 @@
|
|
|
679
679
|
var tmp = this.r8_1;
|
|
680
680
|
if (tmp === 0) {
|
|
681
681
|
this.s8_1 = 1;
|
|
682
|
-
this.
|
|
682
|
+
this.q9g_1(this.r9g_1);
|
|
683
683
|
return Unit_instance;
|
|
684
684
|
} else if (tmp === 1) {
|
|
685
685
|
throw this.u8_1;
|
|
@@ -690,22 +690,22 @@
|
|
|
690
690
|
}
|
|
691
691
|
while (true);
|
|
692
692
|
};
|
|
693
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
694
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.
|
|
695
|
-
i.
|
|
693
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).t9g = function (it, completion) {
|
|
694
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.q9g_1, completion);
|
|
695
|
+
i.r9g_1 = it;
|
|
696
696
|
return i;
|
|
697
697
|
};
|
|
698
698
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda_0($subscriber, resultContinuation) {
|
|
699
699
|
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation);
|
|
700
700
|
var l = function (it, $completion) {
|
|
701
|
-
return i.
|
|
701
|
+
return i.s9g(it, $completion);
|
|
702
702
|
};
|
|
703
703
|
l.$arity = 1;
|
|
704
704
|
return l;
|
|
705
705
|
}
|
|
706
706
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, $table, resultContinuation) {
|
|
707
|
-
this.
|
|
708
|
-
this.
|
|
707
|
+
this.c9h_1 = $$this$unsafeFlow;
|
|
708
|
+
this.d9h_1 = $table;
|
|
709
709
|
CoroutineImpl.call(this, resultContinuation);
|
|
710
710
|
}
|
|
711
711
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).u2h = function (value, $completion) {
|
|
@@ -725,10 +725,10 @@
|
|
|
725
725
|
switch (tmp) {
|
|
726
726
|
case 0:
|
|
727
727
|
this.s8_1 = 2;
|
|
728
|
-
var tmp0 = this.
|
|
729
|
-
var value = this.
|
|
728
|
+
var tmp0 = this.c9h_1;
|
|
729
|
+
var value = this.e9h_1;
|
|
730
730
|
this.r8_1 = 1;
|
|
731
|
-
suspendResult = tmp0.l28(new ActionsStateUpdate(this.
|
|
731
|
+
suspendResult = tmp0.l28(new ActionsStateUpdate(this.d9h_1.id, value), this);
|
|
732
732
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
733
733
|
return suspendResult;
|
|
734
734
|
}
|
|
@@ -751,8 +751,8 @@
|
|
|
751
751
|
while (true);
|
|
752
752
|
};
|
|
753
753
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).v2h = function (value, completion) {
|
|
754
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.
|
|
755
|
-
i.
|
|
754
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.c9h_1, this.d9h_1, completion);
|
|
755
|
+
i.e9h_1 = value;
|
|
756
756
|
return i;
|
|
757
757
|
};
|
|
758
758
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, $table, resultContinuation) {
|
|
@@ -765,8 +765,8 @@
|
|
|
765
765
|
}
|
|
766
766
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
767
767
|
CoroutineImpl.call(this, resultContinuation);
|
|
768
|
-
this.
|
|
769
|
-
this.
|
|
768
|
+
this.n9h_1 = _this__u8e3s4;
|
|
769
|
+
this.o9h_1 = collector;
|
|
770
770
|
}
|
|
771
771
|
protoOf($collectCOROUTINE$_0).z8 = function () {
|
|
772
772
|
var suspendResult = this.t8_1;
|
|
@@ -776,10 +776,10 @@
|
|
|
776
776
|
switch (tmp) {
|
|
777
777
|
case 0:
|
|
778
778
|
this.s8_1 = 2;
|
|
779
|
-
var $this$unsafeFlow = this.
|
|
779
|
+
var $this$unsafeFlow = this.o9h_1;
|
|
780
780
|
this.r8_1 = 1;
|
|
781
|
-
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
782
|
-
suspendResult = this.
|
|
781
|
+
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.n9h_1.q9h_1, null);
|
|
782
|
+
suspendResult = this.n9h_1.p9h_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
783
783
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
784
784
|
return suspendResult;
|
|
785
785
|
}
|
|
@@ -802,8 +802,8 @@
|
|
|
802
802
|
while (true);
|
|
803
803
|
};
|
|
804
804
|
function _no_name_provided__qut3iv($this, $table) {
|
|
805
|
-
this.
|
|
806
|
-
this.
|
|
805
|
+
this.p9h_1 = $this;
|
|
806
|
+
this.q9h_1 = $table;
|
|
807
807
|
}
|
|
808
808
|
protoOf(_no_name_provided__qut3iv).m28 = function (collector, $completion) {
|
|
809
809
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
@@ -815,18 +815,18 @@
|
|
|
815
815
|
return this.m28(collector, $completion);
|
|
816
816
|
};
|
|
817
817
|
function GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation) {
|
|
818
|
-
this.
|
|
819
|
-
this.
|
|
818
|
+
this.z9h_1 = $table;
|
|
819
|
+
this.a9i_1 = this$0;
|
|
820
820
|
CoroutineImpl.call(this, resultContinuation);
|
|
821
821
|
}
|
|
822
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
823
|
-
var tmp = this.
|
|
822
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).c9i = function ($this$flow, $completion) {
|
|
823
|
+
var tmp = this.d9i($this$flow, $completion);
|
|
824
824
|
tmp.t8_1 = Unit_instance;
|
|
825
825
|
tmp.u8_1 = null;
|
|
826
826
|
return tmp.z8();
|
|
827
827
|
};
|
|
828
828
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).h9 = function (p1, $completion) {
|
|
829
|
-
return this.
|
|
829
|
+
return this.c9i((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
830
830
|
};
|
|
831
831
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).z8 = function () {
|
|
832
832
|
var suspendResult = this.t8_1;
|
|
@@ -837,7 +837,7 @@
|
|
|
837
837
|
case 0:
|
|
838
838
|
this.s8_1 = 3;
|
|
839
839
|
this.r8_1 = 1;
|
|
840
|
-
suspendResult = this.
|
|
840
|
+
suspendResult = this.b9i_1.l28(new TableStateUpdate(this.z9h_1.id, this.z9h_1), this);
|
|
841
841
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
842
842
|
return suspendResult;
|
|
843
843
|
}
|
|
@@ -845,8 +845,8 @@
|
|
|
845
845
|
continue $sm;
|
|
846
846
|
case 1:
|
|
847
847
|
this.r8_1 = 2;
|
|
848
|
-
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.
|
|
849
|
-
suspendResult = emitAll(this.
|
|
848
|
+
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.a9i_1).n8j(), fromInt(_get_serverReduxConfig__rprcrm(this.a9i_1).serverStateUpdateIntervalMillis));
|
|
849
|
+
suspendResult = emitAll(this.b9i_1, new _no_name_provided__qut3iv(this_0, this.z9h_1), this);
|
|
850
850
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
851
851
|
return suspendResult;
|
|
852
852
|
}
|
|
@@ -868,21 +868,21 @@
|
|
|
868
868
|
}
|
|
869
869
|
while (true);
|
|
870
870
|
};
|
|
871
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
872
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.
|
|
873
|
-
i.
|
|
871
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).d9i = function ($this$flow, completion) {
|
|
872
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.z9h_1, this.a9i_1, completion);
|
|
873
|
+
i.b9i_1 = $this$flow;
|
|
874
874
|
return i;
|
|
875
875
|
};
|
|
876
876
|
function GameServer$observeTableStateUpdates$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
877
877
|
var i = new GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation);
|
|
878
878
|
var l = function ($this$flow, $completion) {
|
|
879
|
-
return i.
|
|
879
|
+
return i.c9i($this$flow, $completion);
|
|
880
880
|
};
|
|
881
881
|
l.$arity = 1;
|
|
882
882
|
return l;
|
|
883
883
|
}
|
|
884
884
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
885
|
-
this.
|
|
885
|
+
this.m9i_1 = $$this$unsafeFlow;
|
|
886
886
|
CoroutineImpl.call(this, resultContinuation);
|
|
887
887
|
}
|
|
888
888
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).u2h = function (value, $completion) {
|
|
@@ -903,28 +903,28 @@
|
|
|
903
903
|
case 0:
|
|
904
904
|
this.s8_1 = 5;
|
|
905
905
|
var tmp_0 = this;
|
|
906
|
-
tmp_0.
|
|
906
|
+
tmp_0.r9i_1 = this.m9i_1;
|
|
907
907
|
var tmp_1 = this;
|
|
908
|
-
tmp_1.
|
|
908
|
+
tmp_1.q9i_1 = this.n9i_1;
|
|
909
909
|
this.r8_1 = 1;
|
|
910
910
|
continue $sm;
|
|
911
911
|
case 1:
|
|
912
|
-
this.
|
|
913
|
-
var tmp0_elvis_lhs = this.
|
|
912
|
+
this.o9i_1 = this.r9i_1;
|
|
913
|
+
var tmp0_elvis_lhs = this.q9i_1.o6m_1;
|
|
914
914
|
if (tmp0_elvis_lhs == null) {
|
|
915
915
|
this.r8_1 = 4;
|
|
916
916
|
var tmp_2 = this;
|
|
917
917
|
continue $sm;
|
|
918
918
|
} else {
|
|
919
|
-
this.
|
|
919
|
+
this.p9i_1 = tmp0_elvis_lhs;
|
|
920
920
|
this.r8_1 = 2;
|
|
921
921
|
continue $sm;
|
|
922
922
|
}
|
|
923
923
|
|
|
924
924
|
case 2:
|
|
925
|
-
var transformed = this.
|
|
925
|
+
var transformed = this.p9i_1;
|
|
926
926
|
this.r8_1 = 3;
|
|
927
|
-
suspendResult = this.
|
|
927
|
+
suspendResult = this.o9i_1.l28(transformed, this);
|
|
928
928
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
929
929
|
return suspendResult;
|
|
930
930
|
}
|
|
@@ -955,8 +955,8 @@
|
|
|
955
955
|
while (true);
|
|
956
956
|
};
|
|
957
957
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).v2h = function (value, completion) {
|
|
958
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
959
|
-
i.
|
|
958
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.m9i_1, completion);
|
|
959
|
+
i.n9i_1 = value;
|
|
960
960
|
return i;
|
|
961
961
|
};
|
|
962
962
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -969,8 +969,8 @@
|
|
|
969
969
|
}
|
|
970
970
|
function $collectCOROUTINE$_1(_this__u8e3s4, collector, resultContinuation) {
|
|
971
971
|
CoroutineImpl.call(this, resultContinuation);
|
|
972
|
-
this.
|
|
973
|
-
this.
|
|
972
|
+
this.a9j_1 = _this__u8e3s4;
|
|
973
|
+
this.b9j_1 = collector;
|
|
974
974
|
}
|
|
975
975
|
protoOf($collectCOROUTINE$_1).z8 = function () {
|
|
976
976
|
var suspendResult = this.t8_1;
|
|
@@ -980,10 +980,10 @@
|
|
|
980
980
|
switch (tmp) {
|
|
981
981
|
case 0:
|
|
982
982
|
this.s8_1 = 2;
|
|
983
|
-
var $this$unsafeFlow = this.
|
|
983
|
+
var $this$unsafeFlow = this.b9j_1;
|
|
984
984
|
this.r8_1 = 1;
|
|
985
985
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($this$unsafeFlow, null);
|
|
986
|
-
suspendResult = this.
|
|
986
|
+
suspendResult = this.a9j_1.c9j_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
987
987
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
988
988
|
return suspendResult;
|
|
989
989
|
}
|
|
@@ -1006,7 +1006,7 @@
|
|
|
1006
1006
|
while (true);
|
|
1007
1007
|
};
|
|
1008
1008
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_1($$this$unsafeFlow, resultContinuation) {
|
|
1009
|
-
this.
|
|
1009
|
+
this.l9j_1 = $$this$unsafeFlow;
|
|
1010
1010
|
CoroutineImpl.call(this, resultContinuation);
|
|
1011
1011
|
}
|
|
1012
1012
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).u2h = function (value, $completion) {
|
|
@@ -1026,8 +1026,8 @@
|
|
|
1026
1026
|
switch (tmp) {
|
|
1027
1027
|
case 0:
|
|
1028
1028
|
this.s8_1 = 2;
|
|
1029
|
-
var tmp0 = this.
|
|
1030
|
-
var value = this.
|
|
1029
|
+
var tmp0 = this.l9j_1;
|
|
1030
|
+
var value = this.m9j_1;
|
|
1031
1031
|
this.r8_1 = 1;
|
|
1032
1032
|
suspendResult = tmp0.l28(to(value.gameInfo.roundNumberTotal, value), this);
|
|
1033
1033
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1052,8 +1052,8 @@
|
|
|
1052
1052
|
while (true);
|
|
1053
1053
|
};
|
|
1054
1054
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).v2h = function (value, completion) {
|
|
1055
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.
|
|
1056
|
-
i.
|
|
1055
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.l9j_1, completion);
|
|
1056
|
+
i.m9j_1 = value;
|
|
1057
1057
|
return i;
|
|
1058
1058
|
};
|
|
1059
1059
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1066,8 +1066,8 @@
|
|
|
1066
1066
|
}
|
|
1067
1067
|
function $collectCOROUTINE$_2(_this__u8e3s4, collector, resultContinuation) {
|
|
1068
1068
|
CoroutineImpl.call(this, resultContinuation);
|
|
1069
|
-
this.
|
|
1070
|
-
this.
|
|
1069
|
+
this.v9j_1 = _this__u8e3s4;
|
|
1070
|
+
this.w9j_1 = collector;
|
|
1071
1071
|
}
|
|
1072
1072
|
protoOf($collectCOROUTINE$_2).z8 = function () {
|
|
1073
1073
|
var suspendResult = this.t8_1;
|
|
@@ -1077,10 +1077,10 @@
|
|
|
1077
1077
|
switch (tmp) {
|
|
1078
1078
|
case 0:
|
|
1079
1079
|
this.s8_1 = 2;
|
|
1080
|
-
var $this$unsafeFlow = this.
|
|
1080
|
+
var $this$unsafeFlow = this.w9j_1;
|
|
1081
1081
|
this.r8_1 = 1;
|
|
1082
1082
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($this$unsafeFlow, null);
|
|
1083
|
-
suspendResult = this.
|
|
1083
|
+
suspendResult = this.v9j_1.x9j_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1084
1084
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1085
1085
|
return suspendResult;
|
|
1086
1086
|
}
|
|
@@ -1103,7 +1103,7 @@
|
|
|
1103
1103
|
while (true);
|
|
1104
1104
|
};
|
|
1105
1105
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_3($$this$unsafeFlow, resultContinuation) {
|
|
1106
|
-
this.
|
|
1106
|
+
this.g9k_1 = $$this$unsafeFlow;
|
|
1107
1107
|
CoroutineImpl.call(this, resultContinuation);
|
|
1108
1108
|
}
|
|
1109
1109
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).u2h = function (value, $completion) {
|
|
@@ -1123,8 +1123,8 @@
|
|
|
1123
1123
|
switch (tmp) {
|
|
1124
1124
|
case 0:
|
|
1125
1125
|
this.s8_1 = 2;
|
|
1126
|
-
var tmp0 = this.
|
|
1127
|
-
var value = this.
|
|
1126
|
+
var tmp0 = this.g9k_1;
|
|
1127
|
+
var value = this.h9k_1;
|
|
1128
1128
|
this.r8_1 = 1;
|
|
1129
1129
|
suspendResult = tmp0.l28(value.me_1, this);
|
|
1130
1130
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1149,8 +1149,8 @@
|
|
|
1149
1149
|
while (true);
|
|
1150
1150
|
};
|
|
1151
1151
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).v2h = function (value, completion) {
|
|
1152
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.
|
|
1153
|
-
i.
|
|
1152
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.g9k_1, completion);
|
|
1153
|
+
i.h9k_1 = value;
|
|
1154
1154
|
return i;
|
|
1155
1155
|
};
|
|
1156
1156
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1163,8 +1163,8 @@
|
|
|
1163
1163
|
}
|
|
1164
1164
|
function $collectCOROUTINE$_3(_this__u8e3s4, collector, resultContinuation) {
|
|
1165
1165
|
CoroutineImpl.call(this, resultContinuation);
|
|
1166
|
-
this.
|
|
1167
|
-
this.
|
|
1166
|
+
this.q9k_1 = _this__u8e3s4;
|
|
1167
|
+
this.r9k_1 = collector;
|
|
1168
1168
|
}
|
|
1169
1169
|
protoOf($collectCOROUTINE$_3).z8 = function () {
|
|
1170
1170
|
var suspendResult = this.t8_1;
|
|
@@ -1174,10 +1174,10 @@
|
|
|
1174
1174
|
switch (tmp) {
|
|
1175
1175
|
case 0:
|
|
1176
1176
|
this.s8_1 = 2;
|
|
1177
|
-
var $this$unsafeFlow = this.
|
|
1177
|
+
var $this$unsafeFlow = this.r9k_1;
|
|
1178
1178
|
this.r8_1 = 1;
|
|
1179
1179
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($this$unsafeFlow, null);
|
|
1180
|
-
suspendResult = this.
|
|
1180
|
+
suspendResult = this.q9k_1.s9k_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1181
1181
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1182
1182
|
return suspendResult;
|
|
1183
1183
|
}
|
|
@@ -1200,17 +1200,17 @@
|
|
|
1200
1200
|
while (true);
|
|
1201
1201
|
};
|
|
1202
1202
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
1203
|
-
this.
|
|
1203
|
+
this.b9l_1 = $subscriber;
|
|
1204
1204
|
CoroutineImpl.call(this, resultContinuation);
|
|
1205
1205
|
}
|
|
1206
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1207
|
-
var tmp = this.
|
|
1206
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).d9l = function (it, $completion) {
|
|
1207
|
+
var tmp = this.e9l(it, $completion);
|
|
1208
1208
|
tmp.t8_1 = Unit_instance;
|
|
1209
1209
|
tmp.u8_1 = null;
|
|
1210
1210
|
return tmp.z8();
|
|
1211
1211
|
};
|
|
1212
1212
|
protoOf(GameServer$subscribeWith$slambda$slambda).h9 = function (p1, $completion) {
|
|
1213
|
-
return this.
|
|
1213
|
+
return this.d9l(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
1214
1214
|
};
|
|
1215
1215
|
protoOf(GameServer$subscribeWith$slambda$slambda).z8 = function () {
|
|
1216
1216
|
var suspendResult = this.t8_1;
|
|
@@ -1219,7 +1219,7 @@
|
|
|
1219
1219
|
var tmp = this.r8_1;
|
|
1220
1220
|
if (tmp === 0) {
|
|
1221
1221
|
this.s8_1 = 1;
|
|
1222
|
-
this.
|
|
1222
|
+
this.b9l_1(this.c9l_1);
|
|
1223
1223
|
return Unit_instance;
|
|
1224
1224
|
} else if (tmp === 1) {
|
|
1225
1225
|
throw this.u8_1;
|
|
@@ -1230,83 +1230,76 @@
|
|
|
1230
1230
|
}
|
|
1231
1231
|
while (true);
|
|
1232
1232
|
};
|
|
1233
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1234
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
1235
|
-
i.
|
|
1233
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).e9l = function (it, completion) {
|
|
1234
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.b9l_1, completion);
|
|
1235
|
+
i.c9l_1 = it;
|
|
1236
1236
|
return i;
|
|
1237
1237
|
};
|
|
1238
1238
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
1239
1239
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
1240
1240
|
var l = function (it, $completion) {
|
|
1241
|
-
return i.
|
|
1241
|
+
return i.d9l(it, $completion);
|
|
1242
1242
|
};
|
|
1243
1243
|
l.$arity = 1;
|
|
1244
1244
|
return l;
|
|
1245
1245
|
}
|
|
1246
1246
|
function GameServer$roomOnCreate$2$updatedUsers$previousTeams$1($playerId) {
|
|
1247
|
-
this.
|
|
1247
|
+
this.f9l_1 = $playerId;
|
|
1248
1248
|
}
|
|
1249
1249
|
protoOf(GameServer$roomOnCreate$2$updatedUsers$previousTeams$1).t65 = function () {
|
|
1250
|
-
return this.
|
|
1250
|
+
return this.f9l_1;
|
|
1251
1251
|
};
|
|
1252
|
-
function _get_logger__rkp4sl($this) {
|
|
1253
|
-
var tmp0 = $this.f9l_1;
|
|
1254
|
-
var tmp = KProperty1;
|
|
1255
|
-
// Inline function 'kotlin.getValue' call
|
|
1256
|
-
getPropertyCallableRef('logger', 1, tmp, GameServer$_get_logger_$ref_fogce1_0(), null);
|
|
1257
|
-
return tmp0.w();
|
|
1258
|
-
}
|
|
1259
1252
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
1260
|
-
var tmp0 = $this.
|
|
1253
|
+
var tmp0 = $this.j9l_1;
|
|
1261
1254
|
var tmp = KProperty1;
|
|
1262
1255
|
// Inline function 'kotlin.getValue' call
|
|
1263
1256
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, GameServer$_get_toClientEventsObserver_$ref_utir8s_0(), null);
|
|
1264
1257
|
return tmp0.w();
|
|
1265
1258
|
}
|
|
1266
1259
|
function _get_fromClientEventsObserver__a7vzd3($this) {
|
|
1267
|
-
var tmp0 = $this.
|
|
1260
|
+
var tmp0 = $this.k9l_1;
|
|
1268
1261
|
var tmp = KProperty1;
|
|
1269
1262
|
// Inline function 'kotlin.getValue' call
|
|
1270
1263
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, GameServer$_get_fromClientEventsObserver_$ref_nf1g79_0(), null);
|
|
1271
1264
|
return tmp0.w();
|
|
1272
1265
|
}
|
|
1273
1266
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
1274
|
-
var tmp0 = $this.
|
|
1267
|
+
var tmp0 = $this.l9l_1;
|
|
1275
1268
|
var tmp = KProperty1;
|
|
1276
1269
|
// Inline function 'kotlin.getValue' call
|
|
1277
1270
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, GameServer$_get_playerConnectionInteractor_$ref_of8tan_0(), null);
|
|
1278
1271
|
return tmp0.w();
|
|
1279
1272
|
}
|
|
1280
1273
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
1281
|
-
var tmp0 = $this.
|
|
1274
|
+
var tmp0 = $this.m9l_1;
|
|
1282
1275
|
var tmp = KProperty1;
|
|
1283
1276
|
// Inline function 'kotlin.getValue' call
|
|
1284
1277
|
getPropertyCallableRef('teamsLogicProvider', 1, tmp, GameServer$_get_teamsLogicProvider_$ref_b7y54g_0(), null);
|
|
1285
1278
|
return tmp0.w();
|
|
1286
1279
|
}
|
|
1287
1280
|
function _get_random__h29cgo($this) {
|
|
1288
|
-
var tmp0 = $this.
|
|
1281
|
+
var tmp0 = $this.n9l_1;
|
|
1289
1282
|
var tmp = KProperty1;
|
|
1290
1283
|
// Inline function 'kotlin.getValue' call
|
|
1291
1284
|
getPropertyCallableRef('random', 1, tmp, GameServer$_get_random_$ref_fottnq(), null);
|
|
1292
1285
|
return tmp0.w();
|
|
1293
1286
|
}
|
|
1294
1287
|
function _get_idsProvider__fnfajc($this) {
|
|
1295
|
-
var tmp0 = $this.
|
|
1288
|
+
var tmp0 = $this.o9l_1;
|
|
1296
1289
|
var tmp = KProperty1;
|
|
1297
1290
|
// Inline function 'kotlin.getValue' call
|
|
1298
1291
|
getPropertyCallableRef('idsProvider', 1, tmp, GameServer$_get_idsProvider_$ref_89s908_0(), null);
|
|
1299
1292
|
return tmp0.w();
|
|
1300
1293
|
}
|
|
1301
1294
|
function _get_serverReduxConfig__rprcrm($this) {
|
|
1302
|
-
var tmp0 = $this.
|
|
1295
|
+
var tmp0 = $this.p9l_1;
|
|
1303
1296
|
var tmp = KProperty1;
|
|
1304
1297
|
// Inline function 'kotlin.getValue' call
|
|
1305
1298
|
getPropertyCallableRef('serverReduxConfig', 1, tmp, GameServer$_get_serverReduxConfig_$ref_7h6jq6_0(), null);
|
|
1306
1299
|
return tmp0.w();
|
|
1307
1300
|
}
|
|
1308
1301
|
function _get_encoderDecoderProvider__qqgrji($this) {
|
|
1309
|
-
var tmp0 = $this.
|
|
1302
|
+
var tmp0 = $this.q9l_1;
|
|
1310
1303
|
var tmp = KProperty1;
|
|
1311
1304
|
// Inline function 'kotlin.getValue' call
|
|
1312
1305
|
getPropertyCallableRef('encoderDecoderProvider', 1, tmp, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8_0(), null);
|
|
@@ -1314,7 +1307,7 @@
|
|
|
1314
1307
|
}
|
|
1315
1308
|
function observeTableStateUpdates($this) {
|
|
1316
1309
|
// Inline function 'kotlinx.coroutines.flow.flatMapLatest' call
|
|
1317
|
-
var this_0 = observeTableWhenRoundChanges($this, $this.
|
|
1310
|
+
var this_0 = observeTableWhenRoundChanges($this, $this.n6m());
|
|
1318
1311
|
var tmp$ret$0 = transformLatest(this_0, GameServer$observeTableStateUpdates$slambda_0($this, null));
|
|
1319
1312
|
return distinctUntilChanged(tmp$ret$0);
|
|
1320
1313
|
}
|
|
@@ -1334,20 +1327,20 @@
|
|
|
1334
1327
|
return new GameServer$observeTableWhenRoundChanges$$inlined$map$2(this_1);
|
|
1335
1328
|
}
|
|
1336
1329
|
function Companion() {
|
|
1337
|
-
this.
|
|
1330
|
+
this.t9l_1 = 'GameEngine_API';
|
|
1338
1331
|
}
|
|
1339
1332
|
var Companion_instance_7;
|
|
1340
1333
|
function Companion_getInstance_0() {
|
|
1341
1334
|
return Companion_instance_7;
|
|
1342
1335
|
}
|
|
1343
1336
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
1344
|
-
this.
|
|
1337
|
+
this.u9l_1 = function_0;
|
|
1345
1338
|
}
|
|
1346
1339
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).l28 = function (value, $completion) {
|
|
1347
|
-
return this.
|
|
1340
|
+
return this.u9l_1(value, $completion);
|
|
1348
1341
|
};
|
|
1349
1342
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).a3 = function () {
|
|
1350
|
-
return this.
|
|
1343
|
+
return this.u9l_1;
|
|
1351
1344
|
};
|
|
1352
1345
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
1353
1346
|
var tmp;
|
|
@@ -1368,13 +1361,13 @@
|
|
|
1368
1361
|
return hashCode(this.a3());
|
|
1369
1362
|
};
|
|
1370
1363
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
1371
|
-
this.
|
|
1364
|
+
this.v9l_1 = function_0;
|
|
1372
1365
|
}
|
|
1373
1366
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).l28 = function (value, $completion) {
|
|
1374
|
-
return this.
|
|
1367
|
+
return this.v9l_1(value, $completion);
|
|
1375
1368
|
};
|
|
1376
1369
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).a3 = function () {
|
|
1377
|
-
return this.
|
|
1370
|
+
return this.v9l_1;
|
|
1378
1371
|
};
|
|
1379
1372
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
1380
1373
|
var tmp;
|
|
@@ -1395,13 +1388,13 @@
|
|
|
1395
1388
|
return hashCode(this.a3());
|
|
1396
1389
|
};
|
|
1397
1390
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
1398
|
-
this.
|
|
1391
|
+
this.w9l_1 = function_0;
|
|
1399
1392
|
}
|
|
1400
1393
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).l28 = function (value, $completion) {
|
|
1401
|
-
return this.
|
|
1394
|
+
return this.w9l_1(value, $completion);
|
|
1402
1395
|
};
|
|
1403
1396
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).a3 = function () {
|
|
1404
|
-
return this.
|
|
1397
|
+
return this.w9l_1;
|
|
1405
1398
|
};
|
|
1406
1399
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
1407
1400
|
var tmp;
|
|
@@ -1422,13 +1415,13 @@
|
|
|
1422
1415
|
return hashCode(this.a3());
|
|
1423
1416
|
};
|
|
1424
1417
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
1425
|
-
this.
|
|
1418
|
+
this.x9l_1 = function_0;
|
|
1426
1419
|
}
|
|
1427
1420
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).l28 = function (value, $completion) {
|
|
1428
|
-
return this.
|
|
1421
|
+
return this.x9l_1(value, $completion);
|
|
1429
1422
|
};
|
|
1430
1423
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).a3 = function () {
|
|
1431
|
-
return this.
|
|
1424
|
+
return this.x9l_1;
|
|
1432
1425
|
};
|
|
1433
1426
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
1434
1427
|
var tmp;
|
|
@@ -1449,13 +1442,13 @@
|
|
|
1449
1442
|
return hashCode(this.a3());
|
|
1450
1443
|
};
|
|
1451
1444
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
|
|
1452
|
-
this.
|
|
1445
|
+
this.y9l_1 = function_0;
|
|
1453
1446
|
}
|
|
1454
1447
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).l28 = function (value, $completion) {
|
|
1455
|
-
return this.
|
|
1448
|
+
return this.y9l_1(value, $completion);
|
|
1456
1449
|
};
|
|
1457
1450
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).a3 = function () {
|
|
1458
|
-
return this.
|
|
1451
|
+
return this.y9l_1;
|
|
1459
1452
|
};
|
|
1460
1453
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
|
|
1461
1454
|
var tmp;
|
|
@@ -1476,13 +1469,13 @@
|
|
|
1476
1469
|
return hashCode(this.a3());
|
|
1477
1470
|
};
|
|
1478
1471
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_4(function_0) {
|
|
1479
|
-
this.
|
|
1472
|
+
this.z9l_1 = function_0;
|
|
1480
1473
|
}
|
|
1481
1474
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).l28 = function (value, $completion) {
|
|
1482
|
-
return this.
|
|
1475
|
+
return this.z9l_1(value, $completion);
|
|
1483
1476
|
};
|
|
1484
1477
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).a3 = function () {
|
|
1485
|
-
return this.
|
|
1478
|
+
return this.z9l_1;
|
|
1486
1479
|
};
|
|
1487
1480
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).equals = function (other) {
|
|
1488
1481
|
var tmp;
|
|
@@ -1502,16 +1495,6 @@
|
|
|
1502
1495
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).hashCode = function () {
|
|
1503
1496
|
return hashCode(this.a3());
|
|
1504
1497
|
};
|
|
1505
|
-
function GameServer$_get_logger_$ref_fogce1() {
|
|
1506
|
-
return function (p0) {
|
|
1507
|
-
return _get_logger__rkp4sl(p0);
|
|
1508
|
-
};
|
|
1509
|
-
}
|
|
1510
|
-
function GameServer$_get_logger_$ref_fogce1_0() {
|
|
1511
|
-
return function (p0) {
|
|
1512
|
-
return _get_logger__rkp4sl(p0);
|
|
1513
|
-
};
|
|
1514
|
-
}
|
|
1515
1498
|
function GameServer$_get_toClientEventsObserver_$ref_utir8s() {
|
|
1516
1499
|
return function (p0) {
|
|
1517
1500
|
return _get_toClientEventsObserver__6rp51y(p0);
|
|
@@ -1554,7 +1537,7 @@
|
|
|
1554
1537
|
}
|
|
1555
1538
|
function GameServer$random$delegate$lambda(this$0) {
|
|
1556
1539
|
return function () {
|
|
1557
|
-
return new SecureRandom(
|
|
1540
|
+
return new SecureRandom(this$0.f4q());
|
|
1558
1541
|
};
|
|
1559
1542
|
}
|
|
1560
1543
|
function GameServer$_get_random_$ref_fottnq() {
|
|
@@ -1593,8 +1576,8 @@
|
|
|
1593
1576
|
};
|
|
1594
1577
|
}
|
|
1595
1578
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
1596
|
-
this.
|
|
1597
|
-
this.
|
|
1579
|
+
this.i9m_1 = this$0;
|
|
1580
|
+
this.j9m_1 = $subscriber;
|
|
1598
1581
|
CoroutineImpl.call(this, resultContinuation);
|
|
1599
1582
|
}
|
|
1600
1583
|
protoOf(GameServer$subscribeToClientAction$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -1615,8 +1598,8 @@
|
|
|
1615
1598
|
case 0:
|
|
1616
1599
|
this.s8_1 = 2;
|
|
1617
1600
|
this.r8_1 = 1;
|
|
1618
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
1619
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
1601
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.i9m_1).l9m();
|
|
1602
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.j9m_1, null);
|
|
1620
1603
|
suspendResult = tmp_0.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1621
1604
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1622
1605
|
return suspendResult;
|
|
@@ -1640,8 +1623,8 @@
|
|
|
1640
1623
|
while (true);
|
|
1641
1624
|
};
|
|
1642
1625
|
protoOf(GameServer$subscribeToClientAction$slambda).a2d = function ($this$launchDefault, completion) {
|
|
1643
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
1644
|
-
i.
|
|
1626
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.i9m_1, this.j9m_1, completion);
|
|
1627
|
+
i.k9m_1 = $this$launchDefault;
|
|
1645
1628
|
return i;
|
|
1646
1629
|
};
|
|
1647
1630
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1653,8 +1636,8 @@
|
|
|
1653
1636
|
return l;
|
|
1654
1637
|
}
|
|
1655
1638
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
1656
|
-
this.
|
|
1657
|
-
this.
|
|
1639
|
+
this.u9m_1 = this$0;
|
|
1640
|
+
this.v9m_1 = $subscriber;
|
|
1658
1641
|
CoroutineImpl.call(this, resultContinuation);
|
|
1659
1642
|
}
|
|
1660
1643
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -1675,8 +1658,8 @@
|
|
|
1675
1658
|
case 0:
|
|
1676
1659
|
this.s8_1 = 2;
|
|
1677
1660
|
this.r8_1 = 1;
|
|
1678
|
-
var tmp_0 = observeTableStateUpdates(this.
|
|
1679
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
1661
|
+
var tmp_0 = observeTableStateUpdates(this.u9m_1);
|
|
1662
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.v9m_1, null);
|
|
1680
1663
|
suspendResult = tmp_0.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
1681
1664
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1682
1665
|
return suspendResult;
|
|
@@ -1700,8 +1683,8 @@
|
|
|
1700
1683
|
while (true);
|
|
1701
1684
|
};
|
|
1702
1685
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).a2d = function ($this$launchDefault, completion) {
|
|
1703
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
1704
|
-
i.
|
|
1686
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.u9m_1, this.v9m_1, completion);
|
|
1687
|
+
i.w9m_1 = $this$launchDefault;
|
|
1705
1688
|
return i;
|
|
1706
1689
|
};
|
|
1707
1690
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1713,8 +1696,8 @@
|
|
|
1713
1696
|
return l;
|
|
1714
1697
|
}
|
|
1715
1698
|
function GameServer$subscribeServerStateUpdateJson$slambda(this$0, $subscriber, resultContinuation) {
|
|
1716
|
-
this.
|
|
1717
|
-
this.
|
|
1699
|
+
this.f9n_1 = this$0;
|
|
1700
|
+
this.g9n_1 = $subscriber;
|
|
1718
1701
|
CoroutineImpl.call(this, resultContinuation);
|
|
1719
1702
|
}
|
|
1720
1703
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -1735,9 +1718,9 @@
|
|
|
1735
1718
|
case 0:
|
|
1736
1719
|
this.s8_1 = 2;
|
|
1737
1720
|
this.r8_1 = 1;
|
|
1738
|
-
var this_0 = observeTableStateUpdates(this.
|
|
1739
|
-
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.
|
|
1740
|
-
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.
|
|
1721
|
+
var this_0 = observeTableStateUpdates(this.f9n_1);
|
|
1722
|
+
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.f9n_1);
|
|
1723
|
+
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.g9n_1, null);
|
|
1741
1724
|
suspendResult = tmp_0.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
1742
1725
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1743
1726
|
return suspendResult;
|
|
@@ -1761,8 +1744,8 @@
|
|
|
1761
1744
|
while (true);
|
|
1762
1745
|
};
|
|
1763
1746
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).a2d = function ($this$launchDefault, completion) {
|
|
1764
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.
|
|
1765
|
-
i.
|
|
1747
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.f9n_1, this.g9n_1, completion);
|
|
1748
|
+
i.h9n_1 = $this$launchDefault;
|
|
1766
1749
|
return i;
|
|
1767
1750
|
};
|
|
1768
1751
|
function GameServer$subscribeServerStateUpdateJson$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1774,18 +1757,18 @@
|
|
|
1774
1757
|
return l;
|
|
1775
1758
|
}
|
|
1776
1759
|
function GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation) {
|
|
1777
|
-
this.
|
|
1760
|
+
this.q9n_1 = this$0;
|
|
1778
1761
|
CoroutineImpl.call(this, resultContinuation);
|
|
1779
1762
|
}
|
|
1780
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1781
|
-
var tmp = this.
|
|
1763
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).t9n = function ($this$transformLatest, it, $completion) {
|
|
1764
|
+
var tmp = this.u9n($this$transformLatest, it, $completion);
|
|
1782
1765
|
tmp.t8_1 = Unit_instance;
|
|
1783
1766
|
tmp.u8_1 = null;
|
|
1784
1767
|
return tmp.z8();
|
|
1785
1768
|
};
|
|
1786
1769
|
protoOf(GameServer$observeTableStateUpdates$slambda).i9 = function (p1, p2, $completion) {
|
|
1787
1770
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
1788
|
-
return this.
|
|
1771
|
+
return this.t9n(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
1789
1772
|
};
|
|
1790
1773
|
protoOf(GameServer$observeTableStateUpdates$slambda).z8 = function () {
|
|
1791
1774
|
var suspendResult = this.t8_1;
|
|
@@ -1796,8 +1779,8 @@
|
|
|
1796
1779
|
case 0:
|
|
1797
1780
|
this.s8_1 = 2;
|
|
1798
1781
|
this.r8_1 = 1;
|
|
1799
|
-
var table = this.
|
|
1800
|
-
suspendResult = emitAll(this.
|
|
1782
|
+
var table = this.s9n_1;
|
|
1783
|
+
suspendResult = emitAll(this.r9n_1, flow(GameServer$observeTableStateUpdates$slambda$slambda_0(table, this.q9n_1, null)), this);
|
|
1801
1784
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1802
1785
|
return suspendResult;
|
|
1803
1786
|
}
|
|
@@ -1819,22 +1802,22 @@
|
|
|
1819
1802
|
}
|
|
1820
1803
|
while (true);
|
|
1821
1804
|
};
|
|
1822
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1823
|
-
var i = new GameServer$observeTableStateUpdates$slambda(this.
|
|
1824
|
-
i.
|
|
1825
|
-
i.
|
|
1805
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).u9n = function ($this$transformLatest, it, completion) {
|
|
1806
|
+
var i = new GameServer$observeTableStateUpdates$slambda(this.q9n_1, completion);
|
|
1807
|
+
i.r9n_1 = $this$transformLatest;
|
|
1808
|
+
i.s9n_1 = it;
|
|
1826
1809
|
return i;
|
|
1827
1810
|
};
|
|
1828
1811
|
function GameServer$observeTableStateUpdates$slambda_0(this$0, resultContinuation) {
|
|
1829
1812
|
var i = new GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation);
|
|
1830
1813
|
var l = function ($this$transformLatest, it, $completion) {
|
|
1831
|
-
return i.
|
|
1814
|
+
return i.t9n($this$transformLatest, it, $completion);
|
|
1832
1815
|
};
|
|
1833
1816
|
l.$arity = 2;
|
|
1834
1817
|
return l;
|
|
1835
1818
|
}
|
|
1836
1819
|
function GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1($this) {
|
|
1837
|
-
this.
|
|
1820
|
+
this.c9j_1 = $this;
|
|
1838
1821
|
}
|
|
1839
1822
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).m28 = function (collector, $completion) {
|
|
1840
1823
|
var tmp = new $collectCOROUTINE$_1(this, collector, $completion);
|
|
@@ -1846,7 +1829,7 @@
|
|
|
1846
1829
|
return this.m28(collector, $completion);
|
|
1847
1830
|
};
|
|
1848
1831
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$1($this) {
|
|
1849
|
-
this.
|
|
1832
|
+
this.x9j_1 = $this;
|
|
1850
1833
|
}
|
|
1851
1834
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).m28 = function (collector, $completion) {
|
|
1852
1835
|
var tmp = new $collectCOROUTINE$_2(this, collector, $completion);
|
|
@@ -1861,7 +1844,7 @@
|
|
|
1861
1844
|
return old.le_1 === new_0.le_1;
|
|
1862
1845
|
}
|
|
1863
1846
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$2($this) {
|
|
1864
|
-
this.
|
|
1847
|
+
this.s9k_1 = $this;
|
|
1865
1848
|
}
|
|
1866
1849
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).m28 = function (collector, $completion) {
|
|
1867
1850
|
var tmp = new $collectCOROUTINE$_3(this, collector, $completion);
|
|
@@ -1873,8 +1856,8 @@
|
|
|
1873
1856
|
return this.m28(collector, $completion);
|
|
1874
1857
|
};
|
|
1875
1858
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
1876
|
-
this.
|
|
1877
|
-
this.
|
|
1859
|
+
this.d9o_1 = this$0;
|
|
1860
|
+
this.e9o_1 = $subscriber;
|
|
1878
1861
|
CoroutineImpl.call(this, resultContinuation);
|
|
1879
1862
|
}
|
|
1880
1863
|
protoOf(GameServer$subscribeWith$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -1895,8 +1878,8 @@
|
|
|
1895
1878
|
case 0:
|
|
1896
1879
|
this.s8_1 = 2;
|
|
1897
1880
|
this.r8_1 = 1;
|
|
1898
|
-
var tmp_0 = distinctUntilChanged(this.
|
|
1899
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
1881
|
+
var tmp_0 = distinctUntilChanged(this.d9o_1.n6m());
|
|
1882
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.e9o_1, null);
|
|
1900
1883
|
suspendResult = tmp_0.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_4(tmp_1), this);
|
|
1901
1884
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1902
1885
|
return suspendResult;
|
|
@@ -1920,8 +1903,8 @@
|
|
|
1920
1903
|
while (true);
|
|
1921
1904
|
};
|
|
1922
1905
|
protoOf(GameServer$subscribeWith$slambda).a2d = function ($this$launchDefault, completion) {
|
|
1923
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
1924
|
-
i.
|
|
1906
|
+
var i = new GameServer$subscribeWith$slambda(this.d9o_1, this.e9o_1, completion);
|
|
1907
|
+
i.f9o_1 = $this$launchDefault;
|
|
1925
1908
|
return i;
|
|
1926
1909
|
};
|
|
1927
1910
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1933,18 +1916,18 @@
|
|
|
1933
1916
|
return l;
|
|
1934
1917
|
}
|
|
1935
1918
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
1936
|
-
this.
|
|
1919
|
+
this.o9o_1 = $action;
|
|
1937
1920
|
CoroutineImpl.call(this, resultContinuation);
|
|
1938
1921
|
}
|
|
1939
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1940
|
-
var tmp = this.
|
|
1922
|
+
protoOf(GameServer$fromClientEvent$slambda).r9o = function ($this$dispatchAsync, store, $completion) {
|
|
1923
|
+
var tmp = this.s9o($this$dispatchAsync, store, $completion);
|
|
1941
1924
|
tmp.t8_1 = Unit_instance;
|
|
1942
1925
|
tmp.u8_1 = null;
|
|
1943
1926
|
return tmp.z8();
|
|
1944
1927
|
};
|
|
1945
1928
|
protoOf(GameServer$fromClientEvent$slambda).i9 = function (p1, p2, $completion) {
|
|
1946
1929
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1947
|
-
return this.
|
|
1930
|
+
return this.r9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1948
1931
|
};
|
|
1949
1932
|
protoOf(GameServer$fromClientEvent$slambda).z8 = function () {
|
|
1950
1933
|
var suspendResult = this.t8_1;
|
|
@@ -1953,11 +1936,11 @@
|
|
|
1953
1936
|
var tmp = this.r8_1;
|
|
1954
1937
|
if (tmp === 0) {
|
|
1955
1938
|
this.s8_1 = 1;
|
|
1956
|
-
if (this.
|
|
1957
|
-
if (!get_isCreated(this.
|
|
1939
|
+
if (this.o9o_1 instanceof PlayerReadyFromClientAction)
|
|
1940
|
+
if (!get_isCreated(this.q9o_1.state)) {
|
|
1958
1941
|
return Unit_instance;
|
|
1959
1942
|
}
|
|
1960
|
-
this.
|
|
1943
|
+
this.q9o_1.dispatch(this.o9o_1);
|
|
1961
1944
|
return Unit_instance;
|
|
1962
1945
|
} else if (tmp === 1) {
|
|
1963
1946
|
throw this.u8_1;
|
|
@@ -1968,33 +1951,33 @@
|
|
|
1968
1951
|
}
|
|
1969
1952
|
while (true);
|
|
1970
1953
|
};
|
|
1971
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1972
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
1973
|
-
i.
|
|
1974
|
-
i.
|
|
1954
|
+
protoOf(GameServer$fromClientEvent$slambda).s9o = function ($this$dispatchAsync, store, completion) {
|
|
1955
|
+
var i = new GameServer$fromClientEvent$slambda(this.o9o_1, completion);
|
|
1956
|
+
i.p9o_1 = $this$dispatchAsync;
|
|
1957
|
+
i.q9o_1 = store;
|
|
1975
1958
|
return i;
|
|
1976
1959
|
};
|
|
1977
1960
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
1978
1961
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
1979
1962
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1980
|
-
return i.
|
|
1963
|
+
return i.r9o($this$dispatchAsync, store, $completion);
|
|
1981
1964
|
};
|
|
1982
1965
|
l.$arity = 2;
|
|
1983
1966
|
return l;
|
|
1984
1967
|
}
|
|
1985
1968
|
function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
|
|
1986
|
-
this.
|
|
1969
|
+
this.b9p_1 = $playerId;
|
|
1987
1970
|
CoroutineImpl.call(this, resultContinuation);
|
|
1988
1971
|
}
|
|
1989
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
1990
|
-
var tmp = this.
|
|
1972
|
+
protoOf(GameServer$playerLostConnection$slambda).r9o = function ($this$dispatchAsync, store, $completion) {
|
|
1973
|
+
var tmp = this.s9o($this$dispatchAsync, store, $completion);
|
|
1991
1974
|
tmp.t8_1 = Unit_instance;
|
|
1992
1975
|
tmp.u8_1 = null;
|
|
1993
1976
|
return tmp.z8();
|
|
1994
1977
|
};
|
|
1995
1978
|
protoOf(GameServer$playerLostConnection$slambda).i9 = function (p1, p2, $completion) {
|
|
1996
1979
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1997
|
-
return this.
|
|
1980
|
+
return this.r9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1998
1981
|
};
|
|
1999
1982
|
protoOf(GameServer$playerLostConnection$slambda).z8 = function () {
|
|
2000
1983
|
var suspendResult = this.t8_1;
|
|
@@ -2003,12 +1986,12 @@
|
|
|
2003
1986
|
var tmp = this.r8_1;
|
|
2004
1987
|
if (tmp === 0) {
|
|
2005
1988
|
this.s8_1 = 1;
|
|
2006
|
-
if (!get_isCreated(this.
|
|
1989
|
+
if (!get_isCreated(this.d9p_1.state)) {
|
|
2007
1990
|
return Unit_instance;
|
|
2008
1991
|
}
|
|
2009
|
-
var tmp_0 = this.
|
|
1992
|
+
var tmp_0 = this.d9p_1.dispatch;
|
|
2010
1993
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
2011
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
1994
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.b9p_1));
|
|
2012
1995
|
return Unit_instance;
|
|
2013
1996
|
} else if (tmp === 1) {
|
|
2014
1997
|
throw this.u8_1;
|
|
@@ -2019,34 +2002,34 @@
|
|
|
2019
2002
|
}
|
|
2020
2003
|
while (true);
|
|
2021
2004
|
};
|
|
2022
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2023
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
2024
|
-
i.
|
|
2025
|
-
i.
|
|
2005
|
+
protoOf(GameServer$playerLostConnection$slambda).s9o = function ($this$dispatchAsync, store, completion) {
|
|
2006
|
+
var i = new GameServer$playerLostConnection$slambda(this.b9p_1, completion);
|
|
2007
|
+
i.c9p_1 = $this$dispatchAsync;
|
|
2008
|
+
i.d9p_1 = store;
|
|
2026
2009
|
return i;
|
|
2027
2010
|
};
|
|
2028
2011
|
function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
|
|
2029
2012
|
var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
|
|
2030
2013
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2031
|
-
return i.
|
|
2014
|
+
return i.r9o($this$dispatchAsync, store, $completion);
|
|
2032
2015
|
};
|
|
2033
2016
|
l.$arity = 2;
|
|
2034
2017
|
return l;
|
|
2035
2018
|
}
|
|
2036
2019
|
function GameServer$playerLive$slambda(this$0, $playerId, resultContinuation) {
|
|
2037
|
-
this.
|
|
2038
|
-
this.
|
|
2020
|
+
this.m9p_1 = this$0;
|
|
2021
|
+
this.n9p_1 = $playerId;
|
|
2039
2022
|
CoroutineImpl.call(this, resultContinuation);
|
|
2040
2023
|
}
|
|
2041
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2042
|
-
var tmp = this.
|
|
2024
|
+
protoOf(GameServer$playerLive$slambda).r9o = function ($this$dispatchAsync, store, $completion) {
|
|
2025
|
+
var tmp = this.s9o($this$dispatchAsync, store, $completion);
|
|
2043
2026
|
tmp.t8_1 = Unit_instance;
|
|
2044
2027
|
tmp.u8_1 = null;
|
|
2045
2028
|
return tmp.z8();
|
|
2046
2029
|
};
|
|
2047
2030
|
protoOf(GameServer$playerLive$slambda).i9 = function (p1, p2, $completion) {
|
|
2048
2031
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2049
|
-
return this.
|
|
2032
|
+
return this.r9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2050
2033
|
};
|
|
2051
2034
|
protoOf(GameServer$playerLive$slambda).z8 = function () {
|
|
2052
2035
|
var suspendResult = this.t8_1;
|
|
@@ -2055,16 +2038,16 @@
|
|
|
2055
2038
|
var tmp = this.r8_1;
|
|
2056
2039
|
if (tmp === 0) {
|
|
2057
2040
|
this.s8_1 = 1;
|
|
2058
|
-
if (get_isFinished(this.
|
|
2041
|
+
if (get_isFinished(this.p9p_1.state) || get_isFinishing(this.p9p_1.state)) {
|
|
2059
2042
|
return Unit_instance;
|
|
2060
2043
|
}
|
|
2061
|
-
if (!get_isCreated(this.
|
|
2062
|
-
|
|
2044
|
+
if (!get_isCreated(this.p9p_1.state) || !this.m9p_1.s66().q6n()) {
|
|
2045
|
+
this.m9p_1.f4q().w('GameEngine_API', 'playerLive: ' + this.n9p_1 + ' before game is created');
|
|
2063
2046
|
return Unit_instance;
|
|
2064
2047
|
}
|
|
2065
|
-
var tmp_0 = this.
|
|
2048
|
+
var tmp_0 = this.p9p_1.dispatch;
|
|
2066
2049
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2067
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2050
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.n9p_1));
|
|
2068
2051
|
return Unit_instance;
|
|
2069
2052
|
} else if (tmp === 1) {
|
|
2070
2053
|
throw this.u8_1;
|
|
@@ -2075,34 +2058,34 @@
|
|
|
2075
2058
|
}
|
|
2076
2059
|
while (true);
|
|
2077
2060
|
};
|
|
2078
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2079
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
2080
|
-
i.
|
|
2081
|
-
i.
|
|
2061
|
+
protoOf(GameServer$playerLive$slambda).s9o = function ($this$dispatchAsync, store, completion) {
|
|
2062
|
+
var i = new GameServer$playerLive$slambda(this.m9p_1, this.n9p_1, completion);
|
|
2063
|
+
i.o9p_1 = $this$dispatchAsync;
|
|
2064
|
+
i.p9p_1 = store;
|
|
2082
2065
|
return i;
|
|
2083
2066
|
};
|
|
2084
2067
|
function GameServer$playerLive$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2085
2068
|
var i = new GameServer$playerLive$slambda(this$0, $playerId, resultContinuation);
|
|
2086
2069
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2087
|
-
return i.
|
|
2070
|
+
return i.r9o($this$dispatchAsync, store, $completion);
|
|
2088
2071
|
};
|
|
2089
2072
|
l.$arity = 2;
|
|
2090
2073
|
return l;
|
|
2091
2074
|
}
|
|
2092
2075
|
function GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation) {
|
|
2093
|
-
this.
|
|
2094
|
-
this.
|
|
2076
|
+
this.y9p_1 = this$0;
|
|
2077
|
+
this.z9p_1 = $playerId;
|
|
2095
2078
|
CoroutineImpl.call(this, resultContinuation);
|
|
2096
2079
|
}
|
|
2097
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2098
|
-
var tmp = this.
|
|
2080
|
+
protoOf(GameServer$playerLeft$slambda).r9o = function ($this$dispatchAsync, store, $completion) {
|
|
2081
|
+
var tmp = this.s9o($this$dispatchAsync, store, $completion);
|
|
2099
2082
|
tmp.t8_1 = Unit_instance;
|
|
2100
2083
|
tmp.u8_1 = null;
|
|
2101
2084
|
return tmp.z8();
|
|
2102
2085
|
};
|
|
2103
2086
|
protoOf(GameServer$playerLeft$slambda).i9 = function (p1, p2, $completion) {
|
|
2104
2087
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2105
|
-
return this.
|
|
2088
|
+
return this.r9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2106
2089
|
};
|
|
2107
2090
|
protoOf(GameServer$playerLeft$slambda).z8 = function () {
|
|
2108
2091
|
var suspendResult = this.t8_1;
|
|
@@ -2111,16 +2094,16 @@
|
|
|
2111
2094
|
var tmp = this.r8_1;
|
|
2112
2095
|
if (tmp === 0) {
|
|
2113
2096
|
this.s8_1 = 1;
|
|
2114
|
-
if (get_isFinished(this.
|
|
2097
|
+
if (get_isFinished(this.b9q_1.state) || get_isFinishing(this.b9q_1.state)) {
|
|
2115
2098
|
return Unit_instance;
|
|
2116
2099
|
}
|
|
2117
|
-
if (!get_isCreated(this.
|
|
2118
|
-
|
|
2100
|
+
if (!get_isCreated(this.b9q_1.state) || !this.y9p_1.s66().q6n()) {
|
|
2101
|
+
this.y9p_1.f4q().w('GameEngine_API', 'playerLeft: ' + this.z9p_1 + ' before game is created');
|
|
2119
2102
|
return Unit_instance;
|
|
2120
2103
|
}
|
|
2121
|
-
var tmp_0 = this.
|
|
2104
|
+
var tmp_0 = this.b9q_1.dispatch;
|
|
2122
2105
|
var tmp0_connectionState = PlayerConnectionState_LEFT_getInstance();
|
|
2123
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2106
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.z9p_1));
|
|
2124
2107
|
return Unit_instance;
|
|
2125
2108
|
} else if (tmp === 1) {
|
|
2126
2109
|
throw this.u8_1;
|
|
@@ -2131,39 +2114,39 @@
|
|
|
2131
2114
|
}
|
|
2132
2115
|
while (true);
|
|
2133
2116
|
};
|
|
2134
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2135
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
2136
|
-
i.
|
|
2137
|
-
i.
|
|
2117
|
+
protoOf(GameServer$playerLeft$slambda).s9o = function ($this$dispatchAsync, store, completion) {
|
|
2118
|
+
var i = new GameServer$playerLeft$slambda(this.y9p_1, this.z9p_1, completion);
|
|
2119
|
+
i.a9q_1 = $this$dispatchAsync;
|
|
2120
|
+
i.b9q_1 = store;
|
|
2138
2121
|
return i;
|
|
2139
2122
|
};
|
|
2140
2123
|
function GameServer$playerLeft$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2141
2124
|
var i = new GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation);
|
|
2142
2125
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2143
|
-
return i.
|
|
2126
|
+
return i.r9o($this$dispatchAsync, store, $completion);
|
|
2144
2127
|
};
|
|
2145
2128
|
l.$arity = 2;
|
|
2146
2129
|
return l;
|
|
2147
2130
|
}
|
|
2148
2131
|
function GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2149
|
-
this.
|
|
2150
|
-
this.
|
|
2151
|
-
this.
|
|
2152
|
-
this.
|
|
2153
|
-
this.
|
|
2154
|
-
this.
|
|
2155
|
-
this.
|
|
2132
|
+
this.k9q_1 = $usersArray;
|
|
2133
|
+
this.l9q_1 = $config;
|
|
2134
|
+
this.m9q_1 = this$0;
|
|
2135
|
+
this.n9q_1 = $roomId;
|
|
2136
|
+
this.o9q_1 = $transition;
|
|
2137
|
+
this.p9q_1 = $gameCreatorId;
|
|
2138
|
+
this.q9q_1 = $spectators;
|
|
2156
2139
|
CoroutineImpl.call(this, resultContinuation);
|
|
2157
2140
|
}
|
|
2158
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2159
|
-
var tmp = this.
|
|
2141
|
+
protoOf(GameServer$roomOnCreate$slambda).r9o = function ($this$dispatchAsync, store, $completion) {
|
|
2142
|
+
var tmp = this.s9o($this$dispatchAsync, store, $completion);
|
|
2160
2143
|
tmp.t8_1 = Unit_instance;
|
|
2161
2144
|
tmp.u8_1 = null;
|
|
2162
2145
|
return tmp.z8();
|
|
2163
2146
|
};
|
|
2164
2147
|
protoOf(GameServer$roomOnCreate$slambda).i9 = function (p1, p2, $completion) {
|
|
2165
2148
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2166
|
-
return this.
|
|
2149
|
+
return this.r9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2167
2150
|
};
|
|
2168
2151
|
protoOf(GameServer$roomOnCreate$slambda).z8 = function () {
|
|
2169
2152
|
var suspendResult = this.t8_1;
|
|
@@ -2172,28 +2155,28 @@
|
|
|
2172
2155
|
var tmp = this.r8_1;
|
|
2173
2156
|
if (tmp === 0) {
|
|
2174
2157
|
this.s8_1 = 1;
|
|
2175
|
-
var users = toList(this.
|
|
2176
|
-
if (!(this.
|
|
2177
|
-
|
|
2178
|
-
this.
|
|
2158
|
+
var users = toList(this.k9q_1);
|
|
2159
|
+
if (!(this.l9q_1.playersMode.count === users.o())) {
|
|
2160
|
+
this.m9q_1.f4q().w('GameEngine_API', 'roomOnCreate: wrong player count for game ' + this.n9q_1 + ', config = ' + this.l9q_1.toString() + ', users = ' + toString(users));
|
|
2161
|
+
this.s9q_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.m9q_1.table.isGameFinished, this.m9q_1.table));
|
|
2179
2162
|
return Unit_instance;
|
|
2180
2163
|
}
|
|
2181
2164
|
var tmp_0;
|
|
2182
|
-
if (this.
|
|
2183
|
-
tmp_0 = _get_random__h29cgo(this.
|
|
2165
|
+
if (this.l9q_1.mode.shufflePlayers && this.o9q_1 == null) {
|
|
2166
|
+
tmp_0 = _get_random__h29cgo(this.m9q_1).o5d(toMutableList(users));
|
|
2184
2167
|
} else {
|
|
2185
|
-
var tmp0_safe_receiver = this.
|
|
2168
|
+
var tmp0_safe_receiver = this.o9q_1;
|
|
2186
2169
|
var previousPlayers = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.previousPlayers;
|
|
2187
2170
|
var tmp_1;
|
|
2188
|
-
if (!(previousPlayers == null) && this.
|
|
2189
|
-
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.
|
|
2171
|
+
if (!(previousPlayers == null) && this.l9q_1.playersMode.isTeamGame) {
|
|
2172
|
+
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.m9q_1);
|
|
2190
2173
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(previousPlayers, 10));
|
|
2191
2174
|
var _iterator__ex2g4s = previousPlayers.l();
|
|
2192
2175
|
while (_iterator__ex2g4s.m()) {
|
|
2193
2176
|
var item = _iterator__ex2g4s.n();
|
|
2194
2177
|
destination.j(new GameServer$roomOnCreate$2$updatedUsers$previousTeams$1(item));
|
|
2195
2178
|
}
|
|
2196
|
-
var previousTeams = tmp_2.
|
|
2179
|
+
var previousTeams = tmp_2.e8j(destination);
|
|
2197
2180
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
2198
2181
|
var _iterator__ex2g4s_0 = users.l();
|
|
2199
2182
|
while (_iterator__ex2g4s_0.m()) {
|
|
@@ -2217,19 +2200,19 @@
|
|
|
2217
2200
|
destination_1.j(destination_2);
|
|
2218
2201
|
}
|
|
2219
2202
|
var updatedTeams = destination_1;
|
|
2220
|
-
tmp_1 = _get_teamsLogicProvider__u10pm6(this.
|
|
2203
|
+
tmp_1 = _get_teamsLogicProvider__u10pm6(this.m9q_1).i8j(updatedTeams);
|
|
2221
2204
|
} else {
|
|
2222
2205
|
tmp_1 = users;
|
|
2223
2206
|
}
|
|
2224
2207
|
tmp_0 = tmp_1;
|
|
2225
2208
|
}
|
|
2226
2209
|
var updatedUsers = tmp_0;
|
|
2227
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
2228
|
-
var tmp_3 = this.
|
|
2210
|
+
var gameCreatorUser = getPlayer(users, this.p9q_1);
|
|
2211
|
+
var tmp_3 = this.s9q_1.dispatch;
|
|
2229
2212
|
var tmp1_version = get_versionOrDefault(GameEngineConfig_instance);
|
|
2230
2213
|
var tmp2_users = sortWithItem(updatedUsers, gameCreatorUser);
|
|
2231
|
-
var tmp3_spectators = toList(this.
|
|
2232
|
-
tmp_3(new StartGameMechanicAction(this.
|
|
2214
|
+
var tmp3_spectators = toList(this.q9q_1);
|
|
2215
|
+
tmp_3(new StartGameMechanicAction(this.l9q_1, this.n9q_1, tmp1_version, this.p9q_1, tmp2_users, VOID, tmp3_spectators));
|
|
2233
2216
|
return Unit_instance;
|
|
2234
2217
|
} else if (tmp === 1) {
|
|
2235
2218
|
throw this.u8_1;
|
|
@@ -2240,33 +2223,33 @@
|
|
|
2240
2223
|
}
|
|
2241
2224
|
while (true);
|
|
2242
2225
|
};
|
|
2243
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2244
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
2245
|
-
i.
|
|
2246
|
-
i.
|
|
2226
|
+
protoOf(GameServer$roomOnCreate$slambda).s9o = function ($this$dispatchAsync, store, completion) {
|
|
2227
|
+
var i = new GameServer$roomOnCreate$slambda(this.k9q_1, this.l9q_1, this.m9q_1, this.n9q_1, this.o9q_1, this.p9q_1, this.q9q_1, completion);
|
|
2228
|
+
i.r9q_1 = $this$dispatchAsync;
|
|
2229
|
+
i.s9q_1 = store;
|
|
2247
2230
|
return i;
|
|
2248
2231
|
};
|
|
2249
2232
|
function GameServer$roomOnCreate$slambda_0($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2250
2233
|
var i = new GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation);
|
|
2251
2234
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2252
|
-
return i.
|
|
2235
|
+
return i.r9o($this$dispatchAsync, store, $completion);
|
|
2253
2236
|
};
|
|
2254
2237
|
l.$arity = 2;
|
|
2255
2238
|
return l;
|
|
2256
2239
|
}
|
|
2257
2240
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
2258
|
-
this.
|
|
2241
|
+
this.b9r_1 = $state;
|
|
2259
2242
|
CoroutineImpl.call(this, resultContinuation);
|
|
2260
2243
|
}
|
|
2261
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2262
|
-
var tmp = this.
|
|
2244
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).e9r = function ($this$dispatchAwait, store, $completion) {
|
|
2245
|
+
var tmp = this.s9o($this$dispatchAwait, store, $completion);
|
|
2263
2246
|
tmp.t8_1 = Unit_instance;
|
|
2264
2247
|
tmp.u8_1 = null;
|
|
2265
2248
|
return tmp.z8();
|
|
2266
2249
|
};
|
|
2267
2250
|
protoOf(GameServer$roomOnContinueFromState$slambda).i9 = function (p1, p2, $completion) {
|
|
2268
2251
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2269
|
-
return this.
|
|
2252
|
+
return this.e9r(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2270
2253
|
};
|
|
2271
2254
|
protoOf(GameServer$roomOnContinueFromState$slambda).z8 = function () {
|
|
2272
2255
|
var suspendResult = this.t8_1;
|
|
@@ -2275,10 +2258,10 @@
|
|
|
2275
2258
|
var tmp = this.r8_1;
|
|
2276
2259
|
if (tmp === 0) {
|
|
2277
2260
|
this.s8_1 = 1;
|
|
2278
|
-
if (get_isCreating(this.
|
|
2279
|
-
var tmp_0 = this.
|
|
2261
|
+
if (get_isCreating(this.d9r_1.state)) {
|
|
2262
|
+
var tmp_0 = this.d9r_1.dispatch;
|
|
2280
2263
|
var tmp0_reason = new RestartRoundReason(null);
|
|
2281
|
-
var tmp1_table = this.
|
|
2264
|
+
var tmp1_table = this.b9r_1.table;
|
|
2282
2265
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2283
2266
|
return true;
|
|
2284
2267
|
}
|
|
@@ -2292,34 +2275,34 @@
|
|
|
2292
2275
|
}
|
|
2293
2276
|
while (true);
|
|
2294
2277
|
};
|
|
2295
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2296
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
2297
|
-
i.
|
|
2298
|
-
i.
|
|
2278
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).s9o = function ($this$dispatchAwait, store, completion) {
|
|
2279
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.b9r_1, completion);
|
|
2280
|
+
i.c9r_1 = $this$dispatchAwait;
|
|
2281
|
+
i.d9r_1 = store;
|
|
2299
2282
|
return i;
|
|
2300
2283
|
};
|
|
2301
2284
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
2302
2285
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
2303
2286
|
var l = function ($this$dispatchAwait, store, $completion) {
|
|
2304
|
-
return i.
|
|
2287
|
+
return i.e9r($this$dispatchAwait, store, $completion);
|
|
2305
2288
|
};
|
|
2306
2289
|
l.$arity = 2;
|
|
2307
2290
|
return l;
|
|
2308
2291
|
}
|
|
2309
2292
|
function GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation) {
|
|
2310
|
-
this.
|
|
2311
|
-
this.
|
|
2293
|
+
this.n9r_1 = $isCreated;
|
|
2294
|
+
this.o9r_1 = $state;
|
|
2312
2295
|
CoroutineImpl.call(this, resultContinuation);
|
|
2313
2296
|
}
|
|
2314
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2315
|
-
var tmp = this.
|
|
2297
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).r9o = function ($this$dispatchAsync, store, $completion) {
|
|
2298
|
+
var tmp = this.s9o($this$dispatchAsync, store, $completion);
|
|
2316
2299
|
tmp.t8_1 = Unit_instance;
|
|
2317
2300
|
tmp.u8_1 = null;
|
|
2318
2301
|
return tmp.z8();
|
|
2319
2302
|
};
|
|
2320
2303
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).i9 = function (p1, p2, $completion) {
|
|
2321
2304
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2322
|
-
return this.
|
|
2305
|
+
return this.r9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2323
2306
|
};
|
|
2324
2307
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).z8 = function () {
|
|
2325
2308
|
var suspendResult = this.t8_1;
|
|
@@ -2330,7 +2313,7 @@
|
|
|
2330
2313
|
case 0:
|
|
2331
2314
|
this.s8_1 = 3;
|
|
2332
2315
|
this.r8_1 = 1;
|
|
2333
|
-
suspendResult = this.
|
|
2316
|
+
suspendResult = this.n9r_1.z1t(this);
|
|
2334
2317
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2335
2318
|
return suspendResult;
|
|
2336
2319
|
}
|
|
@@ -2338,10 +2321,10 @@
|
|
|
2338
2321
|
continue $sm;
|
|
2339
2322
|
case 1:
|
|
2340
2323
|
if (suspendResult) {
|
|
2341
|
-
var _iterator__ex2g4s = this.
|
|
2324
|
+
var _iterator__ex2g4s = this.o9r_1.actions.l();
|
|
2342
2325
|
while (_iterator__ex2g4s.m()) {
|
|
2343
2326
|
var element = _iterator__ex2g4s.n();
|
|
2344
|
-
this.
|
|
2327
|
+
this.q9r_1.dispatch(element);
|
|
2345
2328
|
}
|
|
2346
2329
|
this.r8_1 = 2;
|
|
2347
2330
|
continue $sm;
|
|
@@ -2366,35 +2349,35 @@
|
|
|
2366
2349
|
}
|
|
2367
2350
|
while (true);
|
|
2368
2351
|
};
|
|
2369
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2370
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
2371
|
-
i.
|
|
2372
|
-
i.
|
|
2352
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).s9o = function ($this$dispatchAsync, store, completion) {
|
|
2353
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.n9r_1, this.o9r_1, completion);
|
|
2354
|
+
i.p9r_1 = $this$dispatchAsync;
|
|
2355
|
+
i.q9r_1 = store;
|
|
2373
2356
|
return i;
|
|
2374
2357
|
};
|
|
2375
2358
|
function GameServer$roomOnContinueFromState$slambda_2($isCreated, $state, resultContinuation) {
|
|
2376
2359
|
var i = new GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation);
|
|
2377
2360
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2378
|
-
return i.
|
|
2361
|
+
return i.r9o($this$dispatchAsync, store, $completion);
|
|
2379
2362
|
};
|
|
2380
2363
|
l.$arity = 2;
|
|
2381
2364
|
return l;
|
|
2382
2365
|
}
|
|
2383
2366
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
2384
|
-
this.
|
|
2385
|
-
this.
|
|
2386
|
-
this.
|
|
2367
|
+
this.z9r_1 = $tableLite;
|
|
2368
|
+
this.a9s_1 = $roomId;
|
|
2369
|
+
this.b9s_1 = this$0;
|
|
2387
2370
|
CoroutineImpl.call(this, resultContinuation);
|
|
2388
2371
|
}
|
|
2389
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2390
|
-
var tmp = this.
|
|
2372
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).r9o = function ($this$dispatchAsync, store, $completion) {
|
|
2373
|
+
var tmp = this.s9o($this$dispatchAsync, store, $completion);
|
|
2391
2374
|
tmp.t8_1 = Unit_instance;
|
|
2392
2375
|
tmp.u8_1 = null;
|
|
2393
2376
|
return tmp.z8();
|
|
2394
2377
|
};
|
|
2395
2378
|
protoOf(GameServer$roomOnContinueFromRound$slambda).i9 = function (p1, p2, $completion) {
|
|
2396
2379
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2397
|
-
return this.
|
|
2380
|
+
return this.r9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2398
2381
|
};
|
|
2399
2382
|
protoOf(GameServer$roomOnContinueFromRound$slambda).z8 = function () {
|
|
2400
2383
|
var suspendResult = this.t8_1;
|
|
@@ -2403,9 +2386,9 @@
|
|
|
2403
2386
|
var tmp = this.r8_1;
|
|
2404
2387
|
if (tmp === 0) {
|
|
2405
2388
|
this.s8_1 = 1;
|
|
2406
|
-
var tmp_0 = this.
|
|
2407
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
2408
|
-
var tmp1_table = Companion_instance_0.restartRound(this.
|
|
2389
|
+
var tmp_0 = this.d9s_1.dispatch;
|
|
2390
|
+
var tmp0_reason = new RestartRoundReason(this.z9r_1.gameInfo.round.roundNumber);
|
|
2391
|
+
var tmp1_table = Companion_instance_0.restartRound(this.a9s_1, _get_idsProvider__fnfajc(this.b9s_1).a6e(), get_versionOrDefault(GameEngineConfig_instance), this.z9r_1);
|
|
2409
2392
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2410
2393
|
return Unit_instance;
|
|
2411
2394
|
} else if (tmp === 1) {
|
|
@@ -2417,16 +2400,16 @@
|
|
|
2417
2400
|
}
|
|
2418
2401
|
while (true);
|
|
2419
2402
|
};
|
|
2420
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2421
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
2422
|
-
i.
|
|
2423
|
-
i.
|
|
2403
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).s9o = function ($this$dispatchAsync, store, completion) {
|
|
2404
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.z9r_1, this.a9s_1, this.b9s_1, completion);
|
|
2405
|
+
i.c9s_1 = $this$dispatchAsync;
|
|
2406
|
+
i.d9s_1 = store;
|
|
2424
2407
|
return i;
|
|
2425
2408
|
};
|
|
2426
2409
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
2427
2410
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
2428
2411
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2429
|
-
return i.
|
|
2412
|
+
return i.r9o($this$dispatchAsync, store, $completion);
|
|
2430
2413
|
};
|
|
2431
2414
|
l.$arity = 2;
|
|
2432
2415
|
return l;
|
|
@@ -2434,15 +2417,15 @@
|
|
|
2434
2417
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
2435
2418
|
CoroutineImpl.call(this, resultContinuation);
|
|
2436
2419
|
}
|
|
2437
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2438
|
-
var tmp = this.
|
|
2420
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).r9o = function ($this$dispatchAsync, store, $completion) {
|
|
2421
|
+
var tmp = this.s9o($this$dispatchAsync, store, $completion);
|
|
2439
2422
|
tmp.t8_1 = Unit_instance;
|
|
2440
2423
|
tmp.u8_1 = null;
|
|
2441
2424
|
return tmp.z8();
|
|
2442
2425
|
};
|
|
2443
2426
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).i9 = function (p1, p2, $completion) {
|
|
2444
2427
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2445
|
-
return this.
|
|
2428
|
+
return this.r9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2446
2429
|
};
|
|
2447
2430
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).z8 = function () {
|
|
2448
2431
|
var suspendResult = this.t8_1;
|
|
@@ -2451,7 +2434,7 @@
|
|
|
2451
2434
|
var tmp = this.r8_1;
|
|
2452
2435
|
if (tmp === 0) {
|
|
2453
2436
|
this.s8_1 = 1;
|
|
2454
|
-
this.
|
|
2437
|
+
this.n9s_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
2455
2438
|
return Unit_instance;
|
|
2456
2439
|
} else if (tmp === 1) {
|
|
2457
2440
|
throw this.u8_1;
|
|
@@ -2462,33 +2445,33 @@
|
|
|
2462
2445
|
}
|
|
2463
2446
|
while (true);
|
|
2464
2447
|
};
|
|
2465
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2448
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).s9o = function ($this$dispatchAsync, store, completion) {
|
|
2466
2449
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
2467
|
-
i.
|
|
2468
|
-
i.
|
|
2450
|
+
i.m9s_1 = $this$dispatchAsync;
|
|
2451
|
+
i.n9s_1 = store;
|
|
2469
2452
|
return i;
|
|
2470
2453
|
};
|
|
2471
2454
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
2472
2455
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
2473
2456
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2474
|
-
return i.
|
|
2457
|
+
return i.r9o($this$dispatchAsync, store, $completion);
|
|
2475
2458
|
};
|
|
2476
2459
|
l.$arity = 2;
|
|
2477
2460
|
return l;
|
|
2478
2461
|
}
|
|
2479
2462
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
2480
|
-
this.
|
|
2463
|
+
this.w9s_1 = $spectators;
|
|
2481
2464
|
CoroutineImpl.call(this, resultContinuation);
|
|
2482
2465
|
}
|
|
2483
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2484
|
-
var tmp = this.
|
|
2466
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).r9o = function ($this$dispatchAsync, store, $completion) {
|
|
2467
|
+
var tmp = this.s9o($this$dispatchAsync, store, $completion);
|
|
2485
2468
|
tmp.t8_1 = Unit_instance;
|
|
2486
2469
|
tmp.u8_1 = null;
|
|
2487
2470
|
return tmp.z8();
|
|
2488
2471
|
};
|
|
2489
2472
|
protoOf(GameServer$addSpectatorsToRoom$slambda).i9 = function (p1, p2, $completion) {
|
|
2490
2473
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2491
|
-
return this.
|
|
2474
|
+
return this.r9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2492
2475
|
};
|
|
2493
2476
|
protoOf(GameServer$addSpectatorsToRoom$slambda).z8 = function () {
|
|
2494
2477
|
var suspendResult = this.t8_1;
|
|
@@ -2497,7 +2480,7 @@
|
|
|
2497
2480
|
var tmp = this.r8_1;
|
|
2498
2481
|
if (tmp === 0) {
|
|
2499
2482
|
this.s8_1 = 1;
|
|
2500
|
-
this.
|
|
2483
|
+
this.y9s_1.dispatch(new AddSpectatorsAction(toList(this.w9s_1)));
|
|
2501
2484
|
return Unit_instance;
|
|
2502
2485
|
} else if (tmp === 1) {
|
|
2503
2486
|
throw this.u8_1;
|
|
@@ -2508,33 +2491,33 @@
|
|
|
2508
2491
|
}
|
|
2509
2492
|
while (true);
|
|
2510
2493
|
};
|
|
2511
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2512
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
2513
|
-
i.
|
|
2514
|
-
i.
|
|
2494
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).s9o = function ($this$dispatchAsync, store, completion) {
|
|
2495
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.w9s_1, completion);
|
|
2496
|
+
i.x9s_1 = $this$dispatchAsync;
|
|
2497
|
+
i.y9s_1 = store;
|
|
2515
2498
|
return i;
|
|
2516
2499
|
};
|
|
2517
2500
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
2518
2501
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
2519
2502
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2520
|
-
return i.
|
|
2503
|
+
return i.r9o($this$dispatchAsync, store, $completion);
|
|
2521
2504
|
};
|
|
2522
2505
|
l.$arity = 2;
|
|
2523
2506
|
return l;
|
|
2524
2507
|
}
|
|
2525
2508
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
2526
|
-
this.
|
|
2509
|
+
this.h9t_1 = $spectators;
|
|
2527
2510
|
CoroutineImpl.call(this, resultContinuation);
|
|
2528
2511
|
}
|
|
2529
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2530
|
-
var tmp = this.
|
|
2512
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).r9o = function ($this$dispatchAsync, store, $completion) {
|
|
2513
|
+
var tmp = this.s9o($this$dispatchAsync, store, $completion);
|
|
2531
2514
|
tmp.t8_1 = Unit_instance;
|
|
2532
2515
|
tmp.u8_1 = null;
|
|
2533
2516
|
return tmp.z8();
|
|
2534
2517
|
};
|
|
2535
2518
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).i9 = function (p1, p2, $completion) {
|
|
2536
2519
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2537
|
-
return this.
|
|
2520
|
+
return this.r9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2538
2521
|
};
|
|
2539
2522
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).z8 = function () {
|
|
2540
2523
|
var suspendResult = this.t8_1;
|
|
@@ -2543,7 +2526,7 @@
|
|
|
2543
2526
|
var tmp = this.r8_1;
|
|
2544
2527
|
if (tmp === 0) {
|
|
2545
2528
|
this.s8_1 = 1;
|
|
2546
|
-
this.
|
|
2529
|
+
this.j9t_1.dispatch(new RemoveSpectatorsAction(toList(this.h9t_1)));
|
|
2547
2530
|
return Unit_instance;
|
|
2548
2531
|
} else if (tmp === 1) {
|
|
2549
2532
|
throw this.u8_1;
|
|
@@ -2554,34 +2537,34 @@
|
|
|
2554
2537
|
}
|
|
2555
2538
|
while (true);
|
|
2556
2539
|
};
|
|
2557
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2558
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
2559
|
-
i.
|
|
2560
|
-
i.
|
|
2540
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).s9o = function ($this$dispatchAsync, store, completion) {
|
|
2541
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.h9t_1, completion);
|
|
2542
|
+
i.i9t_1 = $this$dispatchAsync;
|
|
2543
|
+
i.j9t_1 = store;
|
|
2561
2544
|
return i;
|
|
2562
2545
|
};
|
|
2563
2546
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
2564
2547
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
2565
2548
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2566
|
-
return i.
|
|
2549
|
+
return i.r9o($this$dispatchAsync, store, $completion);
|
|
2567
2550
|
};
|
|
2568
2551
|
l.$arity = 2;
|
|
2569
2552
|
return l;
|
|
2570
2553
|
}
|
|
2571
2554
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
2572
|
-
this.
|
|
2573
|
-
this.
|
|
2555
|
+
this.s9t_1 = $playerId;
|
|
2556
|
+
this.t9t_1 = this$0;
|
|
2574
2557
|
CoroutineImpl.call(this, resultContinuation);
|
|
2575
2558
|
}
|
|
2576
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2577
|
-
var tmp = this.
|
|
2559
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).r9o = function ($this$dispatchAsync, store, $completion) {
|
|
2560
|
+
var tmp = this.s9o($this$dispatchAsync, store, $completion);
|
|
2578
2561
|
tmp.t8_1 = Unit_instance;
|
|
2579
2562
|
tmp.u8_1 = null;
|
|
2580
2563
|
return tmp.z8();
|
|
2581
2564
|
};
|
|
2582
2565
|
protoOf(GameServer$roomRefreshPlayerState$slambda).i9 = function (p1, p2, $completion) {
|
|
2583
2566
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2584
|
-
return this.
|
|
2567
|
+
return this.r9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2585
2568
|
};
|
|
2586
2569
|
protoOf(GameServer$roomRefreshPlayerState$slambda).z8 = function () {
|
|
2587
2570
|
var suspendResult = this.t8_1;
|
|
@@ -2590,14 +2573,14 @@
|
|
|
2590
2573
|
var tmp = this.r8_1;
|
|
2591
2574
|
if (tmp === 0) {
|
|
2592
2575
|
this.s8_1 = 1;
|
|
2593
|
-
var table = this.
|
|
2594
|
-
var player = getPlayer(table.players, this.
|
|
2595
|
-
if (player.
|
|
2596
|
-
this.
|
|
2576
|
+
var table = this.v9t_1.state.p6n();
|
|
2577
|
+
var player = getPlayer(table.players, this.s9t_1);
|
|
2578
|
+
if (player.q6q_1.v68().m67_1.isLive) {
|
|
2579
|
+
this.v9t_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.t9t_1).y8p(player, table));
|
|
2597
2580
|
} else {
|
|
2598
|
-
var tmp_0 = this.
|
|
2581
|
+
var tmp_0 = this.v9t_1.dispatch;
|
|
2599
2582
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2600
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2583
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.s9t_1));
|
|
2601
2584
|
}
|
|
2602
2585
|
return Unit_instance;
|
|
2603
2586
|
} else if (tmp === 1) {
|
|
@@ -2609,34 +2592,34 @@
|
|
|
2609
2592
|
}
|
|
2610
2593
|
while (true);
|
|
2611
2594
|
};
|
|
2612
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2613
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
2614
|
-
i.
|
|
2615
|
-
i.
|
|
2595
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).s9o = function ($this$dispatchAsync, store, completion) {
|
|
2596
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.s9t_1, this.t9t_1, completion);
|
|
2597
|
+
i.u9t_1 = $this$dispatchAsync;
|
|
2598
|
+
i.v9t_1 = store;
|
|
2616
2599
|
return i;
|
|
2617
2600
|
};
|
|
2618
2601
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
2619
2602
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
2620
2603
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2621
|
-
return i.
|
|
2604
|
+
return i.r9o($this$dispatchAsync, store, $completion);
|
|
2622
2605
|
};
|
|
2623
2606
|
l.$arity = 2;
|
|
2624
2607
|
return l;
|
|
2625
2608
|
}
|
|
2626
2609
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
2627
|
-
this.
|
|
2628
|
-
this.
|
|
2610
|
+
this.e9u_1 = this$0;
|
|
2611
|
+
this.f9u_1 = $newRid;
|
|
2629
2612
|
CoroutineImpl.call(this, resultContinuation);
|
|
2630
2613
|
}
|
|
2631
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2632
|
-
var tmp = this.
|
|
2614
|
+
protoOf(GameServer$roomOnDelete$slambda).r9o = function ($this$dispatchAsync, store, $completion) {
|
|
2615
|
+
var tmp = this.s9o($this$dispatchAsync, store, $completion);
|
|
2633
2616
|
tmp.t8_1 = Unit_instance;
|
|
2634
2617
|
tmp.u8_1 = null;
|
|
2635
2618
|
return tmp.z8();
|
|
2636
2619
|
};
|
|
2637
2620
|
protoOf(GameServer$roomOnDelete$slambda).i9 = function (p1, p2, $completion) {
|
|
2638
2621
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2639
|
-
return this.
|
|
2622
|
+
return this.r9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2640
2623
|
};
|
|
2641
2624
|
protoOf(GameServer$roomOnDelete$slambda).z8 = function () {
|
|
2642
2625
|
var suspendResult = this.t8_1;
|
|
@@ -2645,27 +2628,27 @@
|
|
|
2645
2628
|
var tmp = this.r8_1;
|
|
2646
2629
|
if (tmp === 0) {
|
|
2647
2630
|
this.s8_1 = 1;
|
|
2648
|
-
var it = this.
|
|
2631
|
+
var it = this.e9u_1.s66().p6m_1;
|
|
2649
2632
|
var tmp_0;
|
|
2650
2633
|
if (it == null) {
|
|
2651
|
-
|
|
2634
|
+
this.e9u_1.f4q().w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
2652
2635
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
2653
2636
|
} else {
|
|
2654
2637
|
tmp_0 = it;
|
|
2655
2638
|
}
|
|
2656
2639
|
var terminationState = tmp_0;
|
|
2657
|
-
var gameTransition = terminationState.
|
|
2640
|
+
var gameTransition = terminationState.v8t_1;
|
|
2658
2641
|
var tmp_1;
|
|
2659
2642
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
2660
|
-
var tmp0_elvis_lhs = this.
|
|
2643
|
+
var tmp0_elvis_lhs = this.f9u_1;
|
|
2661
2644
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
2662
2645
|
} else {
|
|
2663
2646
|
tmp_1 = gameTransition;
|
|
2664
2647
|
}
|
|
2665
2648
|
var transition = tmp_1;
|
|
2666
|
-
var tmp_2 = this.
|
|
2667
|
-
var tmp0_reason = terminationState.
|
|
2668
|
-
var tmp1_isGameFinished = this.
|
|
2649
|
+
var tmp_2 = this.h9u_1.dispatch;
|
|
2650
|
+
var tmp0_reason = terminationState.u8t_1;
|
|
2651
|
+
var tmp1_isGameFinished = this.e9u_1.s66().p6n().isGameFinished;
|
|
2669
2652
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
2670
2653
|
return Unit_instance;
|
|
2671
2654
|
} else if (tmp === 1) {
|
|
@@ -2677,33 +2660,33 @@
|
|
|
2677
2660
|
}
|
|
2678
2661
|
while (true);
|
|
2679
2662
|
};
|
|
2680
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2681
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
2682
|
-
i.
|
|
2683
|
-
i.
|
|
2663
|
+
protoOf(GameServer$roomOnDelete$slambda).s9o = function ($this$dispatchAsync, store, completion) {
|
|
2664
|
+
var i = new GameServer$roomOnDelete$slambda(this.e9u_1, this.f9u_1, completion);
|
|
2665
|
+
i.g9u_1 = $this$dispatchAsync;
|
|
2666
|
+
i.h9u_1 = store;
|
|
2684
2667
|
return i;
|
|
2685
2668
|
};
|
|
2686
2669
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
2687
2670
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
2688
2671
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2689
|
-
return i.
|
|
2672
|
+
return i.r9o($this$dispatchAsync, store, $completion);
|
|
2690
2673
|
};
|
|
2691
2674
|
l.$arity = 2;
|
|
2692
2675
|
return l;
|
|
2693
2676
|
}
|
|
2694
2677
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
2695
|
-
this.
|
|
2678
|
+
this.q9u_1 = $enabled;
|
|
2696
2679
|
CoroutineImpl.call(this, resultContinuation);
|
|
2697
2680
|
}
|
|
2698
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2699
|
-
var tmp = this.
|
|
2681
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).r9o = function ($this$dispatchAsync, store, $completion) {
|
|
2682
|
+
var tmp = this.s9o($this$dispatchAsync, store, $completion);
|
|
2700
2683
|
tmp.t8_1 = Unit_instance;
|
|
2701
2684
|
tmp.u8_1 = null;
|
|
2702
2685
|
return tmp.z8();
|
|
2703
2686
|
};
|
|
2704
2687
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).i9 = function (p1, p2, $completion) {
|
|
2705
2688
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2706
|
-
return this.
|
|
2689
|
+
return this.r9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2707
2690
|
};
|
|
2708
2691
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).z8 = function () {
|
|
2709
2692
|
var suspendResult = this.t8_1;
|
|
@@ -2712,7 +2695,7 @@
|
|
|
2712
2695
|
var tmp = this.r8_1;
|
|
2713
2696
|
if (tmp === 0) {
|
|
2714
2697
|
this.s8_1 = 1;
|
|
2715
|
-
this.
|
|
2698
|
+
this.s9u_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload_0(this.s9u_1.state).config.copy(VOID, this.q9u_1)));
|
|
2716
2699
|
return Unit_instance;
|
|
2717
2700
|
} else if (tmp === 1) {
|
|
2718
2701
|
throw this.u8_1;
|
|
@@ -2723,35 +2706,35 @@
|
|
|
2723
2706
|
}
|
|
2724
2707
|
while (true);
|
|
2725
2708
|
};
|
|
2726
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2727
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
2728
|
-
i.
|
|
2729
|
-
i.
|
|
2709
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).s9o = function ($this$dispatchAsync, store, completion) {
|
|
2710
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.q9u_1, completion);
|
|
2711
|
+
i.r9u_1 = $this$dispatchAsync;
|
|
2712
|
+
i.s9u_1 = store;
|
|
2730
2713
|
return i;
|
|
2731
2714
|
};
|
|
2732
2715
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
2733
2716
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
2734
2717
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2735
|
-
return i.
|
|
2718
|
+
return i.r9o($this$dispatchAsync, store, $completion);
|
|
2736
2719
|
};
|
|
2737
2720
|
l.$arity = 2;
|
|
2738
2721
|
return l;
|
|
2739
2722
|
}
|
|
2740
2723
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
2741
|
-
this.
|
|
2742
|
-
this.
|
|
2743
|
-
this.
|
|
2724
|
+
this.b9v_1 = $reason;
|
|
2725
|
+
this.c9v_1 = this$0;
|
|
2726
|
+
this.d9v_1 = $roomId;
|
|
2744
2727
|
CoroutineImpl.call(this, resultContinuation);
|
|
2745
2728
|
}
|
|
2746
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2747
|
-
var tmp = this.
|
|
2729
|
+
protoOf(GameServer$shutdown$slambda).r9o = function ($this$dispatchAsync, store, $completion) {
|
|
2730
|
+
var tmp = this.s9o($this$dispatchAsync, store, $completion);
|
|
2748
2731
|
tmp.t8_1 = Unit_instance;
|
|
2749
2732
|
tmp.u8_1 = null;
|
|
2750
2733
|
return tmp.z8();
|
|
2751
2734
|
};
|
|
2752
2735
|
protoOf(GameServer$shutdown$slambda).i9 = function (p1, p2, $completion) {
|
|
2753
2736
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2754
|
-
return this.
|
|
2737
|
+
return this.r9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2755
2738
|
};
|
|
2756
2739
|
protoOf(GameServer$shutdown$slambda).z8 = function () {
|
|
2757
2740
|
var suspendResult = this.t8_1;
|
|
@@ -2760,11 +2743,11 @@
|
|
|
2760
2743
|
var tmp = this.r8_1;
|
|
2761
2744
|
if (tmp === 0) {
|
|
2762
2745
|
this.s8_1 = 1;
|
|
2763
|
-
var state = this.
|
|
2764
|
-
if (state.
|
|
2765
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
2746
|
+
var state = this.f9v_1.store.state;
|
|
2747
|
+
if (state.q6n()) {
|
|
2748
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.b9v_1, get_serverShutdownReasonMapping());
|
|
2766
2749
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
2767
|
-
var tmp_0 = this.
|
|
2750
|
+
var tmp_0 = this.f9v_1.dispatch;
|
|
2768
2751
|
var tmp_1 = Companion_instance;
|
|
2769
2752
|
var tmp_2;
|
|
2770
2753
|
switch (shutdownReason.p2_1) {
|
|
@@ -2778,12 +2761,12 @@
|
|
|
2778
2761
|
noWhenBranchMatchedException();
|
|
2779
2762
|
break;
|
|
2780
2763
|
}
|
|
2781
|
-
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.
|
|
2764
|
+
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.c9v_1.table.isGameFinished, this.c9v_1.table));
|
|
2782
2765
|
} else {
|
|
2783
|
-
|
|
2784
|
-
var tmp_3 = this.
|
|
2785
|
-
var tmp2_safe_receiver = state.
|
|
2786
|
-
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
2766
|
+
this.c9v_1.f4q().w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.d9v_1);
|
|
2767
|
+
var tmp_3 = this.f9v_1.dispatch;
|
|
2768
|
+
var tmp2_safe_receiver = state.p6m_1;
|
|
2769
|
+
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.v8t_1));
|
|
2787
2770
|
}
|
|
2788
2771
|
return Unit_instance;
|
|
2789
2772
|
} else if (tmp === 1) {
|
|
@@ -2795,16 +2778,16 @@
|
|
|
2795
2778
|
}
|
|
2796
2779
|
while (true);
|
|
2797
2780
|
};
|
|
2798
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2799
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
2800
|
-
i.
|
|
2801
|
-
i.
|
|
2781
|
+
protoOf(GameServer$shutdown$slambda).s9o = function ($this$dispatchAsync, store, completion) {
|
|
2782
|
+
var i = new GameServer$shutdown$slambda(this.b9v_1, this.c9v_1, this.d9v_1, completion);
|
|
2783
|
+
i.e9v_1 = $this$dispatchAsync;
|
|
2784
|
+
i.f9v_1 = store;
|
|
2802
2785
|
return i;
|
|
2803
2786
|
};
|
|
2804
2787
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
2805
2788
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
2806
2789
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2807
|
-
return i.
|
|
2790
|
+
return i.r9o($this$dispatchAsync, store, $completion);
|
|
2808
2791
|
};
|
|
2809
2792
|
l.$arity = 2;
|
|
2810
2793
|
return l;
|
|
@@ -2831,163 +2814,155 @@
|
|
|
2831
2814
|
var tmp_1 = this;
|
|
2832
2815
|
// Inline function 'org.kodein.di.instance' call
|
|
2833
2816
|
// Inline function 'org.kodein.type.generic' call
|
|
2834
|
-
var tmp_2 = typeToken(createKType(getKClass(
|
|
2817
|
+
var tmp_2 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
|
|
2835
2818
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
2836
2819
|
var tmp_3 = Instance(di, tmp$ret$2, null);
|
|
2837
2820
|
var tmp_4 = KProperty1;
|
|
2838
|
-
tmp_1.
|
|
2821
|
+
tmp_1.j9l_1 = tmp_3.u64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_4, GameServer$_get_toClientEventsObserver_$ref_utir8s(), null));
|
|
2839
2822
|
var tmp_5 = this;
|
|
2840
2823
|
// Inline function 'org.kodein.di.instance' call
|
|
2841
2824
|
// Inline function 'org.kodein.type.generic' call
|
|
2842
|
-
var tmp_6 = typeToken(createKType(getKClass(
|
|
2825
|
+
var tmp_6 = typeToken(createKType(getKClass(FromClientEventsObserver), arrayOf([]), false));
|
|
2843
2826
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2844
2827
|
var tmp_7 = Instance(di, tmp$ret$4, null);
|
|
2845
2828
|
var tmp_8 = KProperty1;
|
|
2846
|
-
tmp_5.
|
|
2829
|
+
tmp_5.k9l_1 = tmp_7.u64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_8, GameServer$_get_fromClientEventsObserver_$ref_nf1g79(), null));
|
|
2847
2830
|
var tmp_9 = this;
|
|
2848
2831
|
// Inline function 'org.kodein.di.instance' call
|
|
2849
2832
|
// Inline function 'org.kodein.type.generic' call
|
|
2850
|
-
var tmp_10 = typeToken(createKType(getKClass(
|
|
2833
|
+
var tmp_10 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
2851
2834
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
2852
2835
|
var tmp_11 = Instance(di, tmp$ret$6, null);
|
|
2853
2836
|
var tmp_12 = KProperty1;
|
|
2854
|
-
tmp_9.
|
|
2837
|
+
tmp_9.l9l_1 = tmp_11.u64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_12, GameServer$_get_playerConnectionInteractor_$ref_of8tan(), null));
|
|
2855
2838
|
var tmp_13 = this;
|
|
2856
2839
|
// Inline function 'org.kodein.di.instance' call
|
|
2857
2840
|
// Inline function 'org.kodein.type.generic' call
|
|
2858
|
-
var tmp_14 = typeToken(createKType(getKClass(
|
|
2841
|
+
var tmp_14 = typeToken(createKType(getKClass(TeamsLogicProvider), arrayOf([]), false));
|
|
2859
2842
|
var tmp$ret$8 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
2860
2843
|
var tmp_15 = Instance(di, tmp$ret$8, null);
|
|
2861
2844
|
var tmp_16 = KProperty1;
|
|
2862
|
-
tmp_13.
|
|
2845
|
+
tmp_13.m9l_1 = tmp_15.u64(this, getPropertyCallableRef('teamsLogicProvider', 1, tmp_16, GameServer$_get_teamsLogicProvider_$ref_b7y54g(), null));
|
|
2863
2846
|
var tmp_17 = this;
|
|
2847
|
+
tmp_17.n9l_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
2848
|
+
var tmp_18 = this;
|
|
2864
2849
|
// Inline function 'org.kodein.di.instance' call
|
|
2865
2850
|
// Inline function 'org.kodein.type.generic' call
|
|
2866
|
-
var
|
|
2867
|
-
var tmp$ret$10 = isInterface(
|
|
2868
|
-
var
|
|
2869
|
-
var
|
|
2870
|
-
|
|
2871
|
-
var tmp_21 = this;
|
|
2872
|
-
tmp_21.k9l_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
2851
|
+
var tmp_19 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
2852
|
+
var tmp$ret$10 = isInterface(tmp_19, TypeToken) ? tmp_19 : THROW_CCE();
|
|
2853
|
+
var tmp_20 = Instance(di, tmp$ret$10, null);
|
|
2854
|
+
var tmp_21 = KProperty1;
|
|
2855
|
+
tmp_18.o9l_1 = tmp_20.u64(this, getPropertyCallableRef('idsProvider', 1, tmp_21, GameServer$_get_idsProvider_$ref_89s908(), null));
|
|
2873
2856
|
var tmp_22 = this;
|
|
2874
2857
|
// Inline function 'org.kodein.di.instance' call
|
|
2875
2858
|
// Inline function 'org.kodein.type.generic' call
|
|
2876
|
-
var tmp_23 = typeToken(createKType(getKClass(
|
|
2859
|
+
var tmp_23 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
2877
2860
|
var tmp$ret$12 = isInterface(tmp_23, TypeToken) ? tmp_23 : THROW_CCE();
|
|
2878
2861
|
var tmp_24 = Instance(di, tmp$ret$12, null);
|
|
2879
2862
|
var tmp_25 = KProperty1;
|
|
2880
|
-
tmp_22.
|
|
2863
|
+
tmp_22.p9l_1 = tmp_24.u64(this, getPropertyCallableRef('serverReduxConfig', 1, tmp_25, GameServer$_get_serverReduxConfig_$ref_7h6jq6(), null));
|
|
2881
2864
|
var tmp_26 = this;
|
|
2882
2865
|
// Inline function 'org.kodein.di.instance' call
|
|
2883
2866
|
// Inline function 'org.kodein.type.generic' call
|
|
2884
|
-
var tmp_27 = typeToken(createKType(getKClass(
|
|
2867
|
+
var tmp_27 = typeToken(createKType(getKClass(EncoderDecoderProvider), arrayOf([]), false));
|
|
2885
2868
|
var tmp$ret$14 = isInterface(tmp_27, TypeToken) ? tmp_27 : THROW_CCE();
|
|
2886
2869
|
var tmp_28 = Instance(di, tmp$ret$14, null);
|
|
2887
2870
|
var tmp_29 = KProperty1;
|
|
2888
|
-
tmp_26.
|
|
2871
|
+
tmp_26.q9l_1 = tmp_28.u64(this, getPropertyCallableRef('encoderDecoderProvider', 1, tmp_29, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8(), null));
|
|
2889
2872
|
var tmp_30 = this;
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
protoOf(GameServer).b6m = function () {
|
|
2904
|
-
return this.o9l_1;
|
|
2905
|
-
};
|
|
2906
|
-
protoOf(GameServer).d9v = function (_set____db54di) {
|
|
2907
|
-
this.p9l_1 = _set____db54di;
|
|
2908
|
-
};
|
|
2909
|
-
protoOf(GameServer).k8e = function () {
|
|
2910
|
-
return this.p9l_1;
|
|
2873
|
+
var tmp0_externalMiddlewares = plus(storeContract.i8y(), externalMiddlewares);
|
|
2874
|
+
var tmp1_externalReducers = plus(storeContract.h8y(), externalReducers);
|
|
2875
|
+
tmp_30.r9l_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
2876
|
+
this.s9l_1 = new Object();
|
|
2877
|
+
}
|
|
2878
|
+
protoOf(GameServer).e6m = function () {
|
|
2879
|
+
return this.r9l_1;
|
|
2880
|
+
};
|
|
2881
|
+
protoOf(GameServer).g9v = function (_set____db54di) {
|
|
2882
|
+
this.s9l_1 = _set____db54di;
|
|
2883
|
+
};
|
|
2884
|
+
protoOf(GameServer).n8e = function () {
|
|
2885
|
+
return this.s9l_1;
|
|
2911
2886
|
};
|
|
2912
2887
|
protoOf(GameServer).w53 = function () {
|
|
2913
|
-
return this.s66().
|
|
2888
|
+
return this.s66().p6n().id;
|
|
2914
2889
|
};
|
|
2915
|
-
protoOf(GameServer).
|
|
2916
|
-
return this.s66().
|
|
2890
|
+
protoOf(GameServer).p6n = function () {
|
|
2891
|
+
return this.s66().p6n();
|
|
2917
2892
|
};
|
|
2918
|
-
protoOf(GameServer).
|
|
2919
|
-
return this.s66().
|
|
2893
|
+
protoOf(GameServer).q6n = function () {
|
|
2894
|
+
return this.s66().q6n();
|
|
2920
2895
|
};
|
|
2921
|
-
protoOf(GameServer).
|
|
2896
|
+
protoOf(GameServer).r6n = function () {
|
|
2922
2897
|
return this.s66().gameLifecycleState;
|
|
2923
2898
|
};
|
|
2924
2899
|
protoOf(GameServer).subscribeToClientAction = function (subscriber) {
|
|
2925
|
-
var tmp = this.
|
|
2900
|
+
var tmp = this.c6m();
|
|
2926
2901
|
tmp.f6c(VOID, GameServer$subscribeToClientAction$slambda_0(this, subscriber, null));
|
|
2927
2902
|
};
|
|
2928
2903
|
protoOf(GameServer).subscribeServerStateUpdate = function (subscriber) {
|
|
2929
|
-
var tmp = this.
|
|
2904
|
+
var tmp = this.c6m();
|
|
2930
2905
|
tmp.f6c(VOID, GameServer$subscribeServerStateUpdate$slambda_0(this, subscriber, null));
|
|
2931
2906
|
};
|
|
2932
2907
|
protoOf(GameServer).subscribeServerStateUpdateJson = function (subscriber) {
|
|
2933
|
-
var tmp = this.
|
|
2908
|
+
var tmp = this.c6m();
|
|
2934
2909
|
tmp.f6c(VOID, GameServer$subscribeServerStateUpdateJson$slambda_0(this, subscriber, null));
|
|
2935
2910
|
};
|
|
2936
2911
|
protoOf(GameServer).subscribeWith = function (subscriber) {
|
|
2937
|
-
var tmp = this.
|
|
2912
|
+
var tmp = this.c6m();
|
|
2938
2913
|
tmp.f6c(VOID, GameServer$subscribeWith$slambda_0(this, subscriber, null));
|
|
2939
2914
|
};
|
|
2940
2915
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
2941
|
-
|
|
2942
|
-
this.
|
|
2916
|
+
this.f4q().d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
2917
|
+
this.r9l_1.n6n(GameServer$fromClientEvent$slambda_0(action, null));
|
|
2943
2918
|
};
|
|
2944
2919
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
2945
|
-
|
|
2946
|
-
this.
|
|
2920
|
+
this.f4q().d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
2921
|
+
this.r9l_1.n6n(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
2947
2922
|
};
|
|
2948
2923
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
2949
|
-
|
|
2950
|
-
this.
|
|
2924
|
+
this.f4q().d('GameEngine_API', 'playerLive: ' + playerId);
|
|
2925
|
+
this.r9l_1.n6n(GameServer$playerLive$slambda_0(this, playerId, null));
|
|
2951
2926
|
};
|
|
2952
2927
|
protoOf(GameServer).playerLeft = function (playerId) {
|
|
2953
|
-
|
|
2954
|
-
this.
|
|
2928
|
+
this.f4q().d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
2929
|
+
this.r9l_1.n6n(GameServer$playerLeft$slambda_0(this, playerId, null));
|
|
2955
2930
|
};
|
|
2956
|
-
protoOf(GameServer).
|
|
2957
|
-
|
|
2958
|
-
this.
|
|
2931
|
+
protoOf(GameServer).h9v = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
2932
|
+
this.f4q().d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
2933
|
+
this.r9l_1.n6n(GameServer$roomOnCreate$slambda_0(usersArray, config, this, roomId, transition, gameCreatorId, spectators, null));
|
|
2959
2934
|
};
|
|
2960
2935
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
2961
|
-
|
|
2962
|
-
var isCreated = this.
|
|
2963
|
-
this.
|
|
2936
|
+
this.f4q().d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
2937
|
+
var isCreated = this.r9l_1.o6n(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
2938
|
+
this.r9l_1.n6n(GameServer$roomOnContinueFromState$slambda_2(isCreated, state, null));
|
|
2964
2939
|
};
|
|
2965
2940
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
2966
|
-
|
|
2967
|
-
this.
|
|
2968
|
-
this.
|
|
2941
|
+
this.f4q().d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
2942
|
+
this.r9l_1.n6n(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
2943
|
+
this.r9l_1.n6n(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
2969
2944
|
};
|
|
2970
2945
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
2971
|
-
this.
|
|
2946
|
+
this.r9l_1.n6n(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
2972
2947
|
};
|
|
2973
2948
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
2974
|
-
this.
|
|
2949
|
+
this.r9l_1.n6n(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
2975
2950
|
};
|
|
2976
2951
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
2977
|
-
|
|
2978
|
-
this.
|
|
2952
|
+
this.f4q().d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
2953
|
+
this.r9l_1.n6n(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
2979
2954
|
};
|
|
2980
|
-
protoOf(GameServer).
|
|
2981
|
-
|
|
2982
|
-
this.
|
|
2955
|
+
protoOf(GameServer).i9v = function (newRid) {
|
|
2956
|
+
this.f4q().d('GameEngine_API', 'roomOnDelete: ' + newRid);
|
|
2957
|
+
this.r9l_1.n6n(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
2983
2958
|
};
|
|
2984
2959
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
2985
|
-
|
|
2986
|
-
this.
|
|
2960
|
+
this.f4q().d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
2961
|
+
this.r9l_1.n6n(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
2987
2962
|
};
|
|
2988
|
-
protoOf(GameServer).
|
|
2989
|
-
|
|
2990
|
-
this.
|
|
2963
|
+
protoOf(GameServer).j9v = function (reason, roomId) {
|
|
2964
|
+
this.f4q().d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
2965
|
+
this.r9l_1.n6n(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
2991
2966
|
};
|
|
2992
2967
|
protoOf(GameServer).clear = function () {
|
|
2993
2968
|
return this.h2();
|
|
@@ -3038,10 +3013,10 @@
|
|
|
3038
3013
|
this.fromRound = fromRound;
|
|
3039
3014
|
this.canStartNewGame = canStartNewGame;
|
|
3040
3015
|
}
|
|
3041
|
-
protoOf(ServerConfig).
|
|
3016
|
+
protoOf(ServerConfig).k9v = function () {
|
|
3042
3017
|
return this.fromRound;
|
|
3043
3018
|
};
|
|
3044
|
-
protoOf(ServerConfig).
|
|
3019
|
+
protoOf(ServerConfig).l9v = function () {
|
|
3045
3020
|
return this.canStartNewGame;
|
|
3046
3021
|
};
|
|
3047
3022
|
protoOf(ServerConfig).ne = function () {
|
|
@@ -3050,13 +3025,13 @@
|
|
|
3050
3025
|
protoOf(ServerConfig).oe = function () {
|
|
3051
3026
|
return this.canStartNewGame;
|
|
3052
3027
|
};
|
|
3053
|
-
protoOf(ServerConfig).
|
|
3028
|
+
protoOf(ServerConfig).m9v = function (fromRound, canStartNewGame) {
|
|
3054
3029
|
return new ServerConfig(fromRound, canStartNewGame);
|
|
3055
3030
|
};
|
|
3056
3031
|
protoOf(ServerConfig).copy = function (fromRound, canStartNewGame, $super) {
|
|
3057
3032
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
3058
3033
|
canStartNewGame = canStartNewGame === VOID ? this.canStartNewGame : canStartNewGame;
|
|
3059
|
-
return $super === VOID ? this.
|
|
3034
|
+
return $super === VOID ? this.m9v(fromRound, canStartNewGame) : $super.m9v.call(this, fromRound, canStartNewGame);
|
|
3060
3035
|
};
|
|
3061
3036
|
protoOf(ServerConfig).toString = function () {
|
|
3062
3037
|
return 'ServerConfig(fromRound=' + this.fromRound + ', canStartNewGame=' + this.canStartNewGame + ')';
|
|
@@ -3118,20 +3093,20 @@
|
|
|
3118
3093
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 2);
|
|
3119
3094
|
tmp0_serialDesc.gz('roomId', false);
|
|
3120
3095
|
tmp0_serialDesc.gz('table', false);
|
|
3121
|
-
this.
|
|
3096
|
+
this.n9v_1 = tmp0_serialDesc;
|
|
3122
3097
|
}
|
|
3123
|
-
protoOf($serializer).
|
|
3124
|
-
var tmp0_desc = this.
|
|
3098
|
+
protoOf($serializer).o9v = function (encoder, value) {
|
|
3099
|
+
var tmp0_desc = this.n9v_1;
|
|
3125
3100
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3126
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3101
|
+
tmp1_output.dt(tmp0_desc, 0, value.p9v_1);
|
|
3127
3102
|
tmp1_output.dt(tmp0_desc, 1, value.table);
|
|
3128
3103
|
tmp1_output.pr(tmp0_desc);
|
|
3129
3104
|
};
|
|
3130
3105
|
protoOf($serializer).co = function (encoder, value) {
|
|
3131
|
-
return this.
|
|
3106
|
+
return this.o9v(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3132
3107
|
};
|
|
3133
3108
|
protoOf($serializer).do = function (decoder) {
|
|
3134
|
-
var tmp0_desc = this.
|
|
3109
|
+
var tmp0_desc = this.n9v_1;
|
|
3135
3110
|
var tmp1_flag = true;
|
|
3136
3111
|
var tmp2_index = 0;
|
|
3137
3112
|
var tmp3_bitMask0 = 0;
|
|
@@ -3166,7 +3141,7 @@
|
|
|
3166
3141
|
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3167
3142
|
};
|
|
3168
3143
|
protoOf($serializer).bo = function () {
|
|
3169
|
-
return this.
|
|
3144
|
+
return this.n9v_1;
|
|
3170
3145
|
};
|
|
3171
3146
|
protoOf($serializer).vz = function () {
|
|
3172
3147
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3182,9 +3157,9 @@
|
|
|
3182
3157
|
}
|
|
3183
3158
|
function TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, $this) {
|
|
3184
3159
|
if (!(3 === (3 & seen0))) {
|
|
3185
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance().
|
|
3160
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance().n9v_1);
|
|
3186
3161
|
}
|
|
3187
|
-
$this.
|
|
3162
|
+
$this.p9v_1 = roomId;
|
|
3188
3163
|
$this.table = table;
|
|
3189
3164
|
return $this;
|
|
3190
3165
|
}
|
|
@@ -3192,17 +3167,17 @@
|
|
|
3192
3167
|
return TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, objectCreate(protoOf(TableStateUpdateDto)));
|
|
3193
3168
|
}
|
|
3194
3169
|
function TableStateUpdateDto(roomId, table) {
|
|
3195
|
-
this.
|
|
3170
|
+
this.p9v_1 = roomId;
|
|
3196
3171
|
this.table = table;
|
|
3197
3172
|
}
|
|
3198
|
-
protoOf(TableStateUpdateDto).
|
|
3199
|
-
return this.
|
|
3173
|
+
protoOf(TableStateUpdateDto).x8w = function () {
|
|
3174
|
+
return this.p9v_1;
|
|
3200
3175
|
};
|
|
3201
|
-
protoOf(TableStateUpdateDto).
|
|
3176
|
+
protoOf(TableStateUpdateDto).p6n = function () {
|
|
3202
3177
|
return this.table;
|
|
3203
3178
|
};
|
|
3204
3179
|
protoOf(TableStateUpdateDto).ne = function () {
|
|
3205
|
-
return this.
|
|
3180
|
+
return this.p9v_1;
|
|
3206
3181
|
};
|
|
3207
3182
|
protoOf(TableStateUpdateDto).oe = function () {
|
|
3208
3183
|
return this.table;
|
|
@@ -3211,15 +3186,15 @@
|
|
|
3211
3186
|
return new TableStateUpdateDto(roomId, table);
|
|
3212
3187
|
};
|
|
3213
3188
|
protoOf(TableStateUpdateDto).copy = function (roomId, table, $super) {
|
|
3214
|
-
roomId = roomId === VOID ? this.
|
|
3189
|
+
roomId = roomId === VOID ? this.p9v_1 : roomId;
|
|
3215
3190
|
table = table === VOID ? this.table : table;
|
|
3216
3191
|
return $super === VOID ? this.c54(roomId, table) : $super.c54.call(this, roomId, table);
|
|
3217
3192
|
};
|
|
3218
3193
|
protoOf(TableStateUpdateDto).toString = function () {
|
|
3219
|
-
return 'TableStateUpdateDto(roomId=' + this.
|
|
3194
|
+
return 'TableStateUpdateDto(roomId=' + this.p9v_1 + ', table=' + this.table + ')';
|
|
3220
3195
|
};
|
|
3221
3196
|
protoOf(TableStateUpdateDto).hashCode = function () {
|
|
3222
|
-
var result = getStringHashCode(this.
|
|
3197
|
+
var result = getStringHashCode(this.p9v_1);
|
|
3223
3198
|
result = imul(result, 31) + getStringHashCode(this.table) | 0;
|
|
3224
3199
|
return result;
|
|
3225
3200
|
};
|
|
@@ -3228,7 +3203,7 @@
|
|
|
3228
3203
|
return true;
|
|
3229
3204
|
if (!(other instanceof TableStateUpdateDto))
|
|
3230
3205
|
return false;
|
|
3231
|
-
if (!(this.
|
|
3206
|
+
if (!(this.p9v_1 === other.p9v_1))
|
|
3232
3207
|
return false;
|
|
3233
3208
|
if (!(this.table === other.table))
|
|
3234
3209
|
return false;
|
|
@@ -3248,20 +3223,20 @@
|
|
|
3248
3223
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 2);
|
|
3249
3224
|
tmp0_serialDesc.gz('roomId', false);
|
|
3250
3225
|
tmp0_serialDesc.gz('actions', false);
|
|
3251
|
-
this.
|
|
3226
|
+
this.q9v_1 = tmp0_serialDesc;
|
|
3252
3227
|
}
|
|
3253
|
-
protoOf($serializer_0).
|
|
3254
|
-
var tmp0_desc = this.
|
|
3228
|
+
protoOf($serializer_0).r9v = function (encoder, value) {
|
|
3229
|
+
var tmp0_desc = this.q9v_1;
|
|
3255
3230
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3256
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3231
|
+
tmp1_output.dt(tmp0_desc, 0, value.s9v_1);
|
|
3257
3232
|
tmp1_output.dt(tmp0_desc, 1, value.actions);
|
|
3258
3233
|
tmp1_output.pr(tmp0_desc);
|
|
3259
3234
|
};
|
|
3260
3235
|
protoOf($serializer_0).co = function (encoder, value) {
|
|
3261
|
-
return this.
|
|
3236
|
+
return this.r9v(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
|
|
3262
3237
|
};
|
|
3263
3238
|
protoOf($serializer_0).do = function (decoder) {
|
|
3264
|
-
var tmp0_desc = this.
|
|
3239
|
+
var tmp0_desc = this.q9v_1;
|
|
3265
3240
|
var tmp1_flag = true;
|
|
3266
3241
|
var tmp2_index = 0;
|
|
3267
3242
|
var tmp3_bitMask0 = 0;
|
|
@@ -3296,7 +3271,7 @@
|
|
|
3296
3271
|
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3297
3272
|
};
|
|
3298
3273
|
protoOf($serializer_0).bo = function () {
|
|
3299
|
-
return this.
|
|
3274
|
+
return this.q9v_1;
|
|
3300
3275
|
};
|
|
3301
3276
|
protoOf($serializer_0).vz = function () {
|
|
3302
3277
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3312,9 +3287,9 @@
|
|
|
3312
3287
|
}
|
|
3313
3288
|
function ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, $this) {
|
|
3314
3289
|
if (!(3 === (3 & seen0))) {
|
|
3315
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().
|
|
3290
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().q9v_1);
|
|
3316
3291
|
}
|
|
3317
|
-
$this.
|
|
3292
|
+
$this.s9v_1 = roomId;
|
|
3318
3293
|
$this.actions = actions;
|
|
3319
3294
|
return $this;
|
|
3320
3295
|
}
|
|
@@ -3322,17 +3297,17 @@
|
|
|
3322
3297
|
return ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, objectCreate(protoOf(ActionsStateUpdateDto)));
|
|
3323
3298
|
}
|
|
3324
3299
|
function ActionsStateUpdateDto(roomId, actions) {
|
|
3325
|
-
this.
|
|
3300
|
+
this.s9v_1 = roomId;
|
|
3326
3301
|
this.actions = actions;
|
|
3327
3302
|
}
|
|
3328
|
-
protoOf(ActionsStateUpdateDto).
|
|
3329
|
-
return this.
|
|
3303
|
+
protoOf(ActionsStateUpdateDto).x8w = function () {
|
|
3304
|
+
return this.s9v_1;
|
|
3330
3305
|
};
|
|
3331
|
-
protoOf(ActionsStateUpdateDto).
|
|
3306
|
+
protoOf(ActionsStateUpdateDto).u8b = function () {
|
|
3332
3307
|
return this.actions;
|
|
3333
3308
|
};
|
|
3334
3309
|
protoOf(ActionsStateUpdateDto).ne = function () {
|
|
3335
|
-
return this.
|
|
3310
|
+
return this.s9v_1;
|
|
3336
3311
|
};
|
|
3337
3312
|
protoOf(ActionsStateUpdateDto).oe = function () {
|
|
3338
3313
|
return this.actions;
|
|
@@ -3341,15 +3316,15 @@
|
|
|
3341
3316
|
return new ActionsStateUpdateDto(roomId, actions);
|
|
3342
3317
|
};
|
|
3343
3318
|
protoOf(ActionsStateUpdateDto).copy = function (roomId, actions, $super) {
|
|
3344
|
-
roomId = roomId === VOID ? this.
|
|
3319
|
+
roomId = roomId === VOID ? this.s9v_1 : roomId;
|
|
3345
3320
|
actions = actions === VOID ? this.actions : actions;
|
|
3346
3321
|
return $super === VOID ? this.c54(roomId, actions) : $super.c54.call(this, roomId, actions);
|
|
3347
3322
|
};
|
|
3348
3323
|
protoOf(ActionsStateUpdateDto).toString = function () {
|
|
3349
|
-
return 'ActionsStateUpdateDto(roomId=' + this.
|
|
3324
|
+
return 'ActionsStateUpdateDto(roomId=' + this.s9v_1 + ', actions=' + this.actions + ')';
|
|
3350
3325
|
};
|
|
3351
3326
|
protoOf(ActionsStateUpdateDto).hashCode = function () {
|
|
3352
|
-
var result = getStringHashCode(this.
|
|
3327
|
+
var result = getStringHashCode(this.s9v_1);
|
|
3353
3328
|
result = imul(result, 31) + getStringHashCode(this.actions) | 0;
|
|
3354
3329
|
return result;
|
|
3355
3330
|
};
|
|
@@ -3358,7 +3333,7 @@
|
|
|
3358
3333
|
return true;
|
|
3359
3334
|
if (!(other instanceof ActionsStateUpdateDto))
|
|
3360
3335
|
return false;
|
|
3361
|
-
if (!(this.
|
|
3336
|
+
if (!(this.s9v_1 === other.s9v_1))
|
|
3362
3337
|
return false;
|
|
3363
3338
|
if (!(this.actions === other.actions))
|
|
3364
3339
|
return false;
|
|
@@ -3388,42 +3363,42 @@
|
|
|
3388
3363
|
var tmp$ret$0 = mapToDto(item);
|
|
3389
3364
|
destination.j(tmp$ret$0);
|
|
3390
3365
|
}
|
|
3391
|
-
return new ActionsStateUpdateDto(_this__u8e3s4.
|
|
3366
|
+
return new ActionsStateUpdateDto(_this__u8e3s4.t9v_1, encoderDecoderProvider.n8i(destination));
|
|
3392
3367
|
}
|
|
3393
3368
|
function mapToDto_3(_this__u8e3s4, encoderDecoderProvider) {
|
|
3394
|
-
return new TableStateUpdateDto(_this__u8e3s4.
|
|
3369
|
+
return new TableStateUpdateDto(_this__u8e3s4.u9v_1, encoderDecoderProvider.l8i(mapToDto_0(_this__u8e3s4.table)));
|
|
3395
3370
|
}
|
|
3396
3371
|
function ServerStateUpdate() {
|
|
3397
3372
|
}
|
|
3398
3373
|
function TableStateUpdate(roomId, table) {
|
|
3399
|
-
this.
|
|
3374
|
+
this.u9v_1 = roomId;
|
|
3400
3375
|
this.table = table;
|
|
3401
3376
|
}
|
|
3402
|
-
protoOf(TableStateUpdate).
|
|
3403
|
-
return this.
|
|
3377
|
+
protoOf(TableStateUpdate).x8w = function () {
|
|
3378
|
+
return this.u9v_1;
|
|
3404
3379
|
};
|
|
3405
|
-
protoOf(TableStateUpdate).
|
|
3380
|
+
protoOf(TableStateUpdate).p6n = function () {
|
|
3406
3381
|
return this.table;
|
|
3407
3382
|
};
|
|
3408
3383
|
protoOf(TableStateUpdate).ne = function () {
|
|
3409
|
-
return this.
|
|
3384
|
+
return this.u9v_1;
|
|
3410
3385
|
};
|
|
3411
3386
|
protoOf(TableStateUpdate).oe = function () {
|
|
3412
3387
|
return this.table;
|
|
3413
3388
|
};
|
|
3414
|
-
protoOf(TableStateUpdate).
|
|
3389
|
+
protoOf(TableStateUpdate).v9v = function (roomId, table) {
|
|
3415
3390
|
return new TableStateUpdate(roomId, table);
|
|
3416
3391
|
};
|
|
3417
3392
|
protoOf(TableStateUpdate).copy = function (roomId, table, $super) {
|
|
3418
|
-
roomId = roomId === VOID ? this.
|
|
3393
|
+
roomId = roomId === VOID ? this.u9v_1 : roomId;
|
|
3419
3394
|
table = table === VOID ? this.table : table;
|
|
3420
|
-
return $super === VOID ? this.
|
|
3395
|
+
return $super === VOID ? this.v9v(roomId, table) : $super.v9v.call(this, roomId, table);
|
|
3421
3396
|
};
|
|
3422
3397
|
protoOf(TableStateUpdate).toString = function () {
|
|
3423
|
-
return 'TableStateUpdate(roomId=' + this.
|
|
3398
|
+
return 'TableStateUpdate(roomId=' + this.u9v_1 + ', table=' + this.table.toString() + ')';
|
|
3424
3399
|
};
|
|
3425
3400
|
protoOf(TableStateUpdate).hashCode = function () {
|
|
3426
|
-
var result = getStringHashCode(this.
|
|
3401
|
+
var result = getStringHashCode(this.u9v_1);
|
|
3427
3402
|
result = imul(result, 31) + this.table.hashCode() | 0;
|
|
3428
3403
|
return result;
|
|
3429
3404
|
};
|
|
@@ -3432,41 +3407,41 @@
|
|
|
3432
3407
|
return true;
|
|
3433
3408
|
if (!(other instanceof TableStateUpdate))
|
|
3434
3409
|
return false;
|
|
3435
|
-
if (!(this.
|
|
3410
|
+
if (!(this.u9v_1 === other.u9v_1))
|
|
3436
3411
|
return false;
|
|
3437
3412
|
if (!this.table.equals(other.table))
|
|
3438
3413
|
return false;
|
|
3439
3414
|
return true;
|
|
3440
3415
|
};
|
|
3441
3416
|
function ActionsStateUpdate(roomId, actions) {
|
|
3442
|
-
this.
|
|
3417
|
+
this.t9v_1 = roomId;
|
|
3443
3418
|
this.actions = actions;
|
|
3444
3419
|
}
|
|
3445
|
-
protoOf(ActionsStateUpdate).
|
|
3446
|
-
return this.
|
|
3420
|
+
protoOf(ActionsStateUpdate).x8w = function () {
|
|
3421
|
+
return this.t9v_1;
|
|
3447
3422
|
};
|
|
3448
|
-
protoOf(ActionsStateUpdate).
|
|
3423
|
+
protoOf(ActionsStateUpdate).u8b = function () {
|
|
3449
3424
|
return this.actions;
|
|
3450
3425
|
};
|
|
3451
3426
|
protoOf(ActionsStateUpdate).ne = function () {
|
|
3452
|
-
return this.
|
|
3427
|
+
return this.t9v_1;
|
|
3453
3428
|
};
|
|
3454
3429
|
protoOf(ActionsStateUpdate).oe = function () {
|
|
3455
3430
|
return this.actions;
|
|
3456
3431
|
};
|
|
3457
|
-
protoOf(ActionsStateUpdate).
|
|
3432
|
+
protoOf(ActionsStateUpdate).w9v = function (roomId, actions) {
|
|
3458
3433
|
return new ActionsStateUpdate(roomId, actions);
|
|
3459
3434
|
};
|
|
3460
3435
|
protoOf(ActionsStateUpdate).copy = function (roomId, actions, $super) {
|
|
3461
|
-
roomId = roomId === VOID ? this.
|
|
3436
|
+
roomId = roomId === VOID ? this.t9v_1 : roomId;
|
|
3462
3437
|
actions = actions === VOID ? this.actions : actions;
|
|
3463
|
-
return $super === VOID ? this.
|
|
3438
|
+
return $super === VOID ? this.w9v(roomId, actions) : $super.w9v.call(this, roomId, actions);
|
|
3464
3439
|
};
|
|
3465
3440
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
3466
|
-
return 'ActionsStateUpdate(roomId=' + this.
|
|
3441
|
+
return 'ActionsStateUpdate(roomId=' + this.t9v_1 + ', actions=' + toString(this.actions) + ')';
|
|
3467
3442
|
};
|
|
3468
3443
|
protoOf(ActionsStateUpdate).hashCode = function () {
|
|
3469
|
-
var result = getStringHashCode(this.
|
|
3444
|
+
var result = getStringHashCode(this.t9v_1);
|
|
3470
3445
|
result = imul(result, 31) + hashCode(this.actions) | 0;
|
|
3471
3446
|
return result;
|
|
3472
3447
|
};
|
|
@@ -3475,7 +3450,7 @@
|
|
|
3475
3450
|
return true;
|
|
3476
3451
|
if (!(other instanceof ActionsStateUpdate))
|
|
3477
3452
|
return false;
|
|
3478
|
-
if (!(this.
|
|
3453
|
+
if (!(this.t9v_1 === other.t9v_1))
|
|
3479
3454
|
return false;
|
|
3480
3455
|
if (!equals(this.actions, other.actions))
|
|
3481
3456
|
return false;
|
|
@@ -3709,18 +3684,18 @@
|
|
|
3709
3684
|
function ToClientEventsObserver() {
|
|
3710
3685
|
}
|
|
3711
3686
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
3712
|
-
this.
|
|
3713
|
-
this.
|
|
3687
|
+
this.g9w_1 = this$0;
|
|
3688
|
+
this.h9w_1 = $actions;
|
|
3714
3689
|
CoroutineImpl.call(this, resultContinuation);
|
|
3715
3690
|
}
|
|
3716
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3717
|
-
var tmp = this.
|
|
3691
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).k9w = function ($this$flow, $completion) {
|
|
3692
|
+
var tmp = this.l9w($this$flow, $completion);
|
|
3718
3693
|
tmp.t8_1 = Unit_instance;
|
|
3719
3694
|
tmp.u8_1 = null;
|
|
3720
3695
|
return tmp.z8();
|
|
3721
3696
|
};
|
|
3722
3697
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).h9 = function (p1, $completion) {
|
|
3723
|
-
return this.
|
|
3698
|
+
return this.k9w((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
3724
3699
|
};
|
|
3725
3700
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).z8 = function () {
|
|
3726
3701
|
var suspendResult = this.t8_1;
|
|
@@ -3730,19 +3705,19 @@
|
|
|
3730
3705
|
switch (tmp) {
|
|
3731
3706
|
case 0:
|
|
3732
3707
|
this.s8_1 = 4;
|
|
3733
|
-
this.
|
|
3734
|
-
this.
|
|
3708
|
+
this.g9w_1.q9w_1;
|
|
3709
|
+
this.j9w_1 = transformToEmits(this.g9w_1, this.h9w_1).l();
|
|
3735
3710
|
this.r8_1 = 1;
|
|
3736
3711
|
continue $sm;
|
|
3737
3712
|
case 1:
|
|
3738
|
-
if (!this.
|
|
3713
|
+
if (!this.j9w_1.m()) {
|
|
3739
3714
|
this.r8_1 = 3;
|
|
3740
3715
|
continue $sm;
|
|
3741
3716
|
}
|
|
3742
3717
|
|
|
3743
|
-
var element = this.
|
|
3718
|
+
var element = this.j9w_1.n();
|
|
3744
3719
|
this.r8_1 = 2;
|
|
3745
|
-
suspendResult = this.
|
|
3720
|
+
suspendResult = this.i9w_1.l28(element, this);
|
|
3746
3721
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3747
3722
|
return suspendResult;
|
|
3748
3723
|
}
|
|
@@ -3752,11 +3727,11 @@
|
|
|
3752
3727
|
this.r8_1 = 1;
|
|
3753
3728
|
continue $sm;
|
|
3754
3729
|
case 3:
|
|
3755
|
-
var tmp0 = this.
|
|
3730
|
+
var tmp0 = this.g9w_1.p9w_1;
|
|
3756
3731
|
l$ret$1: do {
|
|
3757
3732
|
while (true) {
|
|
3758
3733
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
3759
|
-
var upd = cur - this.
|
|
3734
|
+
var upd = cur - this.h9w_1.o() | 0;
|
|
3760
3735
|
if (tmp0.atomicfu$compareAndSet(cur, upd)) {
|
|
3761
3736
|
break l$ret$1;
|
|
3762
3737
|
}
|
|
@@ -3778,15 +3753,15 @@
|
|
|
3778
3753
|
}
|
|
3779
3754
|
while (true);
|
|
3780
3755
|
};
|
|
3781
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3782
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
3783
|
-
i.
|
|
3756
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).l9w = function ($this$flow, completion) {
|
|
3757
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.g9w_1, this.h9w_1, completion);
|
|
3758
|
+
i.i9w_1 = $this$flow;
|
|
3784
3759
|
return i;
|
|
3785
3760
|
};
|
|
3786
3761
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
3787
3762
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
3788
3763
|
var l = function ($this$flow, $completion) {
|
|
3789
|
-
return i.
|
|
3764
|
+
return i.k9w($this$flow, $completion);
|
|
3790
3765
|
};
|
|
3791
3766
|
l.$arity = 1;
|
|
3792
3767
|
return l;
|
|
@@ -3856,29 +3831,29 @@
|
|
|
3856
3831
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
3857
3832
|
}
|
|
3858
3833
|
function mapFromGroupKey($this, _this__u8e3s4) {
|
|
3859
|
-
var tmp = $this.
|
|
3834
|
+
var tmp = $this.o9w_1.a6e();
|
|
3860
3835
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3861
|
-
var this_0 = _this__u8e3s4.
|
|
3836
|
+
var this_0 = _this__u8e3s4.t9w_1;
|
|
3862
3837
|
var tmp_0 = copyToArray(this_0);
|
|
3863
3838
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3864
|
-
var this_1 = _this__u8e3s4.
|
|
3839
|
+
var this_1 = _this__u8e3s4.u9w_1;
|
|
3865
3840
|
var tmp$ret$1 = copyToArray(this_1);
|
|
3866
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
3841
|
+
return new ActionDeliveryPayload(_this__u8e3s4.s9w_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.v9w_1);
|
|
3867
3842
|
}
|
|
3868
3843
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
3869
|
-
this.
|
|
3870
|
-
this.
|
|
3871
|
-
this.
|
|
3872
|
-
this.
|
|
3844
|
+
this.s9w_1 = tableId;
|
|
3845
|
+
this.t9w_1 = includePlayers;
|
|
3846
|
+
this.u9w_1 = excludePlayers;
|
|
3847
|
+
this.v9w_1 = deliveryType;
|
|
3873
3848
|
}
|
|
3874
3849
|
protoOf(GroupKey).toString = function () {
|
|
3875
|
-
return 'GroupKey(tableId=' + this.
|
|
3850
|
+
return 'GroupKey(tableId=' + this.s9w_1 + ', includePlayers=' + toString(this.t9w_1) + ', excludePlayers=' + toString(this.u9w_1) + ', deliveryType=' + this.v9w_1.toString() + ')';
|
|
3876
3851
|
};
|
|
3877
3852
|
protoOf(GroupKey).hashCode = function () {
|
|
3878
|
-
var result = getStringHashCode(this.
|
|
3879
|
-
result = imul(result, 31) + hashCode(this.
|
|
3880
|
-
result = imul(result, 31) + hashCode(this.
|
|
3881
|
-
result = imul(result, 31) + this.
|
|
3853
|
+
var result = getStringHashCode(this.s9w_1);
|
|
3854
|
+
result = imul(result, 31) + hashCode(this.t9w_1) | 0;
|
|
3855
|
+
result = imul(result, 31) + hashCode(this.u9w_1) | 0;
|
|
3856
|
+
result = imul(result, 31) + this.v9w_1.hashCode() | 0;
|
|
3882
3857
|
return result;
|
|
3883
3858
|
};
|
|
3884
3859
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -3886,35 +3861,35 @@
|
|
|
3886
3861
|
return true;
|
|
3887
3862
|
if (!(other instanceof GroupKey))
|
|
3888
3863
|
return false;
|
|
3889
|
-
if (!(this.
|
|
3864
|
+
if (!(this.s9w_1 === other.s9w_1))
|
|
3890
3865
|
return false;
|
|
3891
|
-
if (!equals(this.
|
|
3866
|
+
if (!equals(this.t9w_1, other.t9w_1))
|
|
3892
3867
|
return false;
|
|
3893
|
-
if (!equals(this.
|
|
3868
|
+
if (!equals(this.u9w_1, other.u9w_1))
|
|
3894
3869
|
return false;
|
|
3895
|
-
if (!this.
|
|
3870
|
+
if (!this.v9w_1.equals(other.v9w_1))
|
|
3896
3871
|
return false;
|
|
3897
3872
|
return true;
|
|
3898
3873
|
};
|
|
3899
3874
|
function Companion_4() {
|
|
3900
|
-
this.
|
|
3875
|
+
this.w9w_1 = 6;
|
|
3901
3876
|
}
|
|
3902
3877
|
var Companion_instance_12;
|
|
3903
3878
|
function Companion_getInstance_5() {
|
|
3904
3879
|
return Companion_instance_12;
|
|
3905
3880
|
}
|
|
3906
3881
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
3907
|
-
this.
|
|
3882
|
+
this.f9x_1 = this$0;
|
|
3908
3883
|
CoroutineImpl.call(this, resultContinuation);
|
|
3909
3884
|
}
|
|
3910
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3911
|
-
var tmp = this.
|
|
3885
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).h9x = function (actions, $completion) {
|
|
3886
|
+
var tmp = this.i9x(actions, $completion);
|
|
3912
3887
|
tmp.t8_1 = Unit_instance;
|
|
3913
3888
|
tmp.u8_1 = null;
|
|
3914
3889
|
return tmp.z8();
|
|
3915
3890
|
};
|
|
3916
3891
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).h9 = function (p1, $completion) {
|
|
3917
|
-
return this.
|
|
3892
|
+
return this.h9x((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
3918
3893
|
};
|
|
3919
3894
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).z8 = function () {
|
|
3920
3895
|
var suspendResult = this.t8_1;
|
|
@@ -3923,7 +3898,7 @@
|
|
|
3923
3898
|
var tmp = this.r8_1;
|
|
3924
3899
|
if (tmp === 0) {
|
|
3925
3900
|
this.s8_1 = 1;
|
|
3926
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
3901
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.f9x_1, this.g9x_1, null));
|
|
3927
3902
|
} else if (tmp === 1) {
|
|
3928
3903
|
throw this.u8_1;
|
|
3929
3904
|
}
|
|
@@ -3933,23 +3908,23 @@
|
|
|
3933
3908
|
}
|
|
3934
3909
|
while (true);
|
|
3935
3910
|
};
|
|
3936
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3937
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
3938
|
-
i.
|
|
3911
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).i9x = function (actions, completion) {
|
|
3912
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.f9x_1, completion);
|
|
3913
|
+
i.g9x_1 = actions;
|
|
3939
3914
|
return i;
|
|
3940
3915
|
};
|
|
3941
3916
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
3942
3917
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
3943
3918
|
var l = function (actions, $completion) {
|
|
3944
|
-
return i.
|
|
3919
|
+
return i.h9x(actions, $completion);
|
|
3945
3920
|
};
|
|
3946
3921
|
l.$arity = 1;
|
|
3947
3922
|
return l;
|
|
3948
3923
|
}
|
|
3949
3924
|
function $sentEventCOROUTINE$(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
3950
3925
|
CoroutineImpl.call(this, resultContinuation);
|
|
3951
|
-
this.
|
|
3952
|
-
this.
|
|
3926
|
+
this.r9x_1 = _this__u8e3s4;
|
|
3927
|
+
this.s9x_1 = fromEvent;
|
|
3953
3928
|
}
|
|
3954
3929
|
protoOf($sentEventCOROUTINE$).z8 = function () {
|
|
3955
3930
|
var suspendResult = this.t8_1;
|
|
@@ -3959,8 +3934,8 @@
|
|
|
3959
3934
|
switch (tmp) {
|
|
3960
3935
|
case 0:
|
|
3961
3936
|
this.s8_1 = 2;
|
|
3962
|
-
this.
|
|
3963
|
-
var tmp0 = this.
|
|
3937
|
+
this.r9x_1.q9w_1;
|
|
3938
|
+
var tmp0 = this.r9x_1.p9w_1;
|
|
3964
3939
|
l$ret$1: do {
|
|
3965
3940
|
while (true) {
|
|
3966
3941
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
@@ -3972,7 +3947,7 @@
|
|
|
3972
3947
|
}
|
|
3973
3948
|
while (false);
|
|
3974
3949
|
this.r8_1 = 1;
|
|
3975
|
-
suspendResult = this.
|
|
3950
|
+
suspendResult = this.r9x_1.r9w_1.l28(this.s9x_1, this);
|
|
3976
3951
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3977
3952
|
return suspendResult;
|
|
3978
3953
|
}
|
|
@@ -3996,7 +3971,7 @@
|
|
|
3996
3971
|
};
|
|
3997
3972
|
function $waitForCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
3998
3973
|
CoroutineImpl.call(this, resultContinuation);
|
|
3999
|
-
this.
|
|
3974
|
+
this.b9y_1 = _this__u8e3s4;
|
|
4000
3975
|
}
|
|
4001
3976
|
protoOf($waitForCOROUTINE$).z8 = function () {
|
|
4002
3977
|
var suspendResult = this.t8_1;
|
|
@@ -4006,12 +3981,12 @@
|
|
|
4006
3981
|
switch (tmp) {
|
|
4007
3982
|
case 0:
|
|
4008
3983
|
this.s8_1 = 5;
|
|
4009
|
-
this.
|
|
4010
|
-
this.
|
|
3984
|
+
this.b9y_1.q9w_1;
|
|
3985
|
+
this.c9y_1 = 0;
|
|
4011
3986
|
this.r8_1 = 1;
|
|
4012
3987
|
continue $sm;
|
|
4013
3988
|
case 1:
|
|
4014
|
-
if (!!(this.
|
|
3989
|
+
if (!!(this.b9y_1.p9w_1.kotlinx$atomicfu$value === 0)) {
|
|
4015
3990
|
this.r8_1 = 4;
|
|
4016
3991
|
continue $sm;
|
|
4017
3992
|
}
|
|
@@ -4024,9 +3999,9 @@
|
|
|
4024
3999
|
|
|
4025
4000
|
continue $sm;
|
|
4026
4001
|
case 2:
|
|
4027
|
-
this.
|
|
4028
|
-
if (this.
|
|
4029
|
-
this.
|
|
4002
|
+
this.c9y_1 = this.c9y_1 + 1 | 0;
|
|
4003
|
+
if (this.c9y_1 > 6) {
|
|
4004
|
+
this.b9y_1.n9w_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.b9y_1.p9w_1.kotlinx$atomicfu$value);
|
|
4030
4005
|
this.r8_1 = 4;
|
|
4031
4006
|
continue $sm;
|
|
4032
4007
|
} else {
|
|
@@ -4054,183 +4029,183 @@
|
|
|
4054
4029
|
while (true);
|
|
4055
4030
|
};
|
|
4056
4031
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
4057
|
-
this.
|
|
4058
|
-
this.
|
|
4059
|
-
this.
|
|
4060
|
-
this.
|
|
4032
|
+
this.m9w_1 = serverReduxConfig;
|
|
4033
|
+
this.n9w_1 = logger;
|
|
4034
|
+
this.o9w_1 = idsProvider;
|
|
4035
|
+
this.p9w_1 = atomic$ref$1(0);
|
|
4061
4036
|
var tmp = this;
|
|
4062
4037
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
4063
|
-
tmp.
|
|
4064
|
-
this.
|
|
4038
|
+
tmp.q9w_1 = get_atomicfu$reentrantLock();
|
|
4039
|
+
this.r9w_1 = MutableSharedFlow();
|
|
4065
4040
|
}
|
|
4066
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4041
|
+
protoOf(ToClientEventsObserverImpl).x9v = function (fromEvent, $completion) {
|
|
4067
4042
|
var tmp = new $sentEventCOROUTINE$(this, fromEvent, $completion);
|
|
4068
4043
|
tmp.t8_1 = Unit_instance;
|
|
4069
4044
|
tmp.u8_1 = null;
|
|
4070
4045
|
return tmp.z8();
|
|
4071
4046
|
};
|
|
4072
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4047
|
+
protoOf(ToClientEventsObserverImpl).t96 = function ($completion) {
|
|
4073
4048
|
var tmp = new $waitForCOROUTINE$(this, $completion);
|
|
4074
4049
|
tmp.t8_1 = Unit_instance;
|
|
4075
4050
|
tmp.u8_1 = null;
|
|
4076
4051
|
return tmp.z8();
|
|
4077
4052
|
};
|
|
4078
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4079
|
-
if (!this.
|
|
4080
|
-
return this.
|
|
4053
|
+
protoOf(ToClientEventsObserverImpl).l9m = function () {
|
|
4054
|
+
if (!this.m9w_1.enabledCombinedEvents) {
|
|
4055
|
+
return this.r9w_1;
|
|
4081
4056
|
}
|
|
4082
|
-
var tmp = windowedByInterval(this.
|
|
4057
|
+
var tmp = windowedByInterval(this.r9w_1, fromInt(this.m9w_1.combinedEventsIntervalMillis));
|
|
4083
4058
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
4084
4059
|
};
|
|
4085
4060
|
function UpdateServerConfigAction(serverConfig) {
|
|
4086
|
-
this.
|
|
4061
|
+
this.d9y_1 = serverConfig;
|
|
4087
4062
|
}
|
|
4088
4063
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
4089
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
4064
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.d9y_1.toString() + ')';
|
|
4090
4065
|
};
|
|
4091
4066
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
4092
|
-
return this.
|
|
4067
|
+
return this.d9y_1.hashCode();
|
|
4093
4068
|
};
|
|
4094
4069
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
4095
4070
|
if (this === other)
|
|
4096
4071
|
return true;
|
|
4097
4072
|
if (!(other instanceof UpdateServerConfigAction))
|
|
4098
4073
|
return false;
|
|
4099
|
-
if (!this.
|
|
4074
|
+
if (!this.d9y_1.equals(other.d9y_1))
|
|
4100
4075
|
return false;
|
|
4101
4076
|
return true;
|
|
4102
4077
|
};
|
|
4103
4078
|
function SpectatorsAction() {
|
|
4104
4079
|
}
|
|
4105
4080
|
function AddSpectatorsAction(spectators) {
|
|
4106
|
-
this.
|
|
4081
|
+
this.e9y_1 = spectators;
|
|
4107
4082
|
}
|
|
4108
4083
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
4109
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
4084
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.e9y_1) + ')';
|
|
4110
4085
|
};
|
|
4111
4086
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
4112
|
-
return hashCode(this.
|
|
4087
|
+
return hashCode(this.e9y_1);
|
|
4113
4088
|
};
|
|
4114
4089
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
4115
4090
|
if (this === other)
|
|
4116
4091
|
return true;
|
|
4117
4092
|
if (!(other instanceof AddSpectatorsAction))
|
|
4118
4093
|
return false;
|
|
4119
|
-
if (!equals(this.
|
|
4094
|
+
if (!equals(this.e9y_1, other.e9y_1))
|
|
4120
4095
|
return false;
|
|
4121
4096
|
return true;
|
|
4122
4097
|
};
|
|
4123
4098
|
function RemoveSpectatorsAction(spectators) {
|
|
4124
|
-
this.
|
|
4099
|
+
this.f9y_1 = spectators;
|
|
4125
4100
|
}
|
|
4126
4101
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
4127
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
4102
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.f9y_1) + ')';
|
|
4128
4103
|
};
|
|
4129
4104
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
4130
|
-
return hashCode(this.
|
|
4105
|
+
return hashCode(this.f9y_1);
|
|
4131
4106
|
};
|
|
4132
4107
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
4133
4108
|
if (this === other)
|
|
4134
4109
|
return true;
|
|
4135
4110
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
4136
4111
|
return false;
|
|
4137
|
-
if (!equals(this.
|
|
4112
|
+
if (!equals(this.f9y_1, other.f9y_1))
|
|
4138
4113
|
return false;
|
|
4139
4114
|
return true;
|
|
4140
4115
|
};
|
|
4141
4116
|
function _get_asyncProvider__jbpyhw($this) {
|
|
4142
|
-
var tmp0 = $this.
|
|
4117
|
+
var tmp0 = $this.l9y_1;
|
|
4143
4118
|
var tmp = KProperty1;
|
|
4144
4119
|
// Inline function 'kotlin.getValue' call
|
|
4145
4120
|
getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
|
|
4146
4121
|
return tmp0.w();
|
|
4147
4122
|
}
|
|
4148
|
-
function
|
|
4149
|
-
var tmp0 = $this.
|
|
4123
|
+
function _get_logger__rkp4sl($this) {
|
|
4124
|
+
var tmp0 = $this.m9y_1;
|
|
4150
4125
|
var tmp = KProperty1;
|
|
4151
4126
|
// Inline function 'kotlin.getValue' call
|
|
4152
4127
|
getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
|
|
4153
4128
|
return tmp0.w();
|
|
4154
4129
|
}
|
|
4155
4130
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
4156
|
-
var tmp0 = $this.
|
|
4131
|
+
var tmp0 = $this.n9y_1;
|
|
4157
4132
|
var tmp = KProperty1;
|
|
4158
4133
|
// Inline function 'kotlin.getValue' call
|
|
4159
4134
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
|
|
4160
4135
|
return tmp0.w();
|
|
4161
4136
|
}
|
|
4162
4137
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
4163
|
-
var tmp0 = $this.
|
|
4138
|
+
var tmp0 = $this.o9y_1;
|
|
4164
4139
|
var tmp = KProperty1;
|
|
4165
4140
|
// Inline function 'kotlin.getValue' call
|
|
4166
4141
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
|
|
4167
4142
|
return tmp0.w();
|
|
4168
4143
|
}
|
|
4169
4144
|
function _get_serverConfig__rk2g06($this) {
|
|
4170
|
-
var tmp0 = $this.
|
|
4145
|
+
var tmp0 = $this.p9y_1;
|
|
4171
4146
|
var tmp = KProperty1;
|
|
4172
4147
|
// Inline function 'kotlin.getValue' call
|
|
4173
4148
|
getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
|
|
4174
4149
|
return tmp0.w();
|
|
4175
4150
|
}
|
|
4176
4151
|
function _get_logicConfig__52ww9d($this) {
|
|
4177
|
-
var tmp0 = $this.
|
|
4152
|
+
var tmp0 = $this.q9y_1;
|
|
4178
4153
|
var tmp = KProperty1;
|
|
4179
4154
|
// Inline function 'kotlin.getValue' call
|
|
4180
4155
|
getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
|
|
4181
4156
|
return tmp0.w();
|
|
4182
4157
|
}
|
|
4183
4158
|
function _get_idsProvider__fnfajc_0($this) {
|
|
4184
|
-
var tmp0 = $this.
|
|
4159
|
+
var tmp0 = $this.r9y_1;
|
|
4185
4160
|
var tmp = KProperty1;
|
|
4186
4161
|
// Inline function 'kotlin.getValue' call
|
|
4187
4162
|
getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
|
|
4188
4163
|
return tmp0.w();
|
|
4189
4164
|
}
|
|
4190
4165
|
function _get_botConfig__cpaxzc($this) {
|
|
4191
|
-
var tmp0 = $this.
|
|
4166
|
+
var tmp0 = $this.s9y_1;
|
|
4192
4167
|
var tmp = KProperty1;
|
|
4193
4168
|
// Inline function 'kotlin.getValue' call
|
|
4194
4169
|
getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
|
|
4195
4170
|
return tmp0.w();
|
|
4196
4171
|
}
|
|
4197
4172
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
4198
|
-
var tmp0 = $this.
|
|
4173
|
+
var tmp0 = $this.t9y_1;
|
|
4199
4174
|
var tmp = KProperty1;
|
|
4200
4175
|
// Inline function 'kotlin.getValue' call
|
|
4201
4176
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
|
|
4202
4177
|
return tmp0.w();
|
|
4203
4178
|
}
|
|
4204
4179
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
4205
|
-
var tmp0 = $this.
|
|
4180
|
+
var tmp0 = $this.u9y_1;
|
|
4206
4181
|
var tmp = KProperty1;
|
|
4207
4182
|
// Inline function 'kotlin.getValue' call
|
|
4208
4183
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
|
|
4209
4184
|
return tmp0.w();
|
|
4210
4185
|
}
|
|
4211
4186
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
4212
|
-
var tmp0 = $this.
|
|
4187
|
+
var tmp0 = $this.v9y_1;
|
|
4213
4188
|
var tmp = KProperty1;
|
|
4214
4189
|
// Inline function 'kotlin.getValue' call
|
|
4215
4190
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
|
|
4216
4191
|
return tmp0.w();
|
|
4217
4192
|
}
|
|
4218
4193
|
function _get_dealerConfig__183ci8($this) {
|
|
4219
|
-
var tmp0 = $this.
|
|
4194
|
+
var tmp0 = $this.w9y_1;
|
|
4220
4195
|
var tmp = KProperty1;
|
|
4221
4196
|
// Inline function 'kotlin.getValue' call
|
|
4222
4197
|
getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
|
|
4223
4198
|
return tmp0.w();
|
|
4224
4199
|
}
|
|
4225
4200
|
function _get_poolProvider__tqti6a($this) {
|
|
4226
|
-
var tmp0 = $this.
|
|
4201
|
+
var tmp0 = $this.x9y_1;
|
|
4227
4202
|
var tmp = KProperty1;
|
|
4228
4203
|
// Inline function 'kotlin.getValue' call
|
|
4229
4204
|
getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
|
|
4230
4205
|
return tmp0.w();
|
|
4231
4206
|
}
|
|
4232
4207
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
4233
|
-
var tmp0 = $this.
|
|
4208
|
+
var tmp0 = $this.y9y_1;
|
|
4234
4209
|
var tmp = KProperty1;
|
|
4235
4210
|
// Inline function 'kotlin.getValue' call
|
|
4236
4211
|
getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
|
|
@@ -4251,12 +4226,12 @@
|
|
|
4251
4226
|
}
|
|
4252
4227
|
function ServerGameStoreContract$_get_logger_$ref_zbgw28() {
|
|
4253
4228
|
return function (p0) {
|
|
4254
|
-
return
|
|
4229
|
+
return _get_logger__rkp4sl(p0);
|
|
4255
4230
|
};
|
|
4256
4231
|
}
|
|
4257
4232
|
function ServerGameStoreContract$_get_logger_$ref_zbgw28_0() {
|
|
4258
4233
|
return function (p0) {
|
|
4259
|
-
return
|
|
4234
|
+
return _get_logger__rkp4sl(p0);
|
|
4260
4235
|
};
|
|
4261
4236
|
}
|
|
4262
4237
|
function ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8() {
|
|
@@ -4394,11 +4369,11 @@
|
|
|
4394
4369
|
tmp = fileLoggerStoreContract;
|
|
4395
4370
|
}
|
|
4396
4371
|
fileLoggerStoreContract = tmp;
|
|
4397
|
-
this.
|
|
4398
|
-
this.
|
|
4399
|
-
this.
|
|
4400
|
-
this.
|
|
4401
|
-
this.
|
|
4372
|
+
this.g9y_1 = validationStoreContract;
|
|
4373
|
+
this.h9y_1 = timersStoreContract;
|
|
4374
|
+
this.i9y_1 = botGameStoreContract;
|
|
4375
|
+
this.j9y_1 = gameMechanicStoreContract;
|
|
4376
|
+
this.k9y_1 = fileLoggerStoreContract;
|
|
4402
4377
|
var tmp_0 = this;
|
|
4403
4378
|
// Inline function 'org.kodein.di.instance' call
|
|
4404
4379
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4406,7 +4381,7 @@
|
|
|
4406
4381
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
4407
4382
|
var tmp_2 = Instance(di, tmp$ret$0, null);
|
|
4408
4383
|
var tmp_3 = KProperty1;
|
|
4409
|
-
tmp_0.
|
|
4384
|
+
tmp_0.l9y_1 = tmp_2.u64(this, getPropertyCallableRef('asyncProvider', 1, tmp_3, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
|
|
4410
4385
|
var tmp_4 = this;
|
|
4411
4386
|
// Inline function 'org.kodein.di.instance' call
|
|
4412
4387
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4414,7 +4389,7 @@
|
|
|
4414
4389
|
var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
4415
4390
|
var tmp_6 = Instance(di, tmp$ret$2, null);
|
|
4416
4391
|
var tmp_7 = KProperty1;
|
|
4417
|
-
tmp_4.
|
|
4392
|
+
tmp_4.m9y_1 = tmp_6.u64(this, getPropertyCallableRef('logger', 1, tmp_7, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
|
|
4418
4393
|
var tmp_8 = this;
|
|
4419
4394
|
// Inline function 'org.kodein.di.instance' call
|
|
4420
4395
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4422,7 +4397,7 @@
|
|
|
4422
4397
|
var tmp$ret$4 = isInterface(tmp_9, TypeToken) ? tmp_9 : THROW_CCE();
|
|
4423
4398
|
var tmp_10 = Instance(di, tmp$ret$4, null);
|
|
4424
4399
|
var tmp_11 = KProperty1;
|
|
4425
|
-
tmp_8.
|
|
4400
|
+
tmp_8.n9y_1 = tmp_10.u64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_11, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
|
|
4426
4401
|
var tmp_12 = this;
|
|
4427
4402
|
// Inline function 'org.kodein.di.instance' call
|
|
4428
4403
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4430,7 +4405,7 @@
|
|
|
4430
4405
|
var tmp$ret$6 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
4431
4406
|
var tmp_14 = Instance(di, tmp$ret$6, null);
|
|
4432
4407
|
var tmp_15 = KProperty1;
|
|
4433
|
-
tmp_12.
|
|
4408
|
+
tmp_12.o9y_1 = tmp_14.u64(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_15, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
|
|
4434
4409
|
var tmp_16 = this;
|
|
4435
4410
|
// Inline function 'org.kodein.di.instance' call
|
|
4436
4411
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4438,7 +4413,7 @@
|
|
|
4438
4413
|
var tmp$ret$8 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
4439
4414
|
var tmp_18 = Instance(di, tmp$ret$8, null);
|
|
4440
4415
|
var tmp_19 = KProperty1;
|
|
4441
|
-
tmp_16.
|
|
4416
|
+
tmp_16.p9y_1 = tmp_18.u64(this, getPropertyCallableRef('serverConfig', 1, tmp_19, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
|
|
4442
4417
|
var tmp_20 = this;
|
|
4443
4418
|
// Inline function 'org.kodein.di.instance' call
|
|
4444
4419
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4446,7 +4421,7 @@
|
|
|
4446
4421
|
var tmp$ret$10 = isInterface(tmp_21, TypeToken) ? tmp_21 : THROW_CCE();
|
|
4447
4422
|
var tmp_22 = Instance(di, tmp$ret$10, null);
|
|
4448
4423
|
var tmp_23 = KProperty1;
|
|
4449
|
-
tmp_20.
|
|
4424
|
+
tmp_20.q9y_1 = tmp_22.u64(this, getPropertyCallableRef('logicConfig', 1, tmp_23, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
|
|
4450
4425
|
var tmp_24 = this;
|
|
4451
4426
|
// Inline function 'org.kodein.di.instance' call
|
|
4452
4427
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4454,7 +4429,7 @@
|
|
|
4454
4429
|
var tmp$ret$12 = isInterface(tmp_25, TypeToken) ? tmp_25 : THROW_CCE();
|
|
4455
4430
|
var tmp_26 = Instance(di, tmp$ret$12, null);
|
|
4456
4431
|
var tmp_27 = KProperty1;
|
|
4457
|
-
tmp_24.
|
|
4432
|
+
tmp_24.r9y_1 = tmp_26.u64(this, getPropertyCallableRef('idsProvider', 1, tmp_27, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
|
|
4458
4433
|
var tmp_28 = this;
|
|
4459
4434
|
// Inline function 'org.kodein.di.instance' call
|
|
4460
4435
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4462,7 +4437,7 @@
|
|
|
4462
4437
|
var tmp$ret$14 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
|
|
4463
4438
|
var tmp_30 = Instance(di, tmp$ret$14, null);
|
|
4464
4439
|
var tmp_31 = KProperty1;
|
|
4465
|
-
tmp_28.
|
|
4440
|
+
tmp_28.s9y_1 = tmp_30.u64(this, getPropertyCallableRef('botConfig', 1, tmp_31, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
|
|
4466
4441
|
var tmp_32 = this;
|
|
4467
4442
|
// Inline function 'org.kodein.di.instance' call
|
|
4468
4443
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4470,7 +4445,7 @@
|
|
|
4470
4445
|
var tmp$ret$16 = isInterface(tmp_33, TypeToken) ? tmp_33 : THROW_CCE();
|
|
4471
4446
|
var tmp_34 = Instance(di, tmp$ret$16, null);
|
|
4472
4447
|
var tmp_35 = KProperty1;
|
|
4473
|
-
tmp_32.
|
|
4448
|
+
tmp_32.t9y_1 = tmp_34.u64(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_35, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
|
|
4474
4449
|
var tmp_36 = this;
|
|
4475
4450
|
// Inline function 'org.kodein.di.instance' call
|
|
4476
4451
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4478,7 +4453,7 @@
|
|
|
4478
4453
|
var tmp$ret$18 = isInterface(tmp_37, TypeToken) ? tmp_37 : THROW_CCE();
|
|
4479
4454
|
var tmp_38 = Instance(di, tmp$ret$18, null);
|
|
4480
4455
|
var tmp_39 = KProperty1;
|
|
4481
|
-
tmp_36.
|
|
4456
|
+
tmp_36.u9y_1 = tmp_38.u64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_39, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
|
|
4482
4457
|
var tmp_40 = this;
|
|
4483
4458
|
// Inline function 'org.kodein.di.instance' call
|
|
4484
4459
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4486,7 +4461,7 @@
|
|
|
4486
4461
|
var tmp$ret$20 = isInterface(tmp_41, TypeToken) ? tmp_41 : THROW_CCE();
|
|
4487
4462
|
var tmp_42 = Instance(di, tmp$ret$20, null);
|
|
4488
4463
|
var tmp_43 = KProperty1;
|
|
4489
|
-
tmp_40.
|
|
4464
|
+
tmp_40.v9y_1 = tmp_42.u64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_43, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
|
|
4490
4465
|
var tmp_44 = this;
|
|
4491
4466
|
// Inline function 'org.kodein.di.instance' call
|
|
4492
4467
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4494,7 +4469,7 @@
|
|
|
4494
4469
|
var tmp$ret$22 = isInterface(tmp_45, TypeToken) ? tmp_45 : THROW_CCE();
|
|
4495
4470
|
var tmp_46 = Instance(di, tmp$ret$22, null);
|
|
4496
4471
|
var tmp_47 = KProperty1;
|
|
4497
|
-
tmp_44.
|
|
4472
|
+
tmp_44.w9y_1 = tmp_46.u64(this, getPropertyCallableRef('dealerConfig', 1, tmp_47, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
|
|
4498
4473
|
var tmp_48 = this;
|
|
4499
4474
|
// Inline function 'org.kodein.di.instance' call
|
|
4500
4475
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4502,7 +4477,7 @@
|
|
|
4502
4477
|
var tmp$ret$24 = isInterface(tmp_49, TypeToken) ? tmp_49 : THROW_CCE();
|
|
4503
4478
|
var tmp_50 = Instance(di, tmp$ret$24, null);
|
|
4504
4479
|
var tmp_51 = KProperty1;
|
|
4505
|
-
tmp_48.
|
|
4480
|
+
tmp_48.x9y_1 = tmp_50.u64(this, getPropertyCallableRef('poolProvider', 1, tmp_51, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
|
|
4506
4481
|
var tmp_52 = this;
|
|
4507
4482
|
// Inline function 'org.kodein.di.instance' call
|
|
4508
4483
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4510,16 +4485,16 @@
|
|
|
4510
4485
|
var tmp$ret$26 = isInterface(tmp_53, TypeToken) ? tmp_53 : THROW_CCE();
|
|
4511
4486
|
var tmp_54 = Instance(di, tmp$ret$26, null);
|
|
4512
4487
|
var tmp_55 = KProperty1;
|
|
4513
|
-
tmp_52.
|
|
4488
|
+
tmp_52.y9y_1 = tmp_54.u64(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_55, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
|
|
4514
4489
|
}
|
|
4515
|
-
protoOf(ServerGameStoreContract).
|
|
4516
|
-
return plus(plus(plus(plus(plus(this.
|
|
4490
|
+
protoOf(ServerGameStoreContract).h8y = function () {
|
|
4491
|
+
return plus(plus(plus(plus(plus(this.g9y_1.h8y(), this.j9y_1.h8y()), this.h9y_1.h8y()), this.i9y_1.h8y()), this.k9y_1.h8y()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl(this))]));
|
|
4517
4492
|
};
|
|
4518
|
-
protoOf(ServerGameStoreContract).
|
|
4519
|
-
var tmp = plus(plus(plus(plus(plus(plus(plus(this.
|
|
4520
|
-
var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this),
|
|
4493
|
+
protoOf(ServerGameStoreContract).i8y = function () {
|
|
4494
|
+
var tmp = plus(plus(plus(plus(plus(plus(plus(this.g9y_1.i8y(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameWhenNotLiveStrategy.equals(FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance()) ? checkBotsMiddleware(_get_logger__rkp4sl(this)) : null)), this.j9y_1.i8y()), this.h9y_1.i8y()), this.i9y_1.i8y()), this.k9y_1.i8y()), listOfNotNull_0([playerConnectionUpdateMiddleware(_get_playerConnectionInteractor__si6cxf_0(this)), playerReconnectionWaitingTimerTickMiddleware(_get_playerConnectionInteractor__si6cxf_0(this))])), listOfNotNull_0([sendFromClientEventsMiddleware(_get_asyncProvider__jbpyhw(this), _get_fromClientEventsObserver__a7vzd3_0(this)), sendToClientActionMiddleware(_get_asyncProvider__jbpyhw(this), _get_toClientEventsObserver__6rp51y_0(this)), (new ServerMapMechanicToClientActionMiddleware(_get_logicConfig__52ww9d(this), _get_idsProvider__fnfajc_0(this))).o90(), finishingGameWhenCantStartNewMiddleware()]));
|
|
4495
|
+
var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this), _get_logger__rkp4sl(this));
|
|
4521
4496
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
4522
|
-
var tmp1_logger =
|
|
4497
|
+
var tmp1_logger = _get_logger__rkp4sl(this);
|
|
4523
4498
|
var tmp2_asyncProvider = _get_asyncProvider__jbpyhw(this);
|
|
4524
4499
|
var tmp_1 = playerTurnTimeoutWhenHostMiddleware(tmp0_serverConfig, tmp2_asyncProvider, tmp1_logger);
|
|
4525
4500
|
var tmp_2 = clearOnFinishMiddleware(_get_asyncProvider__jbpyhw(this), listOf_0(_get_toClientEventsObserver__6rp51y_0(this)));
|
|
@@ -4543,46 +4518,46 @@
|
|
|
4543
4518
|
}
|
|
4544
4519
|
function finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1() {
|
|
4545
4520
|
}
|
|
4546
|
-
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).
|
|
4521
|
+
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).y6f = function (action) {
|
|
4547
4522
|
return action instanceof RoundEndedAction;
|
|
4548
4523
|
};
|
|
4549
|
-
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).
|
|
4524
|
+
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).n6h = function (store, next, action) {
|
|
4550
4525
|
var tmp4 = action instanceof RoundEndedAction ? action : THROW_CCE();
|
|
4551
4526
|
$l$block_0: {
|
|
4552
4527
|
next(tmp4);
|
|
4553
4528
|
var state = store.state;
|
|
4554
4529
|
if (tmp4.isGameFinished) {
|
|
4555
4530
|
if (!get_serverStatePayload_0(state).config.canStartNewGame) {
|
|
4556
|
-
store.dispatch(Companion_instance.fromTableWithAnalytics(new GameFinishedReason(Reason_DEPLOY_getInstance()), true, state.
|
|
4531
|
+
store.dispatch(Companion_instance.fromTableWithAnalytics(new GameFinishedReason(Reason_DEPLOY_getInstance()), true, state.o6m_1));
|
|
4557
4532
|
break $l$block_0;
|
|
4558
4533
|
}
|
|
4559
|
-
if (state.
|
|
4560
|
-
store.dispatch(Companion_instance.fromTableWithAnalytics(new GameFinishedReason(Reason_REVENGED_getInstance()), true, state.
|
|
4534
|
+
if (state.p6n().config.mode.equals(RoomMode_REVENGE_getInstance())) {
|
|
4535
|
+
store.dispatch(Companion_instance.fromTableWithAnalytics(new GameFinishedReason(Reason_REVENGED_getInstance()), true, state.o6m_1));
|
|
4561
4536
|
break $l$block_0;
|
|
4562
4537
|
}
|
|
4563
4538
|
}
|
|
4564
4539
|
}
|
|
4565
4540
|
};
|
|
4566
|
-
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).
|
|
4567
|
-
return this.
|
|
4541
|
+
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).x6f = function (store, next, action) {
|
|
4542
|
+
return this.n6h(store, next, action);
|
|
4568
4543
|
};
|
|
4569
4544
|
function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
|
|
4570
|
-
this.
|
|
4545
|
+
this.b9z_1 = this$0;
|
|
4571
4546
|
}
|
|
4572
|
-
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).
|
|
4547
|
+
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).y6f = function (action) {
|
|
4573
4548
|
return action instanceof MechanicAction;
|
|
4574
4549
|
};
|
|
4575
|
-
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).
|
|
4550
|
+
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).n6h = function (store, next, action) {
|
|
4576
4551
|
var action_0 = action instanceof MechanicAction ? action : THROW_CCE();
|
|
4577
4552
|
var state = store.state;
|
|
4578
4553
|
// Inline function 'kotlin.with' call
|
|
4579
4554
|
var tmp;
|
|
4580
4555
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
4581
|
-
var tmp0 = this.
|
|
4582
|
-
var tmp2 = action_0.
|
|
4583
|
-
var tmp4 = action_0.
|
|
4556
|
+
var tmp0 = this.b9z_1;
|
|
4557
|
+
var tmp2 = action_0.s8u_1;
|
|
4558
|
+
var tmp4 = action_0.u8u_1;
|
|
4584
4559
|
// Inline function 'kotlin.collections.map' call
|
|
4585
|
-
var this_0 = action_0.
|
|
4560
|
+
var this_0 = action_0.v8u_1;
|
|
4586
4561
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4587
4562
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
4588
4563
|
var _iterator__ex2g4s = this_0.l();
|
|
@@ -4618,7 +4593,7 @@
|
|
|
4618
4593
|
var _iterator__ex2g4s_2 = destination_1.l();
|
|
4619
4594
|
while (_iterator__ex2g4s_2.m()) {
|
|
4620
4595
|
var element_0 = _iterator__ex2g4s_2.n();
|
|
4621
|
-
var tmp0_aid = tmp0.
|
|
4596
|
+
var tmp0_aid = tmp0.a9z_1.a6e();
|
|
4622
4597
|
// Inline function 'kotlin.collections.map' call
|
|
4623
4598
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4624
4599
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -4640,16 +4615,16 @@
|
|
|
4640
4615
|
tmp = destination_2;
|
|
4641
4616
|
} else {
|
|
4642
4617
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
4643
|
-
var tmp0_0 = this.
|
|
4618
|
+
var tmp0_0 = this.b9z_1;
|
|
4644
4619
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4645
|
-
var table = state.
|
|
4646
|
-
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.
|
|
4620
|
+
var table = state.p6n();
|
|
4621
|
+
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.a9z_1.a6e(), table.id, null);
|
|
4647
4622
|
var tmp$ret$21 = mapToClient_16(action_0, sendToPlayer_0);
|
|
4648
4623
|
tmp = listOfNotNull(tmp$ret$21);
|
|
4649
4624
|
} else {
|
|
4650
4625
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
4651
|
-
var tmp0_1 = this.
|
|
4652
|
-
var tmp2_0 = action_0.
|
|
4626
|
+
var tmp0_1 = this.b9z_1;
|
|
4627
|
+
var tmp2_0 = action_0.y8u_1.id;
|
|
4653
4628
|
var tmp4_0 = action_0.gameCreatorPlayerId;
|
|
4654
4629
|
// Inline function 'kotlin.collections.map' call
|
|
4655
4630
|
var this_1 = action_0.users;
|
|
@@ -4688,7 +4663,7 @@
|
|
|
4688
4663
|
var _iterator__ex2g4s_7 = destination_6.l();
|
|
4689
4664
|
while (_iterator__ex2g4s_7.m()) {
|
|
4690
4665
|
var element_2 = _iterator__ex2g4s_7.n();
|
|
4691
|
-
var tmp0_aid_0 = tmp0_1.
|
|
4666
|
+
var tmp0_aid_0 = tmp0_1.a9z_1.a6e();
|
|
4692
4667
|
// Inline function 'kotlin.collections.map' call
|
|
4693
4668
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4694
4669
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -4710,41 +4685,41 @@
|
|
|
4710
4685
|
tmp = destination_7;
|
|
4711
4686
|
} else {
|
|
4712
4687
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
4713
|
-
var tmp0_2 = this.
|
|
4688
|
+
var tmp0_2 = this.b9z_1;
|
|
4714
4689
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4715
|
-
var table_0 = state.
|
|
4716
|
-
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.
|
|
4690
|
+
var table_0 = state.p6n();
|
|
4691
|
+
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.a9z_1.a6e(), table_0.id, null);
|
|
4717
4692
|
var tmp$ret$44 = mapToClient_14(action_0, sendToPlayer_2);
|
|
4718
4693
|
tmp = listOfNotNull(tmp$ret$44);
|
|
4719
4694
|
} else {
|
|
4720
4695
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
4721
|
-
var tmp0_3 = this.
|
|
4696
|
+
var tmp0_3 = this.b9z_1;
|
|
4722
4697
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4723
|
-
var table_1 = state.
|
|
4724
|
-
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.
|
|
4698
|
+
var table_1 = state.p6n();
|
|
4699
|
+
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.a9z_1.a6e(), table_1.id, null);
|
|
4725
4700
|
var tmp$ret$46 = mapToClient_13(action_0, sendToPlayer_3);
|
|
4726
4701
|
tmp = listOfNotNull(tmp$ret$46);
|
|
4727
4702
|
} else {
|
|
4728
4703
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
4729
|
-
var tmp0_4 = this.
|
|
4704
|
+
var tmp0_4 = this.b9z_1;
|
|
4730
4705
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4731
|
-
var table_2 = state.
|
|
4732
|
-
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.
|
|
4706
|
+
var table_2 = state.p6n();
|
|
4707
|
+
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.a9z_1.a6e(), table_2.id, null);
|
|
4733
4708
|
var tmp$ret$48 = mapToClient_12(action_0, sendToPlayer_4);
|
|
4734
4709
|
tmp = listOfNotNull(tmp$ret$48);
|
|
4735
4710
|
} else {
|
|
4736
4711
|
if (action_0 instanceof ErrorAction) {
|
|
4737
|
-
var tmp0_5 = this.
|
|
4712
|
+
var tmp0_5 = this.b9z_1;
|
|
4738
4713
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4739
|
-
var table_3 = state.
|
|
4740
|
-
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.
|
|
4714
|
+
var table_3 = state.p6n();
|
|
4715
|
+
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.a9z_1.a6e(), table_3.id, null);
|
|
4741
4716
|
var tmp$ret$50 = mapToClient_11(action_0, sendToPlayer_5);
|
|
4742
4717
|
tmp = listOfNotNull(tmp$ret$50);
|
|
4743
4718
|
} else {
|
|
4744
4719
|
if (action_0 instanceof SceneMechanicAction) {
|
|
4745
|
-
var tmp0_6 = this.
|
|
4720
|
+
var tmp0_6 = this.b9z_1;
|
|
4746
4721
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4747
|
-
var table_4 = state.
|
|
4722
|
+
var table_4 = state.p6n();
|
|
4748
4723
|
var tmp2_1 = table_4.id;
|
|
4749
4724
|
var tmp4_1 = getGameCreator(table_4.players).playerId;
|
|
4750
4725
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -4775,7 +4750,7 @@
|
|
|
4775
4750
|
var _iterator__ex2g4s_11 = destination_10.l();
|
|
4776
4751
|
while (_iterator__ex2g4s_11.m()) {
|
|
4777
4752
|
var element_4 = _iterator__ex2g4s_11.n();
|
|
4778
|
-
var tmp0_aid_1 = tmp0_6.
|
|
4753
|
+
var tmp0_aid_1 = tmp0_6.a9z_1.a6e();
|
|
4779
4754
|
// Inline function 'kotlin.collections.map' call
|
|
4780
4755
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4781
4756
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -4797,9 +4772,9 @@
|
|
|
4797
4772
|
tmp = destination_11;
|
|
4798
4773
|
} else {
|
|
4799
4774
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
4800
|
-
var tmp0_7 = this.
|
|
4775
|
+
var tmp0_7 = this.b9z_1;
|
|
4801
4776
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4802
|
-
var table_5 = state.
|
|
4777
|
+
var table_5 = state.p6n();
|
|
4803
4778
|
var tmp2_2 = table_5.id;
|
|
4804
4779
|
var tmp4_2 = getGameCreator(table_5.players).playerId;
|
|
4805
4780
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -4830,7 +4805,7 @@
|
|
|
4830
4805
|
var _iterator__ex2g4s_15 = destination_14.l();
|
|
4831
4806
|
while (_iterator__ex2g4s_15.m()) {
|
|
4832
4807
|
var element_6 = _iterator__ex2g4s_15.n();
|
|
4833
|
-
var tmp0_aid_2 = tmp0_7.
|
|
4808
|
+
var tmp0_aid_2 = tmp0_7.a9z_1.a6e();
|
|
4834
4809
|
// Inline function 'kotlin.collections.map' call
|
|
4835
4810
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4836
4811
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -4852,9 +4827,9 @@
|
|
|
4852
4827
|
tmp = destination_15;
|
|
4853
4828
|
} else {
|
|
4854
4829
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
4855
|
-
var tmp0_8 = this.
|
|
4830
|
+
var tmp0_8 = this.b9z_1;
|
|
4856
4831
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4857
|
-
var table_6 = state.
|
|
4832
|
+
var table_6 = state.p6n();
|
|
4858
4833
|
var tmp2_3 = table_6.id;
|
|
4859
4834
|
var tmp4_3 = getGameCreator(table_6.players).playerId;
|
|
4860
4835
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -4885,7 +4860,7 @@
|
|
|
4885
4860
|
var _iterator__ex2g4s_19 = destination_18.l();
|
|
4886
4861
|
while (_iterator__ex2g4s_19.m()) {
|
|
4887
4862
|
var element_8 = _iterator__ex2g4s_19.n();
|
|
4888
|
-
var tmp0_aid_3 = tmp0_8.
|
|
4863
|
+
var tmp0_aid_3 = tmp0_8.a9z_1.a6e();
|
|
4889
4864
|
// Inline function 'kotlin.collections.map' call
|
|
4890
4865
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4891
4866
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -4897,7 +4872,7 @@
|
|
|
4897
4872
|
}
|
|
4898
4873
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_3, tmp4_3, element_8, destination_20);
|
|
4899
4874
|
var tmp_0;
|
|
4900
|
-
if (this.
|
|
4875
|
+
if (this.b9z_1.z9y_1.supportBackwardActions && getPlayer(state.p6n().players, sendToPlayer_8.d7b_1).s6q_1.h6u_1) {
|
|
4901
4876
|
tmp_0 = null;
|
|
4902
4877
|
} else {
|
|
4903
4878
|
tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
|
|
@@ -4913,72 +4888,72 @@
|
|
|
4913
4888
|
tmp = destination_19;
|
|
4914
4889
|
} else {
|
|
4915
4890
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
4916
|
-
var tmp0_9 = this.
|
|
4917
|
-
var tmp2_4 = state.
|
|
4891
|
+
var tmp0_9 = this.b9z_1;
|
|
4892
|
+
var tmp2_4 = state.p6n();
|
|
4918
4893
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4919
|
-
var exceptPlayerId = this.
|
|
4920
|
-
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.
|
|
4894
|
+
var exceptPlayerId = this.b9z_1.z9y_1.supportBackwardActions ? action_0.t8v_1 : null;
|
|
4895
|
+
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.a9z_1.a6e(), tmp2_4.id, exceptPlayerId);
|
|
4921
4896
|
var tmp$ret$109 = mapToClient_7(action_0, sendToPlayer_9);
|
|
4922
4897
|
tmp = listOfNotNull(tmp$ret$109);
|
|
4923
4898
|
} else {
|
|
4924
4899
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
4925
|
-
var tmp0_10 = this.
|
|
4926
|
-
var tmp2_5 = state.
|
|
4900
|
+
var tmp0_10 = this.b9z_1;
|
|
4901
|
+
var tmp2_5 = state.p6n();
|
|
4927
4902
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4928
|
-
var exceptPlayerId_0 = this.
|
|
4929
|
-
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.
|
|
4903
|
+
var exceptPlayerId_0 = this.b9z_1.z9y_1.supportBackwardActions ? action_0.v8q_1 : null;
|
|
4904
|
+
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.a9z_1.a6e(), tmp2_5.id, exceptPlayerId_0);
|
|
4930
4905
|
var tmp$ret$111 = mapToClient_6(action_0, sendToPlayer_10);
|
|
4931
4906
|
tmp = listOfNotNull(tmp$ret$111);
|
|
4932
4907
|
} else {
|
|
4933
4908
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
4934
|
-
var tmp0_11 = this.
|
|
4909
|
+
var tmp0_11 = this.b9z_1;
|
|
4935
4910
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4936
|
-
var table_7 = state.
|
|
4937
|
-
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.
|
|
4911
|
+
var table_7 = state.p6n();
|
|
4912
|
+
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.a9z_1.a6e(), table_7.id, null);
|
|
4938
4913
|
var tmp$ret$113 = mapToClient_5(action_0, sendToPlayer_11);
|
|
4939
4914
|
tmp = listOfNotNull(tmp$ret$113);
|
|
4940
4915
|
} else {
|
|
4941
4916
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
4942
|
-
var tmp0_12 = this.
|
|
4943
|
-
var tmp2_6 = state.
|
|
4917
|
+
var tmp0_12 = this.b9z_1;
|
|
4918
|
+
var tmp2_6 = state.p6n();
|
|
4944
4919
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4945
|
-
var exceptPlayerId_1 = this.
|
|
4946
|
-
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.
|
|
4920
|
+
var exceptPlayerId_1 = this.b9z_1.z9y_1.supportBackwardActions ? action_0.z8v_1 : null;
|
|
4921
|
+
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.a9z_1.a6e(), tmp2_6.id, exceptPlayerId_1);
|
|
4947
4922
|
var tmp$ret$115 = mapToClient_4(action_0, sendToPlayer_12);
|
|
4948
4923
|
tmp = listOfNotNull(tmp$ret$115);
|
|
4949
4924
|
} else {
|
|
4950
4925
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
4951
|
-
var tmp0_13 = this.
|
|
4952
|
-
var tmp2_7 = state.
|
|
4926
|
+
var tmp0_13 = this.b9z_1;
|
|
4927
|
+
var tmp2_7 = state.p6n();
|
|
4953
4928
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4954
|
-
var exceptPlayerId_2 = this.
|
|
4955
|
-
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.
|
|
4929
|
+
var exceptPlayerId_2 = this.b9z_1.z9y_1.supportBackwardActions ? action_0.a8r_1 : null;
|
|
4930
|
+
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.a9z_1.a6e(), tmp2_7.id, exceptPlayerId_2);
|
|
4956
4931
|
var tmp$ret$117 = mapToClient_3(action_0, sendToPlayer_13);
|
|
4957
4932
|
tmp = listOfNotNull(tmp$ret$117);
|
|
4958
4933
|
} else {
|
|
4959
4934
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
4960
|
-
var tmp0_14 = this.
|
|
4935
|
+
var tmp0_14 = this.b9z_1;
|
|
4961
4936
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4962
|
-
var table_8 = state.
|
|
4963
|
-
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.
|
|
4937
|
+
var table_8 = state.p6n();
|
|
4938
|
+
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.a9z_1.a6e(), table_8.id, null);
|
|
4964
4939
|
var tmp$ret$119 = mapToClient_2(action_0, sendToPlayer_14);
|
|
4965
4940
|
tmp = listOfNotNull(tmp$ret$119);
|
|
4966
4941
|
} else {
|
|
4967
4942
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
4968
|
-
var tmp0_15 = this.
|
|
4943
|
+
var tmp0_15 = this.b9z_1;
|
|
4969
4944
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4970
|
-
var table_9 = state.
|
|
4971
|
-
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.
|
|
4945
|
+
var table_9 = state.p6n();
|
|
4946
|
+
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.a9z_1.a6e(), table_9.id, null);
|
|
4972
4947
|
var tmp$ret$121 = mapToClient_1(action_0, sendToPlayer_15);
|
|
4973
4948
|
tmp = listOfNotNull(tmp$ret$121);
|
|
4974
4949
|
} else {
|
|
4975
4950
|
if (action_0 instanceof MessageMechanicAction) {
|
|
4976
|
-
var message = action_0.
|
|
4977
|
-
var tmp0_16 = this.
|
|
4978
|
-
var tmp2_8 = state.
|
|
4951
|
+
var message = action_0.d8w_1;
|
|
4952
|
+
var tmp0_16 = this.b9z_1;
|
|
4953
|
+
var tmp2_8 = state.p6n();
|
|
4979
4954
|
var tmp_1;
|
|
4980
4955
|
var tmp_2;
|
|
4981
|
-
if (this.
|
|
4956
|
+
if (this.b9z_1.z9y_1.supportBackwardActions) {
|
|
4982
4957
|
tmp_2 = isInterface(message, UserMessage);
|
|
4983
4958
|
} else {
|
|
4984
4959
|
tmp_2 = false;
|
|
@@ -4990,16 +4965,16 @@
|
|
|
4990
4965
|
}
|
|
4991
4966
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4992
4967
|
var exceptPlayerId_3 = tmp_1;
|
|
4993
|
-
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.
|
|
4968
|
+
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.a9z_1.a6e(), tmp2_8.id, exceptPlayerId_3);
|
|
4994
4969
|
var tmp$ret$123 = mapToClient_0(action_0, sendToPlayer_16);
|
|
4995
4970
|
tmp = listOfNotNull(tmp$ret$123);
|
|
4996
4971
|
} else {
|
|
4997
4972
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
4998
|
-
var tmp0_17 = this.
|
|
4999
|
-
var tmp2_9 = state.
|
|
4973
|
+
var tmp0_17 = this.b9z_1;
|
|
4974
|
+
var tmp2_9 = state.p6n();
|
|
5000
4975
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5001
4976
|
var exceptPlayerId_4 = action_0.playerId;
|
|
5002
|
-
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.
|
|
4977
|
+
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.a9z_1.a6e(), tmp2_9.id, exceptPlayerId_4);
|
|
5003
4978
|
var tmp$ret$125 = mapToClient(action_0, sendToPlayer_17);
|
|
5004
4979
|
tmp = listOfNotNull(tmp$ret$125);
|
|
5005
4980
|
} else {
|
|
@@ -5032,14 +5007,14 @@
|
|
|
5032
5007
|
}
|
|
5033
5008
|
next(action_0);
|
|
5034
5009
|
};
|
|
5035
|
-
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).
|
|
5036
|
-
return this.
|
|
5010
|
+
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).x6f = function (store, next, action) {
|
|
5011
|
+
return this.n6h(store, next, action);
|
|
5037
5012
|
};
|
|
5038
5013
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
5039
|
-
this.
|
|
5040
|
-
this.
|
|
5014
|
+
this.z9y_1 = logicConfig;
|
|
5015
|
+
this.a9z_1 = idsProvider;
|
|
5041
5016
|
}
|
|
5042
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
5017
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).o90 = function () {
|
|
5043
5018
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
5044
5019
|
return new ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this);
|
|
5045
5020
|
};
|
|
@@ -5048,8 +5023,8 @@
|
|
|
5048
5023
|
return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
|
|
5049
5024
|
}
|
|
5050
5025
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
5051
|
-
this.
|
|
5052
|
-
this.
|
|
5026
|
+
this.k9z_1 = $provider;
|
|
5027
|
+
this.l9z_1 = $action;
|
|
5053
5028
|
CoroutineImpl.call(this, resultContinuation);
|
|
5054
5029
|
}
|
|
5055
5030
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -5070,7 +5045,7 @@
|
|
|
5070
5045
|
case 0:
|
|
5071
5046
|
this.s8_1 = 2;
|
|
5072
5047
|
this.r8_1 = 1;
|
|
5073
|
-
suspendResult = this.
|
|
5048
|
+
suspendResult = this.k9z_1.x9v(this.l9z_1, this);
|
|
5074
5049
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5075
5050
|
return suspendResult;
|
|
5076
5051
|
}
|
|
@@ -5093,8 +5068,8 @@
|
|
|
5093
5068
|
while (true);
|
|
5094
5069
|
};
|
|
5095
5070
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).a2d = function ($this$launchDefault, completion) {
|
|
5096
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
5097
|
-
i.
|
|
5071
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.k9z_1, this.l9z_1, completion);
|
|
5072
|
+
i.m9z_1 = $this$launchDefault;
|
|
5098
5073
|
return i;
|
|
5099
5074
|
};
|
|
5100
5075
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -5106,19 +5081,19 @@
|
|
|
5106
5081
|
return l;
|
|
5107
5082
|
}
|
|
5108
5083
|
function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
|
|
5109
|
-
this.
|
|
5110
|
-
this.
|
|
5084
|
+
this.n9z_1 = $asyncProvider;
|
|
5085
|
+
this.o9z_1 = $provider;
|
|
5111
5086
|
}
|
|
5112
|
-
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).
|
|
5087
|
+
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).y6f = function (action) {
|
|
5113
5088
|
return action instanceof ToClientAction;
|
|
5114
5089
|
};
|
|
5115
|
-
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).
|
|
5090
|
+
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).n6h = function (store, next, action) {
|
|
5116
5091
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
5117
|
-
this.
|
|
5092
|
+
this.n9z_1.f6c(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.o9z_1, action_0, null));
|
|
5118
5093
|
next(action_0);
|
|
5119
5094
|
};
|
|
5120
|
-
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).
|
|
5121
|
-
return this.
|
|
5095
|
+
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).x6f = function (store, next, action) {
|
|
5096
|
+
return this.n6h(store, next, action);
|
|
5122
5097
|
};
|
|
5123
5098
|
function serverConfigReducer() {
|
|
5124
5099
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
@@ -5126,15 +5101,15 @@
|
|
|
5126
5101
|
}
|
|
5127
5102
|
function serverConfigReducer$$inlined$reducerForActionType$1() {
|
|
5128
5103
|
}
|
|
5129
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
5104
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).y6f = function (action) {
|
|
5130
5105
|
return action instanceof UpdateServerConfigAction;
|
|
5131
5106
|
};
|
|
5132
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
5107
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).k98 = function (state, action) {
|
|
5133
5108
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
5134
|
-
return state.
|
|
5109
|
+
return state.t8t(VOID, get_serverStatePayload_0(state).copy(action_0.d9y_1));
|
|
5135
5110
|
};
|
|
5136
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
5137
|
-
return this.
|
|
5111
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).o6h = function (state, action) {
|
|
5112
|
+
return this.k98((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5138
5113
|
};
|
|
5139
5114
|
function ServerMechanicLifecycleReducer$onStart$lambda($action) {
|
|
5140
5115
|
return function (it) {
|
|
@@ -5147,7 +5122,7 @@
|
|
|
5147
5122
|
var tmp_2 = PlayerConnectionState_LIVE_getInstance();
|
|
5148
5123
|
Companion_getInstance();
|
|
5149
5124
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
5150
|
-
var this_0 = $action.
|
|
5125
|
+
var this_0 = $action.r8u_1.timeoutTimeMillis;
|
|
5151
5126
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
5152
5127
|
tmp_0 = tmp_1.j67(tmp_2, tmp$ret$0);
|
|
5153
5128
|
}
|
|
@@ -5156,63 +5131,63 @@
|
|
|
5156
5131
|
}
|
|
5157
5132
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
5158
5133
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
5159
|
-
this.
|
|
5134
|
+
this.r9z_1 = logger;
|
|
5160
5135
|
}
|
|
5161
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5136
|
+
protoOf(ServerMechanicLifecycleReducer).w99 = function (state, action) {
|
|
5162
5137
|
var serverState = get_serverStatePayloadOrNull(state.payload);
|
|
5163
5138
|
var tmp8_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5164
|
-
var tmp0_$this = this.
|
|
5165
|
-
var tmp1_tableId = action.
|
|
5166
|
-
var tmp2_gameId = action.
|
|
5167
|
-
var tmp3_version = action.
|
|
5168
|
-
var tmp4_config = action.
|
|
5169
|
-
var tmp5_users = action.
|
|
5139
|
+
var tmp0_$this = this.x99_1;
|
|
5140
|
+
var tmp1_tableId = action.s8u_1;
|
|
5141
|
+
var tmp2_gameId = action.s8u_1;
|
|
5142
|
+
var tmp3_version = action.t8u_1;
|
|
5143
|
+
var tmp4_config = action.r8u_1;
|
|
5144
|
+
var tmp5_users = action.v8u_1;
|
|
5170
5145
|
var tmp6_spectators = action.spectators;
|
|
5171
|
-
var tmp7_gameCreatorPlayerId = action.
|
|
5172
|
-
var tmp9_tableOrNull = tmp0_$this.
|
|
5146
|
+
var tmp7_gameCreatorPlayerId = action.u8u_1;
|
|
5147
|
+
var tmp9_tableOrNull = tmp0_$this.d9b(tmp1_tableId, tmp2_gameId, tmp4_config, tmp3_version, tmp5_users, tmp6_spectators, tmp7_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
|
|
5173
5148
|
var tmp;
|
|
5174
5149
|
if (serverState == null) {
|
|
5175
|
-
this.
|
|
5150
|
+
this.r9z_1.w(VOID, 'ServerPayload is not onStart');
|
|
5176
5151
|
tmp = Companion_instance_13.initial();
|
|
5177
5152
|
} else {
|
|
5178
5153
|
tmp = serverState;
|
|
5179
5154
|
}
|
|
5180
5155
|
var tmp10_payload = tmp;
|
|
5181
|
-
return state.
|
|
5156
|
+
return state.t8t(tmp9_tableOrNull, tmp10_payload, tmp8_gameLifecycleState);
|
|
5182
5157
|
};
|
|
5183
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5158
|
+
protoOf(ServerMechanicLifecycleReducer).u99 = function (state, action) {
|
|
5184
5159
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5185
|
-
var tmp2_tableOrNull = action.
|
|
5160
|
+
var tmp2_tableOrNull = action.y8u_1;
|
|
5186
5161
|
var tmp = Companion_instance_13;
|
|
5187
5162
|
var tmp_0 = get_serverStatePayload_0(state).config;
|
|
5188
|
-
var tmp_1 = action.
|
|
5163
|
+
var tmp_1 = action.z8u_1;
|
|
5189
5164
|
var tmp0_safe_receiver = tmp_1 instanceof RestartRoundReason ? tmp_1 : null;
|
|
5190
5165
|
var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.d65_1));
|
|
5191
|
-
return state.
|
|
5166
|
+
return state.t8t(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
|
|
5192
5167
|
};
|
|
5193
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5194
|
-
this.
|
|
5168
|
+
protoOf(ServerMechanicLifecycleReducer).v99 = function (state, action) {
|
|
5169
|
+
this.y99_1.l58(action.previousGameId);
|
|
5195
5170
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5196
|
-
var tmp1_tableOrNull = this.
|
|
5197
|
-
return state.
|
|
5171
|
+
var tmp1_tableOrNull = this.x99_1.e9b(state.p6n(), action.gameId);
|
|
5172
|
+
return state.t8t(tmp1_tableOrNull, VOID, tmp0_gameLifecycleState);
|
|
5198
5173
|
};
|
|
5199
5174
|
function spectatorsReducer(logger) {
|
|
5200
5175
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
5201
5176
|
return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
|
|
5202
5177
|
}
|
|
5203
5178
|
function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
|
|
5204
|
-
this.
|
|
5179
|
+
this.s9z_1 = $logger;
|
|
5205
5180
|
}
|
|
5206
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
5181
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).y6f = function (action) {
|
|
5207
5182
|
return isInterface(action, SpectatorsAction);
|
|
5208
5183
|
};
|
|
5209
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
5184
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).k98 = function (state, action) {
|
|
5210
5185
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
5211
|
-
var table = state.
|
|
5186
|
+
var table = state.p6n();
|
|
5212
5187
|
var tmp;
|
|
5213
5188
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
5214
5189
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5215
|
-
var tmp0 = action_0.
|
|
5190
|
+
var tmp0 = action_0.e9y_1;
|
|
5216
5191
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5217
5192
|
var destination = ArrayList_init_$Create$_0();
|
|
5218
5193
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5231,9 +5206,9 @@
|
|
|
5231
5206
|
var tmp_0;
|
|
5232
5207
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5233
5208
|
if (!sameSpectators.r()) {
|
|
5234
|
-
this.
|
|
5209
|
+
this.s9z_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
5235
5210
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5236
|
-
var tmp0_0 = action_0.
|
|
5211
|
+
var tmp0_0 = action_0.e9y_1;
|
|
5237
5212
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5238
5213
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
5239
5214
|
var _iterator__ex2g4s_0 = tmp0_0.l();
|
|
@@ -5268,7 +5243,7 @@
|
|
|
5268
5243
|
}
|
|
5269
5244
|
tmp_0 = destination_0;
|
|
5270
5245
|
} else {
|
|
5271
|
-
tmp_0 = action_0.
|
|
5246
|
+
tmp_0 = action_0.e9y_1;
|
|
5272
5247
|
}
|
|
5273
5248
|
// Inline function 'kotlin.collections.map' call
|
|
5274
5249
|
var this_0 = tmp_0;
|
|
@@ -5281,11 +5256,11 @@
|
|
|
5281
5256
|
destination_1.j(tmp$ret$13);
|
|
5282
5257
|
}
|
|
5283
5258
|
var spectatorsToAdd = toSet(destination_1);
|
|
5284
|
-
tmp = state.
|
|
5259
|
+
tmp = state.t8t(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
|
|
5285
5260
|
} else {
|
|
5286
5261
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
5287
5262
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5288
|
-
var tmp0_1 = action_0.
|
|
5263
|
+
var tmp0_1 = action_0.f9y_1;
|
|
5289
5264
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5290
5265
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
5291
5266
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5304,9 +5279,9 @@
|
|
|
5304
5279
|
var tmp_2;
|
|
5305
5280
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5306
5281
|
if (!sameSpectators_0.r()) {
|
|
5307
|
-
this.
|
|
5282
|
+
this.s9z_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
5308
5283
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5309
|
-
var tmp0_2 = action_0.
|
|
5284
|
+
var tmp0_2 = action_0.f9y_1;
|
|
5310
5285
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5311
5286
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
5312
5287
|
var _iterator__ex2g4s_4 = tmp0_2.l();
|
|
@@ -5341,7 +5316,7 @@
|
|
|
5341
5316
|
}
|
|
5342
5317
|
tmp_2 = destination_3;
|
|
5343
5318
|
} else {
|
|
5344
|
-
tmp_2 = action_0.
|
|
5319
|
+
tmp_2 = action_0.f9y_1;
|
|
5345
5320
|
}
|
|
5346
5321
|
var spectatorsToRemove = toSet(tmp_2);
|
|
5347
5322
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -5378,24 +5353,24 @@
|
|
|
5378
5353
|
destination_4.j(element_5);
|
|
5379
5354
|
}
|
|
5380
5355
|
}
|
|
5381
|
-
tmp = state.
|
|
5356
|
+
tmp = state.t8t(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
|
|
5382
5357
|
} else {
|
|
5383
5358
|
noWhenBranchMatchedException();
|
|
5384
5359
|
}
|
|
5385
5360
|
}
|
|
5386
5361
|
return tmp;
|
|
5387
5362
|
};
|
|
5388
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
5389
|
-
return this.
|
|
5363
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).o6h = function (state, action) {
|
|
5364
|
+
return this.k98((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5390
5365
|
};
|
|
5391
5366
|
function Companion_5() {
|
|
5392
5367
|
}
|
|
5393
|
-
protoOf(Companion_5).
|
|
5368
|
+
protoOf(Companion_5).t9z = function (config) {
|
|
5394
5369
|
return new ServerStatePayload(config);
|
|
5395
5370
|
};
|
|
5396
5371
|
protoOf(Companion_5).initial = function (config, $super) {
|
|
5397
5372
|
config = config === VOID ? Companion_instance_8.initial(null) : config;
|
|
5398
|
-
return $super === VOID ? this.
|
|
5373
|
+
return $super === VOID ? this.t9z(config) : $super.t9z.call(this, config);
|
|
5399
5374
|
};
|
|
5400
5375
|
var Companion_instance_13;
|
|
5401
5376
|
function Companion_getInstance_6() {
|
|
@@ -5410,12 +5385,12 @@
|
|
|
5410
5385
|
protoOf(ServerStatePayload).ne = function () {
|
|
5411
5386
|
return this.config;
|
|
5412
5387
|
};
|
|
5413
|
-
protoOf(ServerStatePayload).
|
|
5388
|
+
protoOf(ServerStatePayload).u9z = function (config) {
|
|
5414
5389
|
return new ServerStatePayload(config);
|
|
5415
5390
|
};
|
|
5416
5391
|
protoOf(ServerStatePayload).copy = function (config, $super) {
|
|
5417
5392
|
config = config === VOID ? this.config : config;
|
|
5418
|
-
return $super === VOID ? this.
|
|
5393
|
+
return $super === VOID ? this.u9z(config) : $super.u9z.call(this, config);
|
|
5419
5394
|
};
|
|
5420
5395
|
protoOf(ServerStatePayload).toString = function () {
|
|
5421
5396
|
return 'ServerStatePayload(config=' + this.config.toString() + ')';
|
|
@@ -5459,12 +5434,12 @@
|
|
|
5459
5434
|
return new ServerLoggerKey(_this__u8e3s4.gameId);
|
|
5460
5435
|
}
|
|
5461
5436
|
function serverLoggerKeyFromPayload(_this__u8e3s4, payload) {
|
|
5462
|
-
var gameId = Companion_instance_3.
|
|
5437
|
+
var gameId = Companion_instance_3.f9d(payload);
|
|
5463
5438
|
var tmp;
|
|
5464
5439
|
if (!(gameId == null)) {
|
|
5465
5440
|
tmp = new ServerLoggerKey(gameId);
|
|
5466
5441
|
} else {
|
|
5467
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
5442
|
+
var tmp0_safe_receiver = _this__u8e3s4.o6m_1;
|
|
5468
5443
|
tmp = tmp0_safe_receiver == null ? null : get_serverLoggerKey(tmp0_safe_receiver);
|
|
5469
5444
|
}
|
|
5470
5445
|
return tmp;
|
|
@@ -5475,15 +5450,15 @@
|
|
|
5475
5450
|
randomOrgConfig = randomOrgConfig === VOID ? new RandomOrgConfig() : randomOrgConfig;
|
|
5476
5451
|
return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
|
|
5477
5452
|
}
|
|
5478
|
-
function
|
|
5479
|
-
var tmp0 = $this.
|
|
5453
|
+
function _get_logger__rkp4sl_0($this) {
|
|
5454
|
+
var tmp0 = $this.ea0_1;
|
|
5480
5455
|
var tmp = KProperty1;
|
|
5481
5456
|
// Inline function 'kotlin.getValue' call
|
|
5482
5457
|
getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
|
|
5483
5458
|
return tmp0.w();
|
|
5484
5459
|
}
|
|
5485
5460
|
function _get_di__ndbzja($this) {
|
|
5486
|
-
var tmp0 = $this.
|
|
5461
|
+
var tmp0 = $this.fa0_1;
|
|
5487
5462
|
var tmp = KProperty1;
|
|
5488
5463
|
// Inline function 'kotlin.getValue' call
|
|
5489
5464
|
getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
|
|
@@ -5500,8 +5475,8 @@
|
|
|
5500
5475
|
}
|
|
5501
5476
|
function createCallbackOutput($this, gameServer) {
|
|
5502
5477
|
var tmp;
|
|
5503
|
-
if (!($this.
|
|
5504
|
-
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.
|
|
5478
|
+
if (!($this.ca0_1 == null)) {
|
|
5479
|
+
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.ca0_1);
|
|
5505
5480
|
tmp = new CallbackWrapperLoggerOutput(tmp_0, GameServerEngineControllerImpl$createCallbackOutput$lambda(gameServer));
|
|
5506
5481
|
} else {
|
|
5507
5482
|
tmp = null;
|
|
@@ -5515,11 +5490,11 @@
|
|
|
5515
5490
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
5516
5491
|
return function () {
|
|
5517
5492
|
var tmp;
|
|
5518
|
-
if (this$0.
|
|
5493
|
+
if (this$0.ca0_1 == null) {
|
|
5519
5494
|
tmp = null;
|
|
5520
5495
|
} else {
|
|
5521
5496
|
// Inline function 'kotlin.let' call
|
|
5522
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
5497
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.ca0_1)]));
|
|
5523
5498
|
}
|
|
5524
5499
|
var tmp1_elvis_lhs = tmp;
|
|
5525
5500
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -5527,12 +5502,12 @@
|
|
|
5527
5502
|
}
|
|
5528
5503
|
function GameServerEngineControllerImpl$_get_logger_$ref_b9j0th() {
|
|
5529
5504
|
return function (p0) {
|
|
5530
|
-
return
|
|
5505
|
+
return _get_logger__rkp4sl_0(p0);
|
|
5531
5506
|
};
|
|
5532
5507
|
}
|
|
5533
5508
|
function GameServerEngineControllerImpl$di$delegate$lambda$lambda$lambda(this$0) {
|
|
5534
5509
|
return function ($this$provider) {
|
|
5535
|
-
return
|
|
5510
|
+
return _get_logger__rkp4sl_0(this$0);
|
|
5536
5511
|
};
|
|
5537
5512
|
}
|
|
5538
5513
|
function GameServerEngineControllerImpl$di$delegate$lambda$lambda(this$0) {
|
|
@@ -5552,7 +5527,7 @@
|
|
|
5552
5527
|
tmp_0.x62(tmp$ret$3);
|
|
5553
5528
|
$this$DI.b5z(jsonModule());
|
|
5554
5529
|
$this$DI.b5z(serverHelpersModule());
|
|
5555
|
-
$this$DI.b5z(randomOrgModule(this$0.
|
|
5530
|
+
$this$DI.b5z(randomOrgModule(this$0.da0_1));
|
|
5556
5531
|
return Unit_instance;
|
|
5557
5532
|
};
|
|
5558
5533
|
}
|
|
@@ -5628,16 +5603,16 @@
|
|
|
5628
5603
|
};
|
|
5629
5604
|
}
|
|
5630
5605
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
5631
|
-
this.
|
|
5606
|
+
this.ma0_1 = $reducer;
|
|
5632
5607
|
}
|
|
5633
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
5608
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).y6f = function (action) {
|
|
5634
5609
|
return isInterface(action, Action);
|
|
5635
5610
|
};
|
|
5636
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
5637
|
-
return this.
|
|
5611
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).k98 = function (state, action) {
|
|
5612
|
+
return this.ma0_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
5638
5613
|
};
|
|
5639
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
5640
|
-
return this.
|
|
5614
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).o6h = function (state, action) {
|
|
5615
|
+
return this.k98((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5641
5616
|
};
|
|
5642
5617
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($gameServer) {
|
|
5643
5618
|
return function () {
|
|
@@ -5717,14 +5692,14 @@
|
|
|
5717
5692
|
}
|
|
5718
5693
|
function GameServerEngineControllerImpl$createCallbackOutput$lambda($gameServer) {
|
|
5719
5694
|
return function (it) {
|
|
5720
|
-
var payload = Companion_instance_5.
|
|
5695
|
+
var payload = Companion_instance_5.r9b(it);
|
|
5721
5696
|
var tmp;
|
|
5722
5697
|
if (!(payload == null)) {
|
|
5723
5698
|
return payload;
|
|
5724
5699
|
}
|
|
5725
5700
|
var tmp0_safe_receiver = $gameServer();
|
|
5726
5701
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.s66();
|
|
5727
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
5702
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.o6m_1;
|
|
5728
5703
|
return tmp2_safe_receiver == null ? null : toLoggerPayload(tmp2_safe_receiver);
|
|
5729
5704
|
};
|
|
5730
5705
|
}
|
|
@@ -5738,7 +5713,7 @@
|
|
|
5738
5713
|
// Inline function 'kotlin.let' call
|
|
5739
5714
|
$this$DI.b5z(tmp0_safe_receiver);
|
|
5740
5715
|
}
|
|
5741
|
-
$this$DI.b5z(dealerModule(this$0.randomPoolProvider, this$0.
|
|
5716
|
+
$this$DI.b5z(dealerModule(this$0.randomPoolProvider, this$0.da0_1));
|
|
5742
5717
|
$this$DI.b5z(coreModule($coreConfig));
|
|
5743
5718
|
$this$DI.b5z(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $ratingConfig, $externalReducers, $externalMiddlewares));
|
|
5744
5719
|
return Unit_instance;
|
|
@@ -5747,13 +5722,13 @@
|
|
|
5747
5722
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
5748
5723
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
5749
5724
|
production = production === VOID ? true : production;
|
|
5750
|
-
this.
|
|
5751
|
-
this.
|
|
5752
|
-
AppEnvironment_getInstance().
|
|
5725
|
+
this.ca0_1 = loggerCallback;
|
|
5726
|
+
this.da0_1 = randomOrgConfig;
|
|
5727
|
+
AppEnvironment_getInstance().v6l(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
|
|
5753
5728
|
var tmp = this;
|
|
5754
|
-
tmp.
|
|
5729
|
+
tmp.ea0_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
5755
5730
|
var tmp_0 = this;
|
|
5756
|
-
tmp_0.
|
|
5731
|
+
tmp_0.fa0_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
5757
5732
|
var tmp_1 = this;
|
|
5758
5733
|
// Inline function 'org.kodein.di.instance' call
|
|
5759
5734
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -5762,7 +5737,7 @@
|
|
|
5762
5737
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5763
5738
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
5764
5739
|
var tmp_4 = KProperty1;
|
|
5765
|
-
tmp_1.
|
|
5740
|
+
tmp_1.ga0_1 = tmp_3.u64(this, getPropertyCallableRef('parser', 1, tmp_4, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
|
|
5766
5741
|
var tmp_5 = this;
|
|
5767
5742
|
// Inline function 'org.kodein.di.instance' call
|
|
5768
5743
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -5771,7 +5746,7 @@
|
|
|
5771
5746
|
var tmp$ret$2 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
5772
5747
|
var tmp_7 = Instance(this_1, tmp$ret$2, null);
|
|
5773
5748
|
var tmp_8 = KProperty1;
|
|
5774
|
-
tmp_5.
|
|
5749
|
+
tmp_5.ha0_1 = tmp_7.u64(this, getPropertyCallableRef('helper', 1, tmp_8, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
|
|
5775
5750
|
var tmp_9 = this;
|
|
5776
5751
|
// Inline function 'org.kodein.di.instance' call
|
|
5777
5752
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -5780,7 +5755,7 @@
|
|
|
5780
5755
|
var tmp$ret$4 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
5781
5756
|
var tmp_11 = Instance(this_2, tmp$ret$4, null);
|
|
5782
5757
|
var tmp_12 = KProperty1;
|
|
5783
|
-
tmp_9.
|
|
5758
|
+
tmp_9.ia0_1 = tmp_11.u64(this, getPropertyCallableRef('serverHelper', 1, tmp_12, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
|
|
5784
5759
|
var tmp_13 = this;
|
|
5785
5760
|
// Inline function 'org.kodein.di.instance' call
|
|
5786
5761
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -5789,7 +5764,7 @@
|
|
|
5789
5764
|
var tmp$ret$6 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
5790
5765
|
var tmp_15 = Instance(this_3, tmp$ret$6, null);
|
|
5791
5766
|
var tmp_16 = KProperty1;
|
|
5792
|
-
tmp_13.
|
|
5767
|
+
tmp_13.ja0_1 = tmp_15.u64(this, getPropertyCallableRef('resources', 1, tmp_16, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
|
|
5793
5768
|
var tmp_17 = this;
|
|
5794
5769
|
// Inline function 'org.kodein.di.instance' call
|
|
5795
5770
|
var this_4 = _get_di__ndbzja(this);
|
|
@@ -5798,7 +5773,7 @@
|
|
|
5798
5773
|
var tmp$ret$8 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
5799
5774
|
var tmp_19 = Instance(this_4, tmp$ret$8, null);
|
|
5800
5775
|
var tmp_20 = KProperty1;
|
|
5801
|
-
tmp_17.
|
|
5776
|
+
tmp_17.ka0_1 = tmp_19.u64(this, getPropertyCallableRef('test', 1, tmp_20, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
|
|
5802
5777
|
var tmp_21 = this;
|
|
5803
5778
|
// Inline function 'org.kodein.di.instance' call
|
|
5804
5779
|
var this_5 = _get_di__ndbzja(this);
|
|
@@ -5807,45 +5782,45 @@
|
|
|
5807
5782
|
var tmp$ret$10 = isInterface(tmp_22, TypeToken) ? tmp_22 : THROW_CCE();
|
|
5808
5783
|
var tmp_23 = Instance(this_5, tmp$ret$10, null);
|
|
5809
5784
|
var tmp_24 = KProperty1;
|
|
5810
|
-
tmp_21.
|
|
5785
|
+
tmp_21.la0_1 = tmp_23.u64(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_24, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
|
|
5811
5786
|
}
|
|
5812
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5813
|
-
var tmp0 = this.
|
|
5787
|
+
protoOf(GameServerEngineControllerImpl).v9z = function () {
|
|
5788
|
+
var tmp0 = this.ga0_1;
|
|
5814
5789
|
var tmp = KProperty1;
|
|
5815
5790
|
// Inline function 'kotlin.getValue' call
|
|
5816
5791
|
getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
|
|
5817
5792
|
return tmp0.w();
|
|
5818
5793
|
};
|
|
5819
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5820
|
-
var tmp0 = this.
|
|
5794
|
+
protoOf(GameServerEngineControllerImpl).x9z = function () {
|
|
5795
|
+
var tmp0 = this.ha0_1;
|
|
5821
5796
|
var tmp = KProperty1;
|
|
5822
5797
|
// Inline function 'kotlin.getValue' call
|
|
5823
5798
|
getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
|
|
5824
5799
|
return tmp0.w();
|
|
5825
5800
|
};
|
|
5826
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5827
|
-
var tmp0 = this.
|
|
5801
|
+
protoOf(GameServerEngineControllerImpl).y9z = function () {
|
|
5802
|
+
var tmp0 = this.ia0_1;
|
|
5828
5803
|
var tmp = KProperty1;
|
|
5829
5804
|
// Inline function 'kotlin.getValue' call
|
|
5830
5805
|
getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
|
|
5831
5806
|
return tmp0.w();
|
|
5832
5807
|
};
|
|
5833
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5834
|
-
var tmp0 = this.
|
|
5808
|
+
protoOf(GameServerEngineControllerImpl).z9z = function () {
|
|
5809
|
+
var tmp0 = this.ja0_1;
|
|
5835
5810
|
var tmp = KProperty1;
|
|
5836
5811
|
// Inline function 'kotlin.getValue' call
|
|
5837
5812
|
getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
|
|
5838
5813
|
return tmp0.w();
|
|
5839
5814
|
};
|
|
5840
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5841
|
-
var tmp0 = this.
|
|
5815
|
+
protoOf(GameServerEngineControllerImpl).w9z = function () {
|
|
5816
|
+
var tmp0 = this.ka0_1;
|
|
5842
5817
|
var tmp = KProperty1;
|
|
5843
5818
|
// Inline function 'kotlin.getValue' call
|
|
5844
5819
|
getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
|
|
5845
5820
|
return tmp0.w();
|
|
5846
5821
|
};
|
|
5847
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5848
|
-
var tmp0 = this.
|
|
5822
|
+
protoOf(GameServerEngineControllerImpl).aa0 = function () {
|
|
5823
|
+
var tmp0 = this.la0_1;
|
|
5849
5824
|
var tmp = KProperty1;
|
|
5850
5825
|
// Inline function 'kotlin.getValue' call
|
|
5851
5826
|
getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
|
|
@@ -5857,7 +5832,7 @@
|
|
|
5857
5832
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
5858
5833
|
return this.createGameEngineWithLogic();
|
|
5859
5834
|
};
|
|
5860
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5835
|
+
protoOf(GameServerEngineControllerImpl).ba0 = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig) {
|
|
5861
5836
|
var combinedLogger = Companion_instance_6.mx();
|
|
5862
5837
|
var gameServer = {_v: null};
|
|
5863
5838
|
var tmp0_botConfig = new EngineBotConfig(VOID, VOID, VOID, false);
|
|
@@ -5906,7 +5881,7 @@
|
|
|
5906
5881
|
function TestHelper() {
|
|
5907
5882
|
}
|
|
5908
5883
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
5909
|
-
var tmp0 = $this.
|
|
5884
|
+
var tmp0 = $this.pa0_1;
|
|
5910
5885
|
var tmp = KProperty1;
|
|
5911
5886
|
// Inline function 'kotlin.getValue' call
|
|
5912
5887
|
getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
|
|
@@ -5914,7 +5889,7 @@
|
|
|
5914
5889
|
}
|
|
5915
5890
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
5916
5891
|
return function ($this$singleton) {
|
|
5917
|
-
return this$0.
|
|
5892
|
+
return this$0.na0_1;
|
|
5918
5893
|
};
|
|
5919
5894
|
}
|
|
5920
5895
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -5953,27 +5928,27 @@
|
|
|
5953
5928
|
return emptyMap();
|
|
5954
5929
|
}
|
|
5955
5930
|
function TestHelperImpl(logger) {
|
|
5956
|
-
this.
|
|
5931
|
+
this.na0_1 = logger;
|
|
5957
5932
|
var tmp = this;
|
|
5958
5933
|
var tmp_0 = Companion_instance_4;
|
|
5959
|
-
tmp.
|
|
5934
|
+
tmp.oa0_1 = tmp_0.i5z(VOID, TestHelperImpl$di$lambda(this));
|
|
5960
5935
|
var tmp_1 = this;
|
|
5961
5936
|
// Inline function 'org.kodein.di.instance' call
|
|
5962
|
-
var this_0 = this.
|
|
5937
|
+
var this_0 = this.oa0_1;
|
|
5963
5938
|
// Inline function 'org.kodein.type.generic' call
|
|
5964
5939
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
5965
5940
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5966
5941
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
5967
5942
|
var tmp_4 = KProperty1;
|
|
5968
|
-
tmp_1.
|
|
5943
|
+
tmp_1.pa0_1 = tmp_3.u64(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
5969
5944
|
}
|
|
5970
5945
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
5971
|
-
return _get_playerAnswerInteractor__msggz1(this).
|
|
5946
|
+
return _get_playerAnswerInteractor__msggz1(this).d8k(playerId, table, botConfig);
|
|
5972
5947
|
};
|
|
5973
5948
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
5974
5949
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
5975
5950
|
if (isInterface(mechanicAction, NextPlayerTurnAction)) {
|
|
5976
|
-
var tmp0 = mechanicAction.
|
|
5951
|
+
var tmp0 = mechanicAction.n8x();
|
|
5977
5952
|
var tmp$ret$0;
|
|
5978
5953
|
$l$block_0: {
|
|
5979
5954
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -6005,7 +5980,7 @@
|
|
|
6005
5980
|
};
|
|
6006
5981
|
protoOf(TestHelperImpl).getPlayerAnswerFromMechanicAction = function (table, currentPlayerId, action, botConfig) {
|
|
6007
5982
|
if (isInterface(action, NextPlayerTurnAction)) {
|
|
6008
|
-
var tmp0 = action.
|
|
5983
|
+
var tmp0 = action.n8x();
|
|
6009
5984
|
var tmp$ret$0;
|
|
6010
5985
|
$l$block_0: {
|
|
6011
5986
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -6093,66 +6068,66 @@
|
|
|
6093
6068
|
protoOf(GameServer).roomOnDelete = roomOnDelete;
|
|
6094
6069
|
protoOf(GameServer).shutdown = shutdown;
|
|
6095
6070
|
defineProp(protoOf(GameServer), 'metadata', function () {
|
|
6096
|
-
return this.
|
|
6071
|
+
return this.n8e();
|
|
6097
6072
|
}, function (value) {
|
|
6098
|
-
this.
|
|
6073
|
+
this.g9v(value);
|
|
6099
6074
|
});
|
|
6100
6075
|
defineProp(protoOf(GameServer), 'id', function () {
|
|
6101
6076
|
return this.w53();
|
|
6102
6077
|
});
|
|
6103
6078
|
defineProp(protoOf(GameServer), 'table', function () {
|
|
6104
|
-
return this.
|
|
6079
|
+
return this.p6n();
|
|
6105
6080
|
});
|
|
6106
6081
|
defineProp(protoOf(GameServer), 'isTableExists', function () {
|
|
6107
|
-
return this.
|
|
6082
|
+
return this.q6n();
|
|
6108
6083
|
});
|
|
6109
6084
|
defineProp(protoOf(GameServer), 'gameLifecycleState', function () {
|
|
6110
|
-
return this.
|
|
6085
|
+
return this.r6n();
|
|
6111
6086
|
});
|
|
6112
6087
|
protoOf($serializer).wz = typeParametersSerializers;
|
|
6113
6088
|
defineProp(protoOf(TableStateUpdateDto), 'roomId', function () {
|
|
6114
|
-
return this.
|
|
6089
|
+
return this.x8w();
|
|
6115
6090
|
});
|
|
6116
6091
|
protoOf($serializer_0).wz = typeParametersSerializers;
|
|
6117
6092
|
defineProp(protoOf(ActionsStateUpdateDto), 'roomId', function () {
|
|
6118
|
-
return this.
|
|
6093
|
+
return this.x8w();
|
|
6119
6094
|
});
|
|
6120
6095
|
defineProp(protoOf(TableStateUpdate), 'roomId', function () {
|
|
6121
|
-
return this.
|
|
6096
|
+
return this.x8w();
|
|
6122
6097
|
});
|
|
6123
6098
|
defineProp(protoOf(ActionsStateUpdate), 'roomId', function () {
|
|
6124
|
-
return this.
|
|
6099
|
+
return this.x8w();
|
|
6125
6100
|
});
|
|
6126
|
-
protoOf(UpdateServerConfigAction).
|
|
6101
|
+
protoOf(UpdateServerConfigAction).o6f = get_actionTag;
|
|
6127
6102
|
defineProp(protoOf(UpdateServerConfigAction), 'actionTag', function () {
|
|
6128
|
-
return this.
|
|
6103
|
+
return this.o6f();
|
|
6129
6104
|
});
|
|
6130
|
-
protoOf(AddSpectatorsAction).
|
|
6105
|
+
protoOf(AddSpectatorsAction).o6f = get_actionTag;
|
|
6131
6106
|
defineProp(protoOf(AddSpectatorsAction), 'actionTag', function () {
|
|
6132
|
-
return this.
|
|
6107
|
+
return this.o6f();
|
|
6133
6108
|
});
|
|
6134
|
-
protoOf(RemoveSpectatorsAction).
|
|
6109
|
+
protoOf(RemoveSpectatorsAction).o6f = get_actionTag;
|
|
6135
6110
|
defineProp(protoOf(RemoveSpectatorsAction), 'actionTag', function () {
|
|
6136
|
-
return this.
|
|
6111
|
+
return this.o6f();
|
|
6137
6112
|
});
|
|
6138
6113
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
6139
6114
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
6140
|
-
return this.
|
|
6115
|
+
return this.v9z();
|
|
6141
6116
|
});
|
|
6142
6117
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
6143
|
-
return this.
|
|
6118
|
+
return this.x9z();
|
|
6144
6119
|
});
|
|
6145
6120
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
6146
|
-
return this.
|
|
6121
|
+
return this.y9z();
|
|
6147
6122
|
});
|
|
6148
6123
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
6149
|
-
return this.
|
|
6124
|
+
return this.z9z();
|
|
6150
6125
|
});
|
|
6151
6126
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
6152
|
-
return this.
|
|
6127
|
+
return this.w9z();
|
|
6153
6128
|
});
|
|
6154
6129
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
6155
|
-
return this.
|
|
6130
|
+
return this.aa0();
|
|
6156
6131
|
});
|
|
6157
6132
|
//endregion
|
|
6158
6133
|
//region block: init
|