raspberry_games_server_game_logic 1.8.398 → 1.8.400
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1 -1
- package/Logic_Debertz-ai_module.js +483 -334
- package/Logic_Debertz-ai_module.js.map +1 -1
- package/Logic_Debertz-core.js +1114 -971
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +12280 -12238
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.d.ts +32 -15
- package/Logic_Debertz-game_server.js +1004 -950
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlinx-coroutines-core.js +9 -9
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -78,16 +78,17 @@
|
|
|
78
78
|
var flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a1;
|
|
79
79
|
var Store = kotlin_io_raspberryapps_game_engine_core.$_$.j2;
|
|
80
80
|
var PlayerReadyFromClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.c1;
|
|
81
|
-
var PlayerConnectionState_LOST_CONNECTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
81
|
+
var PlayerConnectionState_LOST_CONNECTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.u3;
|
|
82
82
|
var PlayerConnectionUpdateAction = kotlin_io_raspberryapps_game_engine_engine.$_$.a3;
|
|
83
83
|
var get_isFinished = kotlin_io_raspberryapps_game_engine_engine.$_$.c4;
|
|
84
84
|
var get_isFinishing = kotlin_io_raspberryapps_game_engine_engine.$_$.d4;
|
|
85
|
-
var PlayerConnectionState_LIVE_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
86
|
-
var PlayerConnectionState_LEFT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
85
|
+
var PlayerConnectionState_LIVE_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.t3;
|
|
86
|
+
var PlayerConnectionState_LEFT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.s3;
|
|
87
|
+
var PlayerConnectionState_LEFT_PERMANENTLY_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.r3;
|
|
87
88
|
var toList = kotlin_kotlin.$_$.n9;
|
|
88
89
|
var toString = kotlin_kotlin.$_$.nd;
|
|
89
90
|
var Companion_instance = kotlin_io_raspberryapps_game_engine_engine.$_$.n4;
|
|
90
|
-
var Reason_SERVER_ERROR_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
91
|
+
var Reason_SERVER_ERROR_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.a4;
|
|
91
92
|
var GameErrorReason = kotlin_io_raspberryapps_game_engine_core.$_$.h1;
|
|
92
93
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.i6;
|
|
93
94
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.g;
|
|
@@ -96,7 +97,7 @@
|
|
|
96
97
|
var firstOrNull = kotlin_kotlin.$_$.h7;
|
|
97
98
|
var toMutableList = kotlin_kotlin.$_$.q9;
|
|
98
99
|
var getPlayer = kotlin_io_raspberryapps_game_engine_core.$_$.o;
|
|
99
|
-
var GameEngineConfig_instance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
100
|
+
var GameEngineConfig_instance = kotlin_io_raspberryapps_game_engine_core.$_$.a5;
|
|
100
101
|
var get_versionOrDefault = kotlin_io_raspberryapps_game_engine_core.$_$.l3;
|
|
101
102
|
var sortWithItem = kotlin_io_raspberryapps_game_engine_core.$_$.y2;
|
|
102
103
|
var StartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.s2;
|
|
@@ -105,13 +106,13 @@
|
|
|
105
106
|
var get_isCreating = kotlin_io_raspberryapps_game_engine_engine.$_$.b4;
|
|
106
107
|
var Companion_instance_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.m4;
|
|
107
108
|
var SceneEndedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.y2;
|
|
108
|
-
var Reason_GAME_NOT_EXISTS_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
109
|
+
var Reason_GAME_NOT_EXISTS_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.y3;
|
|
109
110
|
var TerminationState = kotlin_io_raspberryapps_game_engine_engine.$_$.w3;
|
|
110
111
|
var GameToRoomTransition = kotlin_io_raspberryapps_game_engine_engine.$_$.h2;
|
|
111
112
|
var FinishGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.f2;
|
|
112
113
|
var ClearAction = kotlin_io_raspberryapps_game_engine_engine.$_$.z2;
|
|
113
114
|
var toDomainEnumSafe = kotlin_io_raspberryapps_game_engine_core.$_$.a3;
|
|
114
|
-
var Reason_DEPLOY_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
115
|
+
var Reason_DEPLOY_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.c4;
|
|
115
116
|
var GameFinishedReason = kotlin_io_raspberryapps_game_engine_core.$_$.i1;
|
|
116
117
|
var noWhenBranchMatchedException = kotlin_kotlin.$_$.li;
|
|
117
118
|
var BaseGame = kotlin_io_raspberryapps_game_engine_engine.$_$.e4;
|
|
@@ -204,7 +205,7 @@
|
|
|
204
205
|
var prefetchRandomOrgPoolMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.h3;
|
|
205
206
|
var putPlayerLastCardMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.k3;
|
|
206
207
|
var RoundEndedAction = kotlin_io_raspberryapps_game_engine_engine.$_$.b2;
|
|
207
|
-
var Reason_REVENGED_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
208
|
+
var Reason_REVENGED_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.e4;
|
|
208
209
|
var RoomMode_REVENGE_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.j4;
|
|
209
210
|
var Middleware = kotlin_io_raspberryapps_game_engine_core.$_$.h2;
|
|
210
211
|
var MechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.i2;
|
|
@@ -248,8 +249,8 @@
|
|
|
248
249
|
var StartNewGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.t2;
|
|
249
250
|
var mapToClient_17 = kotlin_io_raspberryapps_game_engine_engine.$_$.j1;
|
|
250
251
|
var Reducer = kotlin_io_raspberryapps_game_engine_core.$_$.i2;
|
|
251
|
-
var Companion_instance_1 = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
252
|
-
var Companion_instance_2 = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
252
|
+
var Companion_instance_1 = kotlin_io_raspberryapps_game_engine_core.$_$.p4;
|
|
253
|
+
var Companion_instance_2 = kotlin_io_raspberryapps_game_engine_core.$_$.n4;
|
|
253
254
|
var Companion_getInstance = kotlin_kotlin.$_$.v4;
|
|
254
255
|
var DurationUnit_MILLISECONDS_getInstance = kotlin_kotlin.$_$.c;
|
|
255
256
|
var toDuration = kotlin_kotlin.$_$.vg;
|
|
@@ -279,9 +280,9 @@
|
|
|
279
280
|
var combinedLoggerModule = kotlin_io_raspberryapps_game_engine_core.$_$.g3;
|
|
280
281
|
var dealerModule = kotlin_io_raspberryapps_game_engine_core.$_$.i3;
|
|
281
282
|
var coreModule = kotlin_io_raspberryapps_game_engine_core.$_$.h3;
|
|
282
|
-
var AppEnvironment_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
283
|
-
var AppEnvironmentValue_DEVELOPMENT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
284
|
-
var AppEnvironmentValue_PRODUCTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
283
|
+
var AppEnvironment_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.c5;
|
|
284
|
+
var AppEnvironmentValue_DEVELOPMENT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.l4;
|
|
285
|
+
var AppEnvironmentValue_PRODUCTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.m4;
|
|
285
286
|
var ParserHelper = kotlin_io_raspberryapps_game_engine_engine.$_$.d;
|
|
286
287
|
var GameHelper = kotlin_io_raspberryapps_game_engine_engine.$_$.a;
|
|
287
288
|
var GameResources = kotlin_io_raspberryapps_game_engine_engine.$_$.b;
|
|
@@ -364,10 +365,10 @@
|
|
|
364
365
|
spectators = tmp;
|
|
365
366
|
var tmp_0;
|
|
366
367
|
if ($super === VOID) {
|
|
367
|
-
this.
|
|
368
|
+
this.za3(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
368
369
|
tmp_0 = Unit_instance;
|
|
369
370
|
} else {
|
|
370
|
-
tmp_0 = $super.
|
|
371
|
+
tmp_0 = $super.za3.call(this, roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
371
372
|
}
|
|
372
373
|
return tmp_0;
|
|
373
374
|
}
|
|
@@ -375,10 +376,21 @@
|
|
|
375
376
|
newRid = newRid === VOID ? null : newRid;
|
|
376
377
|
var tmp;
|
|
377
378
|
if ($super === VOID) {
|
|
378
|
-
this.
|
|
379
|
+
this.aa4(newRid);
|
|
379
380
|
tmp = Unit_instance;
|
|
380
381
|
} else {
|
|
381
|
-
tmp = $super.
|
|
382
|
+
tmp = $super.aa4.call(this, newRid);
|
|
383
|
+
}
|
|
384
|
+
return tmp;
|
|
385
|
+
}
|
|
386
|
+
function playerLeft(playerId, permanently, $super) {
|
|
387
|
+
permanently = permanently === VOID ? true : permanently;
|
|
388
|
+
var tmp;
|
|
389
|
+
if ($super === VOID) {
|
|
390
|
+
this.ya3(playerId, permanently);
|
|
391
|
+
tmp = Unit_instance;
|
|
392
|
+
} else {
|
|
393
|
+
tmp = $super.ya3.call(this, playerId, permanently);
|
|
382
394
|
}
|
|
383
395
|
return tmp;
|
|
384
396
|
}
|
|
@@ -386,10 +398,10 @@
|
|
|
386
398
|
roomId = roomId === VOID ? null : roomId;
|
|
387
399
|
var tmp;
|
|
388
400
|
if ($super === VOID) {
|
|
389
|
-
this.
|
|
401
|
+
this.ba4(reason, roomId);
|
|
390
402
|
tmp = Unit_instance;
|
|
391
403
|
} else {
|
|
392
|
-
tmp = $super.
|
|
404
|
+
tmp = $super.ba4.call(this, reason, roomId);
|
|
393
405
|
}
|
|
394
406
|
return tmp;
|
|
395
407
|
}
|
|
@@ -456,7 +468,7 @@
|
|
|
456
468
|
ratingConfig = ratingConfig === VOID ? new RatingConfig() : ratingConfig;
|
|
457
469
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
458
470
|
botConfig = botConfig === VOID ? new EngineBotConfig(VOID, VOID, VOID, false) : botConfig;
|
|
459
|
-
return $super === VOID ? this.
|
|
471
|
+
return $super === VOID ? this.va8(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, botConfig) : $super.va8.call(this, reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, botConfig);
|
|
460
472
|
}
|
|
461
473
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
462
474
|
initMetadataForClass(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1, VOID, VOID, VOID, [Reducer]);
|
|
@@ -469,17 +481,17 @@
|
|
|
469
481
|
initMetadataForClass(GameMetadata, 'GameMetadata');
|
|
470
482
|
//endregion
|
|
471
483
|
function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
|
|
472
|
-
this.
|
|
484
|
+
this.l9m_1 = $subscriber;
|
|
473
485
|
CoroutineImpl.call(this, resultContinuation);
|
|
474
486
|
}
|
|
475
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
476
|
-
var tmp = this.
|
|
487
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).n9m = function (it, $completion) {
|
|
488
|
+
var tmp = this.o9m(it, $completion);
|
|
477
489
|
tmp.u8_1 = Unit_instance;
|
|
478
490
|
tmp.v8_1 = null;
|
|
479
491
|
return tmp.a9();
|
|
480
492
|
};
|
|
481
493
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).i9 = function (p1, $completion) {
|
|
482
|
-
return this.
|
|
494
|
+
return this.n9m(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
483
495
|
};
|
|
484
496
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).a9 = function () {
|
|
485
497
|
var suspendResult = this.u8_1;
|
|
@@ -488,7 +500,7 @@
|
|
|
488
500
|
var tmp = this.s8_1;
|
|
489
501
|
if (tmp === 0) {
|
|
490
502
|
this.t8_1 = 1;
|
|
491
|
-
this.
|
|
503
|
+
this.l9m_1(this.m9m_1);
|
|
492
504
|
return Unit_instance;
|
|
493
505
|
} else if (tmp === 1) {
|
|
494
506
|
throw this.v8_1;
|
|
@@ -499,31 +511,31 @@
|
|
|
499
511
|
}
|
|
500
512
|
while (true);
|
|
501
513
|
};
|
|
502
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
503
|
-
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.
|
|
504
|
-
i.
|
|
514
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).o9m = function (it, completion) {
|
|
515
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.l9m_1, completion);
|
|
516
|
+
i.m9m_1 = it;
|
|
505
517
|
return i;
|
|
506
518
|
};
|
|
507
519
|
function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
|
|
508
520
|
var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
|
|
509
521
|
var l = function (it, $completion) {
|
|
510
|
-
return i.
|
|
522
|
+
return i.n9m(it, $completion);
|
|
511
523
|
};
|
|
512
524
|
l.$arity = 1;
|
|
513
525
|
return l;
|
|
514
526
|
}
|
|
515
527
|
function GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation) {
|
|
516
|
-
this.
|
|
528
|
+
this.x9m_1 = $subscriber;
|
|
517
529
|
CoroutineImpl.call(this, resultContinuation);
|
|
518
530
|
}
|
|
519
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
520
|
-
var tmp = this.
|
|
531
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).z9m = function (it, $completion) {
|
|
532
|
+
var tmp = this.a9n(it, $completion);
|
|
521
533
|
tmp.u8_1 = Unit_instance;
|
|
522
534
|
tmp.v8_1 = null;
|
|
523
535
|
return tmp.a9();
|
|
524
536
|
};
|
|
525
537
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).i9 = function (p1, $completion) {
|
|
526
|
-
return this.
|
|
538
|
+
return this.z9m((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
|
|
527
539
|
};
|
|
528
540
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).a9 = function () {
|
|
529
541
|
var suspendResult = this.u8_1;
|
|
@@ -532,7 +544,7 @@
|
|
|
532
544
|
var tmp = this.s8_1;
|
|
533
545
|
if (tmp === 0) {
|
|
534
546
|
this.t8_1 = 1;
|
|
535
|
-
this.
|
|
547
|
+
this.x9m_1(this.y9m_1);
|
|
536
548
|
return Unit_instance;
|
|
537
549
|
} else if (tmp === 1) {
|
|
538
550
|
throw this.v8_1;
|
|
@@ -543,22 +555,22 @@
|
|
|
543
555
|
}
|
|
544
556
|
while (true);
|
|
545
557
|
};
|
|
546
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
547
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.
|
|
548
|
-
i.
|
|
558
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).a9n = function (it, completion) {
|
|
559
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.x9m_1, completion);
|
|
560
|
+
i.y9m_1 = it;
|
|
549
561
|
return i;
|
|
550
562
|
};
|
|
551
563
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_0($subscriber, resultContinuation) {
|
|
552
564
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation);
|
|
553
565
|
var l = function (it, $completion) {
|
|
554
|
-
return i.
|
|
566
|
+
return i.z9m(it, $completion);
|
|
555
567
|
};
|
|
556
568
|
l.$arity = 1;
|
|
557
569
|
return l;
|
|
558
570
|
}
|
|
559
571
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
560
|
-
this.
|
|
561
|
-
this.
|
|
572
|
+
this.j9n_1 = $$this$unsafeFlow;
|
|
573
|
+
this.k9n_1 = this$0;
|
|
562
574
|
CoroutineImpl.call(this, resultContinuation);
|
|
563
575
|
}
|
|
564
576
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).w2h = function (value, $completion) {
|
|
@@ -578,10 +590,10 @@
|
|
|
578
590
|
switch (tmp) {
|
|
579
591
|
case 0:
|
|
580
592
|
this.t8_1 = 2;
|
|
581
|
-
var tmp0 = this.
|
|
582
|
-
var value = this.
|
|
593
|
+
var tmp0 = this.j9n_1;
|
|
594
|
+
var value = this.l9n_1;
|
|
583
595
|
this.s8_1 = 1;
|
|
584
|
-
suspendResult = tmp0.n28(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.
|
|
596
|
+
suspendResult = tmp0.n28(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.k9n_1)), this);
|
|
585
597
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
586
598
|
return suspendResult;
|
|
587
599
|
}
|
|
@@ -604,8 +616,8 @@
|
|
|
604
616
|
while (true);
|
|
605
617
|
};
|
|
606
618
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).x2h = function (value, completion) {
|
|
607
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.
|
|
608
|
-
i.
|
|
619
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.j9n_1, this.k9n_1, completion);
|
|
620
|
+
i.l9n_1 = value;
|
|
609
621
|
return i;
|
|
610
622
|
};
|
|
611
623
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
@@ -618,8 +630,8 @@
|
|
|
618
630
|
}
|
|
619
631
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
620
632
|
CoroutineImpl.call(this, resultContinuation);
|
|
621
|
-
this.
|
|
622
|
-
this.
|
|
633
|
+
this.u9n_1 = _this__u8e3s4;
|
|
634
|
+
this.v9n_1 = collector;
|
|
623
635
|
}
|
|
624
636
|
protoOf($collectCOROUTINE$).a9 = function () {
|
|
625
637
|
var suspendResult = this.u8_1;
|
|
@@ -629,10 +641,10 @@
|
|
|
629
641
|
switch (tmp) {
|
|
630
642
|
case 0:
|
|
631
643
|
this.t8_1 = 2;
|
|
632
|
-
var $this$unsafeFlow = this.
|
|
644
|
+
var $this$unsafeFlow = this.v9n_1;
|
|
633
645
|
this.s8_1 = 1;
|
|
634
|
-
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
635
|
-
suspendResult = this.
|
|
646
|
+
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.u9n_1.x9n_1, null);
|
|
647
|
+
suspendResult = this.u9n_1.w9n_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_0), this);
|
|
636
648
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
637
649
|
return suspendResult;
|
|
638
650
|
}
|
|
@@ -655,8 +667,8 @@
|
|
|
655
667
|
while (true);
|
|
656
668
|
};
|
|
657
669
|
function GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1($this, this$0) {
|
|
658
|
-
this.
|
|
659
|
-
this.
|
|
670
|
+
this.w9n_1 = $this;
|
|
671
|
+
this.x9n_1 = this$0;
|
|
660
672
|
}
|
|
661
673
|
protoOf(GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1).o28 = function (collector, $completion) {
|
|
662
674
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
@@ -668,17 +680,17 @@
|
|
|
668
680
|
return this.o28(collector, $completion);
|
|
669
681
|
};
|
|
670
682
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation) {
|
|
671
|
-
this.
|
|
683
|
+
this.g9o_1 = $subscriber;
|
|
672
684
|
CoroutineImpl.call(this, resultContinuation);
|
|
673
685
|
}
|
|
674
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
675
|
-
var tmp = this.
|
|
686
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).i9o = function (it, $completion) {
|
|
687
|
+
var tmp = this.j9o(it, $completion);
|
|
676
688
|
tmp.u8_1 = Unit_instance;
|
|
677
689
|
tmp.v8_1 = null;
|
|
678
690
|
return tmp.a9();
|
|
679
691
|
};
|
|
680
692
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).i9 = function (p1, $completion) {
|
|
681
|
-
return this.
|
|
693
|
+
return this.i9o((!(p1 == null) ? isInterface(p1, ServerStateUpdateDto) : false) ? p1 : THROW_CCE(), $completion);
|
|
682
694
|
};
|
|
683
695
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).a9 = function () {
|
|
684
696
|
var suspendResult = this.u8_1;
|
|
@@ -687,7 +699,7 @@
|
|
|
687
699
|
var tmp = this.s8_1;
|
|
688
700
|
if (tmp === 0) {
|
|
689
701
|
this.t8_1 = 1;
|
|
690
|
-
this.
|
|
702
|
+
this.g9o_1(this.h9o_1);
|
|
691
703
|
return Unit_instance;
|
|
692
704
|
} else if (tmp === 1) {
|
|
693
705
|
throw this.v8_1;
|
|
@@ -698,22 +710,22 @@
|
|
|
698
710
|
}
|
|
699
711
|
while (true);
|
|
700
712
|
};
|
|
701
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
702
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.
|
|
703
|
-
i.
|
|
713
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).j9o = function (it, completion) {
|
|
714
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.g9o_1, completion);
|
|
715
|
+
i.h9o_1 = it;
|
|
704
716
|
return i;
|
|
705
717
|
};
|
|
706
718
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda_0($subscriber, resultContinuation) {
|
|
707
719
|
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation);
|
|
708
720
|
var l = function (it, $completion) {
|
|
709
|
-
return i.
|
|
721
|
+
return i.i9o(it, $completion);
|
|
710
722
|
};
|
|
711
723
|
l.$arity = 1;
|
|
712
724
|
return l;
|
|
713
725
|
}
|
|
714
726
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, $table, resultContinuation) {
|
|
715
|
-
this.
|
|
716
|
-
this.
|
|
727
|
+
this.s9o_1 = $$this$unsafeFlow;
|
|
728
|
+
this.t9o_1 = $table;
|
|
717
729
|
CoroutineImpl.call(this, resultContinuation);
|
|
718
730
|
}
|
|
719
731
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).w2h = function (value, $completion) {
|
|
@@ -733,10 +745,10 @@
|
|
|
733
745
|
switch (tmp) {
|
|
734
746
|
case 0:
|
|
735
747
|
this.t8_1 = 2;
|
|
736
|
-
var tmp0 = this.
|
|
737
|
-
var value = this.
|
|
748
|
+
var tmp0 = this.s9o_1;
|
|
749
|
+
var value = this.u9o_1;
|
|
738
750
|
this.s8_1 = 1;
|
|
739
|
-
suspendResult = tmp0.n28(new ActionsStateUpdate(this.
|
|
751
|
+
suspendResult = tmp0.n28(new ActionsStateUpdate(this.t9o_1.id, value), this);
|
|
740
752
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
741
753
|
return suspendResult;
|
|
742
754
|
}
|
|
@@ -759,8 +771,8 @@
|
|
|
759
771
|
while (true);
|
|
760
772
|
};
|
|
761
773
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).x2h = function (value, completion) {
|
|
762
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.
|
|
763
|
-
i.
|
|
774
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.s9o_1, this.t9o_1, completion);
|
|
775
|
+
i.u9o_1 = value;
|
|
764
776
|
return i;
|
|
765
777
|
};
|
|
766
778
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, $table, resultContinuation) {
|
|
@@ -773,8 +785,8 @@
|
|
|
773
785
|
}
|
|
774
786
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
775
787
|
CoroutineImpl.call(this, resultContinuation);
|
|
776
|
-
this.
|
|
777
|
-
this.
|
|
788
|
+
this.d9p_1 = _this__u8e3s4;
|
|
789
|
+
this.e9p_1 = collector;
|
|
778
790
|
}
|
|
779
791
|
protoOf($collectCOROUTINE$_0).a9 = function () {
|
|
780
792
|
var suspendResult = this.u8_1;
|
|
@@ -784,10 +796,10 @@
|
|
|
784
796
|
switch (tmp) {
|
|
785
797
|
case 0:
|
|
786
798
|
this.t8_1 = 2;
|
|
787
|
-
var $this$unsafeFlow = this.
|
|
799
|
+
var $this$unsafeFlow = this.e9p_1;
|
|
788
800
|
this.s8_1 = 1;
|
|
789
|
-
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
790
|
-
suspendResult = this.
|
|
801
|
+
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.d9p_1.g9p_1, null);
|
|
802
|
+
suspendResult = this.d9p_1.f9p_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
791
803
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
792
804
|
return suspendResult;
|
|
793
805
|
}
|
|
@@ -810,8 +822,8 @@
|
|
|
810
822
|
while (true);
|
|
811
823
|
};
|
|
812
824
|
function _no_name_provided__qut3iv($this, $table) {
|
|
813
|
-
this.
|
|
814
|
-
this.
|
|
825
|
+
this.f9p_1 = $this;
|
|
826
|
+
this.g9p_1 = $table;
|
|
815
827
|
}
|
|
816
828
|
protoOf(_no_name_provided__qut3iv).o28 = function (collector, $completion) {
|
|
817
829
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
@@ -823,18 +835,18 @@
|
|
|
823
835
|
return this.o28(collector, $completion);
|
|
824
836
|
};
|
|
825
837
|
function GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation) {
|
|
826
|
-
this.
|
|
827
|
-
this.
|
|
838
|
+
this.p9p_1 = $table;
|
|
839
|
+
this.q9p_1 = this$0;
|
|
828
840
|
CoroutineImpl.call(this, resultContinuation);
|
|
829
841
|
}
|
|
830
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
831
|
-
var tmp = this.
|
|
842
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).s9p = function ($this$flow, $completion) {
|
|
843
|
+
var tmp = this.t9p($this$flow, $completion);
|
|
832
844
|
tmp.u8_1 = Unit_instance;
|
|
833
845
|
tmp.v8_1 = null;
|
|
834
846
|
return tmp.a9();
|
|
835
847
|
};
|
|
836
848
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).i9 = function (p1, $completion) {
|
|
837
|
-
return this.
|
|
849
|
+
return this.s9p((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
838
850
|
};
|
|
839
851
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).a9 = function () {
|
|
840
852
|
var suspendResult = this.u8_1;
|
|
@@ -845,7 +857,7 @@
|
|
|
845
857
|
case 0:
|
|
846
858
|
this.t8_1 = 3;
|
|
847
859
|
this.s8_1 = 1;
|
|
848
|
-
suspendResult = this.
|
|
860
|
+
suspendResult = this.r9p_1.n28(new TableStateUpdate(this.p9p_1.id, this.p9p_1), this);
|
|
849
861
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
850
862
|
return suspendResult;
|
|
851
863
|
}
|
|
@@ -853,8 +865,8 @@
|
|
|
853
865
|
continue $sm;
|
|
854
866
|
case 1:
|
|
855
867
|
this.s8_1 = 2;
|
|
856
|
-
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.
|
|
857
|
-
suspendResult = emitAll(this.
|
|
868
|
+
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.q9p_1).j8o(), fromInt(_get_serverReduxConfig__rprcrm(this.q9p_1).serverStateUpdateIntervalMillis));
|
|
869
|
+
suspendResult = emitAll(this.r9p_1, new _no_name_provided__qut3iv(this_0, this.p9p_1), this);
|
|
858
870
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
859
871
|
return suspendResult;
|
|
860
872
|
}
|
|
@@ -876,22 +888,22 @@
|
|
|
876
888
|
}
|
|
877
889
|
while (true);
|
|
878
890
|
};
|
|
879
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
880
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.
|
|
881
|
-
i.
|
|
891
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).t9p = function ($this$flow, completion) {
|
|
892
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.p9p_1, this.q9p_1, completion);
|
|
893
|
+
i.r9p_1 = $this$flow;
|
|
882
894
|
return i;
|
|
883
895
|
};
|
|
884
896
|
function GameServer$observeTableStateUpdates$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
885
897
|
var i = new GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation);
|
|
886
898
|
var l = function ($this$flow, $completion) {
|
|
887
|
-
return i.
|
|
899
|
+
return i.s9p($this$flow, $completion);
|
|
888
900
|
};
|
|
889
901
|
l.$arity = 1;
|
|
890
902
|
return l;
|
|
891
903
|
}
|
|
892
904
|
function GameServer$observeTableStateUpdates$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
893
|
-
this.
|
|
894
|
-
this.
|
|
905
|
+
this.c9q_1 = $$this$unsafeFlow;
|
|
906
|
+
this.d9q_1 = this$0;
|
|
895
907
|
CoroutineImpl.call(this, resultContinuation);
|
|
896
908
|
}
|
|
897
909
|
protoOf(GameServer$observeTableStateUpdates$o$collect$slambda).w2h = function (value, $completion) {
|
|
@@ -912,16 +924,16 @@
|
|
|
912
924
|
case 0:
|
|
913
925
|
this.t8_1 = 5;
|
|
914
926
|
var tmp_0 = this;
|
|
915
|
-
tmp_0.
|
|
927
|
+
tmp_0.i9q_1 = this.c9q_1;
|
|
916
928
|
var tmp_1 = this;
|
|
917
|
-
tmp_1.
|
|
929
|
+
tmp_1.h9q_1 = this.e9q_1;
|
|
918
930
|
this.s8_1 = 1;
|
|
919
931
|
continue $sm;
|
|
920
932
|
case 1:
|
|
921
|
-
this.
|
|
922
|
-
var it = this.
|
|
933
|
+
this.f9q_1 = this.i9q_1;
|
|
934
|
+
var it = this.h9q_1;
|
|
923
935
|
var tmp_2;
|
|
924
|
-
if (get_isCreated(this.
|
|
936
|
+
if (get_isCreated(this.d9q_1.t66())) {
|
|
925
937
|
tmp_2 = it;
|
|
926
938
|
} else {
|
|
927
939
|
tmp_2 = null;
|
|
@@ -933,15 +945,15 @@
|
|
|
933
945
|
var tmp_3 = this;
|
|
934
946
|
continue $sm;
|
|
935
947
|
} else {
|
|
936
|
-
this.
|
|
948
|
+
this.g9q_1 = tmp0_elvis_lhs;
|
|
937
949
|
this.s8_1 = 2;
|
|
938
950
|
continue $sm;
|
|
939
951
|
}
|
|
940
952
|
|
|
941
953
|
case 2:
|
|
942
|
-
var transformed = this.
|
|
954
|
+
var transformed = this.g9q_1;
|
|
943
955
|
this.s8_1 = 3;
|
|
944
|
-
suspendResult = this.
|
|
956
|
+
suspendResult = this.f9q_1.n28(transformed, this);
|
|
945
957
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
946
958
|
return suspendResult;
|
|
947
959
|
}
|
|
@@ -972,8 +984,8 @@
|
|
|
972
984
|
while (true);
|
|
973
985
|
};
|
|
974
986
|
protoOf(GameServer$observeTableStateUpdates$o$collect$slambda).x2h = function (value, completion) {
|
|
975
|
-
var i = new GameServer$observeTableStateUpdates$o$collect$slambda(this.
|
|
976
|
-
i.
|
|
987
|
+
var i = new GameServer$observeTableStateUpdates$o$collect$slambda(this.c9q_1, this.d9q_1, completion);
|
|
988
|
+
i.e9q_1 = value;
|
|
977
989
|
return i;
|
|
978
990
|
};
|
|
979
991
|
function GameServer$observeTableStateUpdates$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
@@ -986,8 +998,8 @@
|
|
|
986
998
|
}
|
|
987
999
|
function $collectCOROUTINE$_1(_this__u8e3s4, collector, resultContinuation) {
|
|
988
1000
|
CoroutineImpl.call(this, resultContinuation);
|
|
989
|
-
this.
|
|
990
|
-
this.
|
|
1001
|
+
this.r9q_1 = _this__u8e3s4;
|
|
1002
|
+
this.s9q_1 = collector;
|
|
991
1003
|
}
|
|
992
1004
|
protoOf($collectCOROUTINE$_1).a9 = function () {
|
|
993
1005
|
var suspendResult = this.u8_1;
|
|
@@ -997,10 +1009,10 @@
|
|
|
997
1009
|
switch (tmp) {
|
|
998
1010
|
case 0:
|
|
999
1011
|
this.t8_1 = 2;
|
|
1000
|
-
var $this$unsafeFlow = this.
|
|
1012
|
+
var $this$unsafeFlow = this.s9q_1;
|
|
1001
1013
|
this.s8_1 = 1;
|
|
1002
|
-
var tmp_0 = GameServer$observeTableStateUpdates$o$collect$slambda_0($this$unsafeFlow, this.
|
|
1003
|
-
suspendResult = this.
|
|
1014
|
+
var tmp_0 = GameServer$observeTableStateUpdates$o$collect$slambda_0($this$unsafeFlow, this.r9q_1.u9q_1, null);
|
|
1015
|
+
suspendResult = this.r9q_1.t9q_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
1004
1016
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1005
1017
|
return suspendResult;
|
|
1006
1018
|
}
|
|
@@ -1023,7 +1035,7 @@
|
|
|
1023
1035
|
while (true);
|
|
1024
1036
|
};
|
|
1025
1037
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
1026
|
-
this.
|
|
1038
|
+
this.d9r_1 = $$this$unsafeFlow;
|
|
1027
1039
|
CoroutineImpl.call(this, resultContinuation);
|
|
1028
1040
|
}
|
|
1029
1041
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).w2h = function (value, $completion) {
|
|
@@ -1044,28 +1056,28 @@
|
|
|
1044
1056
|
case 0:
|
|
1045
1057
|
this.t8_1 = 5;
|
|
1046
1058
|
var tmp_0 = this;
|
|
1047
|
-
tmp_0.
|
|
1059
|
+
tmp_0.i9r_1 = this.d9r_1;
|
|
1048
1060
|
var tmp_1 = this;
|
|
1049
|
-
tmp_1.
|
|
1061
|
+
tmp_1.h9r_1 = this.e9r_1;
|
|
1050
1062
|
this.s8_1 = 1;
|
|
1051
1063
|
continue $sm;
|
|
1052
1064
|
case 1:
|
|
1053
|
-
this.
|
|
1054
|
-
var tmp0_elvis_lhs = this.
|
|
1065
|
+
this.f9r_1 = this.i9r_1;
|
|
1066
|
+
var tmp0_elvis_lhs = this.h9r_1.w6q_1;
|
|
1055
1067
|
if (tmp0_elvis_lhs == null) {
|
|
1056
1068
|
this.s8_1 = 4;
|
|
1057
1069
|
var tmp_2 = this;
|
|
1058
1070
|
continue $sm;
|
|
1059
1071
|
} else {
|
|
1060
|
-
this.
|
|
1072
|
+
this.g9r_1 = tmp0_elvis_lhs;
|
|
1061
1073
|
this.s8_1 = 2;
|
|
1062
1074
|
continue $sm;
|
|
1063
1075
|
}
|
|
1064
1076
|
|
|
1065
1077
|
case 2:
|
|
1066
|
-
var transformed = this.
|
|
1078
|
+
var transformed = this.g9r_1;
|
|
1067
1079
|
this.s8_1 = 3;
|
|
1068
|
-
suspendResult = this.
|
|
1080
|
+
suspendResult = this.f9r_1.n28(transformed, this);
|
|
1069
1081
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1070
1082
|
return suspendResult;
|
|
1071
1083
|
}
|
|
@@ -1096,8 +1108,8 @@
|
|
|
1096
1108
|
while (true);
|
|
1097
1109
|
};
|
|
1098
1110
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).x2h = function (value, completion) {
|
|
1099
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
1100
|
-
i.
|
|
1111
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.d9r_1, completion);
|
|
1112
|
+
i.e9r_1 = value;
|
|
1101
1113
|
return i;
|
|
1102
1114
|
};
|
|
1103
1115
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1110,8 +1122,8 @@
|
|
|
1110
1122
|
}
|
|
1111
1123
|
function $collectCOROUTINE$_2(_this__u8e3s4, collector, resultContinuation) {
|
|
1112
1124
|
CoroutineImpl.call(this, resultContinuation);
|
|
1113
|
-
this.
|
|
1114
|
-
this.
|
|
1125
|
+
this.r9r_1 = _this__u8e3s4;
|
|
1126
|
+
this.s9r_1 = collector;
|
|
1115
1127
|
}
|
|
1116
1128
|
protoOf($collectCOROUTINE$_2).a9 = function () {
|
|
1117
1129
|
var suspendResult = this.u8_1;
|
|
@@ -1121,10 +1133,10 @@
|
|
|
1121
1133
|
switch (tmp) {
|
|
1122
1134
|
case 0:
|
|
1123
1135
|
this.t8_1 = 2;
|
|
1124
|
-
var $this$unsafeFlow = this.
|
|
1136
|
+
var $this$unsafeFlow = this.s9r_1;
|
|
1125
1137
|
this.s8_1 = 1;
|
|
1126
1138
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($this$unsafeFlow, null);
|
|
1127
|
-
suspendResult = this.
|
|
1139
|
+
suspendResult = this.r9r_1.t9r_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1128
1140
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1129
1141
|
return suspendResult;
|
|
1130
1142
|
}
|
|
@@ -1147,7 +1159,7 @@
|
|
|
1147
1159
|
while (true);
|
|
1148
1160
|
};
|
|
1149
1161
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_1($$this$unsafeFlow, resultContinuation) {
|
|
1150
|
-
this.
|
|
1162
|
+
this.c9s_1 = $$this$unsafeFlow;
|
|
1151
1163
|
CoroutineImpl.call(this, resultContinuation);
|
|
1152
1164
|
}
|
|
1153
1165
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).w2h = function (value, $completion) {
|
|
@@ -1167,8 +1179,8 @@
|
|
|
1167
1179
|
switch (tmp) {
|
|
1168
1180
|
case 0:
|
|
1169
1181
|
this.t8_1 = 2;
|
|
1170
|
-
var tmp0 = this.
|
|
1171
|
-
var value = this.
|
|
1182
|
+
var tmp0 = this.c9s_1;
|
|
1183
|
+
var value = this.d9s_1;
|
|
1172
1184
|
this.s8_1 = 1;
|
|
1173
1185
|
suspendResult = tmp0.n28(to(value.gameInfo.roundNumberTotal, value), this);
|
|
1174
1186
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1193,8 +1205,8 @@
|
|
|
1193
1205
|
while (true);
|
|
1194
1206
|
};
|
|
1195
1207
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).x2h = function (value, completion) {
|
|
1196
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.
|
|
1197
|
-
i.
|
|
1208
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.c9s_1, completion);
|
|
1209
|
+
i.d9s_1 = value;
|
|
1198
1210
|
return i;
|
|
1199
1211
|
};
|
|
1200
1212
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1207,8 +1219,8 @@
|
|
|
1207
1219
|
}
|
|
1208
1220
|
function $collectCOROUTINE$_3(_this__u8e3s4, collector, resultContinuation) {
|
|
1209
1221
|
CoroutineImpl.call(this, resultContinuation);
|
|
1210
|
-
this.
|
|
1211
|
-
this.
|
|
1222
|
+
this.m9s_1 = _this__u8e3s4;
|
|
1223
|
+
this.n9s_1 = collector;
|
|
1212
1224
|
}
|
|
1213
1225
|
protoOf($collectCOROUTINE$_3).a9 = function () {
|
|
1214
1226
|
var suspendResult = this.u8_1;
|
|
@@ -1218,10 +1230,10 @@
|
|
|
1218
1230
|
switch (tmp) {
|
|
1219
1231
|
case 0:
|
|
1220
1232
|
this.t8_1 = 2;
|
|
1221
|
-
var $this$unsafeFlow = this.
|
|
1233
|
+
var $this$unsafeFlow = this.n9s_1;
|
|
1222
1234
|
this.s8_1 = 1;
|
|
1223
1235
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($this$unsafeFlow, null);
|
|
1224
|
-
suspendResult = this.
|
|
1236
|
+
suspendResult = this.m9s_1.o9s_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1225
1237
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1226
1238
|
return suspendResult;
|
|
1227
1239
|
}
|
|
@@ -1244,7 +1256,7 @@
|
|
|
1244
1256
|
while (true);
|
|
1245
1257
|
};
|
|
1246
1258
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_3($$this$unsafeFlow, resultContinuation) {
|
|
1247
|
-
this.
|
|
1259
|
+
this.x9s_1 = $$this$unsafeFlow;
|
|
1248
1260
|
CoroutineImpl.call(this, resultContinuation);
|
|
1249
1261
|
}
|
|
1250
1262
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).w2h = function (value, $completion) {
|
|
@@ -1264,8 +1276,8 @@
|
|
|
1264
1276
|
switch (tmp) {
|
|
1265
1277
|
case 0:
|
|
1266
1278
|
this.t8_1 = 2;
|
|
1267
|
-
var tmp0 = this.
|
|
1268
|
-
var value = this.
|
|
1279
|
+
var tmp0 = this.x9s_1;
|
|
1280
|
+
var value = this.y9s_1;
|
|
1269
1281
|
this.s8_1 = 1;
|
|
1270
1282
|
suspendResult = tmp0.n28(value.ne_1, this);
|
|
1271
1283
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1290,8 +1302,8 @@
|
|
|
1290
1302
|
while (true);
|
|
1291
1303
|
};
|
|
1292
1304
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).x2h = function (value, completion) {
|
|
1293
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.
|
|
1294
|
-
i.
|
|
1305
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.x9s_1, completion);
|
|
1306
|
+
i.y9s_1 = value;
|
|
1295
1307
|
return i;
|
|
1296
1308
|
};
|
|
1297
1309
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1304,8 +1316,8 @@
|
|
|
1304
1316
|
}
|
|
1305
1317
|
function $collectCOROUTINE$_4(_this__u8e3s4, collector, resultContinuation) {
|
|
1306
1318
|
CoroutineImpl.call(this, resultContinuation);
|
|
1307
|
-
this.
|
|
1308
|
-
this.
|
|
1319
|
+
this.h9t_1 = _this__u8e3s4;
|
|
1320
|
+
this.i9t_1 = collector;
|
|
1309
1321
|
}
|
|
1310
1322
|
protoOf($collectCOROUTINE$_4).a9 = function () {
|
|
1311
1323
|
var suspendResult = this.u8_1;
|
|
@@ -1315,10 +1327,10 @@
|
|
|
1315
1327
|
switch (tmp) {
|
|
1316
1328
|
case 0:
|
|
1317
1329
|
this.t8_1 = 2;
|
|
1318
|
-
var $this$unsafeFlow = this.
|
|
1330
|
+
var $this$unsafeFlow = this.i9t_1;
|
|
1319
1331
|
this.s8_1 = 1;
|
|
1320
1332
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($this$unsafeFlow, null);
|
|
1321
|
-
suspendResult = this.
|
|
1333
|
+
suspendResult = this.h9t_1.j9t_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1322
1334
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1323
1335
|
return suspendResult;
|
|
1324
1336
|
}
|
|
@@ -1341,17 +1353,17 @@
|
|
|
1341
1353
|
while (true);
|
|
1342
1354
|
};
|
|
1343
1355
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
1344
|
-
this.
|
|
1356
|
+
this.s9t_1 = $subscriber;
|
|
1345
1357
|
CoroutineImpl.call(this, resultContinuation);
|
|
1346
1358
|
}
|
|
1347
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1348
|
-
var tmp = this.
|
|
1359
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).u9t = function (it, $completion) {
|
|
1360
|
+
var tmp = this.v9t(it, $completion);
|
|
1349
1361
|
tmp.u8_1 = Unit_instance;
|
|
1350
1362
|
tmp.v8_1 = null;
|
|
1351
1363
|
return tmp.a9();
|
|
1352
1364
|
};
|
|
1353
1365
|
protoOf(GameServer$subscribeWith$slambda$slambda).i9 = function (p1, $completion) {
|
|
1354
|
-
return this.
|
|
1366
|
+
return this.u9t(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
1355
1367
|
};
|
|
1356
1368
|
protoOf(GameServer$subscribeWith$slambda$slambda).a9 = function () {
|
|
1357
1369
|
var suspendResult = this.u8_1;
|
|
@@ -1360,7 +1372,7 @@
|
|
|
1360
1372
|
var tmp = this.s8_1;
|
|
1361
1373
|
if (tmp === 0) {
|
|
1362
1374
|
this.t8_1 = 1;
|
|
1363
|
-
this.
|
|
1375
|
+
this.s9t_1(this.t9t_1);
|
|
1364
1376
|
return Unit_instance;
|
|
1365
1377
|
} else if (tmp === 1) {
|
|
1366
1378
|
throw this.v8_1;
|
|
@@ -1371,76 +1383,76 @@
|
|
|
1371
1383
|
}
|
|
1372
1384
|
while (true);
|
|
1373
1385
|
};
|
|
1374
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1375
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
1376
|
-
i.
|
|
1386
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).v9t = function (it, completion) {
|
|
1387
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.s9t_1, completion);
|
|
1388
|
+
i.t9t_1 = it;
|
|
1377
1389
|
return i;
|
|
1378
1390
|
};
|
|
1379
1391
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
1380
1392
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
1381
1393
|
var l = function (it, $completion) {
|
|
1382
|
-
return i.
|
|
1394
|
+
return i.u9t(it, $completion);
|
|
1383
1395
|
};
|
|
1384
1396
|
l.$arity = 1;
|
|
1385
1397
|
return l;
|
|
1386
1398
|
}
|
|
1387
1399
|
function GameServer$roomOnCreate$2$updatedUsers$previousTeams$1($playerId) {
|
|
1388
|
-
this.
|
|
1400
|
+
this.w9t_1 = $playerId;
|
|
1389
1401
|
}
|
|
1390
1402
|
protoOf(GameServer$roomOnCreate$2$updatedUsers$previousTeams$1).v65 = function () {
|
|
1391
|
-
return this.
|
|
1403
|
+
return this.w9t_1;
|
|
1392
1404
|
};
|
|
1393
1405
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
1394
|
-
var tmp0 = $this.
|
|
1406
|
+
var tmp0 = $this.b9u_1;
|
|
1395
1407
|
var tmp = KProperty1;
|
|
1396
1408
|
// Inline function 'kotlin.getValue' call
|
|
1397
1409
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, GameServer$_get_toClientEventsObserver_$ref_utir8s_0(), null);
|
|
1398
1410
|
return tmp0.x();
|
|
1399
1411
|
}
|
|
1400
1412
|
function _get_fromClientEventsObserver__a7vzd3($this) {
|
|
1401
|
-
var tmp0 = $this.
|
|
1413
|
+
var tmp0 = $this.c9u_1;
|
|
1402
1414
|
var tmp = KProperty1;
|
|
1403
1415
|
// Inline function 'kotlin.getValue' call
|
|
1404
1416
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, GameServer$_get_fromClientEventsObserver_$ref_nf1g79_0(), null);
|
|
1405
1417
|
return tmp0.x();
|
|
1406
1418
|
}
|
|
1407
1419
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
1408
|
-
var tmp0 = $this.
|
|
1420
|
+
var tmp0 = $this.d9u_1;
|
|
1409
1421
|
var tmp = KProperty1;
|
|
1410
1422
|
// Inline function 'kotlin.getValue' call
|
|
1411
1423
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, GameServer$_get_playerConnectionInteractor_$ref_of8tan_0(), null);
|
|
1412
1424
|
return tmp0.x();
|
|
1413
1425
|
}
|
|
1414
1426
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
1415
|
-
var tmp0 = $this.
|
|
1427
|
+
var tmp0 = $this.e9u_1;
|
|
1416
1428
|
var tmp = KProperty1;
|
|
1417
1429
|
// Inline function 'kotlin.getValue' call
|
|
1418
1430
|
getPropertyCallableRef('teamsLogicProvider', 1, tmp, GameServer$_get_teamsLogicProvider_$ref_b7y54g_0(), null);
|
|
1419
1431
|
return tmp0.x();
|
|
1420
1432
|
}
|
|
1421
1433
|
function _get_random__h29cgo($this) {
|
|
1422
|
-
var tmp0 = $this.
|
|
1434
|
+
var tmp0 = $this.f9u_1;
|
|
1423
1435
|
var tmp = KProperty1;
|
|
1424
1436
|
// Inline function 'kotlin.getValue' call
|
|
1425
1437
|
getPropertyCallableRef('random', 1, tmp, GameServer$_get_random_$ref_fottnq(), null);
|
|
1426
1438
|
return tmp0.x();
|
|
1427
1439
|
}
|
|
1428
1440
|
function _get_idsProvider__fnfajc($this) {
|
|
1429
|
-
var tmp0 = $this.
|
|
1441
|
+
var tmp0 = $this.g9u_1;
|
|
1430
1442
|
var tmp = KProperty1;
|
|
1431
1443
|
// Inline function 'kotlin.getValue' call
|
|
1432
1444
|
getPropertyCallableRef('idsProvider', 1, tmp, GameServer$_get_idsProvider_$ref_89s908_0(), null);
|
|
1433
1445
|
return tmp0.x();
|
|
1434
1446
|
}
|
|
1435
1447
|
function _get_serverReduxConfig__rprcrm($this) {
|
|
1436
|
-
var tmp0 = $this.
|
|
1448
|
+
var tmp0 = $this.h9u_1;
|
|
1437
1449
|
var tmp = KProperty1;
|
|
1438
1450
|
// Inline function 'kotlin.getValue' call
|
|
1439
1451
|
getPropertyCallableRef('serverReduxConfig', 1, tmp, GameServer$_get_serverReduxConfig_$ref_7h6jq6_0(), null);
|
|
1440
1452
|
return tmp0.x();
|
|
1441
1453
|
}
|
|
1442
1454
|
function _get_encoderDecoderProvider__qqgrji($this) {
|
|
1443
|
-
var tmp0 = $this.
|
|
1455
|
+
var tmp0 = $this.i9u_1;
|
|
1444
1456
|
var tmp = KProperty1;
|
|
1445
1457
|
// Inline function 'kotlin.getValue' call
|
|
1446
1458
|
getPropertyCallableRef('encoderDecoderProvider', 1, tmp, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8_0(), null);
|
|
@@ -1448,7 +1460,7 @@
|
|
|
1448
1460
|
}
|
|
1449
1461
|
function observeTableStateUpdates($this) {
|
|
1450
1462
|
// Inline function 'kotlinx.coroutines.flow.flatMapLatest' call
|
|
1451
|
-
var this_0 = observeTableWhenRoundChanges($this, $this.
|
|
1463
|
+
var this_0 = observeTableWhenRoundChanges($this, $this.v6q());
|
|
1452
1464
|
// Inline function 'kotlinx.coroutines.flow.mapNotNull' call
|
|
1453
1465
|
// Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
|
|
1454
1466
|
var this_1 = transformLatest(this_0, GameServer$observeTableStateUpdates$slambda_0($this, null));
|
|
@@ -1472,20 +1484,20 @@
|
|
|
1472
1484
|
return new GameServer$observeTableWhenRoundChanges$$inlined$map$2(this_1);
|
|
1473
1485
|
}
|
|
1474
1486
|
function Companion() {
|
|
1475
|
-
this.
|
|
1487
|
+
this.k9u_1 = 'GameEngine_API';
|
|
1476
1488
|
}
|
|
1477
1489
|
var Companion_instance_7;
|
|
1478
1490
|
function Companion_getInstance_0() {
|
|
1479
1491
|
return Companion_instance_7;
|
|
1480
1492
|
}
|
|
1481
1493
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
1482
|
-
this.
|
|
1494
|
+
this.l9u_1 = function_0;
|
|
1483
1495
|
}
|
|
1484
1496
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).n28 = function (value, $completion) {
|
|
1485
|
-
return this.
|
|
1497
|
+
return this.l9u_1(value, $completion);
|
|
1486
1498
|
};
|
|
1487
1499
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).b3 = function () {
|
|
1488
|
-
return this.
|
|
1500
|
+
return this.l9u_1;
|
|
1489
1501
|
};
|
|
1490
1502
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
1491
1503
|
var tmp;
|
|
@@ -1506,13 +1518,13 @@
|
|
|
1506
1518
|
return hashCode(this.b3());
|
|
1507
1519
|
};
|
|
1508
1520
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
1509
|
-
this.
|
|
1521
|
+
this.m9u_1 = function_0;
|
|
1510
1522
|
}
|
|
1511
1523
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).n28 = function (value, $completion) {
|
|
1512
|
-
return this.
|
|
1524
|
+
return this.m9u_1(value, $completion);
|
|
1513
1525
|
};
|
|
1514
1526
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).b3 = function () {
|
|
1515
|
-
return this.
|
|
1527
|
+
return this.m9u_1;
|
|
1516
1528
|
};
|
|
1517
1529
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
1518
1530
|
var tmp;
|
|
@@ -1533,13 +1545,13 @@
|
|
|
1533
1545
|
return hashCode(this.b3());
|
|
1534
1546
|
};
|
|
1535
1547
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
1536
|
-
this.
|
|
1548
|
+
this.n9u_1 = function_0;
|
|
1537
1549
|
}
|
|
1538
1550
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).n28 = function (value, $completion) {
|
|
1539
|
-
return this.
|
|
1551
|
+
return this.n9u_1(value, $completion);
|
|
1540
1552
|
};
|
|
1541
1553
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).b3 = function () {
|
|
1542
|
-
return this.
|
|
1554
|
+
return this.n9u_1;
|
|
1543
1555
|
};
|
|
1544
1556
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
1545
1557
|
var tmp;
|
|
@@ -1560,13 +1572,13 @@
|
|
|
1560
1572
|
return hashCode(this.b3());
|
|
1561
1573
|
};
|
|
1562
1574
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
1563
|
-
this.
|
|
1575
|
+
this.o9u_1 = function_0;
|
|
1564
1576
|
}
|
|
1565
1577
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).n28 = function (value, $completion) {
|
|
1566
|
-
return this.
|
|
1578
|
+
return this.o9u_1(value, $completion);
|
|
1567
1579
|
};
|
|
1568
1580
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).b3 = function () {
|
|
1569
|
-
return this.
|
|
1581
|
+
return this.o9u_1;
|
|
1570
1582
|
};
|
|
1571
1583
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
1572
1584
|
var tmp;
|
|
@@ -1587,13 +1599,13 @@
|
|
|
1587
1599
|
return hashCode(this.b3());
|
|
1588
1600
|
};
|
|
1589
1601
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
|
|
1590
|
-
this.
|
|
1602
|
+
this.p9u_1 = function_0;
|
|
1591
1603
|
}
|
|
1592
1604
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).n28 = function (value, $completion) {
|
|
1593
|
-
return this.
|
|
1605
|
+
return this.p9u_1(value, $completion);
|
|
1594
1606
|
};
|
|
1595
1607
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).b3 = function () {
|
|
1596
|
-
return this.
|
|
1608
|
+
return this.p9u_1;
|
|
1597
1609
|
};
|
|
1598
1610
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
|
|
1599
1611
|
var tmp;
|
|
@@ -1614,13 +1626,13 @@
|
|
|
1614
1626
|
return hashCode(this.b3());
|
|
1615
1627
|
};
|
|
1616
1628
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_4(function_0) {
|
|
1617
|
-
this.
|
|
1629
|
+
this.q9u_1 = function_0;
|
|
1618
1630
|
}
|
|
1619
1631
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).n28 = function (value, $completion) {
|
|
1620
|
-
return this.
|
|
1632
|
+
return this.q9u_1(value, $completion);
|
|
1621
1633
|
};
|
|
1622
1634
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).b3 = function () {
|
|
1623
|
-
return this.
|
|
1635
|
+
return this.q9u_1;
|
|
1624
1636
|
};
|
|
1625
1637
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).equals = function (other) {
|
|
1626
1638
|
var tmp;
|
|
@@ -1721,8 +1733,8 @@
|
|
|
1721
1733
|
};
|
|
1722
1734
|
}
|
|
1723
1735
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
1724
|
-
this.
|
|
1725
|
-
this.
|
|
1736
|
+
this.z9u_1 = this$0;
|
|
1737
|
+
this.a9v_1 = $subscriber;
|
|
1726
1738
|
CoroutineImpl.call(this, resultContinuation);
|
|
1727
1739
|
}
|
|
1728
1740
|
protoOf(GameServer$subscribeToClientAction$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -1743,8 +1755,8 @@
|
|
|
1743
1755
|
case 0:
|
|
1744
1756
|
this.t8_1 = 2;
|
|
1745
1757
|
this.s8_1 = 1;
|
|
1746
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
1747
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
1758
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.z9u_1).c9v();
|
|
1759
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.a9v_1, null);
|
|
1748
1760
|
suspendResult = tmp_0.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1749
1761
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1750
1762
|
return suspendResult;
|
|
@@ -1768,8 +1780,8 @@
|
|
|
1768
1780
|
while (true);
|
|
1769
1781
|
};
|
|
1770
1782
|
protoOf(GameServer$subscribeToClientAction$slambda).c2d = function ($this$launchDefault, completion) {
|
|
1771
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
1772
|
-
i.
|
|
1783
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.z9u_1, this.a9v_1, completion);
|
|
1784
|
+
i.b9v_1 = $this$launchDefault;
|
|
1773
1785
|
return i;
|
|
1774
1786
|
};
|
|
1775
1787
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1781,8 +1793,8 @@
|
|
|
1781
1793
|
return l;
|
|
1782
1794
|
}
|
|
1783
1795
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
1784
|
-
this.
|
|
1785
|
-
this.
|
|
1796
|
+
this.l9v_1 = this$0;
|
|
1797
|
+
this.m9v_1 = $subscriber;
|
|
1786
1798
|
CoroutineImpl.call(this, resultContinuation);
|
|
1787
1799
|
}
|
|
1788
1800
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -1803,8 +1815,8 @@
|
|
|
1803
1815
|
case 0:
|
|
1804
1816
|
this.t8_1 = 2;
|
|
1805
1817
|
this.s8_1 = 1;
|
|
1806
|
-
var tmp_0 = observeTableStateUpdates(this.
|
|
1807
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
1818
|
+
var tmp_0 = observeTableStateUpdates(this.l9v_1);
|
|
1819
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.m9v_1, null);
|
|
1808
1820
|
suspendResult = tmp_0.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
1809
1821
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1810
1822
|
return suspendResult;
|
|
@@ -1828,8 +1840,8 @@
|
|
|
1828
1840
|
while (true);
|
|
1829
1841
|
};
|
|
1830
1842
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).c2d = function ($this$launchDefault, completion) {
|
|
1831
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
1832
|
-
i.
|
|
1843
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.l9v_1, this.m9v_1, completion);
|
|
1844
|
+
i.n9v_1 = $this$launchDefault;
|
|
1833
1845
|
return i;
|
|
1834
1846
|
};
|
|
1835
1847
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1841,8 +1853,8 @@
|
|
|
1841
1853
|
return l;
|
|
1842
1854
|
}
|
|
1843
1855
|
function GameServer$subscribeServerStateUpdateJson$slambda(this$0, $subscriber, resultContinuation) {
|
|
1844
|
-
this.
|
|
1845
|
-
this.
|
|
1856
|
+
this.w9v_1 = this$0;
|
|
1857
|
+
this.x9v_1 = $subscriber;
|
|
1846
1858
|
CoroutineImpl.call(this, resultContinuation);
|
|
1847
1859
|
}
|
|
1848
1860
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -1863,9 +1875,9 @@
|
|
|
1863
1875
|
case 0:
|
|
1864
1876
|
this.t8_1 = 2;
|
|
1865
1877
|
this.s8_1 = 1;
|
|
1866
|
-
var this_0 = observeTableStateUpdates(this.
|
|
1867
|
-
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.
|
|
1868
|
-
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.
|
|
1878
|
+
var this_0 = observeTableStateUpdates(this.w9v_1);
|
|
1879
|
+
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.w9v_1);
|
|
1880
|
+
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.x9v_1, null);
|
|
1869
1881
|
suspendResult = tmp_0.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
1870
1882
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1871
1883
|
return suspendResult;
|
|
@@ -1889,8 +1901,8 @@
|
|
|
1889
1901
|
while (true);
|
|
1890
1902
|
};
|
|
1891
1903
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).c2d = function ($this$launchDefault, completion) {
|
|
1892
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.
|
|
1893
|
-
i.
|
|
1904
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.w9v_1, this.x9v_1, completion);
|
|
1905
|
+
i.y9v_1 = $this$launchDefault;
|
|
1894
1906
|
return i;
|
|
1895
1907
|
};
|
|
1896
1908
|
function GameServer$subscribeServerStateUpdateJson$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1902,18 +1914,18 @@
|
|
|
1902
1914
|
return l;
|
|
1903
1915
|
}
|
|
1904
1916
|
function GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation) {
|
|
1905
|
-
this.
|
|
1917
|
+
this.h9w_1 = this$0;
|
|
1906
1918
|
CoroutineImpl.call(this, resultContinuation);
|
|
1907
1919
|
}
|
|
1908
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1909
|
-
var tmp = this.
|
|
1920
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).k9w = function ($this$transformLatest, it, $completion) {
|
|
1921
|
+
var tmp = this.l9w($this$transformLatest, it, $completion);
|
|
1910
1922
|
tmp.u8_1 = Unit_instance;
|
|
1911
1923
|
tmp.v8_1 = null;
|
|
1912
1924
|
return tmp.a9();
|
|
1913
1925
|
};
|
|
1914
1926
|
protoOf(GameServer$observeTableStateUpdates$slambda).j9 = function (p1, p2, $completion) {
|
|
1915
1927
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
1916
|
-
return this.
|
|
1928
|
+
return this.k9w(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
1917
1929
|
};
|
|
1918
1930
|
protoOf(GameServer$observeTableStateUpdates$slambda).a9 = function () {
|
|
1919
1931
|
var suspendResult = this.u8_1;
|
|
@@ -1924,8 +1936,8 @@
|
|
|
1924
1936
|
case 0:
|
|
1925
1937
|
this.t8_1 = 2;
|
|
1926
1938
|
this.s8_1 = 1;
|
|
1927
|
-
var table = this.
|
|
1928
|
-
suspendResult = emitAll(this.
|
|
1939
|
+
var table = this.j9w_1;
|
|
1940
|
+
suspendResult = emitAll(this.i9w_1, flow(GameServer$observeTableStateUpdates$slambda$slambda_0(table, this.h9w_1, null)), this);
|
|
1929
1941
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1930
1942
|
return suspendResult;
|
|
1931
1943
|
}
|
|
@@ -1947,23 +1959,23 @@
|
|
|
1947
1959
|
}
|
|
1948
1960
|
while (true);
|
|
1949
1961
|
};
|
|
1950
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1951
|
-
var i = new GameServer$observeTableStateUpdates$slambda(this.
|
|
1952
|
-
i.
|
|
1953
|
-
i.
|
|
1962
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).l9w = function ($this$transformLatest, it, completion) {
|
|
1963
|
+
var i = new GameServer$observeTableStateUpdates$slambda(this.h9w_1, completion);
|
|
1964
|
+
i.i9w_1 = $this$transformLatest;
|
|
1965
|
+
i.j9w_1 = it;
|
|
1954
1966
|
return i;
|
|
1955
1967
|
};
|
|
1956
1968
|
function GameServer$observeTableStateUpdates$slambda_0(this$0, resultContinuation) {
|
|
1957
1969
|
var i = new GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation);
|
|
1958
1970
|
var l = function ($this$transformLatest, it, $completion) {
|
|
1959
|
-
return i.
|
|
1971
|
+
return i.k9w($this$transformLatest, it, $completion);
|
|
1960
1972
|
};
|
|
1961
1973
|
l.$arity = 2;
|
|
1962
1974
|
return l;
|
|
1963
1975
|
}
|
|
1964
1976
|
function GameServer$observeTableStateUpdates$$inlined$mapNotNull$1($this, this$0) {
|
|
1965
|
-
this.
|
|
1966
|
-
this.
|
|
1977
|
+
this.t9q_1 = $this;
|
|
1978
|
+
this.u9q_1 = this$0;
|
|
1967
1979
|
}
|
|
1968
1980
|
protoOf(GameServer$observeTableStateUpdates$$inlined$mapNotNull$1).o28 = function (collector, $completion) {
|
|
1969
1981
|
var tmp = new $collectCOROUTINE$_1(this, collector, $completion);
|
|
@@ -1975,7 +1987,7 @@
|
|
|
1975
1987
|
return this.o28(collector, $completion);
|
|
1976
1988
|
};
|
|
1977
1989
|
function GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1($this) {
|
|
1978
|
-
this.
|
|
1990
|
+
this.t9r_1 = $this;
|
|
1979
1991
|
}
|
|
1980
1992
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).o28 = function (collector, $completion) {
|
|
1981
1993
|
var tmp = new $collectCOROUTINE$_2(this, collector, $completion);
|
|
@@ -1987,7 +1999,7 @@
|
|
|
1987
1999
|
return this.o28(collector, $completion);
|
|
1988
2000
|
};
|
|
1989
2001
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$1($this) {
|
|
1990
|
-
this.
|
|
2002
|
+
this.o9s_1 = $this;
|
|
1991
2003
|
}
|
|
1992
2004
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).o28 = function (collector, $completion) {
|
|
1993
2005
|
var tmp = new $collectCOROUTINE$_3(this, collector, $completion);
|
|
@@ -2002,7 +2014,7 @@
|
|
|
2002
2014
|
return old.me_1 === new_0.me_1;
|
|
2003
2015
|
}
|
|
2004
2016
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$2($this) {
|
|
2005
|
-
this.
|
|
2017
|
+
this.j9t_1 = $this;
|
|
2006
2018
|
}
|
|
2007
2019
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).o28 = function (collector, $completion) {
|
|
2008
2020
|
var tmp = new $collectCOROUTINE$_4(this, collector, $completion);
|
|
@@ -2014,8 +2026,8 @@
|
|
|
2014
2026
|
return this.o28(collector, $completion);
|
|
2015
2027
|
};
|
|
2016
2028
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
2017
|
-
this.
|
|
2018
|
-
this.
|
|
2029
|
+
this.u9w_1 = this$0;
|
|
2030
|
+
this.v9w_1 = $subscriber;
|
|
2019
2031
|
CoroutineImpl.call(this, resultContinuation);
|
|
2020
2032
|
}
|
|
2021
2033
|
protoOf(GameServer$subscribeWith$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -2036,8 +2048,8 @@
|
|
|
2036
2048
|
case 0:
|
|
2037
2049
|
this.t8_1 = 2;
|
|
2038
2050
|
this.s8_1 = 1;
|
|
2039
|
-
var tmp_0 = distinctUntilChanged(this.
|
|
2040
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
2051
|
+
var tmp_0 = distinctUntilChanged(this.u9w_1.v6q());
|
|
2052
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.v9w_1, null);
|
|
2041
2053
|
suspendResult = tmp_0.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_4(tmp_1), this);
|
|
2042
2054
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2043
2055
|
return suspendResult;
|
|
@@ -2061,8 +2073,8 @@
|
|
|
2061
2073
|
while (true);
|
|
2062
2074
|
};
|
|
2063
2075
|
protoOf(GameServer$subscribeWith$slambda).c2d = function ($this$launchDefault, completion) {
|
|
2064
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
2065
|
-
i.
|
|
2076
|
+
var i = new GameServer$subscribeWith$slambda(this.u9w_1, this.v9w_1, completion);
|
|
2077
|
+
i.w9w_1 = $this$launchDefault;
|
|
2066
2078
|
return i;
|
|
2067
2079
|
};
|
|
2068
2080
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -2074,18 +2086,18 @@
|
|
|
2074
2086
|
return l;
|
|
2075
2087
|
}
|
|
2076
2088
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
2077
|
-
this.
|
|
2089
|
+
this.f9x_1 = $action;
|
|
2078
2090
|
CoroutineImpl.call(this, resultContinuation);
|
|
2079
2091
|
}
|
|
2080
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
2081
|
-
var tmp = this.
|
|
2092
|
+
protoOf(GameServer$fromClientEvent$slambda).i9x = function ($this$dispatchAsync, store, $completion) {
|
|
2093
|
+
var tmp = this.j9x($this$dispatchAsync, store, $completion);
|
|
2082
2094
|
tmp.u8_1 = Unit_instance;
|
|
2083
2095
|
tmp.v8_1 = null;
|
|
2084
2096
|
return tmp.a9();
|
|
2085
2097
|
};
|
|
2086
2098
|
protoOf(GameServer$fromClientEvent$slambda).j9 = function (p1, p2, $completion) {
|
|
2087
2099
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2088
|
-
return this.
|
|
2100
|
+
return this.i9x(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2089
2101
|
};
|
|
2090
2102
|
protoOf(GameServer$fromClientEvent$slambda).a9 = function () {
|
|
2091
2103
|
var suspendResult = this.u8_1;
|
|
@@ -2094,11 +2106,11 @@
|
|
|
2094
2106
|
var tmp = this.s8_1;
|
|
2095
2107
|
if (tmp === 0) {
|
|
2096
2108
|
this.t8_1 = 1;
|
|
2097
|
-
if (this.
|
|
2098
|
-
if (!get_isCreated(this.
|
|
2109
|
+
if (this.f9x_1 instanceof PlayerReadyFromClientAction)
|
|
2110
|
+
if (!get_isCreated(this.h9x_1.state)) {
|
|
2099
2111
|
return Unit_instance;
|
|
2100
2112
|
}
|
|
2101
|
-
this.
|
|
2113
|
+
this.h9x_1.dispatch(this.f9x_1);
|
|
2102
2114
|
return Unit_instance;
|
|
2103
2115
|
} else if (tmp === 1) {
|
|
2104
2116
|
throw this.v8_1;
|
|
@@ -2109,33 +2121,33 @@
|
|
|
2109
2121
|
}
|
|
2110
2122
|
while (true);
|
|
2111
2123
|
};
|
|
2112
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
2113
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
2114
|
-
i.
|
|
2115
|
-
i.
|
|
2124
|
+
protoOf(GameServer$fromClientEvent$slambda).j9x = function ($this$dispatchAsync, store, completion) {
|
|
2125
|
+
var i = new GameServer$fromClientEvent$slambda(this.f9x_1, completion);
|
|
2126
|
+
i.g9x_1 = $this$dispatchAsync;
|
|
2127
|
+
i.h9x_1 = store;
|
|
2116
2128
|
return i;
|
|
2117
2129
|
};
|
|
2118
2130
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
2119
2131
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
2120
2132
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2121
|
-
return i.
|
|
2133
|
+
return i.i9x($this$dispatchAsync, store, $completion);
|
|
2122
2134
|
};
|
|
2123
2135
|
l.$arity = 2;
|
|
2124
2136
|
return l;
|
|
2125
2137
|
}
|
|
2126
2138
|
function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
|
|
2127
|
-
this.
|
|
2139
|
+
this.s9x_1 = $playerId;
|
|
2128
2140
|
CoroutineImpl.call(this, resultContinuation);
|
|
2129
2141
|
}
|
|
2130
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2131
|
-
var tmp = this.
|
|
2142
|
+
protoOf(GameServer$playerLostConnection$slambda).i9x = function ($this$dispatchAsync, store, $completion) {
|
|
2143
|
+
var tmp = this.j9x($this$dispatchAsync, store, $completion);
|
|
2132
2144
|
tmp.u8_1 = Unit_instance;
|
|
2133
2145
|
tmp.v8_1 = null;
|
|
2134
2146
|
return tmp.a9();
|
|
2135
2147
|
};
|
|
2136
2148
|
protoOf(GameServer$playerLostConnection$slambda).j9 = function (p1, p2, $completion) {
|
|
2137
2149
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2138
|
-
return this.
|
|
2150
|
+
return this.i9x(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2139
2151
|
};
|
|
2140
2152
|
protoOf(GameServer$playerLostConnection$slambda).a9 = function () {
|
|
2141
2153
|
var suspendResult = this.u8_1;
|
|
@@ -2144,12 +2156,12 @@
|
|
|
2144
2156
|
var tmp = this.s8_1;
|
|
2145
2157
|
if (tmp === 0) {
|
|
2146
2158
|
this.t8_1 = 1;
|
|
2147
|
-
if (!get_isCreated(this.
|
|
2159
|
+
if (!get_isCreated(this.u9x_1.state)) {
|
|
2148
2160
|
return Unit_instance;
|
|
2149
2161
|
}
|
|
2150
|
-
var tmp_0 = this.
|
|
2162
|
+
var tmp_0 = this.u9x_1.dispatch;
|
|
2151
2163
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
2152
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2164
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.s9x_1));
|
|
2153
2165
|
return Unit_instance;
|
|
2154
2166
|
} else if (tmp === 1) {
|
|
2155
2167
|
throw this.v8_1;
|
|
@@ -2160,34 +2172,34 @@
|
|
|
2160
2172
|
}
|
|
2161
2173
|
while (true);
|
|
2162
2174
|
};
|
|
2163
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2164
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
2165
|
-
i.
|
|
2166
|
-
i.
|
|
2175
|
+
protoOf(GameServer$playerLostConnection$slambda).j9x = function ($this$dispatchAsync, store, completion) {
|
|
2176
|
+
var i = new GameServer$playerLostConnection$slambda(this.s9x_1, completion);
|
|
2177
|
+
i.t9x_1 = $this$dispatchAsync;
|
|
2178
|
+
i.u9x_1 = store;
|
|
2167
2179
|
return i;
|
|
2168
2180
|
};
|
|
2169
2181
|
function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
|
|
2170
2182
|
var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
|
|
2171
2183
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2172
|
-
return i.
|
|
2184
|
+
return i.i9x($this$dispatchAsync, store, $completion);
|
|
2173
2185
|
};
|
|
2174
2186
|
l.$arity = 2;
|
|
2175
2187
|
return l;
|
|
2176
2188
|
}
|
|
2177
2189
|
function GameServer$playerLive$slambda(this$0, $playerId, resultContinuation) {
|
|
2178
|
-
this.
|
|
2179
|
-
this.
|
|
2190
|
+
this.d9y_1 = this$0;
|
|
2191
|
+
this.e9y_1 = $playerId;
|
|
2180
2192
|
CoroutineImpl.call(this, resultContinuation);
|
|
2181
2193
|
}
|
|
2182
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2183
|
-
var tmp = this.
|
|
2194
|
+
protoOf(GameServer$playerLive$slambda).i9x = function ($this$dispatchAsync, store, $completion) {
|
|
2195
|
+
var tmp = this.j9x($this$dispatchAsync, store, $completion);
|
|
2184
2196
|
tmp.u8_1 = Unit_instance;
|
|
2185
2197
|
tmp.v8_1 = null;
|
|
2186
2198
|
return tmp.a9();
|
|
2187
2199
|
};
|
|
2188
2200
|
protoOf(GameServer$playerLive$slambda).j9 = function (p1, p2, $completion) {
|
|
2189
2201
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2190
|
-
return this.
|
|
2202
|
+
return this.i9x(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2191
2203
|
};
|
|
2192
2204
|
protoOf(GameServer$playerLive$slambda).a9 = function () {
|
|
2193
2205
|
var suspendResult = this.u8_1;
|
|
@@ -2196,16 +2208,16 @@
|
|
|
2196
2208
|
var tmp = this.s8_1;
|
|
2197
2209
|
if (tmp === 0) {
|
|
2198
2210
|
this.t8_1 = 1;
|
|
2199
|
-
if (get_isFinished(this.
|
|
2211
|
+
if (get_isFinished(this.g9y_1.state) || get_isFinishing(this.g9y_1.state)) {
|
|
2200
2212
|
return Unit_instance;
|
|
2201
2213
|
}
|
|
2202
|
-
if (!get_isCreated(this.
|
|
2203
|
-
this.
|
|
2214
|
+
if (!get_isCreated(this.g9y_1.state) || !this.d9y_1.t66().y6r()) {
|
|
2215
|
+
this.d9y_1.h4q().v('GameEngine_API', 'playerLive: ' + this.e9y_1 + ' before game is created');
|
|
2204
2216
|
return Unit_instance;
|
|
2205
2217
|
}
|
|
2206
|
-
var tmp_0 = this.
|
|
2218
|
+
var tmp_0 = this.g9y_1.dispatch;
|
|
2207
2219
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2208
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2220
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.e9y_1));
|
|
2209
2221
|
return Unit_instance;
|
|
2210
2222
|
} else if (tmp === 1) {
|
|
2211
2223
|
throw this.v8_1;
|
|
@@ -2216,34 +2228,35 @@
|
|
|
2216
2228
|
}
|
|
2217
2229
|
while (true);
|
|
2218
2230
|
};
|
|
2219
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2220
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
2221
|
-
i.
|
|
2222
|
-
i.
|
|
2231
|
+
protoOf(GameServer$playerLive$slambda).j9x = function ($this$dispatchAsync, store, completion) {
|
|
2232
|
+
var i = new GameServer$playerLive$slambda(this.d9y_1, this.e9y_1, completion);
|
|
2233
|
+
i.f9y_1 = $this$dispatchAsync;
|
|
2234
|
+
i.g9y_1 = store;
|
|
2223
2235
|
return i;
|
|
2224
2236
|
};
|
|
2225
2237
|
function GameServer$playerLive$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2226
2238
|
var i = new GameServer$playerLive$slambda(this$0, $playerId, resultContinuation);
|
|
2227
2239
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2228
|
-
return i.
|
|
2240
|
+
return i.i9x($this$dispatchAsync, store, $completion);
|
|
2229
2241
|
};
|
|
2230
2242
|
l.$arity = 2;
|
|
2231
2243
|
return l;
|
|
2232
2244
|
}
|
|
2233
|
-
function GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation) {
|
|
2234
|
-
this.
|
|
2235
|
-
this.
|
|
2245
|
+
function GameServer$playerLeft$slambda(this$0, $playerId, $permanently, resultContinuation) {
|
|
2246
|
+
this.p9y_1 = this$0;
|
|
2247
|
+
this.q9y_1 = $playerId;
|
|
2248
|
+
this.r9y_1 = $permanently;
|
|
2236
2249
|
CoroutineImpl.call(this, resultContinuation);
|
|
2237
2250
|
}
|
|
2238
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2239
|
-
var tmp = this.
|
|
2251
|
+
protoOf(GameServer$playerLeft$slambda).i9x = function ($this$dispatchAsync, store, $completion) {
|
|
2252
|
+
var tmp = this.j9x($this$dispatchAsync, store, $completion);
|
|
2240
2253
|
tmp.u8_1 = Unit_instance;
|
|
2241
2254
|
tmp.v8_1 = null;
|
|
2242
2255
|
return tmp.a9();
|
|
2243
2256
|
};
|
|
2244
2257
|
protoOf(GameServer$playerLeft$slambda).j9 = function (p1, p2, $completion) {
|
|
2245
2258
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2246
|
-
return this.
|
|
2259
|
+
return this.i9x(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2247
2260
|
};
|
|
2248
2261
|
protoOf(GameServer$playerLeft$slambda).a9 = function () {
|
|
2249
2262
|
var suspendResult = this.u8_1;
|
|
@@ -2252,16 +2265,22 @@
|
|
|
2252
2265
|
var tmp = this.s8_1;
|
|
2253
2266
|
if (tmp === 0) {
|
|
2254
2267
|
this.t8_1 = 1;
|
|
2255
|
-
if (get_isFinished(this.
|
|
2268
|
+
if (get_isFinished(this.t9y_1.state) || get_isFinishing(this.t9y_1.state)) {
|
|
2256
2269
|
return Unit_instance;
|
|
2257
2270
|
}
|
|
2258
|
-
if (!get_isCreated(this.
|
|
2259
|
-
this.
|
|
2271
|
+
if (!get_isCreated(this.t9y_1.state) || !this.p9y_1.t66().y6r()) {
|
|
2272
|
+
this.p9y_1.h4q().w('GameEngine_API', 'playerLeft: ' + this.q9y_1 + ' before game is created');
|
|
2260
2273
|
return Unit_instance;
|
|
2261
2274
|
}
|
|
2262
|
-
var tmp_0 = this.
|
|
2263
|
-
var
|
|
2264
|
-
|
|
2275
|
+
var tmp_0 = this.t9y_1.dispatch;
|
|
2276
|
+
var tmp_1;
|
|
2277
|
+
if (this.r9y_1) {
|
|
2278
|
+
tmp_1 = PlayerConnectionState_LEFT_PERMANENTLY_getInstance();
|
|
2279
|
+
} else {
|
|
2280
|
+
tmp_1 = PlayerConnectionState_LEFT_getInstance();
|
|
2281
|
+
}
|
|
2282
|
+
var tmp0_connectionState = tmp_1;
|
|
2283
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.q9y_1));
|
|
2265
2284
|
return Unit_instance;
|
|
2266
2285
|
} else if (tmp === 1) {
|
|
2267
2286
|
throw this.v8_1;
|
|
@@ -2272,39 +2291,39 @@
|
|
|
2272
2291
|
}
|
|
2273
2292
|
while (true);
|
|
2274
2293
|
};
|
|
2275
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2276
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
2277
|
-
i.
|
|
2278
|
-
i.
|
|
2294
|
+
protoOf(GameServer$playerLeft$slambda).j9x = function ($this$dispatchAsync, store, completion) {
|
|
2295
|
+
var i = new GameServer$playerLeft$slambda(this.p9y_1, this.q9y_1, this.r9y_1, completion);
|
|
2296
|
+
i.s9y_1 = $this$dispatchAsync;
|
|
2297
|
+
i.t9y_1 = store;
|
|
2279
2298
|
return i;
|
|
2280
2299
|
};
|
|
2281
|
-
function GameServer$playerLeft$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2282
|
-
var i = new GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation);
|
|
2300
|
+
function GameServer$playerLeft$slambda_0(this$0, $playerId, $permanently, resultContinuation) {
|
|
2301
|
+
var i = new GameServer$playerLeft$slambda(this$0, $playerId, $permanently, resultContinuation);
|
|
2283
2302
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2284
|
-
return i.
|
|
2303
|
+
return i.i9x($this$dispatchAsync, store, $completion);
|
|
2285
2304
|
};
|
|
2286
2305
|
l.$arity = 2;
|
|
2287
2306
|
return l;
|
|
2288
2307
|
}
|
|
2289
2308
|
function GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2290
|
-
this.
|
|
2291
|
-
this.
|
|
2292
|
-
this.
|
|
2293
|
-
this.
|
|
2294
|
-
this.
|
|
2295
|
-
this.
|
|
2296
|
-
this.
|
|
2309
|
+
this.c9z_1 = $usersArray;
|
|
2310
|
+
this.d9z_1 = $config;
|
|
2311
|
+
this.e9z_1 = this$0;
|
|
2312
|
+
this.f9z_1 = $roomId;
|
|
2313
|
+
this.g9z_1 = $transition;
|
|
2314
|
+
this.h9z_1 = $gameCreatorId;
|
|
2315
|
+
this.i9z_1 = $spectators;
|
|
2297
2316
|
CoroutineImpl.call(this, resultContinuation);
|
|
2298
2317
|
}
|
|
2299
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2300
|
-
var tmp = this.
|
|
2318
|
+
protoOf(GameServer$roomOnCreate$slambda).i9x = function ($this$dispatchAsync, store, $completion) {
|
|
2319
|
+
var tmp = this.j9x($this$dispatchAsync, store, $completion);
|
|
2301
2320
|
tmp.u8_1 = Unit_instance;
|
|
2302
2321
|
tmp.v8_1 = null;
|
|
2303
2322
|
return tmp.a9();
|
|
2304
2323
|
};
|
|
2305
2324
|
protoOf(GameServer$roomOnCreate$slambda).j9 = function (p1, p2, $completion) {
|
|
2306
2325
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2307
|
-
return this.
|
|
2326
|
+
return this.i9x(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2308
2327
|
};
|
|
2309
2328
|
protoOf(GameServer$roomOnCreate$slambda).a9 = function () {
|
|
2310
2329
|
var suspendResult = this.u8_1;
|
|
@@ -2313,33 +2332,33 @@
|
|
|
2313
2332
|
var tmp = this.s8_1;
|
|
2314
2333
|
if (tmp === 0) {
|
|
2315
2334
|
this.t8_1 = 1;
|
|
2316
|
-
var users = toList(this.
|
|
2317
|
-
if (!(this.
|
|
2318
|
-
this.
|
|
2319
|
-
this.
|
|
2335
|
+
var users = toList(this.c9z_1);
|
|
2336
|
+
if (!(this.d9z_1.playersMode.count === users.o())) {
|
|
2337
|
+
this.e9z_1.h4q().w('GameEngine_API', 'roomOnCreate: wrong player count for game ' + this.f9z_1 + ', config = ' + this.d9z_1.toString() + ', users = ' + toString(users));
|
|
2338
|
+
this.k9z_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.e9z_1.table.isGameFinished, this.e9z_1.table));
|
|
2320
2339
|
return Unit_instance;
|
|
2321
2340
|
}
|
|
2322
2341
|
var tmp_0;
|
|
2323
|
-
if (this.
|
|
2324
|
-
tmp_0 = _get_random__h29cgo(this.
|
|
2342
|
+
if (this.d9z_1.mode.shufflePlayers && this.g9z_1 == null) {
|
|
2343
|
+
tmp_0 = _get_random__h29cgo(this.e9z_1).q5d(toMutableList(users));
|
|
2325
2344
|
} else {
|
|
2326
|
-
var tmp0_safe_receiver = this.
|
|
2345
|
+
var tmp0_safe_receiver = this.g9z_1;
|
|
2327
2346
|
var previousPlayers = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.previousPlayers;
|
|
2328
2347
|
var tmp_1;
|
|
2329
|
-
if (!(previousPlayers == null) && this.
|
|
2330
|
-
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.
|
|
2348
|
+
if (!(previousPlayers == null) && this.d9z_1.playersMode.isTeamGame) {
|
|
2349
|
+
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.e9z_1);
|
|
2331
2350
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(previousPlayers, 10));
|
|
2332
2351
|
var _iterator__ex2g4s = previousPlayers.l();
|
|
2333
2352
|
while (_iterator__ex2g4s.m()) {
|
|
2334
2353
|
var item = _iterator__ex2g4s.n();
|
|
2335
2354
|
destination.j(new GameServer$roomOnCreate$2$updatedUsers$previousTeams$1(item));
|
|
2336
2355
|
}
|
|
2337
|
-
var previousTeams = tmp_2.
|
|
2356
|
+
var previousTeams = tmp_2.a8o(destination);
|
|
2338
2357
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
2339
2358
|
var _iterator__ex2g4s_0 = users.l();
|
|
2340
2359
|
while (_iterator__ex2g4s_0.m()) {
|
|
2341
2360
|
var element = _iterator__ex2g4s_0.n();
|
|
2342
|
-
if (!previousPlayers.u1(element.
|
|
2361
|
+
if (!previousPlayers.u1(element.j66_1)) {
|
|
2343
2362
|
destination_0.j(element);
|
|
2344
2363
|
}
|
|
2345
2364
|
}
|
|
@@ -2358,19 +2377,19 @@
|
|
|
2358
2377
|
destination_1.j(destination_2);
|
|
2359
2378
|
}
|
|
2360
2379
|
var updatedTeams = destination_1;
|
|
2361
|
-
tmp_1 = _get_teamsLogicProvider__u10pm6(this.
|
|
2380
|
+
tmp_1 = _get_teamsLogicProvider__u10pm6(this.e9z_1).e8o(updatedTeams);
|
|
2362
2381
|
} else {
|
|
2363
2382
|
tmp_1 = users;
|
|
2364
2383
|
}
|
|
2365
2384
|
tmp_0 = tmp_1;
|
|
2366
2385
|
}
|
|
2367
2386
|
var updatedUsers = tmp_0;
|
|
2368
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
2369
|
-
var tmp_3 = this.
|
|
2387
|
+
var gameCreatorUser = getPlayer(users, this.h9z_1);
|
|
2388
|
+
var tmp_3 = this.k9z_1.dispatch;
|
|
2370
2389
|
var tmp1_version = get_versionOrDefault(GameEngineConfig_instance);
|
|
2371
2390
|
var tmp2_users = sortWithItem(updatedUsers, gameCreatorUser);
|
|
2372
|
-
var tmp3_spectators = toList(this.
|
|
2373
|
-
tmp_3(new StartGameMechanicAction(this.
|
|
2391
|
+
var tmp3_spectators = toList(this.i9z_1);
|
|
2392
|
+
tmp_3(new StartGameMechanicAction(this.d9z_1, this.f9z_1, tmp1_version, this.h9z_1, tmp2_users, VOID, tmp3_spectators));
|
|
2374
2393
|
return Unit_instance;
|
|
2375
2394
|
} else if (tmp === 1) {
|
|
2376
2395
|
throw this.v8_1;
|
|
@@ -2381,33 +2400,33 @@
|
|
|
2381
2400
|
}
|
|
2382
2401
|
while (true);
|
|
2383
2402
|
};
|
|
2384
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2385
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
2386
|
-
i.
|
|
2387
|
-
i.
|
|
2403
|
+
protoOf(GameServer$roomOnCreate$slambda).j9x = function ($this$dispatchAsync, store, completion) {
|
|
2404
|
+
var i = new GameServer$roomOnCreate$slambda(this.c9z_1, this.d9z_1, this.e9z_1, this.f9z_1, this.g9z_1, this.h9z_1, this.i9z_1, completion);
|
|
2405
|
+
i.j9z_1 = $this$dispatchAsync;
|
|
2406
|
+
i.k9z_1 = store;
|
|
2388
2407
|
return i;
|
|
2389
2408
|
};
|
|
2390
2409
|
function GameServer$roomOnCreate$slambda_0($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2391
2410
|
var i = new GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation);
|
|
2392
2411
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2393
|
-
return i.
|
|
2412
|
+
return i.i9x($this$dispatchAsync, store, $completion);
|
|
2394
2413
|
};
|
|
2395
2414
|
l.$arity = 2;
|
|
2396
2415
|
return l;
|
|
2397
2416
|
}
|
|
2398
2417
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
2399
|
-
this.
|
|
2418
|
+
this.t9z_1 = $state;
|
|
2400
2419
|
CoroutineImpl.call(this, resultContinuation);
|
|
2401
2420
|
}
|
|
2402
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2403
|
-
var tmp = this.
|
|
2421
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).w9z = function ($this$dispatchAwait, store, $completion) {
|
|
2422
|
+
var tmp = this.j9x($this$dispatchAwait, store, $completion);
|
|
2404
2423
|
tmp.u8_1 = Unit_instance;
|
|
2405
2424
|
tmp.v8_1 = null;
|
|
2406
2425
|
return tmp.a9();
|
|
2407
2426
|
};
|
|
2408
2427
|
protoOf(GameServer$roomOnContinueFromState$slambda).j9 = function (p1, p2, $completion) {
|
|
2409
2428
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2410
|
-
return this.
|
|
2429
|
+
return this.w9z(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2411
2430
|
};
|
|
2412
2431
|
protoOf(GameServer$roomOnContinueFromState$slambda).a9 = function () {
|
|
2413
2432
|
var suspendResult = this.u8_1;
|
|
@@ -2416,10 +2435,10 @@
|
|
|
2416
2435
|
var tmp = this.s8_1;
|
|
2417
2436
|
if (tmp === 0) {
|
|
2418
2437
|
this.t8_1 = 1;
|
|
2419
|
-
if (get_isCreating(this.
|
|
2420
|
-
var tmp_0 = this.
|
|
2438
|
+
if (get_isCreating(this.v9z_1.state)) {
|
|
2439
|
+
var tmp_0 = this.v9z_1.dispatch;
|
|
2421
2440
|
var tmp0_reason = new RestartRoundReason(null);
|
|
2422
|
-
var tmp1_table = this.
|
|
2441
|
+
var tmp1_table = this.t9z_1.table;
|
|
2423
2442
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2424
2443
|
return true;
|
|
2425
2444
|
}
|
|
@@ -2433,34 +2452,34 @@
|
|
|
2433
2452
|
}
|
|
2434
2453
|
while (true);
|
|
2435
2454
|
};
|
|
2436
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2437
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
2438
|
-
i.
|
|
2439
|
-
i.
|
|
2455
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).j9x = function ($this$dispatchAwait, store, completion) {
|
|
2456
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.t9z_1, completion);
|
|
2457
|
+
i.u9z_1 = $this$dispatchAwait;
|
|
2458
|
+
i.v9z_1 = store;
|
|
2440
2459
|
return i;
|
|
2441
2460
|
};
|
|
2442
2461
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
2443
2462
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
2444
2463
|
var l = function ($this$dispatchAwait, store, $completion) {
|
|
2445
|
-
return i.
|
|
2464
|
+
return i.w9z($this$dispatchAwait, store, $completion);
|
|
2446
2465
|
};
|
|
2447
2466
|
l.$arity = 2;
|
|
2448
2467
|
return l;
|
|
2449
2468
|
}
|
|
2450
2469
|
function GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation) {
|
|
2451
|
-
this.
|
|
2452
|
-
this.
|
|
2470
|
+
this.fa0_1 = $isCreated;
|
|
2471
|
+
this.ga0_1 = $state;
|
|
2453
2472
|
CoroutineImpl.call(this, resultContinuation);
|
|
2454
2473
|
}
|
|
2455
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2456
|
-
var tmp = this.
|
|
2474
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).i9x = function ($this$dispatchAsync, store, $completion) {
|
|
2475
|
+
var tmp = this.j9x($this$dispatchAsync, store, $completion);
|
|
2457
2476
|
tmp.u8_1 = Unit_instance;
|
|
2458
2477
|
tmp.v8_1 = null;
|
|
2459
2478
|
return tmp.a9();
|
|
2460
2479
|
};
|
|
2461
2480
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).j9 = function (p1, p2, $completion) {
|
|
2462
2481
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2463
|
-
return this.
|
|
2482
|
+
return this.i9x(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2464
2483
|
};
|
|
2465
2484
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).a9 = function () {
|
|
2466
2485
|
var suspendResult = this.u8_1;
|
|
@@ -2471,7 +2490,7 @@
|
|
|
2471
2490
|
case 0:
|
|
2472
2491
|
this.t8_1 = 3;
|
|
2473
2492
|
this.s8_1 = 1;
|
|
2474
|
-
suspendResult = this.
|
|
2493
|
+
suspendResult = this.fa0_1.z1t(this);
|
|
2475
2494
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2476
2495
|
return suspendResult;
|
|
2477
2496
|
}
|
|
@@ -2479,10 +2498,10 @@
|
|
|
2479
2498
|
continue $sm;
|
|
2480
2499
|
case 1:
|
|
2481
2500
|
if (suspendResult) {
|
|
2482
|
-
var _iterator__ex2g4s = this.
|
|
2501
|
+
var _iterator__ex2g4s = this.ga0_1.actions.l();
|
|
2483
2502
|
while (_iterator__ex2g4s.m()) {
|
|
2484
2503
|
var element = _iterator__ex2g4s.n();
|
|
2485
|
-
this.
|
|
2504
|
+
this.ia0_1.dispatch(element);
|
|
2486
2505
|
}
|
|
2487
2506
|
this.s8_1 = 2;
|
|
2488
2507
|
continue $sm;
|
|
@@ -2507,35 +2526,35 @@
|
|
|
2507
2526
|
}
|
|
2508
2527
|
while (true);
|
|
2509
2528
|
};
|
|
2510
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2511
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
2512
|
-
i.
|
|
2513
|
-
i.
|
|
2529
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).j9x = function ($this$dispatchAsync, store, completion) {
|
|
2530
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.fa0_1, this.ga0_1, completion);
|
|
2531
|
+
i.ha0_1 = $this$dispatchAsync;
|
|
2532
|
+
i.ia0_1 = store;
|
|
2514
2533
|
return i;
|
|
2515
2534
|
};
|
|
2516
2535
|
function GameServer$roomOnContinueFromState$slambda_2($isCreated, $state, resultContinuation) {
|
|
2517
2536
|
var i = new GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation);
|
|
2518
2537
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2519
|
-
return i.
|
|
2538
|
+
return i.i9x($this$dispatchAsync, store, $completion);
|
|
2520
2539
|
};
|
|
2521
2540
|
l.$arity = 2;
|
|
2522
2541
|
return l;
|
|
2523
2542
|
}
|
|
2524
2543
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
2525
|
-
this.
|
|
2526
|
-
this.
|
|
2527
|
-
this.
|
|
2544
|
+
this.ra0_1 = $tableLite;
|
|
2545
|
+
this.sa0_1 = $roomId;
|
|
2546
|
+
this.ta0_1 = this$0;
|
|
2528
2547
|
CoroutineImpl.call(this, resultContinuation);
|
|
2529
2548
|
}
|
|
2530
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2531
|
-
var tmp = this.
|
|
2549
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).i9x = function ($this$dispatchAsync, store, $completion) {
|
|
2550
|
+
var tmp = this.j9x($this$dispatchAsync, store, $completion);
|
|
2532
2551
|
tmp.u8_1 = Unit_instance;
|
|
2533
2552
|
tmp.v8_1 = null;
|
|
2534
2553
|
return tmp.a9();
|
|
2535
2554
|
};
|
|
2536
2555
|
protoOf(GameServer$roomOnContinueFromRound$slambda).j9 = function (p1, p2, $completion) {
|
|
2537
2556
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2538
|
-
return this.
|
|
2557
|
+
return this.i9x(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2539
2558
|
};
|
|
2540
2559
|
protoOf(GameServer$roomOnContinueFromRound$slambda).a9 = function () {
|
|
2541
2560
|
var suspendResult = this.u8_1;
|
|
@@ -2544,9 +2563,9 @@
|
|
|
2544
2563
|
var tmp = this.s8_1;
|
|
2545
2564
|
if (tmp === 0) {
|
|
2546
2565
|
this.t8_1 = 1;
|
|
2547
|
-
var tmp_0 = this.
|
|
2548
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
2549
|
-
var tmp1_table = Companion_instance_0.restartRound(this.
|
|
2566
|
+
var tmp_0 = this.va0_1.dispatch;
|
|
2567
|
+
var tmp0_reason = new RestartRoundReason(this.ra0_1.gameInfo.round.roundNumber);
|
|
2568
|
+
var tmp1_table = Companion_instance_0.restartRound(this.sa0_1, _get_idsProvider__fnfajc(this.ta0_1).d6e(), get_versionOrDefault(GameEngineConfig_instance), this.ra0_1);
|
|
2550
2569
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2551
2570
|
return Unit_instance;
|
|
2552
2571
|
} else if (tmp === 1) {
|
|
@@ -2558,16 +2577,16 @@
|
|
|
2558
2577
|
}
|
|
2559
2578
|
while (true);
|
|
2560
2579
|
};
|
|
2561
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2562
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
2563
|
-
i.
|
|
2564
|
-
i.
|
|
2580
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).j9x = function ($this$dispatchAsync, store, completion) {
|
|
2581
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.ra0_1, this.sa0_1, this.ta0_1, completion);
|
|
2582
|
+
i.ua0_1 = $this$dispatchAsync;
|
|
2583
|
+
i.va0_1 = store;
|
|
2565
2584
|
return i;
|
|
2566
2585
|
};
|
|
2567
2586
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
2568
2587
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
2569
2588
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2570
|
-
return i.
|
|
2589
|
+
return i.i9x($this$dispatchAsync, store, $completion);
|
|
2571
2590
|
};
|
|
2572
2591
|
l.$arity = 2;
|
|
2573
2592
|
return l;
|
|
@@ -2575,15 +2594,15 @@
|
|
|
2575
2594
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
2576
2595
|
CoroutineImpl.call(this, resultContinuation);
|
|
2577
2596
|
}
|
|
2578
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2579
|
-
var tmp = this.
|
|
2597
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).i9x = function ($this$dispatchAsync, store, $completion) {
|
|
2598
|
+
var tmp = this.j9x($this$dispatchAsync, store, $completion);
|
|
2580
2599
|
tmp.u8_1 = Unit_instance;
|
|
2581
2600
|
tmp.v8_1 = null;
|
|
2582
2601
|
return tmp.a9();
|
|
2583
2602
|
};
|
|
2584
2603
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).j9 = function (p1, p2, $completion) {
|
|
2585
2604
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2586
|
-
return this.
|
|
2605
|
+
return this.i9x(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2587
2606
|
};
|
|
2588
2607
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).a9 = function () {
|
|
2589
2608
|
var suspendResult = this.u8_1;
|
|
@@ -2592,7 +2611,7 @@
|
|
|
2592
2611
|
var tmp = this.s8_1;
|
|
2593
2612
|
if (tmp === 0) {
|
|
2594
2613
|
this.t8_1 = 1;
|
|
2595
|
-
this.
|
|
2614
|
+
this.fa1_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
2596
2615
|
return Unit_instance;
|
|
2597
2616
|
} else if (tmp === 1) {
|
|
2598
2617
|
throw this.v8_1;
|
|
@@ -2603,33 +2622,33 @@
|
|
|
2603
2622
|
}
|
|
2604
2623
|
while (true);
|
|
2605
2624
|
};
|
|
2606
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2625
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).j9x = function ($this$dispatchAsync, store, completion) {
|
|
2607
2626
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
2608
|
-
i.
|
|
2609
|
-
i.
|
|
2627
|
+
i.ea1_1 = $this$dispatchAsync;
|
|
2628
|
+
i.fa1_1 = store;
|
|
2610
2629
|
return i;
|
|
2611
2630
|
};
|
|
2612
2631
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
2613
2632
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
2614
2633
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2615
|
-
return i.
|
|
2634
|
+
return i.i9x($this$dispatchAsync, store, $completion);
|
|
2616
2635
|
};
|
|
2617
2636
|
l.$arity = 2;
|
|
2618
2637
|
return l;
|
|
2619
2638
|
}
|
|
2620
2639
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
2621
|
-
this.
|
|
2640
|
+
this.oa1_1 = $spectators;
|
|
2622
2641
|
CoroutineImpl.call(this, resultContinuation);
|
|
2623
2642
|
}
|
|
2624
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2625
|
-
var tmp = this.
|
|
2643
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).i9x = function ($this$dispatchAsync, store, $completion) {
|
|
2644
|
+
var tmp = this.j9x($this$dispatchAsync, store, $completion);
|
|
2626
2645
|
tmp.u8_1 = Unit_instance;
|
|
2627
2646
|
tmp.v8_1 = null;
|
|
2628
2647
|
return tmp.a9();
|
|
2629
2648
|
};
|
|
2630
2649
|
protoOf(GameServer$addSpectatorsToRoom$slambda).j9 = function (p1, p2, $completion) {
|
|
2631
2650
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2632
|
-
return this.
|
|
2651
|
+
return this.i9x(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2633
2652
|
};
|
|
2634
2653
|
protoOf(GameServer$addSpectatorsToRoom$slambda).a9 = function () {
|
|
2635
2654
|
var suspendResult = this.u8_1;
|
|
@@ -2638,7 +2657,7 @@
|
|
|
2638
2657
|
var tmp = this.s8_1;
|
|
2639
2658
|
if (tmp === 0) {
|
|
2640
2659
|
this.t8_1 = 1;
|
|
2641
|
-
this.
|
|
2660
|
+
this.qa1_1.dispatch(new AddSpectatorsAction(toList(this.oa1_1)));
|
|
2642
2661
|
return Unit_instance;
|
|
2643
2662
|
} else if (tmp === 1) {
|
|
2644
2663
|
throw this.v8_1;
|
|
@@ -2649,33 +2668,33 @@
|
|
|
2649
2668
|
}
|
|
2650
2669
|
while (true);
|
|
2651
2670
|
};
|
|
2652
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2653
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
2654
|
-
i.
|
|
2655
|
-
i.
|
|
2671
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).j9x = function ($this$dispatchAsync, store, completion) {
|
|
2672
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.oa1_1, completion);
|
|
2673
|
+
i.pa1_1 = $this$dispatchAsync;
|
|
2674
|
+
i.qa1_1 = store;
|
|
2656
2675
|
return i;
|
|
2657
2676
|
};
|
|
2658
2677
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
2659
2678
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
2660
2679
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2661
|
-
return i.
|
|
2680
|
+
return i.i9x($this$dispatchAsync, store, $completion);
|
|
2662
2681
|
};
|
|
2663
2682
|
l.$arity = 2;
|
|
2664
2683
|
return l;
|
|
2665
2684
|
}
|
|
2666
2685
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
2667
|
-
this.
|
|
2686
|
+
this.za1_1 = $spectators;
|
|
2668
2687
|
CoroutineImpl.call(this, resultContinuation);
|
|
2669
2688
|
}
|
|
2670
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2671
|
-
var tmp = this.
|
|
2689
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).i9x = function ($this$dispatchAsync, store, $completion) {
|
|
2690
|
+
var tmp = this.j9x($this$dispatchAsync, store, $completion);
|
|
2672
2691
|
tmp.u8_1 = Unit_instance;
|
|
2673
2692
|
tmp.v8_1 = null;
|
|
2674
2693
|
return tmp.a9();
|
|
2675
2694
|
};
|
|
2676
2695
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).j9 = function (p1, p2, $completion) {
|
|
2677
2696
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2678
|
-
return this.
|
|
2697
|
+
return this.i9x(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2679
2698
|
};
|
|
2680
2699
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).a9 = function () {
|
|
2681
2700
|
var suspendResult = this.u8_1;
|
|
@@ -2684,7 +2703,7 @@
|
|
|
2684
2703
|
var tmp = this.s8_1;
|
|
2685
2704
|
if (tmp === 0) {
|
|
2686
2705
|
this.t8_1 = 1;
|
|
2687
|
-
this.
|
|
2706
|
+
this.ba2_1.dispatch(new RemoveSpectatorsAction(toList(this.za1_1)));
|
|
2688
2707
|
return Unit_instance;
|
|
2689
2708
|
} else if (tmp === 1) {
|
|
2690
2709
|
throw this.v8_1;
|
|
@@ -2695,34 +2714,34 @@
|
|
|
2695
2714
|
}
|
|
2696
2715
|
while (true);
|
|
2697
2716
|
};
|
|
2698
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2699
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
2700
|
-
i.
|
|
2701
|
-
i.
|
|
2717
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).j9x = function ($this$dispatchAsync, store, completion) {
|
|
2718
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.za1_1, completion);
|
|
2719
|
+
i.aa2_1 = $this$dispatchAsync;
|
|
2720
|
+
i.ba2_1 = store;
|
|
2702
2721
|
return i;
|
|
2703
2722
|
};
|
|
2704
2723
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
2705
2724
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
2706
2725
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2707
|
-
return i.
|
|
2726
|
+
return i.i9x($this$dispatchAsync, store, $completion);
|
|
2708
2727
|
};
|
|
2709
2728
|
l.$arity = 2;
|
|
2710
2729
|
return l;
|
|
2711
2730
|
}
|
|
2712
2731
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
2713
|
-
this.
|
|
2714
|
-
this.
|
|
2732
|
+
this.ka2_1 = $playerId;
|
|
2733
|
+
this.la2_1 = this$0;
|
|
2715
2734
|
CoroutineImpl.call(this, resultContinuation);
|
|
2716
2735
|
}
|
|
2717
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2718
|
-
var tmp = this.
|
|
2736
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).i9x = function ($this$dispatchAsync, store, $completion) {
|
|
2737
|
+
var tmp = this.j9x($this$dispatchAsync, store, $completion);
|
|
2719
2738
|
tmp.u8_1 = Unit_instance;
|
|
2720
2739
|
tmp.v8_1 = null;
|
|
2721
2740
|
return tmp.a9();
|
|
2722
2741
|
};
|
|
2723
2742
|
protoOf(GameServer$roomRefreshPlayerState$slambda).j9 = function (p1, p2, $completion) {
|
|
2724
2743
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2725
|
-
return this.
|
|
2744
|
+
return this.i9x(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2726
2745
|
};
|
|
2727
2746
|
protoOf(GameServer$roomRefreshPlayerState$slambda).a9 = function () {
|
|
2728
2747
|
var suspendResult = this.u8_1;
|
|
@@ -2731,14 +2750,14 @@
|
|
|
2731
2750
|
var tmp = this.s8_1;
|
|
2732
2751
|
if (tmp === 0) {
|
|
2733
2752
|
this.t8_1 = 1;
|
|
2734
|
-
var table = this.
|
|
2735
|
-
var player = getPlayer(table.players, this.
|
|
2736
|
-
if (player.
|
|
2737
|
-
this.
|
|
2753
|
+
var table = this.na2_1.state.x6r();
|
|
2754
|
+
var player = getPlayer(table.players, this.ka2_1);
|
|
2755
|
+
if (player.f6v_1.y68().n67_1.isLive) {
|
|
2756
|
+
this.na2_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.la2_1).u8u(player, table));
|
|
2738
2757
|
} else {
|
|
2739
|
-
var tmp_0 = this.
|
|
2758
|
+
var tmp_0 = this.na2_1.dispatch;
|
|
2740
2759
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2741
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2760
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.ka2_1));
|
|
2742
2761
|
}
|
|
2743
2762
|
return Unit_instance;
|
|
2744
2763
|
} else if (tmp === 1) {
|
|
@@ -2750,34 +2769,34 @@
|
|
|
2750
2769
|
}
|
|
2751
2770
|
while (true);
|
|
2752
2771
|
};
|
|
2753
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2754
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
2755
|
-
i.
|
|
2756
|
-
i.
|
|
2772
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).j9x = function ($this$dispatchAsync, store, completion) {
|
|
2773
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.ka2_1, this.la2_1, completion);
|
|
2774
|
+
i.ma2_1 = $this$dispatchAsync;
|
|
2775
|
+
i.na2_1 = store;
|
|
2757
2776
|
return i;
|
|
2758
2777
|
};
|
|
2759
2778
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
2760
2779
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
2761
2780
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2762
|
-
return i.
|
|
2781
|
+
return i.i9x($this$dispatchAsync, store, $completion);
|
|
2763
2782
|
};
|
|
2764
2783
|
l.$arity = 2;
|
|
2765
2784
|
return l;
|
|
2766
2785
|
}
|
|
2767
2786
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
2768
|
-
this.
|
|
2769
|
-
this.
|
|
2787
|
+
this.wa2_1 = this$0;
|
|
2788
|
+
this.xa2_1 = $newRid;
|
|
2770
2789
|
CoroutineImpl.call(this, resultContinuation);
|
|
2771
2790
|
}
|
|
2772
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2773
|
-
var tmp = this.
|
|
2791
|
+
protoOf(GameServer$roomOnDelete$slambda).i9x = function ($this$dispatchAsync, store, $completion) {
|
|
2792
|
+
var tmp = this.j9x($this$dispatchAsync, store, $completion);
|
|
2774
2793
|
tmp.u8_1 = Unit_instance;
|
|
2775
2794
|
tmp.v8_1 = null;
|
|
2776
2795
|
return tmp.a9();
|
|
2777
2796
|
};
|
|
2778
2797
|
protoOf(GameServer$roomOnDelete$slambda).j9 = function (p1, p2, $completion) {
|
|
2779
2798
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2780
|
-
return this.
|
|
2799
|
+
return this.i9x(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2781
2800
|
};
|
|
2782
2801
|
protoOf(GameServer$roomOnDelete$slambda).a9 = function () {
|
|
2783
2802
|
var suspendResult = this.u8_1;
|
|
@@ -2786,27 +2805,27 @@
|
|
|
2786
2805
|
var tmp = this.s8_1;
|
|
2787
2806
|
if (tmp === 0) {
|
|
2788
2807
|
this.t8_1 = 1;
|
|
2789
|
-
var it = this.
|
|
2808
|
+
var it = this.wa2_1.t66().x6q_1;
|
|
2790
2809
|
var tmp_0;
|
|
2791
2810
|
if (it == null) {
|
|
2792
|
-
this.
|
|
2811
|
+
this.wa2_1.h4q().w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
2793
2812
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
2794
2813
|
} else {
|
|
2795
2814
|
tmp_0 = it;
|
|
2796
2815
|
}
|
|
2797
2816
|
var terminationState = tmp_0;
|
|
2798
|
-
var gameTransition = terminationState.
|
|
2817
|
+
var gameTransition = terminationState.r8y_1;
|
|
2799
2818
|
var tmp_1;
|
|
2800
2819
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
2801
|
-
var tmp0_elvis_lhs = this.
|
|
2820
|
+
var tmp0_elvis_lhs = this.xa2_1;
|
|
2802
2821
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
2803
2822
|
} else {
|
|
2804
2823
|
tmp_1 = gameTransition;
|
|
2805
2824
|
}
|
|
2806
2825
|
var transition = tmp_1;
|
|
2807
|
-
var tmp_2 = this.
|
|
2808
|
-
var tmp0_reason = terminationState.
|
|
2809
|
-
var tmp1_isGameFinished = this.
|
|
2826
|
+
var tmp_2 = this.za2_1.dispatch;
|
|
2827
|
+
var tmp0_reason = terminationState.q8y_1;
|
|
2828
|
+
var tmp1_isGameFinished = this.wa2_1.t66().x6r().isGameFinished;
|
|
2810
2829
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
2811
2830
|
return Unit_instance;
|
|
2812
2831
|
} else if (tmp === 1) {
|
|
@@ -2818,33 +2837,33 @@
|
|
|
2818
2837
|
}
|
|
2819
2838
|
while (true);
|
|
2820
2839
|
};
|
|
2821
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2822
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
2823
|
-
i.
|
|
2824
|
-
i.
|
|
2840
|
+
protoOf(GameServer$roomOnDelete$slambda).j9x = function ($this$dispatchAsync, store, completion) {
|
|
2841
|
+
var i = new GameServer$roomOnDelete$slambda(this.wa2_1, this.xa2_1, completion);
|
|
2842
|
+
i.ya2_1 = $this$dispatchAsync;
|
|
2843
|
+
i.za2_1 = store;
|
|
2825
2844
|
return i;
|
|
2826
2845
|
};
|
|
2827
2846
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
2828
2847
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
2829
2848
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2830
|
-
return i.
|
|
2849
|
+
return i.i9x($this$dispatchAsync, store, $completion);
|
|
2831
2850
|
};
|
|
2832
2851
|
l.$arity = 2;
|
|
2833
2852
|
return l;
|
|
2834
2853
|
}
|
|
2835
2854
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
2836
|
-
this.
|
|
2855
|
+
this.ia3_1 = $enabled;
|
|
2837
2856
|
CoroutineImpl.call(this, resultContinuation);
|
|
2838
2857
|
}
|
|
2839
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2840
|
-
var tmp = this.
|
|
2858
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).i9x = function ($this$dispatchAsync, store, $completion) {
|
|
2859
|
+
var tmp = this.j9x($this$dispatchAsync, store, $completion);
|
|
2841
2860
|
tmp.u8_1 = Unit_instance;
|
|
2842
2861
|
tmp.v8_1 = null;
|
|
2843
2862
|
return tmp.a9();
|
|
2844
2863
|
};
|
|
2845
2864
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).j9 = function (p1, p2, $completion) {
|
|
2846
2865
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2847
|
-
return this.
|
|
2866
|
+
return this.i9x(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2848
2867
|
};
|
|
2849
2868
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).a9 = function () {
|
|
2850
2869
|
var suspendResult = this.u8_1;
|
|
@@ -2853,7 +2872,7 @@
|
|
|
2853
2872
|
var tmp = this.s8_1;
|
|
2854
2873
|
if (tmp === 0) {
|
|
2855
2874
|
this.t8_1 = 1;
|
|
2856
|
-
this.
|
|
2875
|
+
this.ka3_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload_0(this.ka3_1.state).config.copy(VOID, !this.ia3_1)));
|
|
2857
2876
|
return Unit_instance;
|
|
2858
2877
|
} else if (tmp === 1) {
|
|
2859
2878
|
throw this.v8_1;
|
|
@@ -2864,35 +2883,35 @@
|
|
|
2864
2883
|
}
|
|
2865
2884
|
while (true);
|
|
2866
2885
|
};
|
|
2867
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2868
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
2869
|
-
i.
|
|
2870
|
-
i.
|
|
2886
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).j9x = function ($this$dispatchAsync, store, completion) {
|
|
2887
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.ia3_1, completion);
|
|
2888
|
+
i.ja3_1 = $this$dispatchAsync;
|
|
2889
|
+
i.ka3_1 = store;
|
|
2871
2890
|
return i;
|
|
2872
2891
|
};
|
|
2873
2892
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
2874
2893
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
2875
2894
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2876
|
-
return i.
|
|
2895
|
+
return i.i9x($this$dispatchAsync, store, $completion);
|
|
2877
2896
|
};
|
|
2878
2897
|
l.$arity = 2;
|
|
2879
2898
|
return l;
|
|
2880
2899
|
}
|
|
2881
2900
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
2882
|
-
this.
|
|
2883
|
-
this.
|
|
2884
|
-
this.
|
|
2901
|
+
this.ta3_1 = $reason;
|
|
2902
|
+
this.ua3_1 = this$0;
|
|
2903
|
+
this.va3_1 = $roomId;
|
|
2885
2904
|
CoroutineImpl.call(this, resultContinuation);
|
|
2886
2905
|
}
|
|
2887
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2888
|
-
var tmp = this.
|
|
2906
|
+
protoOf(GameServer$shutdown$slambda).i9x = function ($this$dispatchAsync, store, $completion) {
|
|
2907
|
+
var tmp = this.j9x($this$dispatchAsync, store, $completion);
|
|
2889
2908
|
tmp.u8_1 = Unit_instance;
|
|
2890
2909
|
tmp.v8_1 = null;
|
|
2891
2910
|
return tmp.a9();
|
|
2892
2911
|
};
|
|
2893
2912
|
protoOf(GameServer$shutdown$slambda).j9 = function (p1, p2, $completion) {
|
|
2894
2913
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2895
|
-
return this.
|
|
2914
|
+
return this.i9x(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2896
2915
|
};
|
|
2897
2916
|
protoOf(GameServer$shutdown$slambda).a9 = function () {
|
|
2898
2917
|
var suspendResult = this.u8_1;
|
|
@@ -2901,11 +2920,11 @@
|
|
|
2901
2920
|
var tmp = this.s8_1;
|
|
2902
2921
|
if (tmp === 0) {
|
|
2903
2922
|
this.t8_1 = 1;
|
|
2904
|
-
var state = this.
|
|
2905
|
-
if (state.
|
|
2906
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
2923
|
+
var state = this.xa3_1.store.state;
|
|
2924
|
+
if (state.y6r()) {
|
|
2925
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.ta3_1, get_serverShutdownReasonMapping());
|
|
2907
2926
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
2908
|
-
var tmp_0 = this.
|
|
2927
|
+
var tmp_0 = this.xa3_1.dispatch;
|
|
2909
2928
|
var tmp_1 = Companion_instance;
|
|
2910
2929
|
var tmp_2;
|
|
2911
2930
|
switch (shutdownReason.q2_1) {
|
|
@@ -2919,12 +2938,12 @@
|
|
|
2919
2938
|
noWhenBranchMatchedException();
|
|
2920
2939
|
break;
|
|
2921
2940
|
}
|
|
2922
|
-
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.
|
|
2941
|
+
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.ua3_1.table.isGameFinished, this.ua3_1.table));
|
|
2923
2942
|
} else {
|
|
2924
|
-
this.
|
|
2925
|
-
var tmp_3 = this.
|
|
2926
|
-
var tmp2_safe_receiver = state.
|
|
2927
|
-
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
2943
|
+
this.ua3_1.h4q().w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.va3_1);
|
|
2944
|
+
var tmp_3 = this.xa3_1.dispatch;
|
|
2945
|
+
var tmp2_safe_receiver = state.x6q_1;
|
|
2946
|
+
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.r8y_1));
|
|
2928
2947
|
}
|
|
2929
2948
|
return Unit_instance;
|
|
2930
2949
|
} else if (tmp === 1) {
|
|
@@ -2936,16 +2955,16 @@
|
|
|
2936
2955
|
}
|
|
2937
2956
|
while (true);
|
|
2938
2957
|
};
|
|
2939
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2940
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
2941
|
-
i.
|
|
2942
|
-
i.
|
|
2958
|
+
protoOf(GameServer$shutdown$slambda).j9x = function ($this$dispatchAsync, store, completion) {
|
|
2959
|
+
var i = new GameServer$shutdown$slambda(this.ta3_1, this.ua3_1, this.va3_1, completion);
|
|
2960
|
+
i.wa3_1 = $this$dispatchAsync;
|
|
2961
|
+
i.xa3_1 = store;
|
|
2943
2962
|
return i;
|
|
2944
2963
|
};
|
|
2945
2964
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
2946
2965
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
2947
2966
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2948
|
-
return i.
|
|
2967
|
+
return i.i9x($this$dispatchAsync, store, $completion);
|
|
2949
2968
|
};
|
|
2950
2969
|
l.$arity = 2;
|
|
2951
2970
|
return l;
|
|
@@ -2976,7 +2995,7 @@
|
|
|
2976
2995
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
2977
2996
|
var tmp_3 = Instance(di, tmp$ret$2, null);
|
|
2978
2997
|
var tmp_4 = KProperty1;
|
|
2979
|
-
tmp_1.
|
|
2998
|
+
tmp_1.b9u_1 = tmp_3.w64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_4, GameServer$_get_toClientEventsObserver_$ref_utir8s(), null));
|
|
2980
2999
|
var tmp_5 = this;
|
|
2981
3000
|
// Inline function 'org.kodein.di.instance' call
|
|
2982
3001
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2984,7 +3003,7 @@
|
|
|
2984
3003
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2985
3004
|
var tmp_7 = Instance(di, tmp$ret$4, null);
|
|
2986
3005
|
var tmp_8 = KProperty1;
|
|
2987
|
-
tmp_5.
|
|
3006
|
+
tmp_5.c9u_1 = tmp_7.w64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_8, GameServer$_get_fromClientEventsObserver_$ref_nf1g79(), null));
|
|
2988
3007
|
var tmp_9 = this;
|
|
2989
3008
|
// Inline function 'org.kodein.di.instance' call
|
|
2990
3009
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2992,7 +3011,7 @@
|
|
|
2992
3011
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
2993
3012
|
var tmp_11 = Instance(di, tmp$ret$6, null);
|
|
2994
3013
|
var tmp_12 = KProperty1;
|
|
2995
|
-
tmp_9.
|
|
3014
|
+
tmp_9.d9u_1 = tmp_11.w64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_12, GameServer$_get_playerConnectionInteractor_$ref_of8tan(), null));
|
|
2996
3015
|
var tmp_13 = this;
|
|
2997
3016
|
// Inline function 'org.kodein.di.instance' call
|
|
2998
3017
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3000,9 +3019,9 @@
|
|
|
3000
3019
|
var tmp$ret$8 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
3001
3020
|
var tmp_15 = Instance(di, tmp$ret$8, null);
|
|
3002
3021
|
var tmp_16 = KProperty1;
|
|
3003
|
-
tmp_13.
|
|
3022
|
+
tmp_13.e9u_1 = tmp_15.w64(this, getPropertyCallableRef('teamsLogicProvider', 1, tmp_16, GameServer$_get_teamsLogicProvider_$ref_b7y54g(), null));
|
|
3004
3023
|
var tmp_17 = this;
|
|
3005
|
-
tmp_17.
|
|
3024
|
+
tmp_17.f9u_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
3006
3025
|
var tmp_18 = this;
|
|
3007
3026
|
// Inline function 'org.kodein.di.instance' call
|
|
3008
3027
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3010,7 +3029,7 @@
|
|
|
3010
3029
|
var tmp$ret$10 = isInterface(tmp_19, TypeToken) ? tmp_19 : THROW_CCE();
|
|
3011
3030
|
var tmp_20 = Instance(di, tmp$ret$10, null);
|
|
3012
3031
|
var tmp_21 = KProperty1;
|
|
3013
|
-
tmp_18.
|
|
3032
|
+
tmp_18.g9u_1 = tmp_20.w64(this, getPropertyCallableRef('idsProvider', 1, tmp_21, GameServer$_get_idsProvider_$ref_89s908(), null));
|
|
3014
3033
|
var tmp_22 = this;
|
|
3015
3034
|
// Inline function 'org.kodein.di.instance' call
|
|
3016
3035
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3018,7 +3037,7 @@
|
|
|
3018
3037
|
var tmp$ret$12 = isInterface(tmp_23, TypeToken) ? tmp_23 : THROW_CCE();
|
|
3019
3038
|
var tmp_24 = Instance(di, tmp$ret$12, null);
|
|
3020
3039
|
var tmp_25 = KProperty1;
|
|
3021
|
-
tmp_22.
|
|
3040
|
+
tmp_22.h9u_1 = tmp_24.w64(this, getPropertyCallableRef('serverReduxConfig', 1, tmp_25, GameServer$_get_serverReduxConfig_$ref_7h6jq6(), null));
|
|
3022
3041
|
var tmp_26 = this;
|
|
3023
3042
|
// Inline function 'org.kodein.di.instance' call
|
|
3024
3043
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3026,97 +3045,104 @@
|
|
|
3026
3045
|
var tmp$ret$14 = isInterface(tmp_27, TypeToken) ? tmp_27 : THROW_CCE();
|
|
3027
3046
|
var tmp_28 = Instance(di, tmp$ret$14, null);
|
|
3028
3047
|
var tmp_29 = KProperty1;
|
|
3029
|
-
tmp_26.
|
|
3048
|
+
tmp_26.i9u_1 = tmp_28.w64(this, getPropertyCallableRef('encoderDecoderProvider', 1, tmp_29, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8(), null));
|
|
3030
3049
|
var tmp_30 = this;
|
|
3031
|
-
var tmp0_externalMiddlewares = plus(storeContract.
|
|
3032
|
-
var tmp1_externalReducers = plus(storeContract.
|
|
3033
|
-
tmp_30.
|
|
3050
|
+
var tmp0_externalMiddlewares = plus(storeContract.h93(), externalMiddlewares);
|
|
3051
|
+
var tmp1_externalReducers = plus(storeContract.g93(), externalReducers);
|
|
3052
|
+
tmp_30.j9u_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
3034
3053
|
}
|
|
3035
|
-
protoOf(GameServer).
|
|
3036
|
-
return this.
|
|
3054
|
+
protoOf(GameServer).m6q = function () {
|
|
3055
|
+
return this.j9u_1;
|
|
3056
|
+
};
|
|
3057
|
+
protoOf(GameServer).j8j = function () {
|
|
3058
|
+
return get_serverStatePayload_0(this.t66()).metadata;
|
|
3037
3059
|
};
|
|
3038
|
-
protoOf(GameServer).
|
|
3039
|
-
|
|
3060
|
+
protoOf(GameServer).canReconnectPlayer = function (player) {
|
|
3061
|
+
var player_0 = firstOrNull(filterByPlayerId(this.t66().x6r().players, player));
|
|
3062
|
+
if (player_0 == null) {
|
|
3063
|
+
return false;
|
|
3064
|
+
}
|
|
3065
|
+
return player_0.f6v_1.y68().n67_1.canReconnect;
|
|
3040
3066
|
};
|
|
3041
3067
|
protoOf(GameServer).y53 = function () {
|
|
3042
|
-
return this.
|
|
3068
|
+
return this.t66().x6r().id;
|
|
3043
3069
|
};
|
|
3044
|
-
protoOf(GameServer).
|
|
3045
|
-
return this.
|
|
3070
|
+
protoOf(GameServer).x6r = function () {
|
|
3071
|
+
return this.t66().x6r();
|
|
3046
3072
|
};
|
|
3047
|
-
protoOf(GameServer).
|
|
3048
|
-
return this.
|
|
3073
|
+
protoOf(GameServer).y6r = function () {
|
|
3074
|
+
return this.t66().y6r();
|
|
3049
3075
|
};
|
|
3050
|
-
protoOf(GameServer).
|
|
3051
|
-
return this.
|
|
3076
|
+
protoOf(GameServer).z6r = function () {
|
|
3077
|
+
return this.t66().gameLifecycleState;
|
|
3052
3078
|
};
|
|
3053
3079
|
protoOf(GameServer).subscribeToClientAction = function (subscriber) {
|
|
3054
|
-
var tmp = this.
|
|
3055
|
-
tmp.
|
|
3080
|
+
var tmp = this.j6q();
|
|
3081
|
+
tmp.i6c(VOID, GameServer$subscribeToClientAction$slambda_0(this, subscriber, null));
|
|
3056
3082
|
};
|
|
3057
3083
|
protoOf(GameServer).subscribeServerStateUpdate = function (subscriber) {
|
|
3058
|
-
var tmp = this.
|
|
3059
|
-
tmp.
|
|
3084
|
+
var tmp = this.j6q();
|
|
3085
|
+
tmp.i6c(VOID, GameServer$subscribeServerStateUpdate$slambda_0(this, subscriber, null));
|
|
3060
3086
|
};
|
|
3061
3087
|
protoOf(GameServer).subscribeServerStateUpdateJson = function (subscriber) {
|
|
3062
|
-
var tmp = this.
|
|
3063
|
-
tmp.
|
|
3088
|
+
var tmp = this.j6q();
|
|
3089
|
+
tmp.i6c(VOID, GameServer$subscribeServerStateUpdateJson$slambda_0(this, subscriber, null));
|
|
3064
3090
|
};
|
|
3065
3091
|
protoOf(GameServer).subscribeWith = function (subscriber) {
|
|
3066
|
-
var tmp = this.
|
|
3067
|
-
tmp.
|
|
3092
|
+
var tmp = this.j6q();
|
|
3093
|
+
tmp.i6c(VOID, GameServer$subscribeWith$slambda_0(this, subscriber, null));
|
|
3068
3094
|
};
|
|
3069
3095
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
3070
3096
|
this.h4q().d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
3071
|
-
this.
|
|
3097
|
+
this.j9u_1.v6r(GameServer$fromClientEvent$slambda_0(action, null));
|
|
3072
3098
|
};
|
|
3073
3099
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
3074
3100
|
this.h4q().d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
3075
|
-
this.
|
|
3101
|
+
this.j9u_1.v6r(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
3076
3102
|
};
|
|
3077
3103
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
3078
3104
|
this.h4q().d('GameEngine_API', 'playerLive: ' + playerId);
|
|
3079
|
-
this.
|
|
3105
|
+
this.j9u_1.v6r(GameServer$playerLive$slambda_0(this, playerId, null));
|
|
3080
3106
|
};
|
|
3081
|
-
protoOf(GameServer).
|
|
3107
|
+
protoOf(GameServer).ya3 = function (playerId, permanently) {
|
|
3082
3108
|
this.h4q().d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
3083
|
-
this.
|
|
3109
|
+
this.j9u_1.v6r(GameServer$playerLeft$slambda_0(this, playerId, permanently, null));
|
|
3084
3110
|
};
|
|
3085
|
-
protoOf(GameServer).
|
|
3111
|
+
protoOf(GameServer).za3 = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
3086
3112
|
this.h4q().d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
3087
|
-
this.
|
|
3113
|
+
this.j9u_1.v6r(GameServer$roomOnCreate$slambda_0(usersArray, config, this, roomId, transition, gameCreatorId, spectators, null));
|
|
3088
3114
|
};
|
|
3089
3115
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
3090
3116
|
this.h4q().d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
3091
|
-
var isCreated = this.
|
|
3092
|
-
this.
|
|
3117
|
+
var isCreated = this.j9u_1.w6r(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
3118
|
+
this.j9u_1.v6r(GameServer$roomOnContinueFromState$slambda_2(isCreated, state, null));
|
|
3093
3119
|
};
|
|
3094
3120
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
3095
3121
|
this.h4q().d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
3096
|
-
this.
|
|
3097
|
-
this.
|
|
3122
|
+
this.j9u_1.v6r(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
3123
|
+
this.j9u_1.v6r(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
3098
3124
|
};
|
|
3099
3125
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
3100
|
-
this.
|
|
3126
|
+
this.j9u_1.v6r(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
3101
3127
|
};
|
|
3102
3128
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
3103
|
-
this.
|
|
3129
|
+
this.j9u_1.v6r(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
3104
3130
|
};
|
|
3105
3131
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
3106
3132
|
this.h4q().d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
3107
|
-
this.
|
|
3133
|
+
this.j9u_1.v6r(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
3108
3134
|
};
|
|
3109
|
-
protoOf(GameServer).
|
|
3135
|
+
protoOf(GameServer).aa4 = function (newRid) {
|
|
3110
3136
|
this.h4q().d('GameEngine_API', 'roomOnDelete: newRid = ' + newRid);
|
|
3111
|
-
this.
|
|
3137
|
+
this.j9u_1.v6r(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
3112
3138
|
};
|
|
3113
3139
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
3114
3140
|
this.h4q().d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
3115
|
-
this.
|
|
3141
|
+
this.j9u_1.v6r(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
3116
3142
|
};
|
|
3117
|
-
protoOf(GameServer).
|
|
3143
|
+
protoOf(GameServer).ba4 = function (reason, roomId) {
|
|
3118
3144
|
this.h4q().d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
3119
|
-
this.
|
|
3145
|
+
this.j9u_1.v6r(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
3120
3146
|
};
|
|
3121
3147
|
protoOf(GameServer).clear = function () {
|
|
3122
3148
|
return this.i2();
|
|
@@ -3157,42 +3183,53 @@
|
|
|
3157
3183
|
function Companion_0() {
|
|
3158
3184
|
}
|
|
3159
3185
|
protoOf(Companion_0).initial = function (fromRound) {
|
|
3160
|
-
return new ServerConfig(fromRound,
|
|
3186
|
+
return new ServerConfig(fromRound, false, false);
|
|
3161
3187
|
};
|
|
3162
3188
|
var Companion_instance_8;
|
|
3163
3189
|
function Companion_getInstance_1() {
|
|
3164
3190
|
return Companion_instance_8;
|
|
3165
3191
|
}
|
|
3166
|
-
function ServerConfig(fromRound,
|
|
3192
|
+
function ServerConfig(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) {
|
|
3193
|
+
shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy === VOID ? false : shouldFinishGameWhenDeploy;
|
|
3194
|
+
shouldFinishGameWithBots = shouldFinishGameWithBots === VOID ? false : shouldFinishGameWithBots;
|
|
3167
3195
|
this.fromRound = fromRound;
|
|
3168
|
-
this.
|
|
3196
|
+
this.shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy;
|
|
3197
|
+
this.shouldFinishGameWithBots = shouldFinishGameWithBots;
|
|
3169
3198
|
}
|
|
3170
|
-
protoOf(ServerConfig).
|
|
3199
|
+
protoOf(ServerConfig).ca4 = function () {
|
|
3171
3200
|
return this.fromRound;
|
|
3172
3201
|
};
|
|
3173
|
-
protoOf(ServerConfig).
|
|
3174
|
-
return this.
|
|
3202
|
+
protoOf(ServerConfig).da4 = function () {
|
|
3203
|
+
return this.shouldFinishGameWhenDeploy;
|
|
3204
|
+
};
|
|
3205
|
+
protoOf(ServerConfig).ea4 = function () {
|
|
3206
|
+
return this.shouldFinishGameWithBots;
|
|
3175
3207
|
};
|
|
3176
3208
|
protoOf(ServerConfig).oe = function () {
|
|
3177
3209
|
return this.fromRound;
|
|
3178
3210
|
};
|
|
3179
3211
|
protoOf(ServerConfig).pe = function () {
|
|
3180
|
-
return this.
|
|
3212
|
+
return this.shouldFinishGameWhenDeploy;
|
|
3213
|
+
};
|
|
3214
|
+
protoOf(ServerConfig).xl = function () {
|
|
3215
|
+
return this.shouldFinishGameWithBots;
|
|
3181
3216
|
};
|
|
3182
|
-
protoOf(ServerConfig).
|
|
3183
|
-
return new ServerConfig(fromRound,
|
|
3217
|
+
protoOf(ServerConfig).fa4 = function (fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) {
|
|
3218
|
+
return new ServerConfig(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots);
|
|
3184
3219
|
};
|
|
3185
|
-
protoOf(ServerConfig).copy = function (fromRound,
|
|
3220
|
+
protoOf(ServerConfig).copy = function (fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots, $super) {
|
|
3186
3221
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
3187
|
-
|
|
3188
|
-
|
|
3222
|
+
shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy === VOID ? this.shouldFinishGameWhenDeploy : shouldFinishGameWhenDeploy;
|
|
3223
|
+
shouldFinishGameWithBots = shouldFinishGameWithBots === VOID ? this.shouldFinishGameWithBots : shouldFinishGameWithBots;
|
|
3224
|
+
return $super === VOID ? this.fa4(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) : $super.fa4.call(this, fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots);
|
|
3189
3225
|
};
|
|
3190
3226
|
protoOf(ServerConfig).toString = function () {
|
|
3191
|
-
return 'ServerConfig(fromRound=' + this.fromRound + ',
|
|
3227
|
+
return 'ServerConfig(fromRound=' + this.fromRound + ', shouldFinishGameWhenDeploy=' + this.shouldFinishGameWhenDeploy + ', shouldFinishGameWithBots=' + this.shouldFinishGameWithBots + ')';
|
|
3192
3228
|
};
|
|
3193
3229
|
protoOf(ServerConfig).hashCode = function () {
|
|
3194
3230
|
var result = this.fromRound == null ? 0 : this.fromRound;
|
|
3195
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
3231
|
+
result = imul(result, 31) + getBooleanHashCode(this.shouldFinishGameWhenDeploy) | 0;
|
|
3232
|
+
result = imul(result, 31) + getBooleanHashCode(this.shouldFinishGameWithBots) | 0;
|
|
3196
3233
|
return result;
|
|
3197
3234
|
};
|
|
3198
3235
|
protoOf(ServerConfig).equals = function (other) {
|
|
@@ -3202,7 +3239,9 @@
|
|
|
3202
3239
|
return false;
|
|
3203
3240
|
if (!(this.fromRound == other.fromRound))
|
|
3204
3241
|
return false;
|
|
3205
|
-
if (!(this.
|
|
3242
|
+
if (!(this.shouldFinishGameWhenDeploy === other.shouldFinishGameWhenDeploy))
|
|
3243
|
+
return false;
|
|
3244
|
+
if (!(this.shouldFinishGameWithBots === other.shouldFinishGameWithBots))
|
|
3206
3245
|
return false;
|
|
3207
3246
|
return true;
|
|
3208
3247
|
};
|
|
@@ -3247,20 +3286,20 @@
|
|
|
3247
3286
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 2);
|
|
3248
3287
|
tmp0_serialDesc.gz('roomId', false);
|
|
3249
3288
|
tmp0_serialDesc.gz('table', false);
|
|
3250
|
-
this.
|
|
3289
|
+
this.ga4_1 = tmp0_serialDesc;
|
|
3251
3290
|
}
|
|
3252
|
-
protoOf($serializer).
|
|
3253
|
-
var tmp0_desc = this.
|
|
3291
|
+
protoOf($serializer).ha4 = function (encoder, value) {
|
|
3292
|
+
var tmp0_desc = this.ga4_1;
|
|
3254
3293
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3255
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3294
|
+
tmp1_output.dt(tmp0_desc, 0, value.ia4_1);
|
|
3256
3295
|
tmp1_output.dt(tmp0_desc, 1, value.table);
|
|
3257
3296
|
tmp1_output.pr(tmp0_desc);
|
|
3258
3297
|
};
|
|
3259
3298
|
protoOf($serializer).co = function (encoder, value) {
|
|
3260
|
-
return this.
|
|
3299
|
+
return this.ha4(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3261
3300
|
};
|
|
3262
3301
|
protoOf($serializer).do = function (decoder) {
|
|
3263
|
-
var tmp0_desc = this.
|
|
3302
|
+
var tmp0_desc = this.ga4_1;
|
|
3264
3303
|
var tmp1_flag = true;
|
|
3265
3304
|
var tmp2_index = 0;
|
|
3266
3305
|
var tmp3_bitMask0 = 0;
|
|
@@ -3295,7 +3334,7 @@
|
|
|
3295
3334
|
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3296
3335
|
};
|
|
3297
3336
|
protoOf($serializer).bo = function () {
|
|
3298
|
-
return this.
|
|
3337
|
+
return this.ga4_1;
|
|
3299
3338
|
};
|
|
3300
3339
|
protoOf($serializer).vz = function () {
|
|
3301
3340
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3311,9 +3350,9 @@
|
|
|
3311
3350
|
}
|
|
3312
3351
|
function TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, $this) {
|
|
3313
3352
|
if (!(3 === (3 & seen0))) {
|
|
3314
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance().
|
|
3353
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance().ga4_1);
|
|
3315
3354
|
}
|
|
3316
|
-
$this.
|
|
3355
|
+
$this.ia4_1 = roomId;
|
|
3317
3356
|
$this.table = table;
|
|
3318
3357
|
return $this;
|
|
3319
3358
|
}
|
|
@@ -3321,17 +3360,17 @@
|
|
|
3321
3360
|
return TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, objectCreate(protoOf(TableStateUpdateDto)));
|
|
3322
3361
|
}
|
|
3323
3362
|
function TableStateUpdateDto(roomId, table) {
|
|
3324
|
-
this.
|
|
3363
|
+
this.ia4_1 = roomId;
|
|
3325
3364
|
this.table = table;
|
|
3326
3365
|
}
|
|
3327
|
-
protoOf(TableStateUpdateDto).
|
|
3328
|
-
return this.
|
|
3366
|
+
protoOf(TableStateUpdateDto).c8g = function () {
|
|
3367
|
+
return this.ia4_1;
|
|
3329
3368
|
};
|
|
3330
|
-
protoOf(TableStateUpdateDto).
|
|
3369
|
+
protoOf(TableStateUpdateDto).x6r = function () {
|
|
3331
3370
|
return this.table;
|
|
3332
3371
|
};
|
|
3333
3372
|
protoOf(TableStateUpdateDto).oe = function () {
|
|
3334
|
-
return this.
|
|
3373
|
+
return this.ia4_1;
|
|
3335
3374
|
};
|
|
3336
3375
|
protoOf(TableStateUpdateDto).pe = function () {
|
|
3337
3376
|
return this.table;
|
|
@@ -3340,15 +3379,15 @@
|
|
|
3340
3379
|
return new TableStateUpdateDto(roomId, table);
|
|
3341
3380
|
};
|
|
3342
3381
|
protoOf(TableStateUpdateDto).copy = function (roomId, table, $super) {
|
|
3343
|
-
roomId = roomId === VOID ? this.
|
|
3382
|
+
roomId = roomId === VOID ? this.ia4_1 : roomId;
|
|
3344
3383
|
table = table === VOID ? this.table : table;
|
|
3345
3384
|
return $super === VOID ? this.e54(roomId, table) : $super.e54.call(this, roomId, table);
|
|
3346
3385
|
};
|
|
3347
3386
|
protoOf(TableStateUpdateDto).toString = function () {
|
|
3348
|
-
return 'TableStateUpdateDto(roomId=' + this.
|
|
3387
|
+
return 'TableStateUpdateDto(roomId=' + this.ia4_1 + ', table=' + this.table + ')';
|
|
3349
3388
|
};
|
|
3350
3389
|
protoOf(TableStateUpdateDto).hashCode = function () {
|
|
3351
|
-
var result = getStringHashCode(this.
|
|
3390
|
+
var result = getStringHashCode(this.ia4_1);
|
|
3352
3391
|
result = imul(result, 31) + getStringHashCode(this.table) | 0;
|
|
3353
3392
|
return result;
|
|
3354
3393
|
};
|
|
@@ -3357,7 +3396,7 @@
|
|
|
3357
3396
|
return true;
|
|
3358
3397
|
if (!(other instanceof TableStateUpdateDto))
|
|
3359
3398
|
return false;
|
|
3360
|
-
if (!(this.
|
|
3399
|
+
if (!(this.ia4_1 === other.ia4_1))
|
|
3361
3400
|
return false;
|
|
3362
3401
|
if (!(this.table === other.table))
|
|
3363
3402
|
return false;
|
|
@@ -3377,20 +3416,20 @@
|
|
|
3377
3416
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 2);
|
|
3378
3417
|
tmp0_serialDesc.gz('roomId', false);
|
|
3379
3418
|
tmp0_serialDesc.gz('actions', false);
|
|
3380
|
-
this.
|
|
3419
|
+
this.ja4_1 = tmp0_serialDesc;
|
|
3381
3420
|
}
|
|
3382
|
-
protoOf($serializer_0).
|
|
3383
|
-
var tmp0_desc = this.
|
|
3421
|
+
protoOf($serializer_0).ka4 = function (encoder, value) {
|
|
3422
|
+
var tmp0_desc = this.ja4_1;
|
|
3384
3423
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3385
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3424
|
+
tmp1_output.dt(tmp0_desc, 0, value.la4_1);
|
|
3386
3425
|
tmp1_output.dt(tmp0_desc, 1, value.actions);
|
|
3387
3426
|
tmp1_output.pr(tmp0_desc);
|
|
3388
3427
|
};
|
|
3389
3428
|
protoOf($serializer_0).co = function (encoder, value) {
|
|
3390
|
-
return this.
|
|
3429
|
+
return this.ka4(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
|
|
3391
3430
|
};
|
|
3392
3431
|
protoOf($serializer_0).do = function (decoder) {
|
|
3393
|
-
var tmp0_desc = this.
|
|
3432
|
+
var tmp0_desc = this.ja4_1;
|
|
3394
3433
|
var tmp1_flag = true;
|
|
3395
3434
|
var tmp2_index = 0;
|
|
3396
3435
|
var tmp3_bitMask0 = 0;
|
|
@@ -3425,7 +3464,7 @@
|
|
|
3425
3464
|
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3426
3465
|
};
|
|
3427
3466
|
protoOf($serializer_0).bo = function () {
|
|
3428
|
-
return this.
|
|
3467
|
+
return this.ja4_1;
|
|
3429
3468
|
};
|
|
3430
3469
|
protoOf($serializer_0).vz = function () {
|
|
3431
3470
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3441,9 +3480,9 @@
|
|
|
3441
3480
|
}
|
|
3442
3481
|
function ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, $this) {
|
|
3443
3482
|
if (!(3 === (3 & seen0))) {
|
|
3444
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().
|
|
3483
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().ja4_1);
|
|
3445
3484
|
}
|
|
3446
|
-
$this.
|
|
3485
|
+
$this.la4_1 = roomId;
|
|
3447
3486
|
$this.actions = actions;
|
|
3448
3487
|
return $this;
|
|
3449
3488
|
}
|
|
@@ -3451,17 +3490,17 @@
|
|
|
3451
3490
|
return ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, objectCreate(protoOf(ActionsStateUpdateDto)));
|
|
3452
3491
|
}
|
|
3453
3492
|
function ActionsStateUpdateDto(roomId, actions) {
|
|
3454
|
-
this.
|
|
3493
|
+
this.la4_1 = roomId;
|
|
3455
3494
|
this.actions = actions;
|
|
3456
3495
|
}
|
|
3457
|
-
protoOf(ActionsStateUpdateDto).
|
|
3458
|
-
return this.
|
|
3496
|
+
protoOf(ActionsStateUpdateDto).c8g = function () {
|
|
3497
|
+
return this.la4_1;
|
|
3459
3498
|
};
|
|
3460
|
-
protoOf(ActionsStateUpdateDto).
|
|
3499
|
+
protoOf(ActionsStateUpdateDto).q8g = function () {
|
|
3461
3500
|
return this.actions;
|
|
3462
3501
|
};
|
|
3463
3502
|
protoOf(ActionsStateUpdateDto).oe = function () {
|
|
3464
|
-
return this.
|
|
3503
|
+
return this.la4_1;
|
|
3465
3504
|
};
|
|
3466
3505
|
protoOf(ActionsStateUpdateDto).pe = function () {
|
|
3467
3506
|
return this.actions;
|
|
@@ -3470,15 +3509,15 @@
|
|
|
3470
3509
|
return new ActionsStateUpdateDto(roomId, actions);
|
|
3471
3510
|
};
|
|
3472
3511
|
protoOf(ActionsStateUpdateDto).copy = function (roomId, actions, $super) {
|
|
3473
|
-
roomId = roomId === VOID ? this.
|
|
3512
|
+
roomId = roomId === VOID ? this.la4_1 : roomId;
|
|
3474
3513
|
actions = actions === VOID ? this.actions : actions;
|
|
3475
3514
|
return $super === VOID ? this.e54(roomId, actions) : $super.e54.call(this, roomId, actions);
|
|
3476
3515
|
};
|
|
3477
3516
|
protoOf(ActionsStateUpdateDto).toString = function () {
|
|
3478
|
-
return 'ActionsStateUpdateDto(roomId=' + this.
|
|
3517
|
+
return 'ActionsStateUpdateDto(roomId=' + this.la4_1 + ', actions=' + this.actions + ')';
|
|
3479
3518
|
};
|
|
3480
3519
|
protoOf(ActionsStateUpdateDto).hashCode = function () {
|
|
3481
|
-
var result = getStringHashCode(this.
|
|
3520
|
+
var result = getStringHashCode(this.la4_1);
|
|
3482
3521
|
result = imul(result, 31) + getStringHashCode(this.actions) | 0;
|
|
3483
3522
|
return result;
|
|
3484
3523
|
};
|
|
@@ -3487,7 +3526,7 @@
|
|
|
3487
3526
|
return true;
|
|
3488
3527
|
if (!(other instanceof ActionsStateUpdateDto))
|
|
3489
3528
|
return false;
|
|
3490
|
-
if (!(this.
|
|
3529
|
+
if (!(this.la4_1 === other.la4_1))
|
|
3491
3530
|
return false;
|
|
3492
3531
|
if (!(this.actions === other.actions))
|
|
3493
3532
|
return false;
|
|
@@ -3517,42 +3556,42 @@
|
|
|
3517
3556
|
var tmp$ret$0 = mapToDto(item);
|
|
3518
3557
|
destination.j(tmp$ret$0);
|
|
3519
3558
|
}
|
|
3520
|
-
return new ActionsStateUpdateDto(_this__u8e3s4.
|
|
3559
|
+
return new ActionsStateUpdateDto(_this__u8e3s4.ma4_1, encoderDecoderProvider.j8n(destination));
|
|
3521
3560
|
}
|
|
3522
3561
|
function mapToDto_3(_this__u8e3s4, encoderDecoderProvider) {
|
|
3523
|
-
return new TableStateUpdateDto(_this__u8e3s4.
|
|
3562
|
+
return new TableStateUpdateDto(_this__u8e3s4.na4_1, encoderDecoderProvider.h8n(mapToDto_0(_this__u8e3s4.table)));
|
|
3524
3563
|
}
|
|
3525
3564
|
function ServerStateUpdate() {
|
|
3526
3565
|
}
|
|
3527
3566
|
function TableStateUpdate(roomId, table) {
|
|
3528
|
-
this.
|
|
3567
|
+
this.na4_1 = roomId;
|
|
3529
3568
|
this.table = table;
|
|
3530
3569
|
}
|
|
3531
|
-
protoOf(TableStateUpdate).
|
|
3532
|
-
return this.
|
|
3570
|
+
protoOf(TableStateUpdate).c8g = function () {
|
|
3571
|
+
return this.na4_1;
|
|
3533
3572
|
};
|
|
3534
|
-
protoOf(TableStateUpdate).
|
|
3573
|
+
protoOf(TableStateUpdate).x6r = function () {
|
|
3535
3574
|
return this.table;
|
|
3536
3575
|
};
|
|
3537
3576
|
protoOf(TableStateUpdate).oe = function () {
|
|
3538
|
-
return this.
|
|
3577
|
+
return this.na4_1;
|
|
3539
3578
|
};
|
|
3540
3579
|
protoOf(TableStateUpdate).pe = function () {
|
|
3541
3580
|
return this.table;
|
|
3542
3581
|
};
|
|
3543
|
-
protoOf(TableStateUpdate).
|
|
3582
|
+
protoOf(TableStateUpdate).oa4 = function (roomId, table) {
|
|
3544
3583
|
return new TableStateUpdate(roomId, table);
|
|
3545
3584
|
};
|
|
3546
3585
|
protoOf(TableStateUpdate).copy = function (roomId, table, $super) {
|
|
3547
|
-
roomId = roomId === VOID ? this.
|
|
3586
|
+
roomId = roomId === VOID ? this.na4_1 : roomId;
|
|
3548
3587
|
table = table === VOID ? this.table : table;
|
|
3549
|
-
return $super === VOID ? this.
|
|
3588
|
+
return $super === VOID ? this.oa4(roomId, table) : $super.oa4.call(this, roomId, table);
|
|
3550
3589
|
};
|
|
3551
3590
|
protoOf(TableStateUpdate).toString = function () {
|
|
3552
|
-
return 'TableStateUpdate(roomId=' + this.
|
|
3591
|
+
return 'TableStateUpdate(roomId=' + this.na4_1 + ', table=' + this.table.toString() + ')';
|
|
3553
3592
|
};
|
|
3554
3593
|
protoOf(TableStateUpdate).hashCode = function () {
|
|
3555
|
-
var result = getStringHashCode(this.
|
|
3594
|
+
var result = getStringHashCode(this.na4_1);
|
|
3556
3595
|
result = imul(result, 31) + this.table.hashCode() | 0;
|
|
3557
3596
|
return result;
|
|
3558
3597
|
};
|
|
@@ -3561,41 +3600,41 @@
|
|
|
3561
3600
|
return true;
|
|
3562
3601
|
if (!(other instanceof TableStateUpdate))
|
|
3563
3602
|
return false;
|
|
3564
|
-
if (!(this.
|
|
3603
|
+
if (!(this.na4_1 === other.na4_1))
|
|
3565
3604
|
return false;
|
|
3566
3605
|
if (!this.table.equals(other.table))
|
|
3567
3606
|
return false;
|
|
3568
3607
|
return true;
|
|
3569
3608
|
};
|
|
3570
3609
|
function ActionsStateUpdate(roomId, actions) {
|
|
3571
|
-
this.
|
|
3610
|
+
this.ma4_1 = roomId;
|
|
3572
3611
|
this.actions = actions;
|
|
3573
3612
|
}
|
|
3574
|
-
protoOf(ActionsStateUpdate).
|
|
3575
|
-
return this.
|
|
3613
|
+
protoOf(ActionsStateUpdate).c8g = function () {
|
|
3614
|
+
return this.ma4_1;
|
|
3576
3615
|
};
|
|
3577
|
-
protoOf(ActionsStateUpdate).
|
|
3616
|
+
protoOf(ActionsStateUpdate).q8g = function () {
|
|
3578
3617
|
return this.actions;
|
|
3579
3618
|
};
|
|
3580
3619
|
protoOf(ActionsStateUpdate).oe = function () {
|
|
3581
|
-
return this.
|
|
3620
|
+
return this.ma4_1;
|
|
3582
3621
|
};
|
|
3583
3622
|
protoOf(ActionsStateUpdate).pe = function () {
|
|
3584
3623
|
return this.actions;
|
|
3585
3624
|
};
|
|
3586
|
-
protoOf(ActionsStateUpdate).
|
|
3625
|
+
protoOf(ActionsStateUpdate).pa4 = function (roomId, actions) {
|
|
3587
3626
|
return new ActionsStateUpdate(roomId, actions);
|
|
3588
3627
|
};
|
|
3589
3628
|
protoOf(ActionsStateUpdate).copy = function (roomId, actions, $super) {
|
|
3590
|
-
roomId = roomId === VOID ? this.
|
|
3629
|
+
roomId = roomId === VOID ? this.ma4_1 : roomId;
|
|
3591
3630
|
actions = actions === VOID ? this.actions : actions;
|
|
3592
|
-
return $super === VOID ? this.
|
|
3631
|
+
return $super === VOID ? this.pa4(roomId, actions) : $super.pa4.call(this, roomId, actions);
|
|
3593
3632
|
};
|
|
3594
3633
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
3595
|
-
return 'ActionsStateUpdate(roomId=' + this.
|
|
3634
|
+
return 'ActionsStateUpdate(roomId=' + this.ma4_1 + ', actions=' + toString(this.actions) + ')';
|
|
3596
3635
|
};
|
|
3597
3636
|
protoOf(ActionsStateUpdate).hashCode = function () {
|
|
3598
|
-
var result = getStringHashCode(this.
|
|
3637
|
+
var result = getStringHashCode(this.ma4_1);
|
|
3599
3638
|
result = imul(result, 31) + hashCode(this.actions) | 0;
|
|
3600
3639
|
return result;
|
|
3601
3640
|
};
|
|
@@ -3604,7 +3643,7 @@
|
|
|
3604
3643
|
return true;
|
|
3605
3644
|
if (!(other instanceof ActionsStateUpdate))
|
|
3606
3645
|
return false;
|
|
3607
|
-
if (!(this.
|
|
3646
|
+
if (!(this.ma4_1 === other.ma4_1))
|
|
3608
3647
|
return false;
|
|
3609
3648
|
if (!equals(this.actions, other.actions))
|
|
3610
3649
|
return false;
|
|
@@ -3838,18 +3877,18 @@
|
|
|
3838
3877
|
function ToClientEventsObserver() {
|
|
3839
3878
|
}
|
|
3840
3879
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
3841
|
-
this.
|
|
3842
|
-
this.
|
|
3880
|
+
this.za4_1 = this$0;
|
|
3881
|
+
this.aa5_1 = $actions;
|
|
3843
3882
|
CoroutineImpl.call(this, resultContinuation);
|
|
3844
3883
|
}
|
|
3845
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3846
|
-
var tmp = this.
|
|
3884
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).da5 = function ($this$flow, $completion) {
|
|
3885
|
+
var tmp = this.ea5($this$flow, $completion);
|
|
3847
3886
|
tmp.u8_1 = Unit_instance;
|
|
3848
3887
|
tmp.v8_1 = null;
|
|
3849
3888
|
return tmp.a9();
|
|
3850
3889
|
};
|
|
3851
3890
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).i9 = function (p1, $completion) {
|
|
3852
|
-
return this.
|
|
3891
|
+
return this.da5((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
3853
3892
|
};
|
|
3854
3893
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).a9 = function () {
|
|
3855
3894
|
var suspendResult = this.u8_1;
|
|
@@ -3859,19 +3898,19 @@
|
|
|
3859
3898
|
switch (tmp) {
|
|
3860
3899
|
case 0:
|
|
3861
3900
|
this.t8_1 = 4;
|
|
3862
|
-
this.
|
|
3863
|
-
this.
|
|
3901
|
+
this.za4_1.ja5_1;
|
|
3902
|
+
this.ca5_1 = transformToEmits(this.za4_1, this.aa5_1).l();
|
|
3864
3903
|
this.s8_1 = 1;
|
|
3865
3904
|
continue $sm;
|
|
3866
3905
|
case 1:
|
|
3867
|
-
if (!this.
|
|
3906
|
+
if (!this.ca5_1.m()) {
|
|
3868
3907
|
this.s8_1 = 3;
|
|
3869
3908
|
continue $sm;
|
|
3870
3909
|
}
|
|
3871
3910
|
|
|
3872
|
-
var element = this.
|
|
3911
|
+
var element = this.ca5_1.n();
|
|
3873
3912
|
this.s8_1 = 2;
|
|
3874
|
-
suspendResult = this.
|
|
3913
|
+
suspendResult = this.ba5_1.n28(element, this);
|
|
3875
3914
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3876
3915
|
return suspendResult;
|
|
3877
3916
|
}
|
|
@@ -3881,11 +3920,11 @@
|
|
|
3881
3920
|
this.s8_1 = 1;
|
|
3882
3921
|
continue $sm;
|
|
3883
3922
|
case 3:
|
|
3884
|
-
var tmp0 = this.
|
|
3923
|
+
var tmp0 = this.za4_1.ia5_1;
|
|
3885
3924
|
l$ret$1: do {
|
|
3886
3925
|
while (true) {
|
|
3887
3926
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
3888
|
-
var upd = cur - this.
|
|
3927
|
+
var upd = cur - this.aa5_1.o() | 0;
|
|
3889
3928
|
if (tmp0.atomicfu$compareAndSet(cur, upd)) {
|
|
3890
3929
|
break l$ret$1;
|
|
3891
3930
|
}
|
|
@@ -3907,15 +3946,15 @@
|
|
|
3907
3946
|
}
|
|
3908
3947
|
while (true);
|
|
3909
3948
|
};
|
|
3910
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3911
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
3912
|
-
i.
|
|
3949
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).ea5 = function ($this$flow, completion) {
|
|
3950
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.za4_1, this.aa5_1, completion);
|
|
3951
|
+
i.ba5_1 = $this$flow;
|
|
3913
3952
|
return i;
|
|
3914
3953
|
};
|
|
3915
3954
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
3916
3955
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
3917
3956
|
var l = function ($this$flow, $completion) {
|
|
3918
|
-
return i.
|
|
3957
|
+
return i.da5($this$flow, $completion);
|
|
3919
3958
|
};
|
|
3920
3959
|
l.$arity = 1;
|
|
3921
3960
|
return l;
|
|
@@ -3985,29 +4024,29 @@
|
|
|
3985
4024
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
3986
4025
|
}
|
|
3987
4026
|
function mapFromGroupKey($this, _this__u8e3s4) {
|
|
3988
|
-
var tmp = $this.
|
|
4027
|
+
var tmp = $this.ha5_1.d6e();
|
|
3989
4028
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3990
|
-
var this_0 = _this__u8e3s4.
|
|
4029
|
+
var this_0 = _this__u8e3s4.ma5_1;
|
|
3991
4030
|
var tmp_0 = copyToArray(this_0);
|
|
3992
4031
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3993
|
-
var this_1 = _this__u8e3s4.
|
|
4032
|
+
var this_1 = _this__u8e3s4.na5_1;
|
|
3994
4033
|
var tmp$ret$1 = copyToArray(this_1);
|
|
3995
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
4034
|
+
return new ActionDeliveryPayload(_this__u8e3s4.la5_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.oa5_1);
|
|
3996
4035
|
}
|
|
3997
4036
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
3998
|
-
this.
|
|
3999
|
-
this.
|
|
4000
|
-
this.
|
|
4001
|
-
this.
|
|
4037
|
+
this.la5_1 = tableId;
|
|
4038
|
+
this.ma5_1 = includePlayers;
|
|
4039
|
+
this.na5_1 = excludePlayers;
|
|
4040
|
+
this.oa5_1 = deliveryType;
|
|
4002
4041
|
}
|
|
4003
4042
|
protoOf(GroupKey).toString = function () {
|
|
4004
|
-
return 'GroupKey(tableId=' + this.
|
|
4043
|
+
return 'GroupKey(tableId=' + this.la5_1 + ', includePlayers=' + toString(this.ma5_1) + ', excludePlayers=' + toString(this.na5_1) + ', deliveryType=' + this.oa5_1.toString() + ')';
|
|
4005
4044
|
};
|
|
4006
4045
|
protoOf(GroupKey).hashCode = function () {
|
|
4007
|
-
var result = getStringHashCode(this.
|
|
4008
|
-
result = imul(result, 31) + hashCode(this.
|
|
4009
|
-
result = imul(result, 31) + hashCode(this.
|
|
4010
|
-
result = imul(result, 31) + this.
|
|
4046
|
+
var result = getStringHashCode(this.la5_1);
|
|
4047
|
+
result = imul(result, 31) + hashCode(this.ma5_1) | 0;
|
|
4048
|
+
result = imul(result, 31) + hashCode(this.na5_1) | 0;
|
|
4049
|
+
result = imul(result, 31) + this.oa5_1.hashCode() | 0;
|
|
4011
4050
|
return result;
|
|
4012
4051
|
};
|
|
4013
4052
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -4015,35 +4054,35 @@
|
|
|
4015
4054
|
return true;
|
|
4016
4055
|
if (!(other instanceof GroupKey))
|
|
4017
4056
|
return false;
|
|
4018
|
-
if (!(this.
|
|
4057
|
+
if (!(this.la5_1 === other.la5_1))
|
|
4019
4058
|
return false;
|
|
4020
|
-
if (!equals(this.
|
|
4059
|
+
if (!equals(this.ma5_1, other.ma5_1))
|
|
4021
4060
|
return false;
|
|
4022
|
-
if (!equals(this.
|
|
4061
|
+
if (!equals(this.na5_1, other.na5_1))
|
|
4023
4062
|
return false;
|
|
4024
|
-
if (!this.
|
|
4063
|
+
if (!this.oa5_1.equals(other.oa5_1))
|
|
4025
4064
|
return false;
|
|
4026
4065
|
return true;
|
|
4027
4066
|
};
|
|
4028
4067
|
function Companion_4() {
|
|
4029
|
-
this.
|
|
4068
|
+
this.pa5_1 = 6;
|
|
4030
4069
|
}
|
|
4031
4070
|
var Companion_instance_12;
|
|
4032
4071
|
function Companion_getInstance_5() {
|
|
4033
4072
|
return Companion_instance_12;
|
|
4034
4073
|
}
|
|
4035
4074
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
4036
|
-
this.
|
|
4075
|
+
this.ya5_1 = this$0;
|
|
4037
4076
|
CoroutineImpl.call(this, resultContinuation);
|
|
4038
4077
|
}
|
|
4039
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4040
|
-
var tmp = this.
|
|
4078
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).aa6 = function (actions, $completion) {
|
|
4079
|
+
var tmp = this.ba6(actions, $completion);
|
|
4041
4080
|
tmp.u8_1 = Unit_instance;
|
|
4042
4081
|
tmp.v8_1 = null;
|
|
4043
4082
|
return tmp.a9();
|
|
4044
4083
|
};
|
|
4045
4084
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).i9 = function (p1, $completion) {
|
|
4046
|
-
return this.
|
|
4085
|
+
return this.aa6((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
4047
4086
|
};
|
|
4048
4087
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).a9 = function () {
|
|
4049
4088
|
var suspendResult = this.u8_1;
|
|
@@ -4052,7 +4091,7 @@
|
|
|
4052
4091
|
var tmp = this.s8_1;
|
|
4053
4092
|
if (tmp === 0) {
|
|
4054
4093
|
this.t8_1 = 1;
|
|
4055
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
4094
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.ya5_1, this.za5_1, null));
|
|
4056
4095
|
} else if (tmp === 1) {
|
|
4057
4096
|
throw this.v8_1;
|
|
4058
4097
|
}
|
|
@@ -4062,23 +4101,23 @@
|
|
|
4062
4101
|
}
|
|
4063
4102
|
while (true);
|
|
4064
4103
|
};
|
|
4065
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4066
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
4067
|
-
i.
|
|
4104
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).ba6 = function (actions, completion) {
|
|
4105
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.ya5_1, completion);
|
|
4106
|
+
i.za5_1 = actions;
|
|
4068
4107
|
return i;
|
|
4069
4108
|
};
|
|
4070
4109
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
4071
4110
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
4072
4111
|
var l = function (actions, $completion) {
|
|
4073
|
-
return i.
|
|
4112
|
+
return i.aa6(actions, $completion);
|
|
4074
4113
|
};
|
|
4075
4114
|
l.$arity = 1;
|
|
4076
4115
|
return l;
|
|
4077
4116
|
}
|
|
4078
4117
|
function $sentEventCOROUTINE$(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
4079
4118
|
CoroutineImpl.call(this, resultContinuation);
|
|
4080
|
-
this.
|
|
4081
|
-
this.
|
|
4119
|
+
this.ka6_1 = _this__u8e3s4;
|
|
4120
|
+
this.la6_1 = fromEvent;
|
|
4082
4121
|
}
|
|
4083
4122
|
protoOf($sentEventCOROUTINE$).a9 = function () {
|
|
4084
4123
|
var suspendResult = this.u8_1;
|
|
@@ -4088,8 +4127,8 @@
|
|
|
4088
4127
|
switch (tmp) {
|
|
4089
4128
|
case 0:
|
|
4090
4129
|
this.t8_1 = 2;
|
|
4091
|
-
this.
|
|
4092
|
-
var tmp0 = this.
|
|
4130
|
+
this.ka6_1.ja5_1;
|
|
4131
|
+
var tmp0 = this.ka6_1.ia5_1;
|
|
4093
4132
|
l$ret$1: do {
|
|
4094
4133
|
while (true) {
|
|
4095
4134
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
@@ -4101,7 +4140,7 @@
|
|
|
4101
4140
|
}
|
|
4102
4141
|
while (false);
|
|
4103
4142
|
this.s8_1 = 1;
|
|
4104
|
-
suspendResult = this.ka5_1.
|
|
4143
|
+
suspendResult = this.ka6_1.ka5_1.n28(this.la6_1, this);
|
|
4105
4144
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4106
4145
|
return suspendResult;
|
|
4107
4146
|
}
|
|
@@ -4125,7 +4164,7 @@
|
|
|
4125
4164
|
};
|
|
4126
4165
|
function $waitForCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
4127
4166
|
CoroutineImpl.call(this, resultContinuation);
|
|
4128
|
-
this.
|
|
4167
|
+
this.ua6_1 = _this__u8e3s4;
|
|
4129
4168
|
}
|
|
4130
4169
|
protoOf($waitForCOROUTINE$).a9 = function () {
|
|
4131
4170
|
var suspendResult = this.u8_1;
|
|
@@ -4135,12 +4174,12 @@
|
|
|
4135
4174
|
switch (tmp) {
|
|
4136
4175
|
case 0:
|
|
4137
4176
|
this.t8_1 = 5;
|
|
4138
|
-
this.
|
|
4139
|
-
this.
|
|
4177
|
+
this.ua6_1.ja5_1;
|
|
4178
|
+
this.va6_1 = 0;
|
|
4140
4179
|
this.s8_1 = 1;
|
|
4141
4180
|
continue $sm;
|
|
4142
4181
|
case 1:
|
|
4143
|
-
if (!!(this.
|
|
4182
|
+
if (!!(this.ua6_1.ia5_1.kotlinx$atomicfu$value === 0)) {
|
|
4144
4183
|
this.s8_1 = 4;
|
|
4145
4184
|
continue $sm;
|
|
4146
4185
|
}
|
|
@@ -4153,9 +4192,9 @@
|
|
|
4153
4192
|
|
|
4154
4193
|
continue $sm;
|
|
4155
4194
|
case 2:
|
|
4156
|
-
this.
|
|
4157
|
-
if (this.
|
|
4158
|
-
this.
|
|
4195
|
+
this.va6_1 = this.va6_1 + 1 | 0;
|
|
4196
|
+
if (this.va6_1 > 6) {
|
|
4197
|
+
this.ua6_1.ga5_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.ua6_1.ia5_1.kotlinx$atomicfu$value);
|
|
4159
4198
|
this.s8_1 = 4;
|
|
4160
4199
|
continue $sm;
|
|
4161
4200
|
} else {
|
|
@@ -4183,183 +4222,183 @@
|
|
|
4183
4222
|
while (true);
|
|
4184
4223
|
};
|
|
4185
4224
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
4186
|
-
this.
|
|
4187
|
-
this.
|
|
4188
|
-
this.
|
|
4189
|
-
this.
|
|
4225
|
+
this.fa5_1 = serverReduxConfig;
|
|
4226
|
+
this.ga5_1 = logger;
|
|
4227
|
+
this.ha5_1 = idsProvider;
|
|
4228
|
+
this.ia5_1 = atomic$ref$1(0);
|
|
4190
4229
|
var tmp = this;
|
|
4191
4230
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
4192
|
-
tmp.
|
|
4193
|
-
this.
|
|
4231
|
+
tmp.ja5_1 = get_atomicfu$reentrantLock();
|
|
4232
|
+
this.ka5_1 = MutableSharedFlow();
|
|
4194
4233
|
}
|
|
4195
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4234
|
+
protoOf(ToClientEventsObserverImpl).qa4 = function (fromEvent, $completion) {
|
|
4196
4235
|
var tmp = new $sentEventCOROUTINE$(this, fromEvent, $completion);
|
|
4197
4236
|
tmp.u8_1 = Unit_instance;
|
|
4198
4237
|
tmp.v8_1 = null;
|
|
4199
4238
|
return tmp.a9();
|
|
4200
4239
|
};
|
|
4201
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4240
|
+
protoOf(ToClientEventsObserverImpl).j9e = function ($completion) {
|
|
4202
4241
|
var tmp = new $waitForCOROUTINE$(this, $completion);
|
|
4203
4242
|
tmp.u8_1 = Unit_instance;
|
|
4204
4243
|
tmp.v8_1 = null;
|
|
4205
4244
|
return tmp.a9();
|
|
4206
4245
|
};
|
|
4207
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4208
|
-
if (!this.
|
|
4209
|
-
return this.
|
|
4246
|
+
protoOf(ToClientEventsObserverImpl).c9v = function () {
|
|
4247
|
+
if (!this.fa5_1.enabledCombinedEvents) {
|
|
4248
|
+
return this.ka5_1;
|
|
4210
4249
|
}
|
|
4211
|
-
var tmp = windowedByInterval(this.
|
|
4250
|
+
var tmp = windowedByInterval(this.ka5_1, fromInt(this.fa5_1.combinedEventsIntervalMillis));
|
|
4212
4251
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
4213
4252
|
};
|
|
4214
4253
|
function UpdateServerConfigAction(serverConfig) {
|
|
4215
|
-
this.
|
|
4254
|
+
this.wa6_1 = serverConfig;
|
|
4216
4255
|
}
|
|
4217
4256
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
4218
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
4257
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.wa6_1.toString() + ')';
|
|
4219
4258
|
};
|
|
4220
4259
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
4221
|
-
return this.
|
|
4260
|
+
return this.wa6_1.hashCode();
|
|
4222
4261
|
};
|
|
4223
4262
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
4224
4263
|
if (this === other)
|
|
4225
4264
|
return true;
|
|
4226
4265
|
if (!(other instanceof UpdateServerConfigAction))
|
|
4227
4266
|
return false;
|
|
4228
|
-
if (!this.
|
|
4267
|
+
if (!this.wa6_1.equals(other.wa6_1))
|
|
4229
4268
|
return false;
|
|
4230
4269
|
return true;
|
|
4231
4270
|
};
|
|
4232
4271
|
function SpectatorsAction() {
|
|
4233
4272
|
}
|
|
4234
4273
|
function AddSpectatorsAction(spectators) {
|
|
4235
|
-
this.
|
|
4274
|
+
this.xa6_1 = spectators;
|
|
4236
4275
|
}
|
|
4237
4276
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
4238
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
4277
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.xa6_1) + ')';
|
|
4239
4278
|
};
|
|
4240
4279
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
4241
|
-
return hashCode(this.
|
|
4280
|
+
return hashCode(this.xa6_1);
|
|
4242
4281
|
};
|
|
4243
4282
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
4244
4283
|
if (this === other)
|
|
4245
4284
|
return true;
|
|
4246
4285
|
if (!(other instanceof AddSpectatorsAction))
|
|
4247
4286
|
return false;
|
|
4248
|
-
if (!equals(this.
|
|
4287
|
+
if (!equals(this.xa6_1, other.xa6_1))
|
|
4249
4288
|
return false;
|
|
4250
4289
|
return true;
|
|
4251
4290
|
};
|
|
4252
4291
|
function RemoveSpectatorsAction(spectators) {
|
|
4253
|
-
this.
|
|
4292
|
+
this.ya6_1 = spectators;
|
|
4254
4293
|
}
|
|
4255
4294
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
4256
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
4295
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.ya6_1) + ')';
|
|
4257
4296
|
};
|
|
4258
4297
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
4259
|
-
return hashCode(this.
|
|
4298
|
+
return hashCode(this.ya6_1);
|
|
4260
4299
|
};
|
|
4261
4300
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
4262
4301
|
if (this === other)
|
|
4263
4302
|
return true;
|
|
4264
4303
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
4265
4304
|
return false;
|
|
4266
|
-
if (!equals(this.
|
|
4305
|
+
if (!equals(this.ya6_1, other.ya6_1))
|
|
4267
4306
|
return false;
|
|
4268
4307
|
return true;
|
|
4269
4308
|
};
|
|
4270
4309
|
function _get_asyncProvider__jbpyhw($this) {
|
|
4271
|
-
var tmp0 = $this.
|
|
4310
|
+
var tmp0 = $this.ea7_1;
|
|
4272
4311
|
var tmp = KProperty1;
|
|
4273
4312
|
// Inline function 'kotlin.getValue' call
|
|
4274
4313
|
getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
|
|
4275
4314
|
return tmp0.x();
|
|
4276
4315
|
}
|
|
4277
4316
|
function _get_logger__rkp4sl($this) {
|
|
4278
|
-
var tmp0 = $this.
|
|
4317
|
+
var tmp0 = $this.fa7_1;
|
|
4279
4318
|
var tmp = KProperty1;
|
|
4280
4319
|
// Inline function 'kotlin.getValue' call
|
|
4281
4320
|
getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
|
|
4282
4321
|
return tmp0.x();
|
|
4283
4322
|
}
|
|
4284
4323
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
4285
|
-
var tmp0 = $this.
|
|
4324
|
+
var tmp0 = $this.ga7_1;
|
|
4286
4325
|
var tmp = KProperty1;
|
|
4287
4326
|
// Inline function 'kotlin.getValue' call
|
|
4288
4327
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
|
|
4289
4328
|
return tmp0.x();
|
|
4290
4329
|
}
|
|
4291
4330
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
4292
|
-
var tmp0 = $this.
|
|
4331
|
+
var tmp0 = $this.ha7_1;
|
|
4293
4332
|
var tmp = KProperty1;
|
|
4294
4333
|
// Inline function 'kotlin.getValue' call
|
|
4295
4334
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
|
|
4296
4335
|
return tmp0.x();
|
|
4297
4336
|
}
|
|
4298
4337
|
function _get_serverConfig__rk2g06($this) {
|
|
4299
|
-
var tmp0 = $this.
|
|
4338
|
+
var tmp0 = $this.ia7_1;
|
|
4300
4339
|
var tmp = KProperty1;
|
|
4301
4340
|
// Inline function 'kotlin.getValue' call
|
|
4302
4341
|
getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
|
|
4303
4342
|
return tmp0.x();
|
|
4304
4343
|
}
|
|
4305
4344
|
function _get_logicConfig__52ww9d($this) {
|
|
4306
|
-
var tmp0 = $this.
|
|
4345
|
+
var tmp0 = $this.ja7_1;
|
|
4307
4346
|
var tmp = KProperty1;
|
|
4308
4347
|
// Inline function 'kotlin.getValue' call
|
|
4309
4348
|
getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
|
|
4310
4349
|
return tmp0.x();
|
|
4311
4350
|
}
|
|
4312
4351
|
function _get_idsProvider__fnfajc_0($this) {
|
|
4313
|
-
var tmp0 = $this.
|
|
4352
|
+
var tmp0 = $this.ka7_1;
|
|
4314
4353
|
var tmp = KProperty1;
|
|
4315
4354
|
// Inline function 'kotlin.getValue' call
|
|
4316
4355
|
getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
|
|
4317
4356
|
return tmp0.x();
|
|
4318
4357
|
}
|
|
4319
4358
|
function _get_botConfig__cpaxzc($this) {
|
|
4320
|
-
var tmp0 = $this.
|
|
4359
|
+
var tmp0 = $this.la7_1;
|
|
4321
4360
|
var tmp = KProperty1;
|
|
4322
4361
|
// Inline function 'kotlin.getValue' call
|
|
4323
4362
|
getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
|
|
4324
4363
|
return tmp0.x();
|
|
4325
4364
|
}
|
|
4326
4365
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
4327
|
-
var tmp0 = $this.
|
|
4366
|
+
var tmp0 = $this.ma7_1;
|
|
4328
4367
|
var tmp = KProperty1;
|
|
4329
4368
|
// Inline function 'kotlin.getValue' call
|
|
4330
4369
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
|
|
4331
4370
|
return tmp0.x();
|
|
4332
4371
|
}
|
|
4333
4372
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
4334
|
-
var tmp0 = $this.
|
|
4373
|
+
var tmp0 = $this.na7_1;
|
|
4335
4374
|
var tmp = KProperty1;
|
|
4336
4375
|
// Inline function 'kotlin.getValue' call
|
|
4337
4376
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
|
|
4338
4377
|
return tmp0.x();
|
|
4339
4378
|
}
|
|
4340
4379
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
4341
|
-
var tmp0 = $this.
|
|
4380
|
+
var tmp0 = $this.oa7_1;
|
|
4342
4381
|
var tmp = KProperty1;
|
|
4343
4382
|
// Inline function 'kotlin.getValue' call
|
|
4344
4383
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
|
|
4345
4384
|
return tmp0.x();
|
|
4346
4385
|
}
|
|
4347
4386
|
function _get_dealerConfig__183ci8($this) {
|
|
4348
|
-
var tmp0 = $this.
|
|
4387
|
+
var tmp0 = $this.pa7_1;
|
|
4349
4388
|
var tmp = KProperty1;
|
|
4350
4389
|
// Inline function 'kotlin.getValue' call
|
|
4351
4390
|
getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
|
|
4352
4391
|
return tmp0.x();
|
|
4353
4392
|
}
|
|
4354
4393
|
function _get_poolProvider__tqti6a($this) {
|
|
4355
|
-
var tmp0 = $this.
|
|
4394
|
+
var tmp0 = $this.qa7_1;
|
|
4356
4395
|
var tmp = KProperty1;
|
|
4357
4396
|
// Inline function 'kotlin.getValue' call
|
|
4358
4397
|
getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
|
|
4359
4398
|
return tmp0.x();
|
|
4360
4399
|
}
|
|
4361
4400
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
4362
|
-
var tmp0 = $this.
|
|
4401
|
+
var tmp0 = $this.ra7_1;
|
|
4363
4402
|
var tmp = KProperty1;
|
|
4364
4403
|
// Inline function 'kotlin.getValue' call
|
|
4365
4404
|
getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
|
|
@@ -4509,7 +4548,7 @@
|
|
|
4509
4548
|
};
|
|
4510
4549
|
}
|
|
4511
4550
|
function ServerGameStoreContract$_get_middlewares_$lambda_qmuw9r(player) {
|
|
4512
|
-
return !player.
|
|
4551
|
+
return !player.c68();
|
|
4513
4552
|
}
|
|
4514
4553
|
function ServerGameStoreContract(di, validationStoreContract, timersStoreContract, botGameStoreContract, gameMechanicStoreContract, fileLoggerStoreContract) {
|
|
4515
4554
|
validationStoreContract = validationStoreContract === VOID ? new ValidationStoreContract(di, true, true, null) : validationStoreContract;
|
|
@@ -4523,11 +4562,11 @@
|
|
|
4523
4562
|
tmp = fileLoggerStoreContract;
|
|
4524
4563
|
}
|
|
4525
4564
|
fileLoggerStoreContract = tmp;
|
|
4526
|
-
this.
|
|
4527
|
-
this.
|
|
4528
|
-
this.
|
|
4529
|
-
this.
|
|
4530
|
-
this.
|
|
4565
|
+
this.za6_1 = validationStoreContract;
|
|
4566
|
+
this.aa7_1 = timersStoreContract;
|
|
4567
|
+
this.ba7_1 = botGameStoreContract;
|
|
4568
|
+
this.ca7_1 = gameMechanicStoreContract;
|
|
4569
|
+
this.da7_1 = fileLoggerStoreContract;
|
|
4531
4570
|
var tmp_0 = this;
|
|
4532
4571
|
// Inline function 'org.kodein.di.instance' call
|
|
4533
4572
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4535,7 +4574,7 @@
|
|
|
4535
4574
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
4536
4575
|
var tmp_2 = Instance(di, tmp$ret$0, null);
|
|
4537
4576
|
var tmp_3 = KProperty1;
|
|
4538
|
-
tmp_0.
|
|
4577
|
+
tmp_0.ea7_1 = tmp_2.w64(this, getPropertyCallableRef('asyncProvider', 1, tmp_3, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
|
|
4539
4578
|
var tmp_4 = this;
|
|
4540
4579
|
// Inline function 'org.kodein.di.instance' call
|
|
4541
4580
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4543,7 +4582,7 @@
|
|
|
4543
4582
|
var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
4544
4583
|
var tmp_6 = Instance(di, tmp$ret$2, null);
|
|
4545
4584
|
var tmp_7 = KProperty1;
|
|
4546
|
-
tmp_4.
|
|
4585
|
+
tmp_4.fa7_1 = tmp_6.w64(this, getPropertyCallableRef('logger', 1, tmp_7, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
|
|
4547
4586
|
var tmp_8 = this;
|
|
4548
4587
|
// Inline function 'org.kodein.di.instance' call
|
|
4549
4588
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4551,7 +4590,7 @@
|
|
|
4551
4590
|
var tmp$ret$4 = isInterface(tmp_9, TypeToken) ? tmp_9 : THROW_CCE();
|
|
4552
4591
|
var tmp_10 = Instance(di, tmp$ret$4, null);
|
|
4553
4592
|
var tmp_11 = KProperty1;
|
|
4554
|
-
tmp_8.
|
|
4593
|
+
tmp_8.ga7_1 = tmp_10.w64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_11, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
|
|
4555
4594
|
var tmp_12 = this;
|
|
4556
4595
|
// Inline function 'org.kodein.di.instance' call
|
|
4557
4596
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4559,7 +4598,7 @@
|
|
|
4559
4598
|
var tmp$ret$6 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
4560
4599
|
var tmp_14 = Instance(di, tmp$ret$6, null);
|
|
4561
4600
|
var tmp_15 = KProperty1;
|
|
4562
|
-
tmp_12.
|
|
4601
|
+
tmp_12.ha7_1 = tmp_14.w64(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_15, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
|
|
4563
4602
|
var tmp_16 = this;
|
|
4564
4603
|
// Inline function 'org.kodein.di.instance' call
|
|
4565
4604
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4567,7 +4606,7 @@
|
|
|
4567
4606
|
var tmp$ret$8 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
4568
4607
|
var tmp_18 = Instance(di, tmp$ret$8, null);
|
|
4569
4608
|
var tmp_19 = KProperty1;
|
|
4570
|
-
tmp_16.
|
|
4609
|
+
tmp_16.ia7_1 = tmp_18.w64(this, getPropertyCallableRef('serverConfig', 1, tmp_19, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
|
|
4571
4610
|
var tmp_20 = this;
|
|
4572
4611
|
// Inline function 'org.kodein.di.instance' call
|
|
4573
4612
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4575,7 +4614,7 @@
|
|
|
4575
4614
|
var tmp$ret$10 = isInterface(tmp_21, TypeToken) ? tmp_21 : THROW_CCE();
|
|
4576
4615
|
var tmp_22 = Instance(di, tmp$ret$10, null);
|
|
4577
4616
|
var tmp_23 = KProperty1;
|
|
4578
|
-
tmp_20.
|
|
4617
|
+
tmp_20.ja7_1 = tmp_22.w64(this, getPropertyCallableRef('logicConfig', 1, tmp_23, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
|
|
4579
4618
|
var tmp_24 = this;
|
|
4580
4619
|
// Inline function 'org.kodein.di.instance' call
|
|
4581
4620
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4583,7 +4622,7 @@
|
|
|
4583
4622
|
var tmp$ret$12 = isInterface(tmp_25, TypeToken) ? tmp_25 : THROW_CCE();
|
|
4584
4623
|
var tmp_26 = Instance(di, tmp$ret$12, null);
|
|
4585
4624
|
var tmp_27 = KProperty1;
|
|
4586
|
-
tmp_24.
|
|
4625
|
+
tmp_24.ka7_1 = tmp_26.w64(this, getPropertyCallableRef('idsProvider', 1, tmp_27, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
|
|
4587
4626
|
var tmp_28 = this;
|
|
4588
4627
|
// Inline function 'org.kodein.di.instance' call
|
|
4589
4628
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4591,7 +4630,7 @@
|
|
|
4591
4630
|
var tmp$ret$14 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
|
|
4592
4631
|
var tmp_30 = Instance(di, tmp$ret$14, null);
|
|
4593
4632
|
var tmp_31 = KProperty1;
|
|
4594
|
-
tmp_28.
|
|
4633
|
+
tmp_28.la7_1 = tmp_30.w64(this, getPropertyCallableRef('botConfig', 1, tmp_31, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
|
|
4595
4634
|
var tmp_32 = this;
|
|
4596
4635
|
// Inline function 'org.kodein.di.instance' call
|
|
4597
4636
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4599,7 +4638,7 @@
|
|
|
4599
4638
|
var tmp$ret$16 = isInterface(tmp_33, TypeToken) ? tmp_33 : THROW_CCE();
|
|
4600
4639
|
var tmp_34 = Instance(di, tmp$ret$16, null);
|
|
4601
4640
|
var tmp_35 = KProperty1;
|
|
4602
|
-
tmp_32.
|
|
4641
|
+
tmp_32.ma7_1 = tmp_34.w64(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_35, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
|
|
4603
4642
|
var tmp_36 = this;
|
|
4604
4643
|
// Inline function 'org.kodein.di.instance' call
|
|
4605
4644
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4607,7 +4646,7 @@
|
|
|
4607
4646
|
var tmp$ret$18 = isInterface(tmp_37, TypeToken) ? tmp_37 : THROW_CCE();
|
|
4608
4647
|
var tmp_38 = Instance(di, tmp$ret$18, null);
|
|
4609
4648
|
var tmp_39 = KProperty1;
|
|
4610
|
-
tmp_36.
|
|
4649
|
+
tmp_36.na7_1 = tmp_38.w64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_39, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
|
|
4611
4650
|
var tmp_40 = this;
|
|
4612
4651
|
// Inline function 'org.kodein.di.instance' call
|
|
4613
4652
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4615,7 +4654,7 @@
|
|
|
4615
4654
|
var tmp$ret$20 = isInterface(tmp_41, TypeToken) ? tmp_41 : THROW_CCE();
|
|
4616
4655
|
var tmp_42 = Instance(di, tmp$ret$20, null);
|
|
4617
4656
|
var tmp_43 = KProperty1;
|
|
4618
|
-
tmp_40.
|
|
4657
|
+
tmp_40.oa7_1 = tmp_42.w64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_43, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
|
|
4619
4658
|
var tmp_44 = this;
|
|
4620
4659
|
// Inline function 'org.kodein.di.instance' call
|
|
4621
4660
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4623,7 +4662,7 @@
|
|
|
4623
4662
|
var tmp$ret$22 = isInterface(tmp_45, TypeToken) ? tmp_45 : THROW_CCE();
|
|
4624
4663
|
var tmp_46 = Instance(di, tmp$ret$22, null);
|
|
4625
4664
|
var tmp_47 = KProperty1;
|
|
4626
|
-
tmp_44.
|
|
4665
|
+
tmp_44.pa7_1 = tmp_46.w64(this, getPropertyCallableRef('dealerConfig', 1, tmp_47, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
|
|
4627
4666
|
var tmp_48 = this;
|
|
4628
4667
|
// Inline function 'org.kodein.di.instance' call
|
|
4629
4668
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4631,7 +4670,7 @@
|
|
|
4631
4670
|
var tmp$ret$24 = isInterface(tmp_49, TypeToken) ? tmp_49 : THROW_CCE();
|
|
4632
4671
|
var tmp_50 = Instance(di, tmp$ret$24, null);
|
|
4633
4672
|
var tmp_51 = KProperty1;
|
|
4634
|
-
tmp_48.
|
|
4673
|
+
tmp_48.qa7_1 = tmp_50.w64(this, getPropertyCallableRef('poolProvider', 1, tmp_51, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
|
|
4635
4674
|
var tmp_52 = this;
|
|
4636
4675
|
// Inline function 'org.kodein.di.instance' call
|
|
4637
4676
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4639,32 +4678,39 @@
|
|
|
4639
4678
|
var tmp$ret$26 = isInterface(tmp_53, TypeToken) ? tmp_53 : THROW_CCE();
|
|
4640
4679
|
var tmp_54 = Instance(di, tmp$ret$26, null);
|
|
4641
4680
|
var tmp_55 = KProperty1;
|
|
4642
|
-
tmp_52.
|
|
4681
|
+
tmp_52.ra7_1 = tmp_54.w64(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_55, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
|
|
4643
4682
|
}
|
|
4644
|
-
protoOf(ServerGameStoreContract).
|
|
4645
|
-
return plus(plus(plus(plus(plus(this.
|
|
4683
|
+
protoOf(ServerGameStoreContract).g93 = function () {
|
|
4684
|
+
return plus(plus(plus(plus(plus(this.za6_1.g93(), this.ca7_1.g93()), this.aa7_1.g93()), this.ba7_1.g93()), this.da7_1.g93()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl(this))]));
|
|
4646
4685
|
};
|
|
4647
|
-
protoOf(ServerGameStoreContract).
|
|
4648
|
-
var tmp =
|
|
4649
|
-
var tmp_0
|
|
4686
|
+
protoOf(ServerGameStoreContract).h93 = function () {
|
|
4687
|
+
var tmp = this.za6_1.h93();
|
|
4688
|
+
var tmp_0;
|
|
4689
|
+
if (_get_serverConfig__rk2g06(this).finishGameWhenNotLiveStrategy.equals(FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance())) {
|
|
4690
|
+
tmp_0 = checkBotsMiddleware(_get_logger__rkp4sl(this));
|
|
4691
|
+
} else {
|
|
4692
|
+
tmp_0 = null;
|
|
4693
|
+
}
|
|
4694
|
+
var tmp_1 = plus(plus(plus(plus(plus(plus(plus(tmp, listOfNotNull(tmp_0)), this.ca7_1.h93()), this.aa7_1.h93()), this.ba7_1.h93()), this.da7_1.h93()), 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))).n95(), finishingGameWhenCantStartNewMiddleware()]));
|
|
4695
|
+
var tmp_2 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this), _get_logger__rkp4sl(this));
|
|
4650
4696
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
4651
4697
|
var tmp1_logger = _get_logger__rkp4sl(this);
|
|
4652
4698
|
var tmp2_asyncProvider = _get_asyncProvider__jbpyhw(this);
|
|
4653
|
-
var
|
|
4654
|
-
var
|
|
4699
|
+
var tmp_3 = playerTurnTimeoutWhenHostMiddleware(tmp0_serverConfig, tmp2_asyncProvider, tmp1_logger);
|
|
4700
|
+
var tmp_4 = clearOnFinishMiddleware(_get_asyncProvider__jbpyhw(this), listOf_0(_get_toClientEventsObserver__6rp51y_0(this)));
|
|
4655
4701
|
var tmp3_asyncProvider = _get_asyncProvider__jbpyhw(this);
|
|
4656
4702
|
var tmp4_dealerConfig = _get_dealerConfig__183ci8(this);
|
|
4657
4703
|
var tmp5_poolProvider = _get_poolProvider__tqti6a(this);
|
|
4658
4704
|
var tmp6_cardsDealerProvider = _get_cardsDealerProvider__bekjpg(this);
|
|
4659
|
-
var
|
|
4660
|
-
var
|
|
4705
|
+
var tmp_5 = prefetchRandomOrgPoolMiddleware(tmp5_poolProvider, tmp6_cardsDealerProvider, tmp3_asyncProvider, tmp4_dealerConfig);
|
|
4706
|
+
var tmp_6;
|
|
4661
4707
|
if (_get_botConfig__cpaxzc(this).autoStepLastCard) {
|
|
4662
|
-
var
|
|
4663
|
-
|
|
4708
|
+
var tmp_7 = _get_lastCardInteractor__h6lq3w(this);
|
|
4709
|
+
tmp_6 = putPlayerLastCardMiddleware(tmp_7, ServerGameStoreContract$_get_middlewares_$lambda_qmuw9r);
|
|
4664
4710
|
} else {
|
|
4665
|
-
|
|
4711
|
+
tmp_6 = null;
|
|
4666
4712
|
}
|
|
4667
|
-
return plus(
|
|
4713
|
+
return plus(tmp_1, listOfNotNull_0([tmp_2, tmp_3, tmp_4, tmp_5, tmp_6]));
|
|
4668
4714
|
};
|
|
4669
4715
|
function finishingGameWhenCantStartNewMiddleware() {
|
|
4670
4716
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
@@ -4672,52 +4718,52 @@
|
|
|
4672
4718
|
}
|
|
4673
4719
|
function finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1() {
|
|
4674
4720
|
}
|
|
4675
|
-
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).
|
|
4721
|
+
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).b6g = function (action) {
|
|
4676
4722
|
return action instanceof RoundEndedAction;
|
|
4677
4723
|
};
|
|
4678
|
-
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).
|
|
4724
|
+
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).q6h = function (store, next, action) {
|
|
4679
4725
|
var tmp4 = action instanceof RoundEndedAction ? action : THROW_CCE();
|
|
4680
4726
|
$l$block_0: {
|
|
4681
4727
|
next(tmp4);
|
|
4682
4728
|
var state = store.state;
|
|
4683
4729
|
if (tmp4.isGameFinished) {
|
|
4684
|
-
if (
|
|
4685
|
-
store.dispatch(Companion_instance.fromTableWithAnalytics(new GameFinishedReason(Reason_DEPLOY_getInstance()), true, state.
|
|
4730
|
+
if (get_serverStatePayload_0(state).config.shouldFinishGameWhenDeploy) {
|
|
4731
|
+
store.dispatch(Companion_instance.fromTableWithAnalytics(new GameFinishedReason(Reason_DEPLOY_getInstance()), true, state.w6q_1));
|
|
4686
4732
|
break $l$block_0;
|
|
4687
4733
|
}
|
|
4688
|
-
if (state.
|
|
4689
|
-
store.dispatch(Companion_instance.fromTableWithAnalytics(new GameFinishedReason(Reason_REVENGED_getInstance()), true, state.
|
|
4734
|
+
if (state.x6r().config.mode.equals(RoomMode_REVENGE_getInstance())) {
|
|
4735
|
+
store.dispatch(Companion_instance.fromTableWithAnalytics(new GameFinishedReason(Reason_REVENGED_getInstance()), true, state.w6q_1));
|
|
4690
4736
|
break $l$block_0;
|
|
4691
4737
|
}
|
|
4692
4738
|
}
|
|
4693
4739
|
}
|
|
4694
4740
|
};
|
|
4695
|
-
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).
|
|
4696
|
-
return this.
|
|
4741
|
+
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).a6g = function (store, next, action) {
|
|
4742
|
+
return this.q6h(store, next, action);
|
|
4697
4743
|
};
|
|
4698
4744
|
function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
|
|
4699
|
-
this.
|
|
4745
|
+
this.ua7_1 = this$0;
|
|
4700
4746
|
}
|
|
4701
|
-
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).
|
|
4747
|
+
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).b6g = function (action) {
|
|
4702
4748
|
return action instanceof MechanicAction;
|
|
4703
4749
|
};
|
|
4704
|
-
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).
|
|
4750
|
+
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).q6h = function (store, next, action) {
|
|
4705
4751
|
var action_0 = action instanceof MechanicAction ? action : THROW_CCE();
|
|
4706
4752
|
var state = store.state;
|
|
4707
4753
|
// Inline function 'kotlin.with' call
|
|
4708
4754
|
var tmp;
|
|
4709
4755
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
4710
|
-
var tmp0 = this.
|
|
4711
|
-
var tmp2 = action_0.
|
|
4712
|
-
var tmp4 = action_0.
|
|
4756
|
+
var tmp0 = this.ua7_1;
|
|
4757
|
+
var tmp2 = action_0.o8z_1;
|
|
4758
|
+
var tmp4 = action_0.q8z_1;
|
|
4713
4759
|
// Inline function 'kotlin.collections.map' call
|
|
4714
|
-
var this_0 = action_0.
|
|
4760
|
+
var this_0 = action_0.r8z_1;
|
|
4715
4761
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4716
4762
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
4717
4763
|
var _iterator__ex2g4s = this_0.l();
|
|
4718
4764
|
while (_iterator__ex2g4s.m()) {
|
|
4719
4765
|
var item = _iterator__ex2g4s.n();
|
|
4720
|
-
var tmp$ret$0 = to(item.
|
|
4766
|
+
var tmp$ret$0 = to(item.j66_1, PlayerConnectionState_LIVE_getInstance());
|
|
4721
4767
|
destination.j(tmp$ret$0);
|
|
4722
4768
|
}
|
|
4723
4769
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -4747,7 +4793,7 @@
|
|
|
4747
4793
|
var _iterator__ex2g4s_2 = destination_1.l();
|
|
4748
4794
|
while (_iterator__ex2g4s_2.m()) {
|
|
4749
4795
|
var element_0 = _iterator__ex2g4s_2.n();
|
|
4750
|
-
var tmp0_aid = tmp0.
|
|
4796
|
+
var tmp0_aid = tmp0.ta7_1.d6e();
|
|
4751
4797
|
// Inline function 'kotlin.collections.map' call
|
|
4752
4798
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4753
4799
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -4769,16 +4815,16 @@
|
|
|
4769
4815
|
tmp = destination_2;
|
|
4770
4816
|
} else {
|
|
4771
4817
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
4772
|
-
var tmp0_0 = this.
|
|
4818
|
+
var tmp0_0 = this.ua7_1;
|
|
4773
4819
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4774
|
-
var table = state.
|
|
4775
|
-
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.
|
|
4820
|
+
var table = state.x6r();
|
|
4821
|
+
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.ta7_1.d6e(), table.id, null);
|
|
4776
4822
|
var tmp$ret$21 = mapToClient_16(action_0, sendToPlayer_0);
|
|
4777
4823
|
tmp = listOfNotNull(tmp$ret$21);
|
|
4778
4824
|
} else {
|
|
4779
4825
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
4780
|
-
var tmp0_1 = this.
|
|
4781
|
-
var tmp2_0 = action_0.
|
|
4826
|
+
var tmp0_1 = this.ua7_1;
|
|
4827
|
+
var tmp2_0 = action_0.u8z_1.id;
|
|
4782
4828
|
var tmp4_0 = action_0.gameCreatorPlayerId;
|
|
4783
4829
|
// Inline function 'kotlin.collections.map' call
|
|
4784
4830
|
var this_1 = action_0.users;
|
|
@@ -4787,7 +4833,7 @@
|
|
|
4787
4833
|
var _iterator__ex2g4s_4 = this_1.l();
|
|
4788
4834
|
while (_iterator__ex2g4s_4.m()) {
|
|
4789
4835
|
var item_2 = _iterator__ex2g4s_4.n();
|
|
4790
|
-
var tmp$ret$23 = to(item_2.
|
|
4836
|
+
var tmp$ret$23 = to(item_2.j66_1, PlayerConnectionState_LIVE_getInstance());
|
|
4791
4837
|
destination_4.j(tmp$ret$23);
|
|
4792
4838
|
}
|
|
4793
4839
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -4817,7 +4863,7 @@
|
|
|
4817
4863
|
var _iterator__ex2g4s_7 = destination_6.l();
|
|
4818
4864
|
while (_iterator__ex2g4s_7.m()) {
|
|
4819
4865
|
var element_2 = _iterator__ex2g4s_7.n();
|
|
4820
|
-
var tmp0_aid_0 = tmp0_1.
|
|
4866
|
+
var tmp0_aid_0 = tmp0_1.ta7_1.d6e();
|
|
4821
4867
|
// Inline function 'kotlin.collections.map' call
|
|
4822
4868
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4823
4869
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -4839,41 +4885,41 @@
|
|
|
4839
4885
|
tmp = destination_7;
|
|
4840
4886
|
} else {
|
|
4841
4887
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
4842
|
-
var tmp0_2 = this.
|
|
4888
|
+
var tmp0_2 = this.ua7_1;
|
|
4843
4889
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4844
|
-
var table_0 = state.
|
|
4845
|
-
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.
|
|
4890
|
+
var table_0 = state.x6r();
|
|
4891
|
+
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.ta7_1.d6e(), table_0.id, null);
|
|
4846
4892
|
var tmp$ret$44 = mapToClient_14(action_0, sendToPlayer_2);
|
|
4847
4893
|
tmp = listOfNotNull(tmp$ret$44);
|
|
4848
4894
|
} else {
|
|
4849
4895
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
4850
|
-
var tmp0_3 = this.
|
|
4896
|
+
var tmp0_3 = this.ua7_1;
|
|
4851
4897
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4852
|
-
var table_1 = state.
|
|
4853
|
-
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.
|
|
4898
|
+
var table_1 = state.x6r();
|
|
4899
|
+
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.ta7_1.d6e(), table_1.id, null);
|
|
4854
4900
|
var tmp$ret$46 = mapToClient_13(action_0, sendToPlayer_3);
|
|
4855
4901
|
tmp = listOfNotNull(tmp$ret$46);
|
|
4856
4902
|
} else {
|
|
4857
4903
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
4858
|
-
var tmp0_4 = this.
|
|
4904
|
+
var tmp0_4 = this.ua7_1;
|
|
4859
4905
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4860
|
-
var table_2 = state.
|
|
4861
|
-
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.
|
|
4906
|
+
var table_2 = state.x6r();
|
|
4907
|
+
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.ta7_1.d6e(), table_2.id, null);
|
|
4862
4908
|
var tmp$ret$48 = mapToClient_12(action_0, sendToPlayer_4);
|
|
4863
4909
|
tmp = listOfNotNull(tmp$ret$48);
|
|
4864
4910
|
} else {
|
|
4865
4911
|
if (action_0 instanceof ErrorAction) {
|
|
4866
|
-
var tmp0_5 = this.
|
|
4912
|
+
var tmp0_5 = this.ua7_1;
|
|
4867
4913
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4868
|
-
var table_3 = state.
|
|
4869
|
-
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.
|
|
4914
|
+
var table_3 = state.x6r();
|
|
4915
|
+
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.ta7_1.d6e(), table_3.id, null);
|
|
4870
4916
|
var tmp$ret$50 = mapToClient_11(action_0, sendToPlayer_5);
|
|
4871
4917
|
tmp = listOfNotNull(tmp$ret$50);
|
|
4872
4918
|
} else {
|
|
4873
4919
|
if (action_0 instanceof SceneMechanicAction) {
|
|
4874
|
-
var tmp0_6 = this.
|
|
4920
|
+
var tmp0_6 = this.ua7_1;
|
|
4875
4921
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4876
|
-
var table_4 = state.
|
|
4922
|
+
var table_4 = state.x6r();
|
|
4877
4923
|
var tmp2_1 = table_4.id;
|
|
4878
4924
|
var tmp4_1 = getGameCreator(table_4.players).playerId;
|
|
4879
4925
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -4904,7 +4950,7 @@
|
|
|
4904
4950
|
var _iterator__ex2g4s_11 = destination_10.l();
|
|
4905
4951
|
while (_iterator__ex2g4s_11.m()) {
|
|
4906
4952
|
var element_4 = _iterator__ex2g4s_11.n();
|
|
4907
|
-
var tmp0_aid_1 = tmp0_6.
|
|
4953
|
+
var tmp0_aid_1 = tmp0_6.ta7_1.d6e();
|
|
4908
4954
|
// Inline function 'kotlin.collections.map' call
|
|
4909
4955
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4910
4956
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -4926,9 +4972,9 @@
|
|
|
4926
4972
|
tmp = destination_11;
|
|
4927
4973
|
} else {
|
|
4928
4974
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
4929
|
-
var tmp0_7 = this.
|
|
4975
|
+
var tmp0_7 = this.ua7_1;
|
|
4930
4976
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4931
|
-
var table_5 = state.
|
|
4977
|
+
var table_5 = state.x6r();
|
|
4932
4978
|
var tmp2_2 = table_5.id;
|
|
4933
4979
|
var tmp4_2 = getGameCreator(table_5.players).playerId;
|
|
4934
4980
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -4959,7 +5005,7 @@
|
|
|
4959
5005
|
var _iterator__ex2g4s_15 = destination_14.l();
|
|
4960
5006
|
while (_iterator__ex2g4s_15.m()) {
|
|
4961
5007
|
var element_6 = _iterator__ex2g4s_15.n();
|
|
4962
|
-
var tmp0_aid_2 = tmp0_7.
|
|
5008
|
+
var tmp0_aid_2 = tmp0_7.ta7_1.d6e();
|
|
4963
5009
|
// Inline function 'kotlin.collections.map' call
|
|
4964
5010
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4965
5011
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -4981,9 +5027,9 @@
|
|
|
4981
5027
|
tmp = destination_15;
|
|
4982
5028
|
} else {
|
|
4983
5029
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
4984
|
-
var tmp0_8 = this.
|
|
5030
|
+
var tmp0_8 = this.ua7_1;
|
|
4985
5031
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4986
|
-
var table_6 = state.
|
|
5032
|
+
var table_6 = state.x6r();
|
|
4987
5033
|
var tmp2_3 = table_6.id;
|
|
4988
5034
|
var tmp4_3 = getGameCreator(table_6.players).playerId;
|
|
4989
5035
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -5014,7 +5060,7 @@
|
|
|
5014
5060
|
var _iterator__ex2g4s_19 = destination_18.l();
|
|
5015
5061
|
while (_iterator__ex2g4s_19.m()) {
|
|
5016
5062
|
var element_8 = _iterator__ex2g4s_19.n();
|
|
5017
|
-
var tmp0_aid_3 = tmp0_8.
|
|
5063
|
+
var tmp0_aid_3 = tmp0_8.ta7_1.d6e();
|
|
5018
5064
|
// Inline function 'kotlin.collections.map' call
|
|
5019
5065
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5020
5066
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -5026,7 +5072,7 @@
|
|
|
5026
5072
|
}
|
|
5027
5073
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_3, tmp4_3, element_8, destination_20);
|
|
5028
5074
|
var tmp_0;
|
|
5029
|
-
if (this.
|
|
5075
|
+
if (this.ua7_1.sa7_1.supportBackwardActions && getPlayer(state.x6r().players, sendToPlayer_8.x7f_1).h6v_1.c6z_1) {
|
|
5030
5076
|
tmp_0 = null;
|
|
5031
5077
|
} else {
|
|
5032
5078
|
tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
|
|
@@ -5042,72 +5088,72 @@
|
|
|
5042
5088
|
tmp = destination_19;
|
|
5043
5089
|
} else {
|
|
5044
5090
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
5045
|
-
var tmp0_9 = this.
|
|
5046
|
-
var tmp2_4 = state.
|
|
5091
|
+
var tmp0_9 = this.ua7_1;
|
|
5092
|
+
var tmp2_4 = state.x6r();
|
|
5047
5093
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5048
|
-
var exceptPlayerId = this.
|
|
5049
|
-
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.
|
|
5094
|
+
var exceptPlayerId = this.ua7_1.sa7_1.supportBackwardActions ? action_0.p90_1 : null;
|
|
5095
|
+
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.ta7_1.d6e(), tmp2_4.id, exceptPlayerId);
|
|
5050
5096
|
var tmp$ret$109 = mapToClient_7(action_0, sendToPlayer_9);
|
|
5051
5097
|
tmp = listOfNotNull(tmp$ret$109);
|
|
5052
5098
|
} else {
|
|
5053
5099
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
5054
|
-
var tmp0_10 = this.
|
|
5055
|
-
var tmp2_5 = state.
|
|
5100
|
+
var tmp0_10 = this.ua7_1;
|
|
5101
|
+
var tmp2_5 = state.x6r();
|
|
5056
5102
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5057
|
-
var exceptPlayerId_0 = this.
|
|
5058
|
-
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.
|
|
5103
|
+
var exceptPlayerId_0 = this.ua7_1.sa7_1.supportBackwardActions ? action_0.r8v_1 : null;
|
|
5104
|
+
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.ta7_1.d6e(), tmp2_5.id, exceptPlayerId_0);
|
|
5059
5105
|
var tmp$ret$111 = mapToClient_6(action_0, sendToPlayer_10);
|
|
5060
5106
|
tmp = listOfNotNull(tmp$ret$111);
|
|
5061
5107
|
} else {
|
|
5062
5108
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
5063
|
-
var tmp0_11 = this.
|
|
5109
|
+
var tmp0_11 = this.ua7_1;
|
|
5064
5110
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5065
|
-
var table_7 = state.
|
|
5066
|
-
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.
|
|
5111
|
+
var table_7 = state.x6r();
|
|
5112
|
+
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.ta7_1.d6e(), table_7.id, null);
|
|
5067
5113
|
var tmp$ret$113 = mapToClient_5(action_0, sendToPlayer_11);
|
|
5068
5114
|
tmp = listOfNotNull(tmp$ret$113);
|
|
5069
5115
|
} else {
|
|
5070
5116
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
5071
|
-
var tmp0_12 = this.
|
|
5072
|
-
var tmp2_6 = state.
|
|
5117
|
+
var tmp0_12 = this.ua7_1;
|
|
5118
|
+
var tmp2_6 = state.x6r();
|
|
5073
5119
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5074
|
-
var exceptPlayerId_1 = this.
|
|
5075
|
-
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.
|
|
5120
|
+
var exceptPlayerId_1 = this.ua7_1.sa7_1.supportBackwardActions ? action_0.v90_1 : null;
|
|
5121
|
+
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.ta7_1.d6e(), tmp2_6.id, exceptPlayerId_1);
|
|
5076
5122
|
var tmp$ret$115 = mapToClient_4(action_0, sendToPlayer_12);
|
|
5077
5123
|
tmp = listOfNotNull(tmp$ret$115);
|
|
5078
5124
|
} else {
|
|
5079
5125
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
5080
|
-
var tmp0_13 = this.
|
|
5081
|
-
var tmp2_7 = state.
|
|
5126
|
+
var tmp0_13 = this.ua7_1;
|
|
5127
|
+
var tmp2_7 = state.x6r();
|
|
5082
5128
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5083
|
-
var exceptPlayerId_2 = this.
|
|
5084
|
-
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.
|
|
5129
|
+
var exceptPlayerId_2 = this.ua7_1.sa7_1.supportBackwardActions ? action_0.w8v_1 : null;
|
|
5130
|
+
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.ta7_1.d6e(), tmp2_7.id, exceptPlayerId_2);
|
|
5085
5131
|
var tmp$ret$117 = mapToClient_3(action_0, sendToPlayer_13);
|
|
5086
5132
|
tmp = listOfNotNull(tmp$ret$117);
|
|
5087
5133
|
} else {
|
|
5088
5134
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
5089
|
-
var tmp0_14 = this.
|
|
5135
|
+
var tmp0_14 = this.ua7_1;
|
|
5090
5136
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5091
|
-
var table_8 = state.
|
|
5092
|
-
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.
|
|
5137
|
+
var table_8 = state.x6r();
|
|
5138
|
+
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.ta7_1.d6e(), table_8.id, null);
|
|
5093
5139
|
var tmp$ret$119 = mapToClient_2(action_0, sendToPlayer_14);
|
|
5094
5140
|
tmp = listOfNotNull(tmp$ret$119);
|
|
5095
5141
|
} else {
|
|
5096
5142
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
5097
|
-
var tmp0_15 = this.
|
|
5143
|
+
var tmp0_15 = this.ua7_1;
|
|
5098
5144
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5099
|
-
var table_9 = state.
|
|
5100
|
-
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.
|
|
5145
|
+
var table_9 = state.x6r();
|
|
5146
|
+
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.ta7_1.d6e(), table_9.id, null);
|
|
5101
5147
|
var tmp$ret$121 = mapToClient_1(action_0, sendToPlayer_15);
|
|
5102
5148
|
tmp = listOfNotNull(tmp$ret$121);
|
|
5103
5149
|
} else {
|
|
5104
5150
|
if (action_0 instanceof MessageMechanicAction) {
|
|
5105
|
-
var message = action_0.
|
|
5106
|
-
var tmp0_16 = this.
|
|
5107
|
-
var tmp2_8 = state.
|
|
5151
|
+
var message = action_0.z90_1;
|
|
5152
|
+
var tmp0_16 = this.ua7_1;
|
|
5153
|
+
var tmp2_8 = state.x6r();
|
|
5108
5154
|
var tmp_1;
|
|
5109
5155
|
var tmp_2;
|
|
5110
|
-
if (this.
|
|
5156
|
+
if (this.ua7_1.sa7_1.supportBackwardActions) {
|
|
5111
5157
|
tmp_2 = isInterface(message, UserMessage);
|
|
5112
5158
|
} else {
|
|
5113
5159
|
tmp_2 = false;
|
|
@@ -5119,16 +5165,16 @@
|
|
|
5119
5165
|
}
|
|
5120
5166
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5121
5167
|
var exceptPlayerId_3 = tmp_1;
|
|
5122
|
-
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.
|
|
5168
|
+
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.ta7_1.d6e(), tmp2_8.id, exceptPlayerId_3);
|
|
5123
5169
|
var tmp$ret$123 = mapToClient_0(action_0, sendToPlayer_16);
|
|
5124
5170
|
tmp = listOfNotNull(tmp$ret$123);
|
|
5125
5171
|
} else {
|
|
5126
5172
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
5127
|
-
var tmp0_17 = this.
|
|
5128
|
-
var tmp2_9 = state.
|
|
5173
|
+
var tmp0_17 = this.ua7_1;
|
|
5174
|
+
var tmp2_9 = state.x6r();
|
|
5129
5175
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5130
5176
|
var exceptPlayerId_4 = action_0.playerId;
|
|
5131
|
-
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.
|
|
5177
|
+
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.ta7_1.d6e(), tmp2_9.id, exceptPlayerId_4);
|
|
5132
5178
|
var tmp$ret$125 = mapToClient(action_0, sendToPlayer_17);
|
|
5133
5179
|
tmp = listOfNotNull(tmp$ret$125);
|
|
5134
5180
|
} else {
|
|
@@ -5161,14 +5207,14 @@
|
|
|
5161
5207
|
}
|
|
5162
5208
|
next(action_0);
|
|
5163
5209
|
};
|
|
5164
|
-
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).
|
|
5165
|
-
return this.
|
|
5210
|
+
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).a6g = function (store, next, action) {
|
|
5211
|
+
return this.q6h(store, next, action);
|
|
5166
5212
|
};
|
|
5167
5213
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
5168
|
-
this.
|
|
5169
|
-
this.
|
|
5214
|
+
this.sa7_1 = logicConfig;
|
|
5215
|
+
this.ta7_1 = idsProvider;
|
|
5170
5216
|
}
|
|
5171
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
5217
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).n95 = function () {
|
|
5172
5218
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
5173
5219
|
return new ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this);
|
|
5174
5220
|
};
|
|
@@ -5177,8 +5223,8 @@
|
|
|
5177
5223
|
return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
|
|
5178
5224
|
}
|
|
5179
5225
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
5180
|
-
this.
|
|
5181
|
-
this.
|
|
5226
|
+
this.da8_1 = $provider;
|
|
5227
|
+
this.ea8_1 = $action;
|
|
5182
5228
|
CoroutineImpl.call(this, resultContinuation);
|
|
5183
5229
|
}
|
|
5184
5230
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -5199,7 +5245,7 @@
|
|
|
5199
5245
|
case 0:
|
|
5200
5246
|
this.t8_1 = 2;
|
|
5201
5247
|
this.s8_1 = 1;
|
|
5202
|
-
suspendResult = this.
|
|
5248
|
+
suspendResult = this.da8_1.qa4(this.ea8_1, this);
|
|
5203
5249
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5204
5250
|
return suspendResult;
|
|
5205
5251
|
}
|
|
@@ -5222,8 +5268,8 @@
|
|
|
5222
5268
|
while (true);
|
|
5223
5269
|
};
|
|
5224
5270
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).c2d = function ($this$launchDefault, completion) {
|
|
5225
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
5226
|
-
i.
|
|
5271
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.da8_1, this.ea8_1, completion);
|
|
5272
|
+
i.fa8_1 = $this$launchDefault;
|
|
5227
5273
|
return i;
|
|
5228
5274
|
};
|
|
5229
5275
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -5235,19 +5281,19 @@
|
|
|
5235
5281
|
return l;
|
|
5236
5282
|
}
|
|
5237
5283
|
function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
|
|
5238
|
-
this.
|
|
5239
|
-
this.
|
|
5284
|
+
this.ga8_1 = $asyncProvider;
|
|
5285
|
+
this.ha8_1 = $provider;
|
|
5240
5286
|
}
|
|
5241
|
-
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).
|
|
5287
|
+
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).b6g = function (action) {
|
|
5242
5288
|
return action instanceof ToClientAction;
|
|
5243
5289
|
};
|
|
5244
|
-
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).
|
|
5290
|
+
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).q6h = function (store, next, action) {
|
|
5245
5291
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
5246
|
-
this.
|
|
5292
|
+
this.ga8_1.i6c(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.ha8_1, action_0, null));
|
|
5247
5293
|
next(action_0);
|
|
5248
5294
|
};
|
|
5249
|
-
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).
|
|
5250
|
-
return this.
|
|
5295
|
+
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).a6g = function (store, next, action) {
|
|
5296
|
+
return this.q6h(store, next, action);
|
|
5251
5297
|
};
|
|
5252
5298
|
function serverConfigReducer() {
|
|
5253
5299
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
@@ -5255,22 +5301,22 @@
|
|
|
5255
5301
|
}
|
|
5256
5302
|
function serverConfigReducer$$inlined$reducerForActionType$1() {
|
|
5257
5303
|
}
|
|
5258
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
5304
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).b6g = function (action) {
|
|
5259
5305
|
return action instanceof UpdateServerConfigAction;
|
|
5260
5306
|
};
|
|
5261
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
5307
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).a9g = function (state, action) {
|
|
5262
5308
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
5263
|
-
return state.
|
|
5309
|
+
return state.p8y(VOID, get_serverStatePayload_0(state).copy(action_0.wa6_1));
|
|
5264
5310
|
};
|
|
5265
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
5266
|
-
return this.
|
|
5311
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).r6h = function (state, action) {
|
|
5312
|
+
return this.a9g((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5267
5313
|
};
|
|
5268
5314
|
function addRoomMetadata($this, _this__u8e3s4, gameId) {
|
|
5269
5315
|
_this__u8e3s4.metadata.addGame(gameId, new GameMetadata(gameId));
|
|
5270
5316
|
return _this__u8e3s4.metadata;
|
|
5271
5317
|
}
|
|
5272
5318
|
function Companion_5() {
|
|
5273
|
-
this.
|
|
5319
|
+
this.ia8_1 = 'ServerMechanicLifecycleReducer';
|
|
5274
5320
|
}
|
|
5275
5321
|
var Companion_instance_13;
|
|
5276
5322
|
function Companion_getInstance_6() {
|
|
@@ -5281,87 +5327,87 @@
|
|
|
5281
5327
|
var tmp = Companion_instance_1;
|
|
5282
5328
|
var tmp_0;
|
|
5283
5329
|
if (it.isBot) {
|
|
5284
|
-
tmp_0 = Companion_instance_2.
|
|
5330
|
+
tmp_0 = Companion_instance_2.l67(PlayerConnectionState_LEFT_PERMANENTLY_getInstance());
|
|
5285
5331
|
} else {
|
|
5286
5332
|
var tmp_1 = Companion_instance_2;
|
|
5287
5333
|
var tmp_2 = PlayerConnectionState_LIVE_getInstance();
|
|
5288
5334
|
Companion_getInstance();
|
|
5289
5335
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
5290
|
-
var this_0 = $action.
|
|
5336
|
+
var this_0 = $action.n8z_1.timeoutTimeMillis;
|
|
5291
5337
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
5292
|
-
tmp_0 = tmp_1.
|
|
5338
|
+
tmp_0 = tmp_1.k67(tmp_2, tmp$ret$0);
|
|
5293
5339
|
}
|
|
5294
|
-
return tmp.
|
|
5340
|
+
return tmp.u68(tmp_0);
|
|
5295
5341
|
};
|
|
5296
5342
|
}
|
|
5297
5343
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
5298
5344
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
5299
|
-
this.
|
|
5345
|
+
this.la8_1 = logger;
|
|
5300
5346
|
}
|
|
5301
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5302
|
-
this.
|
|
5347
|
+
protoOf(ServerMechanicLifecycleReducer).m9h = function (state, action) {
|
|
5348
|
+
this.la8_1.d('ServerMechanicLifecycleReducer', 'onStart ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
5303
5349
|
var serverState = get_serverStatePayloadOrNull(state.payload);
|
|
5304
|
-
var tableId = action.
|
|
5350
|
+
var tableId = action.o8z_1;
|
|
5305
5351
|
var tmp6_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5306
|
-
var tmp0_$this = this.
|
|
5307
|
-
var tmp1_version = action.
|
|
5308
|
-
var tmp2_config = action.
|
|
5309
|
-
var tmp3_users = action.
|
|
5352
|
+
var tmp0_$this = this.n9h_1;
|
|
5353
|
+
var tmp1_version = action.p8z_1;
|
|
5354
|
+
var tmp2_config = action.n8z_1;
|
|
5355
|
+
var tmp3_users = action.r8z_1;
|
|
5310
5356
|
var tmp4_spectators = action.spectators;
|
|
5311
|
-
var tmp5_gameCreatorPlayerId = action.
|
|
5312
|
-
var tmp7_tableOrNull = tmp0_$this.
|
|
5357
|
+
var tmp5_gameCreatorPlayerId = action.q8z_1;
|
|
5358
|
+
var tmp7_tableOrNull = tmp0_$this.t9i(tableId, tableId, tmp2_config, tmp1_version, tmp3_users, tmp4_spectators, tmp5_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
|
|
5313
5359
|
var tmp;
|
|
5314
5360
|
if (serverState == null) {
|
|
5315
|
-
this.
|
|
5361
|
+
this.la8_1.w(VOID, 'ServerPayload is not onStart');
|
|
5316
5362
|
tmp = Companion_instance_14.initial(VOID, addRoomMetadata(this, get_serverStatePayload_0(state), tableId));
|
|
5317
5363
|
} else {
|
|
5318
5364
|
tmp = serverState.copy(VOID, addRoomMetadata(this, get_serverStatePayload_0(state), tableId));
|
|
5319
5365
|
}
|
|
5320
5366
|
var tmp8_payload = tmp;
|
|
5321
|
-
return state.
|
|
5367
|
+
return state.p8y(tmp7_tableOrNull, tmp8_payload, tmp6_gameLifecycleState);
|
|
5322
5368
|
};
|
|
5323
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5324
|
-
this.
|
|
5369
|
+
protoOf(ServerMechanicLifecycleReducer).k9h = function (state, action) {
|
|
5370
|
+
this.la8_1.d('ServerMechanicLifecycleReducer', 'onContinue ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
5325
5371
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5326
|
-
var tmp2_tableOrNull = action.
|
|
5372
|
+
var tmp2_tableOrNull = action.u8z_1;
|
|
5327
5373
|
var tmp = Companion_instance_14;
|
|
5328
5374
|
var tmp_0 = get_serverStatePayload_0(state).config;
|
|
5329
|
-
var tmp_1 = action.
|
|
5375
|
+
var tmp_1 = action.v8z_1;
|
|
5330
5376
|
var tmp0_safe_receiver = tmp_1 instanceof RestartRoundReason ? tmp_1 : null;
|
|
5331
|
-
var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.f65_1), addRoomMetadata(this, get_serverStatePayload_0(state), action.
|
|
5332
|
-
return state.
|
|
5377
|
+
var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.f65_1), addRoomMetadata(this, get_serverStatePayload_0(state), action.u8z_1.gameId));
|
|
5378
|
+
return state.p8y(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
|
|
5333
5379
|
};
|
|
5334
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5335
|
-
this.
|
|
5380
|
+
protoOf(ServerMechanicLifecycleReducer).l9h = function (state, action) {
|
|
5381
|
+
this.o9h_1.n58(action.previousGameId);
|
|
5336
5382
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5337
|
-
var tmp1_tableOrNull = this.
|
|
5383
|
+
var tmp1_tableOrNull = this.n9h_1.u9i(state.x6r(), action.gameId);
|
|
5338
5384
|
var tmp2_payload = get_serverStatePayload_0(state).copy(VOID, addRoomMetadata(this, get_serverStatePayload_0(state), action.gameId));
|
|
5339
|
-
return state.
|
|
5385
|
+
return state.p8y(tmp1_tableOrNull, tmp2_payload, tmp0_gameLifecycleState);
|
|
5340
5386
|
};
|
|
5341
5387
|
function spectatorsReducer(logger) {
|
|
5342
5388
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
5343
5389
|
return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
|
|
5344
5390
|
}
|
|
5345
5391
|
function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
|
|
5346
|
-
this.
|
|
5392
|
+
this.ma8_1 = $logger;
|
|
5347
5393
|
}
|
|
5348
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
5394
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).b6g = function (action) {
|
|
5349
5395
|
return isInterface(action, SpectatorsAction);
|
|
5350
5396
|
};
|
|
5351
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
5397
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).a9g = function (state, action) {
|
|
5352
5398
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
5353
|
-
var table = state.
|
|
5399
|
+
var table = state.x6r();
|
|
5354
5400
|
var tmp;
|
|
5355
5401
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
5356
5402
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5357
|
-
var tmp0 = action_0.
|
|
5403
|
+
var tmp0 = action_0.xa6_1;
|
|
5358
5404
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5359
5405
|
var destination = ArrayList_init_$Create$_0();
|
|
5360
5406
|
// Inline function 'kotlin.collections.forEach' call
|
|
5361
5407
|
var _iterator__ex2g4s = tmp0.l();
|
|
5362
5408
|
while (_iterator__ex2g4s.m()) {
|
|
5363
5409
|
var element = _iterator__ex2g4s.n();
|
|
5364
|
-
var tmp0_safe_receiver = singleOrNull(filterByPlayerId(table.spectators, element.
|
|
5410
|
+
var tmp0_safe_receiver = singleOrNull(filterByPlayerId(table.spectators, element.j66_1));
|
|
5365
5411
|
if (tmp0_safe_receiver == null)
|
|
5366
5412
|
null;
|
|
5367
5413
|
else {
|
|
@@ -5373,9 +5419,9 @@
|
|
|
5373
5419
|
var tmp_0;
|
|
5374
5420
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5375
5421
|
if (!sameSpectators.r()) {
|
|
5376
|
-
this.
|
|
5422
|
+
this.ma8_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
5377
5423
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5378
|
-
var tmp0_0 = action_0.
|
|
5424
|
+
var tmp0_0 = action_0.xa6_1;
|
|
5379
5425
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5380
5426
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
5381
5427
|
var _iterator__ex2g4s_0 = tmp0_0.l();
|
|
@@ -5397,7 +5443,7 @@
|
|
|
5397
5443
|
var _iterator__ex2g4s_1 = sameSpectators.l();
|
|
5398
5444
|
while (_iterator__ex2g4s_1.m()) {
|
|
5399
5445
|
var element_1 = _iterator__ex2g4s_1.n();
|
|
5400
|
-
if (element_0.
|
|
5446
|
+
if (element_0.j66_1 === element_1.playerId) {
|
|
5401
5447
|
tmp$ret$8 = true;
|
|
5402
5448
|
break $l$block_0;
|
|
5403
5449
|
}
|
|
@@ -5410,7 +5456,7 @@
|
|
|
5410
5456
|
}
|
|
5411
5457
|
tmp_0 = destination_0;
|
|
5412
5458
|
} else {
|
|
5413
|
-
tmp_0 = action_0.
|
|
5459
|
+
tmp_0 = action_0.xa6_1;
|
|
5414
5460
|
}
|
|
5415
5461
|
// Inline function 'kotlin.collections.map' call
|
|
5416
5462
|
var this_0 = tmp_0;
|
|
@@ -5423,18 +5469,18 @@
|
|
|
5423
5469
|
destination_1.j(tmp$ret$13);
|
|
5424
5470
|
}
|
|
5425
5471
|
var spectatorsToAdd = toSet(destination_1);
|
|
5426
|
-
tmp = state.
|
|
5472
|
+
tmp = state.p8y(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
|
|
5427
5473
|
} else {
|
|
5428
5474
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
5429
5475
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5430
|
-
var tmp0_1 = action_0.
|
|
5476
|
+
var tmp0_1 = action_0.ya6_1;
|
|
5431
5477
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5432
5478
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
5433
5479
|
// Inline function 'kotlin.collections.forEach' call
|
|
5434
5480
|
var _iterator__ex2g4s_3 = tmp0_1.l();
|
|
5435
5481
|
while (_iterator__ex2g4s_3.m()) {
|
|
5436
5482
|
var element_2 = _iterator__ex2g4s_3.n();
|
|
5437
|
-
var tmp0_safe_receiver_0 = singleOrNull(filterByPlayerId(table.spectators, element_2.
|
|
5483
|
+
var tmp0_safe_receiver_0 = singleOrNull(filterByPlayerId(table.spectators, element_2.j66_1));
|
|
5438
5484
|
if (tmp0_safe_receiver_0 == null)
|
|
5439
5485
|
null;
|
|
5440
5486
|
else {
|
|
@@ -5446,9 +5492,9 @@
|
|
|
5446
5492
|
var tmp_2;
|
|
5447
5493
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5448
5494
|
if (!sameSpectators_0.r()) {
|
|
5449
|
-
this.
|
|
5495
|
+
this.ma8_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
5450
5496
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5451
|
-
var tmp0_2 = action_0.
|
|
5497
|
+
var tmp0_2 = action_0.ya6_1;
|
|
5452
5498
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5453
5499
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
5454
5500
|
var _iterator__ex2g4s_4 = tmp0_2.l();
|
|
@@ -5470,7 +5516,7 @@
|
|
|
5470
5516
|
var _iterator__ex2g4s_5 = sameSpectators_0.l();
|
|
5471
5517
|
while (_iterator__ex2g4s_5.m()) {
|
|
5472
5518
|
var element_4 = _iterator__ex2g4s_5.n();
|
|
5473
|
-
if (element_3.
|
|
5519
|
+
if (element_3.j66_1 === element_4.playerId) {
|
|
5474
5520
|
tmp$ret$24 = true;
|
|
5475
5521
|
break $l$block_2;
|
|
5476
5522
|
}
|
|
@@ -5483,7 +5529,7 @@
|
|
|
5483
5529
|
}
|
|
5484
5530
|
tmp_2 = destination_3;
|
|
5485
5531
|
} else {
|
|
5486
|
-
tmp_2 = action_0.
|
|
5532
|
+
tmp_2 = action_0.ya6_1;
|
|
5487
5533
|
}
|
|
5488
5534
|
var spectatorsToRemove = toSet(tmp_2);
|
|
5489
5535
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -5509,7 +5555,7 @@
|
|
|
5509
5555
|
var _iterator__ex2g4s_7 = spectatorsToRemove.l();
|
|
5510
5556
|
while (_iterator__ex2g4s_7.m()) {
|
|
5511
5557
|
var element_6 = _iterator__ex2g4s_7.n();
|
|
5512
|
-
if (element_5.playerId === element_6.
|
|
5558
|
+
if (element_5.playerId === element_6.j66_1) {
|
|
5513
5559
|
tmp$ret$29 = true;
|
|
5514
5560
|
break $l$block_4;
|
|
5515
5561
|
}
|
|
@@ -5520,25 +5566,25 @@
|
|
|
5520
5566
|
destination_4.j(element_5);
|
|
5521
5567
|
}
|
|
5522
5568
|
}
|
|
5523
|
-
tmp = state.
|
|
5569
|
+
tmp = state.p8y(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
|
|
5524
5570
|
} else {
|
|
5525
5571
|
noWhenBranchMatchedException();
|
|
5526
5572
|
}
|
|
5527
5573
|
}
|
|
5528
5574
|
return tmp;
|
|
5529
5575
|
};
|
|
5530
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
5531
|
-
return this.
|
|
5576
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).r6h = function (state, action) {
|
|
5577
|
+
return this.a9g((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5532
5578
|
};
|
|
5533
5579
|
function Companion_6() {
|
|
5534
5580
|
}
|
|
5535
|
-
protoOf(Companion_6).
|
|
5581
|
+
protoOf(Companion_6).na8 = function (config, metadata) {
|
|
5536
5582
|
return new ServerStatePayload(config, metadata);
|
|
5537
5583
|
};
|
|
5538
5584
|
protoOf(Companion_6).initial = function (config, metadata, $super) {
|
|
5539
5585
|
config = config === VOID ? Companion_instance_8.initial(null) : config;
|
|
5540
5586
|
metadata = metadata === VOID ? new RoomMetadata() : metadata;
|
|
5541
|
-
return $super === VOID ? this.
|
|
5587
|
+
return $super === VOID ? this.na8(config, metadata) : $super.na8.call(this, config, metadata);
|
|
5542
5588
|
};
|
|
5543
5589
|
var Companion_instance_14;
|
|
5544
5590
|
function Companion_getInstance_7() {
|
|
@@ -5551,7 +5597,7 @@
|
|
|
5551
5597
|
protoOf(ServerStatePayload).z3s = function () {
|
|
5552
5598
|
return this.config;
|
|
5553
5599
|
};
|
|
5554
|
-
protoOf(ServerStatePayload).
|
|
5600
|
+
protoOf(ServerStatePayload).j8j = function () {
|
|
5555
5601
|
return this.metadata;
|
|
5556
5602
|
};
|
|
5557
5603
|
protoOf(ServerStatePayload).oe = function () {
|
|
@@ -5560,13 +5606,13 @@
|
|
|
5560
5606
|
protoOf(ServerStatePayload).pe = function () {
|
|
5561
5607
|
return this.metadata;
|
|
5562
5608
|
};
|
|
5563
|
-
protoOf(ServerStatePayload).
|
|
5609
|
+
protoOf(ServerStatePayload).oa8 = function (config, metadata) {
|
|
5564
5610
|
return new ServerStatePayload(config, metadata);
|
|
5565
5611
|
};
|
|
5566
5612
|
protoOf(ServerStatePayload).copy = function (config, metadata, $super) {
|
|
5567
5613
|
config = config === VOID ? this.config : config;
|
|
5568
5614
|
metadata = metadata === VOID ? this.metadata : metadata;
|
|
5569
|
-
return $super === VOID ? this.
|
|
5615
|
+
return $super === VOID ? this.oa8(config, metadata) : $super.oa8.call(this, config, metadata);
|
|
5570
5616
|
};
|
|
5571
5617
|
protoOf(ServerStatePayload).toString = function () {
|
|
5572
5618
|
return 'ServerStatePayload(config=' + this.config.toString() + ', metadata=' + toString(this.metadata) + ')';
|
|
@@ -5614,12 +5660,12 @@
|
|
|
5614
5660
|
return new ServerLoggerKey(_this__u8e3s4.gameId);
|
|
5615
5661
|
}
|
|
5616
5662
|
function serverLoggerKeyFromPayload(_this__u8e3s4, payload) {
|
|
5617
|
-
var gameId = Companion_instance_3.
|
|
5663
|
+
var gameId = Companion_instance_3.v9k(payload);
|
|
5618
5664
|
var tmp;
|
|
5619
5665
|
if (!(gameId == null)) {
|
|
5620
5666
|
tmp = new ServerLoggerKey(gameId);
|
|
5621
5667
|
} else {
|
|
5622
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
5668
|
+
var tmp0_safe_receiver = _this__u8e3s4.w6q_1;
|
|
5623
5669
|
tmp = tmp0_safe_receiver == null ? null : get_serverLoggerKey(tmp0_safe_receiver);
|
|
5624
5670
|
}
|
|
5625
5671
|
return tmp;
|
|
@@ -5631,14 +5677,14 @@
|
|
|
5631
5677
|
return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
|
|
5632
5678
|
}
|
|
5633
5679
|
function _get_logger__rkp4sl_0($this) {
|
|
5634
|
-
var tmp0 = $this.
|
|
5680
|
+
var tmp0 = $this.ya8_1;
|
|
5635
5681
|
var tmp = KProperty1;
|
|
5636
5682
|
// Inline function 'kotlin.getValue' call
|
|
5637
5683
|
getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
|
|
5638
5684
|
return tmp0.x();
|
|
5639
5685
|
}
|
|
5640
5686
|
function _get_di__ndbzja($this) {
|
|
5641
|
-
var tmp0 = $this.
|
|
5687
|
+
var tmp0 = $this.za8_1;
|
|
5642
5688
|
var tmp = KProperty1;
|
|
5643
5689
|
// Inline function 'kotlin.getValue' call
|
|
5644
5690
|
getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
|
|
@@ -5655,8 +5701,8 @@
|
|
|
5655
5701
|
}
|
|
5656
5702
|
function createCallbackOutput($this, gameServer) {
|
|
5657
5703
|
var tmp;
|
|
5658
|
-
if (!($this.
|
|
5659
|
-
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.
|
|
5704
|
+
if (!($this.wa8_1 == null)) {
|
|
5705
|
+
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.wa8_1);
|
|
5660
5706
|
tmp = new CallbackWrapperLoggerOutput(tmp_0, GameServerEngineControllerImpl$createCallbackOutput$lambda(gameServer));
|
|
5661
5707
|
} else {
|
|
5662
5708
|
tmp = null;
|
|
@@ -5670,11 +5716,11 @@
|
|
|
5670
5716
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
5671
5717
|
return function () {
|
|
5672
5718
|
var tmp;
|
|
5673
|
-
if (this$0.
|
|
5719
|
+
if (this$0.wa8_1 == null) {
|
|
5674
5720
|
tmp = null;
|
|
5675
5721
|
} else {
|
|
5676
5722
|
// Inline function 'kotlin.let' call
|
|
5677
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
5723
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.wa8_1)]));
|
|
5678
5724
|
}
|
|
5679
5725
|
var tmp1_elvis_lhs = tmp;
|
|
5680
5726
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -5707,7 +5753,7 @@
|
|
|
5707
5753
|
tmp_0.z62(tmp$ret$3);
|
|
5708
5754
|
$this$DI.d5z(jsonModule());
|
|
5709
5755
|
$this$DI.d5z(serverHelpersModule());
|
|
5710
|
-
$this$DI.d5z(randomOrgModule(this$0.
|
|
5756
|
+
$this$DI.d5z(randomOrgModule(this$0.xa8_1));
|
|
5711
5757
|
return Unit_instance;
|
|
5712
5758
|
};
|
|
5713
5759
|
}
|
|
@@ -5783,16 +5829,16 @@
|
|
|
5783
5829
|
};
|
|
5784
5830
|
}
|
|
5785
5831
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
5786
|
-
this.
|
|
5832
|
+
this.ga9_1 = $reducer;
|
|
5787
5833
|
}
|
|
5788
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
5834
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).b6g = function (action) {
|
|
5789
5835
|
return isInterface(action, Action);
|
|
5790
5836
|
};
|
|
5791
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
5792
|
-
return this.
|
|
5837
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).a9g = function (state, action) {
|
|
5838
|
+
return this.ga9_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
5793
5839
|
};
|
|
5794
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
5795
|
-
return this.
|
|
5840
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).r6h = function (state, action) {
|
|
5841
|
+
return this.a9g((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5796
5842
|
};
|
|
5797
5843
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($gameServer) {
|
|
5798
5844
|
return function () {
|
|
@@ -5866,20 +5912,20 @@
|
|
|
5866
5912
|
function GameServerEngineControllerImpl$createFileLoggerOutput$lambda($gameServer) {
|
|
5867
5913
|
return function (it) {
|
|
5868
5914
|
var tmp0_safe_receiver = $gameServer();
|
|
5869
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
5915
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.t66();
|
|
5870
5916
|
return tmp1_safe_receiver == null ? null : serverLoggerKeyFromPayload(tmp1_safe_receiver, it);
|
|
5871
5917
|
};
|
|
5872
5918
|
}
|
|
5873
5919
|
function GameServerEngineControllerImpl$createCallbackOutput$lambda($gameServer) {
|
|
5874
5920
|
return function (it) {
|
|
5875
|
-
var payload = Companion_instance_5.
|
|
5921
|
+
var payload = Companion_instance_5.h9j(it);
|
|
5876
5922
|
var tmp;
|
|
5877
5923
|
if (!(payload == null)) {
|
|
5878
5924
|
return payload;
|
|
5879
5925
|
}
|
|
5880
5926
|
var tmp0_safe_receiver = $gameServer();
|
|
5881
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
5882
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
5927
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.t66();
|
|
5928
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.w6q_1;
|
|
5883
5929
|
return tmp2_safe_receiver == null ? null : toLoggerPayload(tmp2_safe_receiver);
|
|
5884
5930
|
};
|
|
5885
5931
|
}
|
|
@@ -5893,7 +5939,7 @@
|
|
|
5893
5939
|
// Inline function 'kotlin.let' call
|
|
5894
5940
|
$this$DI.d5z(tmp0_safe_receiver);
|
|
5895
5941
|
}
|
|
5896
|
-
$this$DI.d5z(dealerModule(this$0.randomPoolProvider, this$0.
|
|
5942
|
+
$this$DI.d5z(dealerModule(this$0.randomPoolProvider, this$0.xa8_1));
|
|
5897
5943
|
$this$DI.d5z(coreModule($coreConfig));
|
|
5898
5944
|
$this$DI.d5z(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $ratingConfig, $externalReducers, $externalMiddlewares));
|
|
5899
5945
|
return Unit_instance;
|
|
@@ -5902,105 +5948,112 @@
|
|
|
5902
5948
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
5903
5949
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
5904
5950
|
production = production === VOID ? true : production;
|
|
5905
|
-
this.
|
|
5906
|
-
this.
|
|
5907
|
-
|
|
5908
|
-
var
|
|
5909
|
-
|
|
5910
|
-
|
|
5911
|
-
|
|
5951
|
+
this.wa8_1 = loggerCallback;
|
|
5952
|
+
this.xa8_1 = randomOrgConfig;
|
|
5953
|
+
var tmp = AppEnvironment_getInstance();
|
|
5954
|
+
var tmp_0;
|
|
5955
|
+
if (production) {
|
|
5956
|
+
tmp_0 = AppEnvironmentValue_PRODUCTION_getInstance();
|
|
5957
|
+
} else {
|
|
5958
|
+
tmp_0 = AppEnvironmentValue_DEVELOPMENT_getInstance();
|
|
5959
|
+
}
|
|
5960
|
+
tmp.y6l(tmp_0);
|
|
5912
5961
|
var tmp_1 = this;
|
|
5962
|
+
tmp_1.ya8_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
5963
|
+
var tmp_2 = this;
|
|
5964
|
+
tmp_2.za8_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
5965
|
+
var tmp_3 = this;
|
|
5913
5966
|
// Inline function 'org.kodein.di.instance' call
|
|
5914
5967
|
var this_0 = _get_di__ndbzja(this);
|
|
5915
5968
|
// Inline function 'org.kodein.type.generic' call
|
|
5916
|
-
var
|
|
5917
|
-
var tmp$ret$0 = isInterface(
|
|
5918
|
-
var
|
|
5919
|
-
var
|
|
5920
|
-
|
|
5921
|
-
var
|
|
5969
|
+
var tmp_4 = typeToken(createKType(getKClass(ParserHelper), arrayOf([]), false));
|
|
5970
|
+
var tmp$ret$0 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
5971
|
+
var tmp_5 = Instance(this_0, tmp$ret$0, null);
|
|
5972
|
+
var tmp_6 = KProperty1;
|
|
5973
|
+
tmp_3.aa9_1 = tmp_5.w64(this, getPropertyCallableRef('parser', 1, tmp_6, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
|
|
5974
|
+
var tmp_7 = this;
|
|
5922
5975
|
// Inline function 'org.kodein.di.instance' call
|
|
5923
5976
|
var this_1 = _get_di__ndbzja(this);
|
|
5924
5977
|
// Inline function 'org.kodein.type.generic' call
|
|
5925
|
-
var
|
|
5926
|
-
var tmp$ret$2 = isInterface(
|
|
5927
|
-
var
|
|
5928
|
-
var
|
|
5929
|
-
|
|
5930
|
-
var
|
|
5978
|
+
var tmp_8 = typeToken(createKType(getKClass(GameHelper), arrayOf([]), false));
|
|
5979
|
+
var tmp$ret$2 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
5980
|
+
var tmp_9 = Instance(this_1, tmp$ret$2, null);
|
|
5981
|
+
var tmp_10 = KProperty1;
|
|
5982
|
+
tmp_7.ba9_1 = tmp_9.w64(this, getPropertyCallableRef('helper', 1, tmp_10, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
|
|
5983
|
+
var tmp_11 = this;
|
|
5931
5984
|
// Inline function 'org.kodein.di.instance' call
|
|
5932
5985
|
var this_2 = _get_di__ndbzja(this);
|
|
5933
5986
|
// Inline function 'org.kodein.type.generic' call
|
|
5934
|
-
var
|
|
5935
|
-
var tmp$ret$4 = isInterface(
|
|
5936
|
-
var
|
|
5937
|
-
var
|
|
5938
|
-
|
|
5939
|
-
var
|
|
5987
|
+
var tmp_12 = typeToken(createKType(getKClass(GameServerHelper), arrayOf([]), false));
|
|
5988
|
+
var tmp$ret$4 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
5989
|
+
var tmp_13 = Instance(this_2, tmp$ret$4, null);
|
|
5990
|
+
var tmp_14 = KProperty1;
|
|
5991
|
+
tmp_11.ca9_1 = tmp_13.w64(this, getPropertyCallableRef('serverHelper', 1, tmp_14, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
|
|
5992
|
+
var tmp_15 = this;
|
|
5940
5993
|
// Inline function 'org.kodein.di.instance' call
|
|
5941
5994
|
var this_3 = _get_di__ndbzja(this);
|
|
5942
5995
|
// Inline function 'org.kodein.type.generic' call
|
|
5943
|
-
var
|
|
5944
|
-
var tmp$ret$6 = isInterface(
|
|
5945
|
-
var
|
|
5946
|
-
var
|
|
5947
|
-
|
|
5948
|
-
var
|
|
5996
|
+
var tmp_16 = typeToken(createKType(getKClass(GameResources), arrayOf([]), false));
|
|
5997
|
+
var tmp$ret$6 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
5998
|
+
var tmp_17 = Instance(this_3, tmp$ret$6, null);
|
|
5999
|
+
var tmp_18 = KProperty1;
|
|
6000
|
+
tmp_15.da9_1 = tmp_17.w64(this, getPropertyCallableRef('resources', 1, tmp_18, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
|
|
6001
|
+
var tmp_19 = this;
|
|
5949
6002
|
// Inline function 'org.kodein.di.instance' call
|
|
5950
6003
|
var this_4 = _get_di__ndbzja(this);
|
|
5951
6004
|
// Inline function 'org.kodein.type.generic' call
|
|
5952
|
-
var
|
|
5953
|
-
var tmp$ret$8 = isInterface(
|
|
5954
|
-
var
|
|
5955
|
-
var
|
|
5956
|
-
|
|
5957
|
-
var
|
|
6005
|
+
var tmp_20 = typeToken(createKType(getKClass(TestHelper), arrayOf([]), false));
|
|
6006
|
+
var tmp$ret$8 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
6007
|
+
var tmp_21 = Instance(this_4, tmp$ret$8, null);
|
|
6008
|
+
var tmp_22 = KProperty1;
|
|
6009
|
+
tmp_19.ea9_1 = tmp_21.w64(this, getPropertyCallableRef('test', 1, tmp_22, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
|
|
6010
|
+
var tmp_23 = this;
|
|
5958
6011
|
// Inline function 'org.kodein.di.instance' call
|
|
5959
6012
|
var this_5 = _get_di__ndbzja(this);
|
|
5960
6013
|
// Inline function 'org.kodein.type.generic' call
|
|
5961
|
-
var
|
|
5962
|
-
var tmp$ret$10 = isInterface(
|
|
5963
|
-
var
|
|
5964
|
-
var
|
|
5965
|
-
|
|
5966
|
-
}
|
|
5967
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5968
|
-
var tmp0 = this.
|
|
6014
|
+
var tmp_24 = typeToken(createKType(getKClass(RandomPoolProvider), arrayOf([]), false));
|
|
6015
|
+
var tmp$ret$10 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
6016
|
+
var tmp_25 = Instance(this_5, tmp$ret$10, null);
|
|
6017
|
+
var tmp_26 = KProperty1;
|
|
6018
|
+
tmp_23.fa9_1 = tmp_25.w64(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_26, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
|
|
6019
|
+
}
|
|
6020
|
+
protoOf(GameServerEngineControllerImpl).pa8 = function () {
|
|
6021
|
+
var tmp0 = this.aa9_1;
|
|
5969
6022
|
var tmp = KProperty1;
|
|
5970
6023
|
// Inline function 'kotlin.getValue' call
|
|
5971
6024
|
getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
|
|
5972
6025
|
return tmp0.x();
|
|
5973
6026
|
};
|
|
5974
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5975
|
-
var tmp0 = this.
|
|
6027
|
+
protoOf(GameServerEngineControllerImpl).ra8 = function () {
|
|
6028
|
+
var tmp0 = this.ba9_1;
|
|
5976
6029
|
var tmp = KProperty1;
|
|
5977
6030
|
// Inline function 'kotlin.getValue' call
|
|
5978
6031
|
getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
|
|
5979
6032
|
return tmp0.x();
|
|
5980
6033
|
};
|
|
5981
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5982
|
-
var tmp0 = this.
|
|
6034
|
+
protoOf(GameServerEngineControllerImpl).sa8 = function () {
|
|
6035
|
+
var tmp0 = this.ca9_1;
|
|
5983
6036
|
var tmp = KProperty1;
|
|
5984
6037
|
// Inline function 'kotlin.getValue' call
|
|
5985
6038
|
getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
|
|
5986
6039
|
return tmp0.x();
|
|
5987
6040
|
};
|
|
5988
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5989
|
-
var tmp0 = this.
|
|
6041
|
+
protoOf(GameServerEngineControllerImpl).ta8 = function () {
|
|
6042
|
+
var tmp0 = this.da9_1;
|
|
5990
6043
|
var tmp = KProperty1;
|
|
5991
6044
|
// Inline function 'kotlin.getValue' call
|
|
5992
6045
|
getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
|
|
5993
6046
|
return tmp0.x();
|
|
5994
6047
|
};
|
|
5995
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5996
|
-
var tmp0 = this.
|
|
6048
|
+
protoOf(GameServerEngineControllerImpl).qa8 = function () {
|
|
6049
|
+
var tmp0 = this.ea9_1;
|
|
5997
6050
|
var tmp = KProperty1;
|
|
5998
6051
|
// Inline function 'kotlin.getValue' call
|
|
5999
6052
|
getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
|
|
6000
6053
|
return tmp0.x();
|
|
6001
6054
|
};
|
|
6002
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6003
|
-
var tmp0 = this.
|
|
6055
|
+
protoOf(GameServerEngineControllerImpl).ua8 = function () {
|
|
6056
|
+
var tmp0 = this.fa9_1;
|
|
6004
6057
|
var tmp = KProperty1;
|
|
6005
6058
|
// Inline function 'kotlin.getValue' call
|
|
6006
6059
|
getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
|
|
@@ -6012,7 +6065,7 @@
|
|
|
6012
6065
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
6013
6066
|
return this.createGameEngineWithLogic();
|
|
6014
6067
|
};
|
|
6015
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6068
|
+
protoOf(GameServerEngineControllerImpl).va8 = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, botConfig) {
|
|
6016
6069
|
var combinedLogger = Companion_instance_6.mx();
|
|
6017
6070
|
var gameServer = {_v: null};
|
|
6018
6071
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -6060,7 +6113,7 @@
|
|
|
6060
6113
|
function TestHelper() {
|
|
6061
6114
|
}
|
|
6062
6115
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
6063
|
-
var tmp0 = $this.
|
|
6116
|
+
var tmp0 = $this.ja9_1;
|
|
6064
6117
|
var tmp = KProperty1;
|
|
6065
6118
|
// Inline function 'kotlin.getValue' call
|
|
6066
6119
|
getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
|
|
@@ -6068,7 +6121,7 @@
|
|
|
6068
6121
|
}
|
|
6069
6122
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
6070
6123
|
return function ($this$singleton) {
|
|
6071
|
-
return this$0.
|
|
6124
|
+
return this$0.ha9_1;
|
|
6072
6125
|
};
|
|
6073
6126
|
}
|
|
6074
6127
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -6107,27 +6160,27 @@
|
|
|
6107
6160
|
return emptyMap();
|
|
6108
6161
|
}
|
|
6109
6162
|
function TestHelperImpl(logger) {
|
|
6110
|
-
this.
|
|
6163
|
+
this.ha9_1 = logger;
|
|
6111
6164
|
var tmp = this;
|
|
6112
6165
|
var tmp_0 = Companion_instance_4;
|
|
6113
|
-
tmp.
|
|
6166
|
+
tmp.ia9_1 = tmp_0.k5z(VOID, TestHelperImpl$di$lambda(this));
|
|
6114
6167
|
var tmp_1 = this;
|
|
6115
6168
|
// Inline function 'org.kodein.di.instance' call
|
|
6116
|
-
var this_0 = this.
|
|
6169
|
+
var this_0 = this.ia9_1;
|
|
6117
6170
|
// Inline function 'org.kodein.type.generic' call
|
|
6118
6171
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
6119
6172
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
6120
6173
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
6121
6174
|
var tmp_4 = KProperty1;
|
|
6122
|
-
tmp_1.
|
|
6175
|
+
tmp_1.ja9_1 = tmp_3.w64(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
6123
6176
|
}
|
|
6124
6177
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
6125
|
-
return _get_playerAnswerInteractor__msggz1(this).
|
|
6178
|
+
return _get_playerAnswerInteractor__msggz1(this).z8o(playerId, table, botConfig);
|
|
6126
6179
|
};
|
|
6127
6180
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
6128
6181
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
6129
6182
|
if (isInterface(mechanicAction, NextPlayerTurnAction)) {
|
|
6130
|
-
var tmp0 = mechanicAction.
|
|
6183
|
+
var tmp0 = mechanicAction.i92();
|
|
6131
6184
|
var tmp$ret$0;
|
|
6132
6185
|
$l$block_0: {
|
|
6133
6186
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -6159,7 +6212,7 @@
|
|
|
6159
6212
|
};
|
|
6160
6213
|
protoOf(TestHelperImpl).getPlayerAnswerFromMechanicAction = function (table, currentPlayerId, action, botConfig) {
|
|
6161
6214
|
if (isInterface(action, NextPlayerTurnAction)) {
|
|
6162
|
-
var tmp0 = action.
|
|
6215
|
+
var tmp0 = action.i92();
|
|
6163
6216
|
var tmp$ret$0;
|
|
6164
6217
|
$l$block_0: {
|
|
6165
6218
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -6192,14 +6245,14 @@
|
|
|
6192
6245
|
function RoomMetadata() {
|
|
6193
6246
|
var tmp = this;
|
|
6194
6247
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
6195
|
-
tmp.
|
|
6248
|
+
tmp.ka9_1 = LinkedHashMap_init_$Create$();
|
|
6196
6249
|
this.extras = {};
|
|
6197
|
-
this.extras = this.
|
|
6250
|
+
this.extras = this.ka9_1;
|
|
6198
6251
|
}
|
|
6199
|
-
protoOf(RoomMetadata).
|
|
6252
|
+
protoOf(RoomMetadata).la9 = function () {
|
|
6200
6253
|
return this.extras;
|
|
6201
6254
|
};
|
|
6202
|
-
protoOf(RoomMetadata).
|
|
6255
|
+
protoOf(RoomMetadata).la9 = function () {
|
|
6203
6256
|
return this.extras;
|
|
6204
6257
|
};
|
|
6205
6258
|
protoOf(RoomMetadata).getGame = function (gameId) {
|
|
@@ -6217,7 +6270,7 @@
|
|
|
6217
6270
|
};
|
|
6218
6271
|
protoOf(RoomMetadata).addGame = function (gameId, game) {
|
|
6219
6272
|
// Inline function 'kotlin.collections.set' call
|
|
6220
|
-
this.
|
|
6273
|
+
this.ka9_1.f2(gameId, game);
|
|
6221
6274
|
};
|
|
6222
6275
|
function GameMetadata(gameId) {
|
|
6223
6276
|
this.gameId = gameId;
|
|
@@ -6226,7 +6279,7 @@
|
|
|
6226
6279
|
protoOf(GameMetadata).c54 = function () {
|
|
6227
6280
|
return this.gameId;
|
|
6228
6281
|
};
|
|
6229
|
-
protoOf(GameMetadata).
|
|
6282
|
+
protoOf(GameMetadata).la9 = function () {
|
|
6230
6283
|
return this.extras;
|
|
6231
6284
|
};
|
|
6232
6285
|
function serverHelpersModule() {
|
|
@@ -6283,68 +6336,69 @@
|
|
|
6283
6336
|
defineProp(protoOf(GameServer$roomOnCreate$2$updatedUsers$previousTeams$1), 'playerId', function () {
|
|
6284
6337
|
return this.v65();
|
|
6285
6338
|
});
|
|
6339
|
+
protoOf(GameServer).playerLeft = playerLeft;
|
|
6286
6340
|
protoOf(GameServer).roomOnCreate = roomOnCreate;
|
|
6287
6341
|
protoOf(GameServer).roomOnDelete = roomOnDelete;
|
|
6288
6342
|
protoOf(GameServer).shutdown = shutdown;
|
|
6289
6343
|
defineProp(protoOf(GameServer), 'metadata', function () {
|
|
6290
|
-
return this.
|
|
6344
|
+
return this.j8j();
|
|
6291
6345
|
});
|
|
6292
6346
|
defineProp(protoOf(GameServer), 'id', function () {
|
|
6293
6347
|
return this.y53();
|
|
6294
6348
|
});
|
|
6295
6349
|
defineProp(protoOf(GameServer), 'table', function () {
|
|
6296
|
-
return this.
|
|
6350
|
+
return this.x6r();
|
|
6297
6351
|
});
|
|
6298
6352
|
defineProp(protoOf(GameServer), 'isTableExists', function () {
|
|
6299
|
-
return this.
|
|
6353
|
+
return this.y6r();
|
|
6300
6354
|
});
|
|
6301
6355
|
defineProp(protoOf(GameServer), 'gameLifecycleState', function () {
|
|
6302
|
-
return this.
|
|
6356
|
+
return this.z6r();
|
|
6303
6357
|
});
|
|
6304
6358
|
protoOf($serializer).wz = typeParametersSerializers;
|
|
6305
6359
|
defineProp(protoOf(TableStateUpdateDto), 'roomId', function () {
|
|
6306
|
-
return this.
|
|
6360
|
+
return this.c8g();
|
|
6307
6361
|
});
|
|
6308
6362
|
protoOf($serializer_0).wz = typeParametersSerializers;
|
|
6309
6363
|
defineProp(protoOf(ActionsStateUpdateDto), 'roomId', function () {
|
|
6310
|
-
return this.
|
|
6364
|
+
return this.c8g();
|
|
6311
6365
|
});
|
|
6312
6366
|
defineProp(protoOf(TableStateUpdate), 'roomId', function () {
|
|
6313
|
-
return this.
|
|
6367
|
+
return this.c8g();
|
|
6314
6368
|
});
|
|
6315
6369
|
defineProp(protoOf(ActionsStateUpdate), 'roomId', function () {
|
|
6316
|
-
return this.
|
|
6370
|
+
return this.c8g();
|
|
6317
6371
|
});
|
|
6318
|
-
protoOf(UpdateServerConfigAction).
|
|
6372
|
+
protoOf(UpdateServerConfigAction).r6f = get_actionTag;
|
|
6319
6373
|
defineProp(protoOf(UpdateServerConfigAction), 'actionTag', function () {
|
|
6320
|
-
return this.
|
|
6374
|
+
return this.r6f();
|
|
6321
6375
|
});
|
|
6322
|
-
protoOf(AddSpectatorsAction).
|
|
6376
|
+
protoOf(AddSpectatorsAction).r6f = get_actionTag;
|
|
6323
6377
|
defineProp(protoOf(AddSpectatorsAction), 'actionTag', function () {
|
|
6324
|
-
return this.
|
|
6378
|
+
return this.r6f();
|
|
6325
6379
|
});
|
|
6326
|
-
protoOf(RemoveSpectatorsAction).
|
|
6380
|
+
protoOf(RemoveSpectatorsAction).r6f = get_actionTag;
|
|
6327
6381
|
defineProp(protoOf(RemoveSpectatorsAction), 'actionTag', function () {
|
|
6328
|
-
return this.
|
|
6382
|
+
return this.r6f();
|
|
6329
6383
|
});
|
|
6330
6384
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
6331
6385
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
6332
|
-
return this.
|
|
6386
|
+
return this.pa8();
|
|
6333
6387
|
});
|
|
6334
6388
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
6335
|
-
return this.
|
|
6389
|
+
return this.ra8();
|
|
6336
6390
|
});
|
|
6337
6391
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
6338
|
-
return this.
|
|
6392
|
+
return this.sa8();
|
|
6339
6393
|
});
|
|
6340
6394
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
6341
|
-
return this.
|
|
6395
|
+
return this.ta8();
|
|
6342
6396
|
});
|
|
6343
6397
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
6344
|
-
return this.
|
|
6398
|
+
return this.qa8();
|
|
6345
6399
|
});
|
|
6346
6400
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
6347
|
-
return this.
|
|
6401
|
+
return this.ua8();
|
|
6348
6402
|
});
|
|
6349
6403
|
//endregion
|
|
6350
6404
|
//region block: init
|