client_plugin_logic_deb 1.8.395 → 1.8.396
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-core.js +1 -1
- package/Logic_Debertz-engine.js +4 -6
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +13 -33
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +8 -8
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -281,8 +281,8 @@
|
|
|
281
281
|
var WaitingForConnectionReason_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.g6;
|
|
282
282
|
var GameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.r8;
|
|
283
283
|
var NotValidateIfGameFinished = kotlin_io_raspberryapps_game_engine_core.$_$.l2;
|
|
284
|
-
var parseActionName = kotlin_io_raspberryapps_game_engine_core.$_$.k3;
|
|
285
284
|
var FirstMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.g6;
|
|
285
|
+
var parseActionName = kotlin_io_raspberryapps_game_engine_core.$_$.k3;
|
|
286
286
|
var PlayerReturnsReason = kotlin_io_raspberryapps_game_engine_core.$_$.z1;
|
|
287
287
|
var ContinueGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.c6;
|
|
288
288
|
var GameEngineConfig_instance = kotlin_io_raspberryapps_game_engine_core.$_$.h6;
|
|
@@ -22523,9 +22523,9 @@
|
|
|
22523
22523
|
$this.ubl_1.w('OnlineGameMechanic', 'passWhenIsCreatedOrFinishing fail', new MechanicException('Current state: ' + gameLifecycleState.toString() + ', ' + toString(action)));
|
|
22524
22524
|
}
|
|
22525
22525
|
}
|
|
22526
|
-
function OnlineGameMechanicImpl$mechanicActions$slambda(
|
|
22527
|
-
this.dbm_1 =
|
|
22528
|
-
this.ebm_1 = $
|
|
22526
|
+
function OnlineGameMechanicImpl$mechanicActions$slambda($actions, this$0, resultContinuation) {
|
|
22527
|
+
this.dbm_1 = $actions;
|
|
22528
|
+
this.ebm_1 = this$0;
|
|
22529
22529
|
CoroutineImpl.call(this, resultContinuation);
|
|
22530
22530
|
}
|
|
22531
22531
|
protoOf(OnlineGameMechanicImpl$mechanicActions$slambda).bbg = function ($this$dispatchAsync, store, $completion) {
|
|
@@ -22545,42 +22545,22 @@
|
|
|
22545
22545
|
var tmp = this.r8_1;
|
|
22546
22546
|
if (tmp === 0) {
|
|
22547
22547
|
this.s8_1 = 1;
|
|
22548
|
-
var
|
|
22549
|
-
var destination = ArrayList_init_$Create$(this_0.length);
|
|
22548
|
+
var indexedObject = this.dbm_1;
|
|
22550
22549
|
var inductionVariable = 0;
|
|
22551
|
-
var last =
|
|
22550
|
+
var last = indexedObject.length;
|
|
22552
22551
|
while (inductionVariable < last) {
|
|
22553
|
-
var
|
|
22552
|
+
var element = indexedObject[inductionVariable];
|
|
22554
22553
|
inductionVariable = inductionVariable + 1 | 0;
|
|
22555
|
-
destination.j(parseActionName(item));
|
|
22556
|
-
}
|
|
22557
|
-
this.dbm_1.ubl_1.d('OnlineGameMechanic', 'mechanicActions inside = ' + toString(destination) + ', state: ' + this.gbm_1.state.gameLifecycleState.toString());
|
|
22558
|
-
var indexedObject = this.ebm_1;
|
|
22559
|
-
var inductionVariable_0 = 0;
|
|
22560
|
-
var last_0 = indexedObject.length;
|
|
22561
|
-
while (inductionVariable_0 < last_0) {
|
|
22562
|
-
var element = indexedObject[inductionVariable_0];
|
|
22563
|
-
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
22564
22554
|
if (isInterface(element, FirstMechanicAction)) {
|
|
22565
|
-
passWhenIsCreating(this.
|
|
22555
|
+
passWhenIsCreating(this.ebm_1, this.gbm_1, element);
|
|
22566
22556
|
} else {
|
|
22567
22557
|
if (isInterface(element, TerminatedAction)) {
|
|
22568
|
-
passWhenIsCreatedOrFinishing(this.
|
|
22558
|
+
passWhenIsCreatedOrFinishing(this.ebm_1, this.gbm_1, element);
|
|
22569
22559
|
} else {
|
|
22570
|
-
passWhenIsCreated(this.
|
|
22560
|
+
passWhenIsCreated(this.ebm_1, this.gbm_1, element);
|
|
22571
22561
|
}
|
|
22572
22562
|
}
|
|
22573
22563
|
}
|
|
22574
|
-
var this_1 = this.ebm_1;
|
|
22575
|
-
var destination_0 = ArrayList_init_$Create$(this_1.length);
|
|
22576
|
-
var inductionVariable_1 = 0;
|
|
22577
|
-
var last_1 = this_1.length;
|
|
22578
|
-
while (inductionVariable_1 < last_1) {
|
|
22579
|
-
var item_0 = this_1[inductionVariable_1];
|
|
22580
|
-
inductionVariable_1 = inductionVariable_1 + 1 | 0;
|
|
22581
|
-
destination_0.j(parseActionName(item_0));
|
|
22582
|
-
}
|
|
22583
|
-
this.dbm_1.ubl_1.d('OnlineGameMechanic', 'mechanicActions after = ' + toString(destination_0) + ', state: ' + this.dbm_1.gameLifecycleState.toString());
|
|
22584
22564
|
return Unit_instance;
|
|
22585
22565
|
} else if (tmp === 1) {
|
|
22586
22566
|
throw this.u8_1;
|
|
@@ -22597,8 +22577,8 @@
|
|
|
22597
22577
|
i.gbm_1 = store;
|
|
22598
22578
|
return i;
|
|
22599
22579
|
};
|
|
22600
|
-
function OnlineGameMechanicImpl$mechanicActions$slambda_0(
|
|
22601
|
-
var i = new OnlineGameMechanicImpl$mechanicActions$slambda(
|
|
22580
|
+
function OnlineGameMechanicImpl$mechanicActions$slambda_0($actions, this$0, resultContinuation) {
|
|
22581
|
+
var i = new OnlineGameMechanicImpl$mechanicActions$slambda($actions, this$0, resultContinuation);
|
|
22602
22582
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
22603
22583
|
return i.bbg($this$dispatchAsync, store, $completion);
|
|
22604
22584
|
};
|
|
@@ -22630,7 +22610,7 @@
|
|
|
22630
22610
|
destination.j(tmp$ret$0);
|
|
22631
22611
|
}
|
|
22632
22612
|
this.ubl_1.d('OnlineGameMechanic', 'mechanicActions = ' + toString(destination) + ', state: ' + this.lb0_1.i6f().gameLifecycleState.toString());
|
|
22633
|
-
this.lb0_1.x6x(OnlineGameMechanicImpl$mechanicActions$slambda_0(
|
|
22613
|
+
this.lb0_1.x6x(OnlineGameMechanicImpl$mechanicActions$slambda_0(actions, this, null));
|
|
22634
22614
|
};
|
|
22635
22615
|
function SingleGameMechanic$continueSavedGame$slambda($state, $users, $config, resultContinuation) {
|
|
22636
22616
|
this.pbm_1 = $state;
|