game_client_logic_deb 1.8.329 → 1.8.331
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 +6 -4
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +81 -73
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlinx-coroutines-core.js +8 -8
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -581,7 +581,7 @@
|
|
|
581
581
|
initMetadataForInterface(ControlsContract, 'ControlsContract');
|
|
582
582
|
initMetadataForInterface(TradeSceneContract, 'TradeSceneContract');
|
|
583
583
|
initMetadataForInterface(EarnPointsSceneContract, 'EarnPointsSceneContract');
|
|
584
|
-
initMetadataForInterface(TableScene, 'TableScene', VOID, VOID, [
|
|
584
|
+
initMetadataForInterface(TableScene, 'TableScene', VOID, VOID, [ExpectantContract, ControlsContract, SceneActionsContract]);
|
|
585
585
|
initMetadataForInterface(TradeScene, 'TradeScene', VOID, VOID, [SceneActionsContract, ExpectantContract, TradeSceneContract]);
|
|
586
586
|
initMetadataForInterface(EarnPointsScene, 'EarnPointsScene', VOID, VOID, [SceneActionsContract, ExpectantContract, EarnPointsSceneContract]);
|
|
587
587
|
initMetadataForClass(EarnPointsSceneImpl, 'EarnPointsSceneImpl', VOID, VOID, [EarnPointsSceneContract, ExpectantContract, SceneActionsContract, PlayersSceneContract, EarnPointsScene, GameEngineSceneContract]);
|
|
@@ -14013,101 +14013,109 @@
|
|
|
14013
14013
|
return action instanceof ExpectantLifecycleAction;
|
|
14014
14014
|
};
|
|
14015
14015
|
protoOf(_no_name_provided__qut3iv_55).e6k = function (store, next, action) {
|
|
14016
|
-
|
|
14017
|
-
|
|
14018
|
-
|
|
14019
|
-
|
|
14020
|
-
|
|
14021
|
-
|
|
14022
|
-
|
|
14023
|
-
|
|
14024
|
-
|
|
14025
|
-
tmp = expectants.p();
|
|
14026
|
-
} else {
|
|
14027
|
-
tmp = false;
|
|
14028
|
-
}
|
|
14029
|
-
if (tmp) {
|
|
14030
|
-
tmp$ret$0 = true;
|
|
14031
|
-
break $l$block_0;
|
|
14032
|
-
}
|
|
14033
|
-
var tmp0_iterator = expectants.j();
|
|
14034
|
-
while (tmp0_iterator.k()) {
|
|
14035
|
-
var element = tmp0_iterator.l();
|
|
14036
|
-
// Inline function 'games.jass.logic.client.redux.middlewares.validation.checkExpectantsMiddleware.<anonymous>.<anonymous>' call
|
|
14037
|
-
if (element.f9p_1 === action_0.b9r_1) {
|
|
14038
|
-
tmp$ret$0 = false;
|
|
14039
|
-
break $l$block_0;
|
|
14040
|
-
}
|
|
14041
|
-
}
|
|
14042
|
-
tmp$ret$0 = true;
|
|
14043
|
-
}
|
|
14044
|
-
if (tmp$ret$0) {
|
|
14045
|
-
this.vb0_1.w(VOID, "CheckExpectantsMiddleware: Expectant is not exists, can't finish it: " + toString(expectants) + ', ' + action_0.toString());
|
|
14046
|
-
}
|
|
14047
|
-
} else {
|
|
14048
|
-
if (action_0 instanceof ExpectantCreatedClientAction) {
|
|
14049
|
-
var tmp$ret$2;
|
|
14050
|
-
$l$block_2: {
|
|
14051
|
-
// Inline function 'kotlin.collections.any' call
|
|
14052
|
-
var tmp_0;
|
|
14016
|
+
$l$block_7: {
|
|
14017
|
+
// Inline function 'games.jass.logic.client.redux.middlewares.validation.checkExpectantsMiddleware.<anonymous>' call
|
|
14018
|
+
var action_0 = action instanceof ExpectantLifecycleAction ? action : THROW_CCE();
|
|
14019
|
+
var expectants = get_clientPayload_0(store.state).l9q_1;
|
|
14020
|
+
if (action_0 instanceof ExpectantTimerFinishedClientAction) {
|
|
14021
|
+
var tmp$ret$0;
|
|
14022
|
+
$l$block_0: {
|
|
14023
|
+
// Inline function 'kotlin.collections.none' call
|
|
14024
|
+
var tmp;
|
|
14053
14025
|
if (isInterface(expectants, Collection)) {
|
|
14054
|
-
|
|
14026
|
+
tmp = expectants.p();
|
|
14055
14027
|
} else {
|
|
14056
|
-
|
|
14028
|
+
tmp = false;
|
|
14057
14029
|
}
|
|
14058
|
-
if (
|
|
14059
|
-
tmp$ret$
|
|
14060
|
-
break $l$
|
|
14030
|
+
if (tmp) {
|
|
14031
|
+
tmp$ret$0 = true;
|
|
14032
|
+
break $l$block_0;
|
|
14061
14033
|
}
|
|
14062
|
-
var
|
|
14063
|
-
while (
|
|
14064
|
-
var
|
|
14034
|
+
var tmp0_iterator = expectants.j();
|
|
14035
|
+
while (tmp0_iterator.k()) {
|
|
14036
|
+
var element = tmp0_iterator.l();
|
|
14065
14037
|
// Inline function 'games.jass.logic.client.redux.middlewares.validation.checkExpectantsMiddleware.<anonymous>.<anonymous>' call
|
|
14066
|
-
if (
|
|
14067
|
-
tmp$ret$
|
|
14068
|
-
break $l$
|
|
14038
|
+
if (element.f9p_1 === action_0.b9r_1) {
|
|
14039
|
+
tmp$ret$0 = false;
|
|
14040
|
+
break $l$block_0;
|
|
14069
14041
|
}
|
|
14070
14042
|
}
|
|
14071
|
-
tmp$ret$
|
|
14043
|
+
tmp$ret$0 = true;
|
|
14072
14044
|
}
|
|
14073
|
-
if (tmp$ret$
|
|
14074
|
-
this.vb0_1.w(VOID, "CheckExpectantsMiddleware: Expectant
|
|
14045
|
+
if (tmp$ret$0) {
|
|
14046
|
+
this.vb0_1.w(VOID, "CheckExpectantsMiddleware: Expectant is not exists, can't finish it: " + toString(expectants) + ', ' + action_0.toString());
|
|
14047
|
+
next(action_0);
|
|
14048
|
+
break $l$block_7;
|
|
14075
14049
|
}
|
|
14076
14050
|
} else {
|
|
14077
|
-
if (action_0 instanceof
|
|
14078
|
-
var tmp$ret$
|
|
14079
|
-
$l$
|
|
14080
|
-
// Inline function 'kotlin.collections.
|
|
14081
|
-
var
|
|
14051
|
+
if (action_0 instanceof ExpectantCreatedClientAction) {
|
|
14052
|
+
var tmp$ret$3;
|
|
14053
|
+
$l$block_3: {
|
|
14054
|
+
// Inline function 'kotlin.collections.any' call
|
|
14055
|
+
var tmp_0;
|
|
14082
14056
|
if (isInterface(expectants, Collection)) {
|
|
14083
|
-
|
|
14057
|
+
tmp_0 = expectants.p();
|
|
14084
14058
|
} else {
|
|
14085
|
-
|
|
14059
|
+
tmp_0 = false;
|
|
14086
14060
|
}
|
|
14087
|
-
if (
|
|
14088
|
-
tmp$ret$
|
|
14089
|
-
break $l$
|
|
14061
|
+
if (tmp_0) {
|
|
14062
|
+
tmp$ret$3 = false;
|
|
14063
|
+
break $l$block_3;
|
|
14090
14064
|
}
|
|
14091
|
-
var
|
|
14092
|
-
while (
|
|
14093
|
-
var
|
|
14065
|
+
var tmp0_iterator_0 = expectants.j();
|
|
14066
|
+
while (tmp0_iterator_0.k()) {
|
|
14067
|
+
var element_0 = tmp0_iterator_0.l();
|
|
14094
14068
|
// Inline function 'games.jass.logic.client.redux.middlewares.validation.checkExpectantsMiddleware.<anonymous>.<anonymous>' call
|
|
14095
|
-
if (
|
|
14096
|
-
tmp$ret$
|
|
14097
|
-
break $l$
|
|
14069
|
+
if (element_0.f9p_1 === action_0.zat_1.f9p_1) {
|
|
14070
|
+
tmp$ret$3 = true;
|
|
14071
|
+
break $l$block_3;
|
|
14098
14072
|
}
|
|
14099
14073
|
}
|
|
14100
|
-
tmp$ret$
|
|
14074
|
+
tmp$ret$3 = false;
|
|
14101
14075
|
}
|
|
14102
|
-
if (tmp$ret$
|
|
14103
|
-
this.vb0_1.w(VOID, "CheckExpectantsMiddleware: Expectant
|
|
14076
|
+
if (tmp$ret$3) {
|
|
14077
|
+
this.vb0_1.w(VOID, "CheckExpectantsMiddleware: Expectant already exists, can't add it: " + toString(expectants) + ', ' + action_0.toString());
|
|
14078
|
+
next(action_0);
|
|
14079
|
+
break $l$block_7;
|
|
14104
14080
|
}
|
|
14105
14081
|
} else {
|
|
14106
|
-
|
|
14082
|
+
if (action_0 instanceof ExpectantStageCompletedClientAction) {
|
|
14083
|
+
var tmp$ret$5;
|
|
14084
|
+
$l$block_6: {
|
|
14085
|
+
// Inline function 'kotlin.collections.none' call
|
|
14086
|
+
var tmp_1;
|
|
14087
|
+
if (isInterface(expectants, Collection)) {
|
|
14088
|
+
tmp_1 = expectants.p();
|
|
14089
|
+
} else {
|
|
14090
|
+
tmp_1 = false;
|
|
14091
|
+
}
|
|
14092
|
+
if (tmp_1) {
|
|
14093
|
+
tmp$ret$5 = true;
|
|
14094
|
+
break $l$block_6;
|
|
14095
|
+
}
|
|
14096
|
+
var tmp0_iterator_1 = expectants.j();
|
|
14097
|
+
while (tmp0_iterator_1.k()) {
|
|
14098
|
+
var element_1 = tmp0_iterator_1.l();
|
|
14099
|
+
// Inline function 'games.jass.logic.client.redux.middlewares.validation.checkExpectantsMiddleware.<anonymous>.<anonymous>' call
|
|
14100
|
+
if (element_1.f9p_1 === action_0.aau_1) {
|
|
14101
|
+
tmp$ret$5 = false;
|
|
14102
|
+
break $l$block_6;
|
|
14103
|
+
}
|
|
14104
|
+
}
|
|
14105
|
+
tmp$ret$5 = true;
|
|
14106
|
+
}
|
|
14107
|
+
if (tmp$ret$5) {
|
|
14108
|
+
this.vb0_1.w(VOID, "CheckExpectantsMiddleware: Expectant is not exists, can't complete stage: " + toString(expectants) + ', ' + action_0.toString());
|
|
14109
|
+
next(action_0);
|
|
14110
|
+
break $l$block_7;
|
|
14111
|
+
}
|
|
14112
|
+
} else {
|
|
14113
|
+
noWhenBranchMatchedException();
|
|
14114
|
+
}
|
|
14107
14115
|
}
|
|
14108
14116
|
}
|
|
14117
|
+
next(action_0);
|
|
14109
14118
|
}
|
|
14110
|
-
next(action_0);
|
|
14111
14119
|
};
|
|
14112
14120
|
protoOf(_no_name_provided__qut3iv_55).m6i = function (store, next, action) {
|
|
14113
14121
|
return this.e6k(store, next, action);
|