game_client_logic_deb 1.8.144 → 1.8.147
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +6197 -6054
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +3 -3
- package/Logic_Debertz-game_client.js +283 -283
- 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 +1 -1
- package/package.json +1 -1
|
@@ -1903,7 +1903,7 @@
|
|
|
1903
1903
|
var tmp;
|
|
1904
1904
|
if (_this__u8e3s4 instanceof PlayerLostConnectionReason) {
|
|
1905
1905
|
// Inline function 'kotlin.takeUnless' call
|
|
1906
|
-
var this_0 = getPlayer(table.players, _this__u8e3s4.d2p_1).
|
|
1906
|
+
var this_0 = getPlayer(table.players, _this__u8e3s4.d2p_1).z36_1;
|
|
1907
1907
|
// Inline function 'kotlin.contracts.contract' call
|
|
1908
1908
|
var tmp_0;
|
|
1909
1909
|
// Inline function 'games.jass.logic.client.data.models.mapToErrorState.<anonymous>' call
|
|
@@ -1917,7 +1917,7 @@
|
|
|
1917
1917
|
} else {
|
|
1918
1918
|
if (_this__u8e3s4 instanceof PlayerTimeoutReason) {
|
|
1919
1919
|
// Inline function 'kotlin.takeUnless' call
|
|
1920
|
-
var this_1 = getPlayer(table.players, _this__u8e3s4.h2p_1).
|
|
1920
|
+
var this_1 = getPlayer(table.players, _this__u8e3s4.h2p_1).z36_1;
|
|
1921
1921
|
// Inline function 'kotlin.contracts.contract' call
|
|
1922
1922
|
var tmp_1;
|
|
1923
1923
|
// Inline function 'games.jass.logic.client.data.models.mapToErrorState.<anonymous>' call
|
|
@@ -1934,7 +1934,7 @@
|
|
|
1934
1934
|
if (_this__u8e3s4.i2p_1 === get_currentPlayer(table).playerId) {
|
|
1935
1935
|
tmp_2 = null;
|
|
1936
1936
|
} else {
|
|
1937
|
-
tmp_2 = new ErrorState(VOID, getPlayer(table.players, _this__u8e3s4.i2p_1).
|
|
1937
|
+
tmp_2 = new ErrorState(VOID, getPlayer(table.players, _this__u8e3s4.i2p_1).z36_1, _this__u8e3s4);
|
|
1938
1938
|
}
|
|
1939
1939
|
tmp = tmp_2;
|
|
1940
1940
|
} else {
|
|
@@ -1967,12 +1967,12 @@
|
|
|
1967
1967
|
return tmp;
|
|
1968
1968
|
}
|
|
1969
1969
|
function toPlayerVM(_this__u8e3s4, currentPlayerId, round) {
|
|
1970
|
-
var tmp5_userInfo = _this__u8e3s4.
|
|
1971
|
-
var tmp6_selectedSuit = _this__u8e3s4.
|
|
1972
|
-
var tmp7_isGameCreator = _this__u8e3s4.
|
|
1973
|
-
var tmp8_isShuffleCards = _this__u8e3s4.
|
|
1970
|
+
var tmp5_userInfo = _this__u8e3s4.z36_1;
|
|
1971
|
+
var tmp6_selectedSuit = _this__u8e3s4.c37_1.s37_1 ? round.b3x_1 : null;
|
|
1972
|
+
var tmp7_isGameCreator = _this__u8e3s4.c37_1.h37_1;
|
|
1973
|
+
var tmp8_isShuffleCards = _this__u8e3s4.c37_1.k37_1;
|
|
1974
1974
|
var tmp9_isCurrentPlayer = currentPlayerId === _this__u8e3s4.playerId;
|
|
1975
|
-
var tmp4_safe_receiver = round.
|
|
1975
|
+
var tmp4_safe_receiver = round.b3x_1;
|
|
1976
1976
|
var tmp;
|
|
1977
1977
|
if (tmp4_safe_receiver == null) {
|
|
1978
1978
|
tmp = null;
|
|
@@ -1982,7 +1982,7 @@
|
|
|
1982
1982
|
// Inline function 'games.jass.logic.client.data.models.toPlayerVM.<anonymous>' call
|
|
1983
1983
|
// Inline function 'kotlin.collections.sumOf' call
|
|
1984
1984
|
var sum = 0;
|
|
1985
|
-
var tmp0_iterator = _this__u8e3s4.
|
|
1985
|
+
var tmp0_iterator = _this__u8e3s4.e37_1.t38_1.j();
|
|
1986
1986
|
while (tmp0_iterator.k()) {
|
|
1987
1987
|
var element = tmp0_iterator.l();
|
|
1988
1988
|
var tmp_0 = sum;
|
|
@@ -1997,16 +1997,16 @@
|
|
|
1997
1997
|
}
|
|
1998
1998
|
function toStateVM(_this__u8e3s4) {
|
|
1999
1999
|
var tmp11_playerId = _this__u8e3s4.playerId;
|
|
2000
|
-
var tmp12_startFromTime = _this__u8e3s4.
|
|
2001
|
-
var tmp13_playerTurnTimeout = _this__u8e3s4.
|
|
2002
|
-
var tmp14_waitPlayerUntilTime = _this__u8e3s4.
|
|
2003
|
-
var tmp15_tag = _this__u8e3s4.
|
|
2004
|
-
var tmp16_state = _this__u8e3s4.
|
|
2000
|
+
var tmp12_startFromTime = _this__u8e3s4.a37_1.i2q_1;
|
|
2001
|
+
var tmp13_playerTurnTimeout = _this__u8e3s4.a37_1.j2q_1;
|
|
2002
|
+
var tmp14_waitPlayerUntilTime = _this__u8e3s4.a37_1.k2q_1;
|
|
2003
|
+
var tmp15_tag = _this__u8e3s4.a37_1.n2q_1;
|
|
2004
|
+
var tmp16_state = _this__u8e3s4.a37_1.l2q_1;
|
|
2005
2005
|
return new PlayerStateViewModel(tmp11_playerId, tmp15_tag, tmp16_state, tmp12_startFromTime, tmp13_playerTurnTimeout, tmp14_waitPlayerUntilTime);
|
|
2006
2006
|
}
|
|
2007
2007
|
function toVM(_this__u8e3s4, players) {
|
|
2008
|
-
var tmp17_whoGotBribeUser = getPlayer(players, _this__u8e3s4.i5b_1).
|
|
2009
|
-
var tmp18_whoPutFirstCardUser = getPlayer(players, _this__u8e3s4.h5b_1).
|
|
2008
|
+
var tmp17_whoGotBribeUser = getPlayer(players, _this__u8e3s4.i5b_1).z36_1;
|
|
2009
|
+
var tmp18_whoPutFirstCardUser = getPlayer(players, _this__u8e3s4.h5b_1).z36_1;
|
|
2010
2010
|
// Inline function 'kotlin.collections.map' call
|
|
2011
2011
|
var this_0 = _this__u8e3s4.j5b_1;
|
|
2012
2012
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -2015,7 +2015,7 @@
|
|
|
2015
2015
|
while (tmp0_iterator.k()) {
|
|
2016
2016
|
var item = tmp0_iterator.l();
|
|
2017
2017
|
// Inline function 'games.jass.logic.client.data.models.toVM.<anonymous>' call
|
|
2018
|
-
var tmp$ret$0 = toVM_1(item, getPlayerIndex(players, item.
|
|
2018
|
+
var tmp$ret$0 = toVM_1(item, getPlayerIndex(players, item.g3j_1));
|
|
2019
2019
|
destination.e(tmp$ret$0);
|
|
2020
2020
|
}
|
|
2021
2021
|
return new LastBribeViewModel(tmp18_whoPutFirstCardUser, tmp17_whoGotBribeUser, destination);
|
|
@@ -2029,7 +2029,7 @@
|
|
|
2029
2029
|
// Inline function 'kotlin.let' call
|
|
2030
2030
|
// Inline function 'kotlin.contracts.contract' call
|
|
2031
2031
|
// Inline function 'games.jass.logic.client.data.models.toVM.<anonymous>' call
|
|
2032
|
-
tmp = getPlayer(players, _this__u8e3s4.l5b_1).
|
|
2032
|
+
tmp = getPlayer(players, _this__u8e3s4.l5b_1).z36_1;
|
|
2033
2033
|
}
|
|
2034
2034
|
var tmp26_whoShuffleCardsUserInfo = tmp;
|
|
2035
2035
|
var tmp_0;
|
|
@@ -2039,7 +2039,7 @@
|
|
|
2039
2039
|
// Inline function 'kotlin.let' call
|
|
2040
2040
|
// Inline function 'kotlin.contracts.contract' call
|
|
2041
2041
|
// Inline function 'games.jass.logic.client.data.models.toVM.<anonymous>' call
|
|
2042
|
-
tmp_0 = getPlayer(players, _this__u8e3s4.m5b_1).
|
|
2042
|
+
tmp_0 = getPlayer(players, _this__u8e3s4.m5b_1).z36_1;
|
|
2043
2043
|
}
|
|
2044
2044
|
var tmp27_whoChoseSuitUserInfo = tmp_0;
|
|
2045
2045
|
var tmp28_playersMode = config.playersMode;
|
|
@@ -2055,16 +2055,16 @@
|
|
|
2055
2055
|
while (tmp0_iterator.k()) {
|
|
2056
2056
|
var item = tmp0_iterator.l();
|
|
2057
2057
|
// Inline function 'games.jass.logic.client.data.models.toVM.<anonymous>' call
|
|
2058
|
-
var tmp23_points = item.
|
|
2058
|
+
var tmp23_points = item.y3w_1;
|
|
2059
2059
|
// Inline function 'kotlin.collections.map' call
|
|
2060
|
-
var this_0 = item.
|
|
2060
|
+
var this_0 = item.x3w_1;
|
|
2061
2061
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2062
2062
|
var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
2063
2063
|
var tmp0_iterator_0 = this_0.j();
|
|
2064
2064
|
while (tmp0_iterator_0.k()) {
|
|
2065
2065
|
var item_0 = tmp0_iterator_0.l();
|
|
2066
2066
|
// Inline function 'games.jass.logic.client.data.models.toVM.<anonymous>.<anonymous>' call
|
|
2067
|
-
var tmp$ret$4 = getPlayer(players, item_0).
|
|
2067
|
+
var tmp$ret$4 = getPlayer(players, item_0).z36_1;
|
|
2068
2068
|
destination_0.e(tmp$ret$4);
|
|
2069
2069
|
}
|
|
2070
2070
|
var tmp$ret$7 = new PointItemViewModel(destination_0, tmp23_points);
|
|
@@ -2078,9 +2078,9 @@
|
|
|
2078
2078
|
}
|
|
2079
2079
|
function toVM_1(_this__u8e3s4, index, cardPayload) {
|
|
2080
2080
|
cardPayload = cardPayload === VOID ? null : cardPayload;
|
|
2081
|
-
var tmp32_playerId = _this__u8e3s4.
|
|
2082
|
-
var tmp33_card = _this__u8e3s4.
|
|
2083
|
-
var tmp34_position = _this__u8e3s4.
|
|
2081
|
+
var tmp32_playerId = _this__u8e3s4.g3j_1;
|
|
2082
|
+
var tmp33_card = _this__u8e3s4.i3j_1;
|
|
2083
|
+
var tmp34_position = _this__u8e3s4.h3j_1;
|
|
2084
2084
|
return new CardOnTableViewModel(index, tmp32_playerId, tmp34_position, tmp33_card, cardPayload);
|
|
2085
2085
|
}
|
|
2086
2086
|
function SceneViewModel(roundNumber, sceneId, previousSceneId) {
|
|
@@ -2119,7 +2119,7 @@
|
|
|
2119
2119
|
this.u5b_1 = isGameCreator;
|
|
2120
2120
|
this.v5b_1 = points;
|
|
2121
2121
|
}
|
|
2122
|
-
protoOf(PlayerViewModel).
|
|
2122
|
+
protoOf(PlayerViewModel).g37 = function () {
|
|
2123
2123
|
return this.s5b_1;
|
|
2124
2124
|
};
|
|
2125
2125
|
protoOf(PlayerViewModel).e2p = function () {
|
|
@@ -2890,7 +2890,7 @@
|
|
|
2890
2890
|
return new TrumpExpectant(wrapper.f5e_1, _this__u8e3s4.v4r_1);
|
|
2891
2891
|
}
|
|
2892
2892
|
function mapToExpectant_3(_this__u8e3s4, wrapper) {
|
|
2893
|
-
return new CombinationChoiceExpectant(wrapper.f5e_1, _this__u8e3s4.
|
|
2893
|
+
return new CombinationChoiceExpectant(wrapper.f5e_1, _this__u8e3s4.s4r_1, _this__u8e3s4.q4r_1, _this__u8e3s4.r4r_1);
|
|
2894
2894
|
}
|
|
2895
2895
|
function mapToExpectant_4(_this__u8e3s4, wrapper) {
|
|
2896
2896
|
return new PickUpBribeExpectant(wrapper.f5e_1, _this__u8e3s4.a4o_1, _this__u8e3s4.b4o_1);
|
|
@@ -2922,19 +2922,19 @@
|
|
|
2922
2922
|
this.config = config;
|
|
2923
2923
|
this.gameWinners = gameWinners;
|
|
2924
2924
|
}
|
|
2925
|
-
protoOf(GameHistoryViewModel).
|
|
2925
|
+
protoOf(GameHistoryViewModel).i4a = function () {
|
|
2926
2926
|
return this.gameId;
|
|
2927
2927
|
};
|
|
2928
|
-
protoOf(GameHistoryViewModel).
|
|
2928
|
+
protoOf(GameHistoryViewModel).z49 = function () {
|
|
2929
2929
|
return this.createdAt;
|
|
2930
2930
|
};
|
|
2931
2931
|
protoOf(GameHistoryViewModel).l5e = function () {
|
|
2932
2932
|
return this.gameType;
|
|
2933
2933
|
};
|
|
2934
|
-
protoOf(GameHistoryViewModel).
|
|
2934
|
+
protoOf(GameHistoryViewModel).m4a = function () {
|
|
2935
2935
|
return this.users;
|
|
2936
2936
|
};
|
|
2937
|
-
protoOf(GameHistoryViewModel).
|
|
2937
|
+
protoOf(GameHistoryViewModel).a4a = function () {
|
|
2938
2938
|
return this.config;
|
|
2939
2939
|
};
|
|
2940
2940
|
protoOf(GameHistoryViewModel).j4q = function () {
|
|
@@ -2945,8 +2945,8 @@
|
|
|
2945
2945
|
var tmp_0 = this.gameType.toString();
|
|
2946
2946
|
var tmp_1 = contentToString(this.users);
|
|
2947
2947
|
var tmp_2 = this.config.toString();
|
|
2948
|
-
var
|
|
2949
|
-
return "GameHistoryViewModel(gameId='" + this.gameId + "', createdAt=" + tmp + ', gameType=' + tmp_0 + ', users=' + tmp_1 + ', config=' + tmp_2 + ', gameWinners=' + (
|
|
2948
|
+
var tmp295_safe_receiver = this.gameWinners;
|
|
2949
|
+
return "GameHistoryViewModel(gameId='" + this.gameId + "', createdAt=" + tmp + ', gameType=' + tmp_0 + ', users=' + tmp_1 + ', config=' + tmp_2 + ', gameWinners=' + (tmp295_safe_receiver == null ? null : contentToString(tmp295_safe_receiver)) + ')';
|
|
2950
2950
|
};
|
|
2951
2951
|
protoOf(GameHistoryViewModel).equals = function (other) {
|
|
2952
2952
|
if (this === other)
|
|
@@ -2981,8 +2981,8 @@
|
|
|
2981
2981
|
result = imul(31, result) + contentHashCode(this.users) | 0;
|
|
2982
2982
|
result = imul(31, result) + this.config.hashCode() | 0;
|
|
2983
2983
|
var tmp = imul(31, result);
|
|
2984
|
-
var
|
|
2985
|
-
var tmp0_elvis_lhs =
|
|
2984
|
+
var tmp296_safe_receiver = this.gameWinners;
|
|
2985
|
+
var tmp0_elvis_lhs = tmp296_safe_receiver == null ? null : contentHashCode(tmp296_safe_receiver);
|
|
2986
2986
|
result = tmp + (tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs) | 0;
|
|
2987
2987
|
return result;
|
|
2988
2988
|
};
|
|
@@ -3026,22 +3026,22 @@
|
|
|
3026
3026
|
this.roundWinners = roundWinners;
|
|
3027
3027
|
this.gameEndedHistoryViewModel = gameEndedHistory;
|
|
3028
3028
|
}
|
|
3029
|
-
protoOf(RoundEndedHistoryViewModel).
|
|
3029
|
+
protoOf(RoundEndedHistoryViewModel).i4a = function () {
|
|
3030
3030
|
return this.gameId;
|
|
3031
3031
|
};
|
|
3032
|
-
protoOf(RoundEndedHistoryViewModel).
|
|
3032
|
+
protoOf(RoundEndedHistoryViewModel).s4d = function () {
|
|
3033
3033
|
return this.roundNumber;
|
|
3034
3034
|
};
|
|
3035
|
-
protoOf(RoundEndedHistoryViewModel).
|
|
3035
|
+
protoOf(RoundEndedHistoryViewModel).t4d = function () {
|
|
3036
3036
|
return this.items;
|
|
3037
3037
|
};
|
|
3038
|
-
protoOf(RoundEndedHistoryViewModel).
|
|
3038
|
+
protoOf(RoundEndedHistoryViewModel).v4d = function () {
|
|
3039
3039
|
return this.roundContractState;
|
|
3040
3040
|
};
|
|
3041
|
-
protoOf(RoundEndedHistoryViewModel).
|
|
3041
|
+
protoOf(RoundEndedHistoryViewModel).u4d = function () {
|
|
3042
3042
|
return this.roundCommitted;
|
|
3043
3043
|
};
|
|
3044
|
-
protoOf(RoundEndedHistoryViewModel).
|
|
3044
|
+
protoOf(RoundEndedHistoryViewModel).w4d = function () {
|
|
3045
3045
|
return this.roundWinners;
|
|
3046
3046
|
};
|
|
3047
3047
|
protoOf(RoundEndedHistoryViewModel).n5e = function () {
|
|
@@ -3085,20 +3085,20 @@
|
|
|
3085
3085
|
result = imul(31, result) + this.roundNumber | 0;
|
|
3086
3086
|
result = imul(31, result) + contentHashCode(this.items) | 0;
|
|
3087
3087
|
var tmp = imul(31, result);
|
|
3088
|
-
var
|
|
3089
|
-
var tmp0_elvis_lhs =
|
|
3088
|
+
var tmp297_safe_receiver = this.roundContractState;
|
|
3089
|
+
var tmp0_elvis_lhs = tmp297_safe_receiver == null ? null : tmp297_safe_receiver.hashCode();
|
|
3090
3090
|
result = tmp + (tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs) | 0;
|
|
3091
3091
|
var tmp_0 = imul(31, result);
|
|
3092
|
-
var
|
|
3093
|
-
var tmp1_elvis_lhs =
|
|
3092
|
+
var tmp298_safe_receiver = this.roundCommitted;
|
|
3093
|
+
var tmp1_elvis_lhs = tmp298_safe_receiver == null ? null : contentHashCode(tmp298_safe_receiver);
|
|
3094
3094
|
result = tmp_0 + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
|
|
3095
3095
|
var tmp_1 = imul(31, result);
|
|
3096
|
-
var
|
|
3097
|
-
var tmp2_elvis_lhs =
|
|
3096
|
+
var tmp299_safe_receiver = this.roundWinners;
|
|
3097
|
+
var tmp2_elvis_lhs = tmp299_safe_receiver == null ? null : contentHashCode(tmp299_safe_receiver);
|
|
3098
3098
|
result = tmp_1 + (tmp2_elvis_lhs == null ? 0 : tmp2_elvis_lhs) | 0;
|
|
3099
3099
|
var tmp_2 = imul(31, result);
|
|
3100
|
-
var
|
|
3101
|
-
var tmp3_elvis_lhs =
|
|
3100
|
+
var tmp300_safe_receiver = this.gameEndedHistoryViewModel;
|
|
3101
|
+
var tmp3_elvis_lhs = tmp300_safe_receiver == null ? null : tmp300_safe_receiver.hashCode();
|
|
3102
3102
|
result = tmp_2 + (tmp3_elvis_lhs == null ? 0 : tmp3_elvis_lhs) | 0;
|
|
3103
3103
|
return result;
|
|
3104
3104
|
};
|
|
@@ -3120,7 +3120,7 @@
|
|
|
3120
3120
|
protoOf(RoundEndedHistoryViewModel).z2p = function () {
|
|
3121
3121
|
return this.roundWinners;
|
|
3122
3122
|
};
|
|
3123
|
-
protoOf(RoundEndedHistoryViewModel).
|
|
3123
|
+
protoOf(RoundEndedHistoryViewModel).k3f = function () {
|
|
3124
3124
|
return this.gameEndedHistoryViewModel;
|
|
3125
3125
|
};
|
|
3126
3126
|
protoOf(RoundEndedHistoryViewModel).o5e = function (gameId, roundNumber, items, roundContractState, roundCommitted, roundWinners, gameEndedHistory) {
|
|
@@ -3630,14 +3630,14 @@
|
|
|
3630
3630
|
// Inline function 'org.kodein.type.generic' call
|
|
3631
3631
|
var tmp_0 = typeToken(createKType(getKClass(ProgressContract), arrayOf([]), false));
|
|
3632
3632
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
3633
|
-
var
|
|
3633
|
+
var tmp301_progressContract = tmp.e2e(tmp$ret$0, null);
|
|
3634
3634
|
// Inline function 'org.kodein.di.instance' call
|
|
3635
3635
|
var tmp_1 = $this$provider.f2e();
|
|
3636
3636
|
// Inline function 'org.kodein.type.generic' call
|
|
3637
3637
|
var tmp_2 = typeToken(createKType(getKClass(GameClient), arrayOf([]), false));
|
|
3638
3638
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
3639
|
-
var
|
|
3640
|
-
return new ControlsSceneContractImpl(
|
|
3639
|
+
var tmp302_gameClient = tmp_1.e2e(tmp$ret$2, null);
|
|
3640
|
+
return new ControlsSceneContractImpl(tmp302_gameClient, tmp301_progressContract, false);
|
|
3641
3641
|
}
|
|
3642
3642
|
function clientScenesDIModule$lambda$lambda_6($this$provider) {
|
|
3643
3643
|
_init_properties_DI_kt__lm8vuj();
|
|
@@ -3662,38 +3662,38 @@
|
|
|
3662
3662
|
// Inline function 'org.kodein.type.generic' call
|
|
3663
3663
|
var tmp_0 = typeToken(createKType(getKClass(GameClient), arrayOf([]), false));
|
|
3664
3664
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
3665
|
-
var
|
|
3665
|
+
var tmp303_gameClient = tmp.e2e(tmp$ret$0, null);
|
|
3666
3666
|
// Inline function 'org.kodein.di.instance' call
|
|
3667
3667
|
var tmp_1 = $this$provider.f2e();
|
|
3668
3668
|
// Inline function 'org.kodein.type.generic' call
|
|
3669
3669
|
var tmp_2 = typeToken(createKType(getKClass(ExpectantContract), arrayOf([]), false));
|
|
3670
3670
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
3671
|
-
var
|
|
3671
|
+
var tmp304_expectantContract = tmp_1.e2e(tmp$ret$2, null);
|
|
3672
3672
|
// Inline function 'org.kodein.di.instance' call
|
|
3673
3673
|
var tmp_3 = $this$provider.f2e();
|
|
3674
3674
|
// Inline function 'org.kodein.type.generic' call
|
|
3675
3675
|
var tmp_4 = typeToken(createKType(getKClass(PlayersSceneContract), arrayOf([]), false));
|
|
3676
3676
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
3677
|
-
var
|
|
3677
|
+
var tmp305_playersSceneContract = tmp_3.e2e(tmp$ret$4, null);
|
|
3678
3678
|
// Inline function 'org.kodein.di.instance' call
|
|
3679
3679
|
var tmp_5 = $this$provider.f2e();
|
|
3680
3680
|
// Inline function 'org.kodein.type.generic' call
|
|
3681
3681
|
var tmp_6 = typeToken(createKType(getKClass(SceneActionsContract), arrayOf([]), false));
|
|
3682
3682
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
3683
|
-
var
|
|
3683
|
+
var tmp306_sceneActionsContract = tmp_5.e2e(tmp$ret$6, null);
|
|
3684
3684
|
// Inline function 'org.kodein.di.instance' call
|
|
3685
3685
|
var tmp_7 = $this$provider.f2e();
|
|
3686
3686
|
// Inline function 'org.kodein.type.generic' call
|
|
3687
3687
|
var tmp_8 = typeToken(createKType(getKClass(ProgressContract), arrayOf([]), false));
|
|
3688
3688
|
var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
3689
|
-
var
|
|
3689
|
+
var tmp307_progressContract = tmp_7.e2e(tmp$ret$8, null);
|
|
3690
3690
|
// Inline function 'org.kodein.di.instance' call
|
|
3691
3691
|
var tmp_9 = $this$provider.f2e();
|
|
3692
3692
|
// Inline function 'org.kodein.type.generic' call
|
|
3693
3693
|
var tmp_10 = typeToken(createKType(getKClass(PlayerTurnTagProvider), arrayOf([]), false));
|
|
3694
3694
|
var tmp$ret$10 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
3695
|
-
var
|
|
3696
|
-
return new ChoosePartnerSceneImpl(
|
|
3695
|
+
var tmp308_playerTurnTagProvider = tmp_9.e2e(tmp$ret$10, null);
|
|
3696
|
+
return new ChoosePartnerSceneImpl(tmp303_gameClient, tmp308_playerTurnTagProvider, tmp304_expectantContract, tmp305_playersSceneContract, tmp306_sceneActionsContract, tmp307_progressContract);
|
|
3697
3697
|
}
|
|
3698
3698
|
function clientScenesDIModule$lambda$lambda_8($this$provider) {
|
|
3699
3699
|
_init_properties_DI_kt__lm8vuj();
|
|
@@ -3702,19 +3702,19 @@
|
|
|
3702
3702
|
// Inline function 'org.kodein.type.generic' call
|
|
3703
3703
|
var tmp_0 = typeToken(createKType(getKClass(GameClient), arrayOf([]), false));
|
|
3704
3704
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
3705
|
-
var
|
|
3705
|
+
var tmp309_gameClient = tmp.e2e(tmp$ret$0, null);
|
|
3706
3706
|
// Inline function 'org.kodein.di.instance' call
|
|
3707
3707
|
var tmp_1 = $this$provider.f2e();
|
|
3708
3708
|
// Inline function 'org.kodein.type.generic' call
|
|
3709
3709
|
var tmp_2 = typeToken(createKType(getKClass(ExpectantContract), arrayOf([]), false));
|
|
3710
3710
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
3711
|
-
var
|
|
3711
|
+
var tmp310_expectantContract = tmp_1.e2e(tmp$ret$2, null);
|
|
3712
3712
|
// Inline function 'org.kodein.di.instance' call
|
|
3713
3713
|
var tmp_3 = $this$provider.f2e();
|
|
3714
3714
|
// Inline function 'org.kodein.type.generic' call
|
|
3715
3715
|
var tmp_4 = typeToken(createKType(getKClass(TradeSceneContract), arrayOf([]), false));
|
|
3716
3716
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
3717
|
-
var
|
|
3717
|
+
var tmp311_tradeSceneDelegate = tmp_3.e2e(tmp$ret$4, null);
|
|
3718
3718
|
// Inline function 'org.kodein.di.instance' call
|
|
3719
3719
|
var tmp_5 = $this$provider.f2e();
|
|
3720
3720
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3733,20 +3733,20 @@
|
|
|
3733
3733
|
var tmp_12 = typeToken(createKType(getKClass(PlayerHandSelector), arrayOf([]), false));
|
|
3734
3734
|
var tmp$ret$10 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
3735
3735
|
var tmp$ret$11 = tmp_11.e2e(tmp$ret$10, null);
|
|
3736
|
-
var
|
|
3736
|
+
var tmp312_tableSceneContract = new TableSceneContractImpl(tmp_7, tmp_10, tmp$ret$11);
|
|
3737
3737
|
// Inline function 'org.kodein.di.instance' call
|
|
3738
3738
|
var tmp_13 = $this$provider.f2e();
|
|
3739
3739
|
// Inline function 'org.kodein.type.generic' call
|
|
3740
3740
|
var tmp_14 = typeToken(createKType(getKClass(PlayersSceneContract), arrayOf([]), false));
|
|
3741
3741
|
var tmp$ret$12 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
3742
|
-
var
|
|
3742
|
+
var tmp313_playersSceneContract = tmp_13.e2e(tmp$ret$12, null);
|
|
3743
3743
|
// Inline function 'org.kodein.di.instance' call
|
|
3744
3744
|
var tmp_15 = $this$provider.f2e();
|
|
3745
3745
|
// Inline function 'org.kodein.type.generic' call
|
|
3746
3746
|
var tmp_16 = typeToken(createKType(getKClass(SceneActionsContract), arrayOf([]), false));
|
|
3747
3747
|
var tmp$ret$14 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
3748
|
-
var
|
|
3749
|
-
return new TradeSceneImpl(
|
|
3748
|
+
var tmp314_sceneActionsContract = tmp_15.e2e(tmp$ret$14, null);
|
|
3749
|
+
return new TradeSceneImpl(tmp309_gameClient, tmp310_expectantContract, tmp311_tradeSceneDelegate, tmp314_sceneActionsContract, tmp312_tableSceneContract, tmp313_playersSceneContract);
|
|
3750
3750
|
}
|
|
3751
3751
|
function clientScenesDIModule$lambda$lambda_9($this$provider) {
|
|
3752
3752
|
_init_properties_DI_kt__lm8vuj();
|
|
@@ -3755,19 +3755,19 @@
|
|
|
3755
3755
|
// Inline function 'org.kodein.type.generic' call
|
|
3756
3756
|
var tmp_0 = typeToken(createKType(getKClass(GameClient), arrayOf([]), false));
|
|
3757
3757
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
3758
|
-
var
|
|
3758
|
+
var tmp315_gameClient = tmp.e2e(tmp$ret$0, null);
|
|
3759
3759
|
// Inline function 'org.kodein.di.instance' call
|
|
3760
3760
|
var tmp_1 = $this$provider.f2e();
|
|
3761
3761
|
// Inline function 'org.kodein.type.generic' call
|
|
3762
3762
|
var tmp_2 = typeToken(createKType(getKClass(ExpectantContract), arrayOf([]), false));
|
|
3763
3763
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
3764
|
-
var
|
|
3764
|
+
var tmp316_expectantContract = tmp_1.e2e(tmp$ret$2, null);
|
|
3765
3765
|
// Inline function 'org.kodein.di.instance' call
|
|
3766
3766
|
var tmp_3 = $this$provider.f2e();
|
|
3767
3767
|
// Inline function 'org.kodein.type.generic' call
|
|
3768
3768
|
var tmp_4 = typeToken(createKType(getKClass(EarnPointsSceneContract), arrayOf([]), false));
|
|
3769
3769
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
3770
|
-
var
|
|
3770
|
+
var tmp317_earnPointsSceneContract = tmp_3.e2e(tmp$ret$4, null);
|
|
3771
3771
|
// Inline function 'org.kodein.di.instance' call
|
|
3772
3772
|
var tmp_5 = $this$provider.f2e();
|
|
3773
3773
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3786,20 +3786,20 @@
|
|
|
3786
3786
|
var tmp_12 = typeToken(createKType(getKClass(PlayerHandSelector), arrayOf([]), false));
|
|
3787
3787
|
var tmp$ret$10 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
3788
3788
|
var tmp$ret$11 = tmp_11.e2e(tmp$ret$10, null);
|
|
3789
|
-
var
|
|
3789
|
+
var tmp318_tableSceneContract = new TableSceneContractImpl(tmp_7, tmp_10, tmp$ret$11);
|
|
3790
3790
|
// Inline function 'org.kodein.di.instance' call
|
|
3791
3791
|
var tmp_13 = $this$provider.f2e();
|
|
3792
3792
|
// Inline function 'org.kodein.type.generic' call
|
|
3793
3793
|
var tmp_14 = typeToken(createKType(getKClass(PlayersSceneContract), arrayOf([]), false));
|
|
3794
3794
|
var tmp$ret$12 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
3795
|
-
var
|
|
3795
|
+
var tmp319_playersSceneContract = tmp_13.e2e(tmp$ret$12, null);
|
|
3796
3796
|
// Inline function 'org.kodein.di.instance' call
|
|
3797
3797
|
var tmp_15 = $this$provider.f2e();
|
|
3798
3798
|
// Inline function 'org.kodein.type.generic' call
|
|
3799
3799
|
var tmp_16 = typeToken(createKType(getKClass(SceneActionsContract), arrayOf([]), false));
|
|
3800
3800
|
var tmp$ret$14 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
3801
|
-
var
|
|
3802
|
-
return new EarnPointsSceneImpl(
|
|
3801
|
+
var tmp320_sceneActionsContract = tmp_15.e2e(tmp$ret$14, null);
|
|
3802
|
+
return new EarnPointsSceneImpl(tmp315_gameClient, tmp320_sceneActionsContract, tmp319_playersSceneContract, tmp316_expectantContract, tmp317_earnPointsSceneContract, tmp318_tableSceneContract);
|
|
3803
3803
|
}
|
|
3804
3804
|
function clientScenesDIModule$lambda$lambda_10($this$provider) {
|
|
3805
3805
|
_init_properties_DI_kt__lm8vuj();
|
|
@@ -3808,38 +3808,38 @@
|
|
|
3808
3808
|
// Inline function 'org.kodein.type.generic' call
|
|
3809
3809
|
var tmp_0 = typeToken(createKType(getKClass(GameClient), arrayOf([]), false));
|
|
3810
3810
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
3811
|
-
var
|
|
3811
|
+
var tmp321_gameClient = tmp.e2e(tmp$ret$0, null);
|
|
3812
3812
|
// Inline function 'org.kodein.di.instance' call
|
|
3813
3813
|
var tmp_1 = $this$provider.f2e();
|
|
3814
3814
|
// Inline function 'org.kodein.type.generic' call
|
|
3815
3815
|
var tmp_2 = typeToken(createKType(getKClass(PlayersSceneContract), arrayOf([]), false));
|
|
3816
3816
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
3817
|
-
var
|
|
3817
|
+
var tmp322_playersSceneContract = tmp_1.e2e(tmp$ret$2, null);
|
|
3818
3818
|
// Inline function 'org.kodein.di.instance' call
|
|
3819
3819
|
var tmp_3 = $this$provider.f2e();
|
|
3820
3820
|
// Inline function 'org.kodein.type.generic' call
|
|
3821
3821
|
var tmp_4 = typeToken(createKType(getKClass(SceneActionsContract), arrayOf([]), false));
|
|
3822
3822
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
3823
|
-
var
|
|
3823
|
+
var tmp323_sceneActionsContract = tmp_3.e2e(tmp$ret$4, null);
|
|
3824
3824
|
// Inline function 'org.kodein.di.instance' call
|
|
3825
3825
|
var tmp_5 = $this$provider.f2e();
|
|
3826
3826
|
// Inline function 'org.kodein.type.generic' call
|
|
3827
3827
|
var tmp_6 = typeToken(createKType(getKClass(ProgressContract), arrayOf([]), false));
|
|
3828
3828
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
3829
|
-
var
|
|
3829
|
+
var tmp324_progressContract = tmp_5.e2e(tmp$ret$6, null);
|
|
3830
3830
|
// Inline function 'org.kodein.di.instance' call
|
|
3831
3831
|
var tmp_7 = $this$provider.f2e();
|
|
3832
3832
|
// Inline function 'org.kodein.type.generic' call
|
|
3833
3833
|
var tmp_8 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
3834
3834
|
var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
3835
|
-
var
|
|
3835
|
+
var tmp325_logger = tmp_7.e2e(tmp$ret$8, null);
|
|
3836
3836
|
// Inline function 'org.kodein.di.instance' call
|
|
3837
3837
|
var tmp_9 = $this$provider.f2e();
|
|
3838
3838
|
// Inline function 'org.kodein.type.generic' call
|
|
3839
3839
|
var tmp_10 = typeToken(createKType(getKClass(PlayerTurnTagProvider), arrayOf([]), false));
|
|
3840
3840
|
var tmp$ret$10 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
3841
|
-
var
|
|
3842
|
-
return new CalcPointsSceneImpl(
|
|
3841
|
+
var tmp326_playerTurnTagProvider = tmp_9.e2e(tmp$ret$10, null);
|
|
3842
|
+
return new CalcPointsSceneImpl(tmp321_gameClient, tmp323_sceneActionsContract, tmp322_playersSceneContract, tmp324_progressContract, tmp325_logger, tmp326_playerTurnTagProvider);
|
|
3843
3843
|
}
|
|
3844
3844
|
function clientScenesDIModule$lambda$lambda_11($this$provider) {
|
|
3845
3845
|
_init_properties_DI_kt__lm8vuj();
|
|
@@ -3848,19 +3848,19 @@
|
|
|
3848
3848
|
// Inline function 'org.kodein.type.generic' call
|
|
3849
3849
|
var tmp_0 = typeToken(createKType(getKClass(GameClient), arrayOf([]), false));
|
|
3850
3850
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
3851
|
-
var
|
|
3851
|
+
var tmp327_gameClient = tmp.e2e(tmp$ret$0, null);
|
|
3852
3852
|
// Inline function 'org.kodein.di.instance' call
|
|
3853
3853
|
var tmp_1 = $this$provider.f2e();
|
|
3854
3854
|
// Inline function 'org.kodein.type.generic' call
|
|
3855
3855
|
var tmp_2 = typeToken(createKType(getKClass(ControlsContract), arrayOf([]), false));
|
|
3856
3856
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
3857
|
-
var
|
|
3857
|
+
var tmp328_controlsContract = tmp_1.e2e(tmp$ret$2, null);
|
|
3858
3858
|
// Inline function 'org.kodein.di.instance' call
|
|
3859
3859
|
var tmp_3 = $this$provider.f2e();
|
|
3860
3860
|
// Inline function 'org.kodein.type.generic' call
|
|
3861
3861
|
var tmp_4 = typeToken(createKType(getKClass(ExpectantContract), arrayOf([]), false));
|
|
3862
3862
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
3863
|
-
var
|
|
3863
|
+
var tmp329_expectantContract = tmp_3.e2e(tmp$ret$4, null);
|
|
3864
3864
|
// Inline function 'org.kodein.di.instance' call
|
|
3865
3865
|
var tmp_5 = $this$provider.f2e();
|
|
3866
3866
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3879,38 +3879,38 @@
|
|
|
3879
3879
|
var tmp_12 = typeToken(createKType(getKClass(PlayerHandSelector), arrayOf([]), false));
|
|
3880
3880
|
var tmp$ret$10 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
3881
3881
|
var tmp$ret$11 = tmp_11.e2e(tmp$ret$10, null);
|
|
3882
|
-
var
|
|
3882
|
+
var tmp330_tableSceneContract = new TableSceneContractImpl(tmp_7, tmp_10, tmp$ret$11);
|
|
3883
3883
|
// Inline function 'org.kodein.di.instance' call
|
|
3884
3884
|
var tmp_13 = $this$provider.f2e();
|
|
3885
3885
|
// Inline function 'org.kodein.type.generic' call
|
|
3886
3886
|
var tmp_14 = typeToken(createKType(getKClass(TradeSceneContract), arrayOf([]), false));
|
|
3887
3887
|
var tmp$ret$12 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
3888
|
-
var
|
|
3888
|
+
var tmp331_tradeSceneContract = tmp_13.e2e(tmp$ret$12, null);
|
|
3889
3889
|
// Inline function 'org.kodein.di.instance' call
|
|
3890
3890
|
var tmp_15 = $this$provider.f2e();
|
|
3891
3891
|
// Inline function 'org.kodein.type.generic' call
|
|
3892
3892
|
var tmp_16 = typeToken(createKType(getKClass(EarnPointsSceneContract), arrayOf([]), false));
|
|
3893
3893
|
var tmp$ret$14 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
3894
|
-
var
|
|
3894
|
+
var tmp332_earnPointsSceneContract = tmp_15.e2e(tmp$ret$14, null);
|
|
3895
3895
|
// Inline function 'org.kodein.di.instance' call
|
|
3896
3896
|
var tmp_17 = $this$provider.f2e();
|
|
3897
3897
|
// Inline function 'org.kodein.type.generic' call
|
|
3898
3898
|
var tmp_18 = typeToken(createKType(getKClass(SceneActionsContract), arrayOf([]), false));
|
|
3899
3899
|
var tmp$ret$16 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
3900
|
-
var
|
|
3900
|
+
var tmp333_sceneActionsContract = tmp_17.e2e(tmp$ret$16, null);
|
|
3901
3901
|
// Inline function 'org.kodein.di.instance' call
|
|
3902
3902
|
var tmp_19 = $this$provider.f2e();
|
|
3903
3903
|
// Inline function 'org.kodein.type.generic' call
|
|
3904
3904
|
var tmp_20 = typeToken(createKType(getKClass(ChoosePartnerScene), arrayOf([]), false));
|
|
3905
3905
|
var tmp$ret$18 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
3906
|
-
var
|
|
3906
|
+
var tmp334_choosePartnerSceneContract = tmp_19.e2e(tmp$ret$18, null);
|
|
3907
3907
|
// Inline function 'org.kodein.di.instance' call
|
|
3908
3908
|
var tmp_21 = $this$provider.f2e();
|
|
3909
3909
|
// Inline function 'org.kodein.type.generic' call
|
|
3910
3910
|
var tmp_22 = typeToken(createKType(getKClass(CalcPointsScene), arrayOf([]), false));
|
|
3911
3911
|
var tmp$ret$20 = isInterface(tmp_22, TypeToken) ? tmp_22 : THROW_CCE();
|
|
3912
|
-
var
|
|
3913
|
-
return new TableSceneImpl(
|
|
3912
|
+
var tmp335_pointsSceneContract = tmp_21.e2e(tmp$ret$20, null);
|
|
3913
|
+
return new TableSceneImpl(tmp327_gameClient, tmp329_expectantContract, tmp328_controlsContract, tmp330_tableSceneContract, tmp333_sceneActionsContract, tmp335_pointsSceneContract, tmp334_choosePartnerSceneContract, tmp331_tradeSceneContract, tmp332_earnPointsSceneContract);
|
|
3914
3914
|
}
|
|
3915
3915
|
function clientScenesDIModule$lambda$lambda_12($this$provider) {
|
|
3916
3916
|
_init_properties_DI_kt__lm8vuj();
|
|
@@ -4055,50 +4055,50 @@
|
|
|
4055
4055
|
// Inline function 'org.kodein.type.generic' call
|
|
4056
4056
|
var tmp_0 = typeToken(createKType(getKClass(GameClient), arrayOf([]), false));
|
|
4057
4057
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
4058
|
-
var
|
|
4058
|
+
var tmp337_gameClient = tmp.e2e(tmp$ret$0, null);
|
|
4059
4059
|
// Inline function 'org.kodein.di.instance' call
|
|
4060
4060
|
var tmp_1 = $this$singleton.f2e();
|
|
4061
4061
|
// Inline function 'org.kodein.type.generic' call
|
|
4062
4062
|
var tmp_2 = typeToken(createKType(getKClass(ClientConfig), arrayOf([]), false));
|
|
4063
4063
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
4064
|
-
var
|
|
4064
|
+
var tmp338_clientConfig = tmp_1.e2e(tmp$ret$2, null);
|
|
4065
4065
|
// Inline function 'org.kodein.di.instance' call
|
|
4066
4066
|
var tmp_3 = $this$singleton.f2e();
|
|
4067
4067
|
// Inline function 'org.kodein.type.generic' call
|
|
4068
4068
|
var tmp_4 = typeToken(createKType(getKClass(PlayersSceneContract), arrayOf([]), false));
|
|
4069
4069
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
4070
|
-
var
|
|
4070
|
+
var tmp339_playersSceneContract = tmp_3.e2e(tmp$ret$4, null);
|
|
4071
4071
|
// Inline function 'org.kodein.di.instance' call
|
|
4072
4072
|
var tmp_5 = $this$singleton.f2e();
|
|
4073
4073
|
// Inline function 'org.kodein.type.generic' call
|
|
4074
4074
|
var tmp_6 = typeToken(createKType(getKClass(TeamsMechanicReducer), arrayOf([]), false));
|
|
4075
4075
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
4076
|
-
var
|
|
4076
|
+
var tmp340_teamsMechanicReducer = tmp_5.e2e(tmp$ret$6, null);
|
|
4077
4077
|
// Inline function 'org.kodein.di.instance' call
|
|
4078
4078
|
var tmp_7 = $this$singleton.f2e();
|
|
4079
4079
|
// Inline function 'org.kodein.type.generic' call
|
|
4080
4080
|
var tmp_8 = typeToken(createKType(getKClass(PointsInteractor), arrayOf([]), false));
|
|
4081
4081
|
var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
4082
|
-
var
|
|
4082
|
+
var tmp341_pointsInteractor = tmp_7.e2e(tmp$ret$8, null);
|
|
4083
4083
|
// Inline function 'org.kodein.di.instance' call
|
|
4084
4084
|
var tmp_9 = $this$singleton.f2e();
|
|
4085
4085
|
// Inline function 'org.kodein.type.generic' call
|
|
4086
4086
|
var tmp_10 = typeToken(createKType(getKClass(PersistentAppStateInteractor), arrayOf([]), false));
|
|
4087
4087
|
var tmp$ret$10 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
4088
|
-
var
|
|
4088
|
+
var tmp342_persistentAppStateInteractor = tmp_9.e2e(tmp$ret$10, null);
|
|
4089
4089
|
// Inline function 'org.kodein.di.instance' call
|
|
4090
4090
|
var tmp_11 = $this$singleton.f2e();
|
|
4091
4091
|
// Inline function 'org.kodein.type.generic' call
|
|
4092
4092
|
var tmp_12 = typeToken(createKType(getKClass(ClientStatisticsInteractor), arrayOf([]), false));
|
|
4093
4093
|
var tmp$ret$12 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
4094
|
-
var
|
|
4094
|
+
var tmp343_statisticsInteractor = tmp_11.e2e(tmp$ret$12, null);
|
|
4095
4095
|
// Inline function 'org.kodein.di.instance' call
|
|
4096
4096
|
var tmp_13 = $this$singleton.f2e();
|
|
4097
4097
|
// Inline function 'org.kodein.type.generic' call
|
|
4098
4098
|
var tmp_14 = typeToken(createKType(getKClass(ClientGameHistoryInteractor), arrayOf([]), false));
|
|
4099
4099
|
var tmp$ret$14 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
4100
|
-
var
|
|
4101
|
-
return new SingleGameMechanic($currentPlayerId,
|
|
4100
|
+
var tmp344_gameHistoryInteractor = tmp_13.e2e(tmp$ret$14, null);
|
|
4101
|
+
return new SingleGameMechanic($currentPlayerId, tmp342_persistentAppStateInteractor, tmp343_statisticsInteractor, tmp344_gameHistoryInteractor, tmp337_gameClient, tmp338_clientConfig, tmp339_playersSceneContract, tmp340_teamsMechanicReducer, tmp341_pointsInteractor);
|
|
4102
4102
|
};
|
|
4103
4103
|
}
|
|
4104
4104
|
function createClientSingleGameDI$lambda$lambda_3($this$provider) {
|
|
@@ -4220,50 +4220,50 @@
|
|
|
4220
4220
|
// Inline function 'org.kodein.type.generic' call
|
|
4221
4221
|
var tmp_0 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
4222
4222
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
4223
|
-
var
|
|
4223
|
+
var tmp345_logger = tmp.e2e(tmp$ret$0, null);
|
|
4224
4224
|
// Inline function 'org.kodein.di.instance' call
|
|
4225
4225
|
var tmp_1 = $this$singleton.f2e();
|
|
4226
4226
|
// Inline function 'org.kodein.type.generic' call
|
|
4227
4227
|
var tmp_2 = typeToken(createKType(getKClass(GameClient), arrayOf([]), false));
|
|
4228
4228
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
4229
|
-
var
|
|
4229
|
+
var tmp346_gameClient = tmp_1.e2e(tmp$ret$2, null);
|
|
4230
4230
|
// Inline function 'org.kodein.di.instance' call
|
|
4231
4231
|
var tmp_3 = $this$singleton.f2e();
|
|
4232
4232
|
// Inline function 'org.kodein.type.generic' call
|
|
4233
4233
|
var tmp_4 = typeToken(createKType(getKClass(ClientConfig), arrayOf([]), false));
|
|
4234
4234
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
4235
|
-
var
|
|
4235
|
+
var tmp347_clientConfig = tmp_3.e2e(tmp$ret$4, null);
|
|
4236
4236
|
// Inline function 'org.kodein.di.instance' call
|
|
4237
4237
|
var tmp_5 = $this$singleton.f2e();
|
|
4238
4238
|
// Inline function 'org.kodein.type.generic' call
|
|
4239
4239
|
var tmp_6 = typeToken(createKType(getKClass(PlayersSceneContract), arrayOf([]), false));
|
|
4240
4240
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
4241
|
-
var
|
|
4241
|
+
var tmp348_playersSceneContract = tmp_5.e2e(tmp$ret$6, null);
|
|
4242
4242
|
// Inline function 'org.kodein.di.instance' call
|
|
4243
4243
|
var tmp_7 = $this$singleton.f2e();
|
|
4244
4244
|
// Inline function 'org.kodein.type.generic' call
|
|
4245
4245
|
var tmp_8 = typeToken(createKType(getKClass(FromClientEventsObserver), arrayOf([]), false));
|
|
4246
4246
|
var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
4247
|
-
var
|
|
4247
|
+
var tmp349_fromClientEventsObserver = tmp_7.e2e(tmp$ret$8, null);
|
|
4248
4248
|
// Inline function 'org.kodein.di.instance' call
|
|
4249
4249
|
var tmp_9 = $this$singleton.f2e();
|
|
4250
4250
|
// Inline function 'org.kodein.type.generic' call
|
|
4251
4251
|
var tmp_10 = typeToken(createKType(getKClass(TeamsMechanicReducer), arrayOf([]), false));
|
|
4252
4252
|
var tmp$ret$10 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
4253
|
-
var
|
|
4253
|
+
var tmp350_teamsMechanicReducer = tmp_9.e2e(tmp$ret$10, null);
|
|
4254
4254
|
// Inline function 'org.kodein.di.instance' call
|
|
4255
4255
|
var tmp_11 = $this$singleton.f2e();
|
|
4256
4256
|
// Inline function 'org.kodein.type.generic' call
|
|
4257
4257
|
var tmp_12 = typeToken(createKType(getKClass(PointsInteractor), arrayOf([]), false));
|
|
4258
4258
|
var tmp$ret$12 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
4259
|
-
var
|
|
4259
|
+
var tmp351_pointsInteractor = tmp_11.e2e(tmp$ret$12, null);
|
|
4260
4260
|
// Inline function 'org.kodein.di.instance' call
|
|
4261
4261
|
var tmp_13 = $this$singleton.f2e();
|
|
4262
4262
|
// Inline function 'org.kodein.type.generic' call
|
|
4263
4263
|
var tmp_14 = typeToken(createKType(getKClass(ClientGameHistoryInteractor), arrayOf([]), false));
|
|
4264
4264
|
var tmp$ret$14 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
4265
|
-
var
|
|
4266
|
-
return new OnlineGameMechanicImpl($currentPlayerId,
|
|
4265
|
+
var tmp352_gameHistoryInteractor = tmp_13.e2e(tmp$ret$14, null);
|
|
4266
|
+
return new OnlineGameMechanicImpl($currentPlayerId, tmp349_fromClientEventsObserver, tmp345_logger, tmp346_gameClient, tmp347_clientConfig, tmp348_playersSceneContract, tmp350_teamsMechanicReducer, tmp351_pointsInteractor, tmp352_gameHistoryInteractor);
|
|
4267
4267
|
};
|
|
4268
4268
|
}
|
|
4269
4269
|
function createClientMultiplayerGameDI$lambda$lambda_3($this$provider) {
|
|
@@ -4456,9 +4456,9 @@
|
|
|
4456
4456
|
return this.b5f(state instanceof AppState ? state : THROW_CCE(), action);
|
|
4457
4457
|
};
|
|
4458
4458
|
protoOf(BufferInteractorImpl).c5f = function (state, action) {
|
|
4459
|
-
var
|
|
4460
|
-
var
|
|
4461
|
-
if ((
|
|
4459
|
+
var tmp353_safe_receiver = get_clientStateOrNull_0(state);
|
|
4460
|
+
var tmp354_safe_receiver = tmp353_safe_receiver == null ? null : tmp353_safe_receiver.h5f_1;
|
|
4461
|
+
if ((tmp354_safe_receiver == null ? null : tmp354_safe_receiver.p()) === true) {
|
|
4462
4462
|
return false;
|
|
4463
4463
|
}
|
|
4464
4464
|
var result = getBufferResult(this, state, action, "can't release buffer");
|
|
@@ -4573,7 +4573,7 @@
|
|
|
4573
4573
|
return new AvoidBuffer('NextPlayerTurnBufferUseCase.ignored');
|
|
4574
4574
|
}
|
|
4575
4575
|
var tmp;
|
|
4576
|
-
if (playerTurn.
|
|
4576
|
+
if (playerTurn.a37_1.p2q()) {
|
|
4577
4577
|
tmp = new AvoidBuffer('NextPlayerTurnBufferUseCase.playerTurn');
|
|
4578
4578
|
} else {
|
|
4579
4579
|
tmp = new PutInBuffer('NextPlayerTurnBufferUseCase.playerTurn');
|
|
@@ -4586,10 +4586,10 @@
|
|
|
4586
4586
|
}
|
|
4587
4587
|
protoOf(PassErrorActionBufferUseCase).u5e = function (state, action) {
|
|
4588
4588
|
if (action instanceof ErrorAction) {
|
|
4589
|
-
var reason = action.x4r_1.
|
|
4589
|
+
var reason = action.x4r_1.a3t_1;
|
|
4590
4590
|
var tmp = state.w32();
|
|
4591
|
-
var
|
|
4592
|
-
return checkTerminatedReason(tmp, reason,
|
|
4591
|
+
var tmp355_safe_receiver = state.e32_1;
|
|
4592
|
+
return checkTerminatedReason(tmp, reason, tmp355_safe_receiver == null ? null : get_currentPlayer(tmp355_safe_receiver), 'PassErrorActionBufferUseCase.checkTerminatedReason');
|
|
4593
4593
|
}
|
|
4594
4594
|
return new AvoidBuffer('PassErrorActionBufferUseCase');
|
|
4595
4595
|
};
|
|
@@ -4738,7 +4738,7 @@
|
|
|
4738
4738
|
}
|
|
4739
4739
|
function checkIsPartnerGetBribe($this, winCard, playerId, players) {
|
|
4740
4740
|
var partner = $this.g5g_1.n4g(playerId, players);
|
|
4741
|
-
return winCard.
|
|
4741
|
+
return winCard.g3j_1 === partner.playerId;
|
|
4742
4742
|
}
|
|
4743
4743
|
function checkHasHigherCard($this, winCard, playerCard, gameCards, trump) {
|
|
4744
4744
|
var tmp;
|
|
@@ -4769,10 +4769,10 @@
|
|
|
4769
4769
|
this.h5g_1 = gameLogicProvider;
|
|
4770
4770
|
}
|
|
4771
4771
|
protoOf(PutCardValidatorInteractorImpl).f5g = function (playerCard, player, table) {
|
|
4772
|
-
var trump = table.gameInfo.
|
|
4773
|
-
var playerCards = player.
|
|
4772
|
+
var trump = table.gameInfo.u49_1.c4e();
|
|
4773
|
+
var playerCards = player.b37_1;
|
|
4774
4774
|
var cardsOnTable = table.cardsOnTable;
|
|
4775
|
-
var tmp0_elvis_lhs = Companion_instance.
|
|
4775
|
+
var tmp0_elvis_lhs = Companion_instance.z4a(cardsOnTable);
|
|
4776
4776
|
var tmp;
|
|
4777
4777
|
if (tmp0_elvis_lhs == null) {
|
|
4778
4778
|
return null;
|
|
@@ -4780,7 +4780,7 @@
|
|
|
4780
4780
|
tmp = tmp0_elvis_lhs;
|
|
4781
4781
|
}
|
|
4782
4782
|
var firstCard = tmp;
|
|
4783
|
-
var firstCardSuit = firstCard.
|
|
4783
|
+
var firstCardSuit = firstCard.i3j_1.n2m();
|
|
4784
4784
|
var playerCardSuit = playerCard.n2m();
|
|
4785
4785
|
var tmp_0;
|
|
4786
4786
|
if (playerCardSuit.equals(firstCardSuit)) {
|
|
@@ -4789,7 +4789,7 @@
|
|
|
4789
4789
|
var playersMode = table.config.playersMode;
|
|
4790
4790
|
var isPartnerCantGetBribeInTeamGame = !playersMode.isTeamGame || (playersMode.isTeamGame && !checkIsPartnerGetBribe(this, winCard, player.playerId, table.players));
|
|
4791
4791
|
var tmp_1;
|
|
4792
|
-
if (table.config.rules.needToPutHigherTrump && fistCardIsTrump && isPartnerCantGetBribeInTeamGame && checkHasHigherCard(this, winCard.
|
|
4792
|
+
if (table.config.rules.needToPutHigherTrump && fistCardIsTrump && isPartnerCantGetBribeInTeamGame && checkHasHigherCard(this, winCard.i3j_1, playerCard, playerCards, trump)) {
|
|
4793
4793
|
tmp_1 = ValidationCode_CARD_VALIDATION_HAS_HIGHER_TRUMP_CARD_getInstance();
|
|
4794
4794
|
} else {
|
|
4795
4795
|
tmp_1 = null;
|
|
@@ -5019,14 +5019,14 @@
|
|
|
5019
5019
|
this.v8_1 = 1;
|
|
5020
5020
|
var it = this.s5h_1;
|
|
5021
5021
|
var tmp_2 = it.v32().players;
|
|
5022
|
-
var
|
|
5023
|
-
var
|
|
5022
|
+
var tmp358_safe_receiver = get_clientStateOrNull_0(it);
|
|
5023
|
+
var tmp359_safe_receiver = tmp358_safe_receiver == null ? null : tmp358_safe_receiver.g5f_1;
|
|
5024
5024
|
var tmp_3;
|
|
5025
|
-
if (
|
|
5025
|
+
if (tmp359_safe_receiver == null) {
|
|
5026
5026
|
tmp_3 = null;
|
|
5027
5027
|
} else {
|
|
5028
5028
|
var destination = ArrayList_init_$Create$_0();
|
|
5029
|
-
var tmp0_iterator =
|
|
5029
|
+
var tmp0_iterator = tmp359_safe_receiver.j();
|
|
5030
5030
|
while (tmp0_iterator.k()) {
|
|
5031
5031
|
var element = tmp0_iterator.l();
|
|
5032
5032
|
if (getKClass(TeamsDataMechanicAction).ca(element.g5e_1)) {
|
|
@@ -5259,7 +5259,7 @@
|
|
|
5259
5259
|
var tmp0_iterator = this_0.j();
|
|
5260
5260
|
while (tmp0_iterator.k()) {
|
|
5261
5261
|
var item = tmp0_iterator.l();
|
|
5262
|
-
destination.e(item.
|
|
5262
|
+
destination.e(item.z36_1);
|
|
5263
5263
|
}
|
|
5264
5264
|
|
|
5265
5265
|
suspendResult = this.v5j_1.e11(destination, this);
|
|
@@ -5465,9 +5465,9 @@
|
|
|
5465
5465
|
this.v8_1 = 1;
|
|
5466
5466
|
var table = this.s5l_1.e32_1;
|
|
5467
5467
|
var sceneInfo = table == null ? null : table.sceneInfo;
|
|
5468
|
-
var
|
|
5469
|
-
var
|
|
5470
|
-
var tmp0_elvis_lhs =
|
|
5468
|
+
var tmp364_safe_receiver = table == null ? null : table.gameInfo;
|
|
5469
|
+
var tmp365_safe_receiver = tmp364_safe_receiver == null ? null : tmp364_safe_receiver.u49_1;
|
|
5470
|
+
var tmp0_elvis_lhs = tmp365_safe_receiver == null ? null : tmp365_safe_receiver.z3w_1;
|
|
5471
5471
|
var tmp_2 = tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs;
|
|
5472
5472
|
var tmp1_elvis_lhs = sceneInfo == null ? null : sceneInfo.g4e_1;
|
|
5473
5473
|
var tmp_3 = tmp1_elvis_lhs == null ? 'WAITING' : tmp1_elvis_lhs;
|
|
@@ -5673,10 +5673,10 @@
|
|
|
5673
5673
|
tmp_1.o5n_1 = this.m5n_1;
|
|
5674
5674
|
this.v8_1 = 1;
|
|
5675
5675
|
var it = this.o5n_1;
|
|
5676
|
-
var
|
|
5677
|
-
var tmp_2 =
|
|
5678
|
-
var
|
|
5679
|
-
var tmp0_elvis_lhs =
|
|
5676
|
+
var tmp368_safe_receiver = get_clientStateOrNull_0(it);
|
|
5677
|
+
var tmp_2 = tmp368_safe_receiver == null ? null : tmp368_safe_receiver.q5f_1;
|
|
5678
|
+
var tmp369_safe_receiver = it.e32_1;
|
|
5679
|
+
var tmp0_elvis_lhs = tmp369_safe_receiver == null ? null : tmp369_safe_receiver.isGameFinished;
|
|
5680
5680
|
suspendResult = this.n5n_1.e11(new GameLifecycleViewModel(it.g32_1, it.h32_1, tmp_2, tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs), this);
|
|
5681
5681
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5682
5682
|
return suspendResult;
|
|
@@ -5782,7 +5782,7 @@
|
|
|
5782
5782
|
var tmp0_iterator = this_0.j();
|
|
5783
5783
|
while (tmp0_iterator.k()) {
|
|
5784
5784
|
var item = tmp0_iterator.l();
|
|
5785
|
-
destination.e(new PlayerHandMetadataViewModel(item.playerId, item.
|
|
5785
|
+
destination.e(new PlayerHandMetadataViewModel(item.playerId, item.d37_1.n38(), item.d37_1.q38().o38_1, item.d37_1.c3a(), item.d37_1.e3a()));
|
|
5786
5786
|
}
|
|
5787
5787
|
|
|
5788
5788
|
suspendResult = this.l5o_1.e11(new PlayersHandsMetadataViewModel(destination), this);
|
|
@@ -5987,9 +5987,9 @@
|
|
|
5987
5987
|
tmp_1.i5q_1 = this.g5q_1;
|
|
5988
5988
|
this.v8_1 = 1;
|
|
5989
5989
|
var it = this.i5q_1;
|
|
5990
|
-
var
|
|
5991
|
-
var
|
|
5992
|
-
suspendResult = this.h5q_1.e11(
|
|
5990
|
+
var tmp370_safe_receiver = get_clientStateOrNull_0(it);
|
|
5991
|
+
var tmp371_safe_receiver = tmp370_safe_receiver == null ? null : tmp370_safe_receiver.n5f_1;
|
|
5992
|
+
suspendResult = this.h5q_1.e11(tmp371_safe_receiver == null ? null : toVM(tmp371_safe_receiver, it.v32().players), this);
|
|
5993
5993
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5994
5994
|
return suspendResult;
|
|
5995
5995
|
}
|
|
@@ -6092,9 +6092,9 @@
|
|
|
6092
6092
|
this.v8_1 = 1;
|
|
6093
6093
|
var it = this.h5r_1;
|
|
6094
6094
|
var points = get_isChoosePartnerScene(it.v32().sceneInfo.g4e_1) ? null : this.e5r_1.w5i_1.e4n(it.v32().players, it.v32().config);
|
|
6095
|
-
var
|
|
6096
|
-
var
|
|
6097
|
-
suspendResult = this.g5r_1.e11(
|
|
6095
|
+
var tmp372_safe_receiver = get_clientStateOrNull_0(it);
|
|
6096
|
+
var tmp373_safe_receiver = tmp372_safe_receiver == null ? null : tmp372_safe_receiver.o5f_1;
|
|
6097
|
+
suspendResult = this.g5r_1.e11(tmp373_safe_receiver == null ? null : toVM_0(tmp373_safe_receiver, it.v32().config, it.v32().players, points), this);
|
|
6098
6098
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
6099
6099
|
return suspendResult;
|
|
6100
6100
|
}
|
|
@@ -6937,8 +6937,8 @@
|
|
|
6937
6937
|
var tmp_1 = this;
|
|
6938
6938
|
tmp_1.t5y_1 = this.r5y_1;
|
|
6939
6939
|
this.v8_1 = 1;
|
|
6940
|
-
var
|
|
6941
|
-
suspendResult = this.s5y_1.e11(
|
|
6940
|
+
var tmp541_safe_receiver = this.t5y_1;
|
|
6941
|
+
suspendResult = this.s5y_1.e11(tmp541_safe_receiver == null ? null : mapToExpectant(tmp541_safe_receiver), this);
|
|
6942
6942
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
6943
6943
|
return suspendResult;
|
|
6944
6944
|
}
|
|
@@ -8855,7 +8855,7 @@
|
|
|
8855
8855
|
this.v8_1 = 1;
|
|
8856
8856
|
var it = this.u6b_1;
|
|
8857
8857
|
var player = getPlayer(it.players, this.r6b_1);
|
|
8858
|
-
suspendResult = this.t6b_1.e11(toPlayerVM(player, get_currentPlayer(it).playerId, it.gameInfo.
|
|
8858
|
+
suspendResult = this.t6b_1.e11(toPlayerVM(player, get_currentPlayer(it).playerId, it.gameInfo.u49_1), this);
|
|
8859
8859
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
8860
8860
|
return suspendResult;
|
|
8861
8861
|
}
|
|
@@ -9176,12 +9176,12 @@
|
|
|
9176
9176
|
break l$ret$1;
|
|
9177
9177
|
}
|
|
9178
9178
|
var player = getPlayer(state.v32().players, this.p6e_1);
|
|
9179
|
-
var
|
|
9179
|
+
var tmp403_safe_receiver = findMessageForPlayer(this.q6e_1, player.playerId, get_clientState_0(state).e5f_1);
|
|
9180
9180
|
var tmp_2;
|
|
9181
|
-
if (
|
|
9181
|
+
if (tmp403_safe_receiver == null) {
|
|
9182
9182
|
tmp_2 = null;
|
|
9183
9183
|
} else {
|
|
9184
|
-
tmp_2 = new PlayerMessageViewModel(
|
|
9184
|
+
tmp_2 = new PlayerMessageViewModel(tmp403_safe_receiver);
|
|
9185
9185
|
}
|
|
9186
9186
|
tmp$ret$0 = tmp_2;
|
|
9187
9187
|
}
|
|
@@ -9292,8 +9292,8 @@
|
|
|
9292
9292
|
var tmp_2 = this;
|
|
9293
9293
|
var table = this.v6f_1;
|
|
9294
9294
|
var player = getPlayer(table.players, this.r6f_1);
|
|
9295
|
-
var
|
|
9296
|
-
tmp_2.w6f_1 =
|
|
9295
|
+
var tmp404_safe_receiver = player.a37_1.o2q_1;
|
|
9296
|
+
tmp_2.w6f_1 = tmp404_safe_receiver == null ? null : tmp404_safe_receiver.s2q_1;
|
|
9297
9297
|
if (this.w6f_1 == null) {
|
|
9298
9298
|
this.t6f_1 = Unit_instance;
|
|
9299
9299
|
this.v8_1 = 4;
|
|
@@ -9400,7 +9400,7 @@
|
|
|
9400
9400
|
while (tmp0_iterator.k()) {
|
|
9401
9401
|
var item = tmp0_iterator.l();
|
|
9402
9402
|
// Inline function 'games.jass.logic.client.domain.scenes.delegates.PlayersSceneContractImpl.getPlayersVM.<anonymous>' call
|
|
9403
|
-
var tmp$ret$0 = toPlayerVM(item, get_currentPlayer(_this__u8e3s4).playerId, _this__u8e3s4.gameInfo.
|
|
9403
|
+
var tmp$ret$0 = toPlayerVM(item, get_currentPlayer(_this__u8e3s4).playerId, _this__u8e3s4.gameInfo.u49_1);
|
|
9404
9404
|
destination.e(tmp$ret$0);
|
|
9405
9405
|
}
|
|
9406
9406
|
return destination;
|
|
@@ -9428,7 +9428,7 @@
|
|
|
9428
9428
|
while (tmp0_iterator_0.k()) {
|
|
9429
9429
|
var element_0 = tmp0_iterator_0.l();
|
|
9430
9430
|
// Inline function 'games.jass.logic.client.domain.scenes.delegates.PlayersSceneContractImpl.findMessageForPlayer.<anonymous>' call
|
|
9431
|
-
if (element_0.
|
|
9431
|
+
if (element_0.o34()) {
|
|
9432
9432
|
destination_0.e(element_0);
|
|
9433
9433
|
}
|
|
9434
9434
|
}
|
|
@@ -9445,7 +9445,7 @@
|
|
|
9445
9445
|
while (iterator.q4()) {
|
|
9446
9446
|
var element_1 = iterator.s4();
|
|
9447
9447
|
// Inline function 'games.jass.logic.client.domain.scenes.delegates.PlayersSceneContractImpl.findMessageForPlayer.<anonymous>' call
|
|
9448
|
-
if (element_1.
|
|
9448
|
+
if (element_1.b35().t2p_1 === playerId) {
|
|
9449
9449
|
tmp$ret$10 = element_1;
|
|
9450
9450
|
break $l$block;
|
|
9451
9451
|
}
|
|
@@ -10896,9 +10896,9 @@
|
|
|
10896
10896
|
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
10897
10897
|
var state = $store.state;
|
|
10898
10898
|
var expectantAction = action;
|
|
10899
|
-
var
|
|
10900
|
-
var
|
|
10901
|
-
var expectant =
|
|
10899
|
+
var tmp439_safe_receiver = get_clientStateOrNull_0(state);
|
|
10900
|
+
var tmp440_safe_receiver = tmp439_safe_receiver == null ? null : tmp439_safe_receiver.g5f_1;
|
|
10901
|
+
var expectant = tmp440_safe_receiver == null ? null : getOrNullExpectant(tmp440_safe_receiver, getKClassFromExpression(expectantAction));
|
|
10902
10902
|
if (!(expectant == null) && equals(action, expectant.g5e_1)) {
|
|
10903
10903
|
if (expectant.i5e()) {
|
|
10904
10904
|
$gameLogger.w(VOID, 'applyExpectant: Expectant ' + toString(expectant) + ', should be started');
|
|
@@ -10948,7 +10948,7 @@
|
|
|
10948
10948
|
next(action_0);
|
|
10949
10949
|
var table = store.state.v32();
|
|
10950
10950
|
var player = get_currentPlayer(table);
|
|
10951
|
-
var playerCombinations = player.
|
|
10951
|
+
var playerCombinations = player.e37_1.s38_1;
|
|
10952
10952
|
// Inline function 'kotlin.collections.map' call
|
|
10953
10953
|
var this_0 = this.t6j_1.f4j(playerCombinations);
|
|
10954
10954
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -10970,7 +10970,7 @@
|
|
|
10970
10970
|
var tmp;
|
|
10971
10971
|
var tmp_0;
|
|
10972
10972
|
var tmp_1;
|
|
10973
|
-
if (table.gameInfo.
|
|
10973
|
+
if (table.gameInfo.u49_1.d4e() === 0) {
|
|
10974
10974
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
10975
10975
|
tmp_1 = !findFirstRoundCombinations.p();
|
|
10976
10976
|
} else {
|
|
@@ -11062,8 +11062,8 @@
|
|
|
11062
11062
|
if (tmp_0) {
|
|
11063
11063
|
tmp = new CombinationToAnnounceAction(findFirstRoundCombinations, acceptedCombinations, declinedCombinations);
|
|
11064
11064
|
} else {
|
|
11065
|
-
var
|
|
11066
|
-
var findBellaCombination =
|
|
11065
|
+
var tmp441_safe_receiver = this.t6j_1.g4j(action_0.s6h_1.i2u_1, playerCombinations, table.config.rules.oneTryToProtectBella);
|
|
11066
|
+
var findBellaCombination = tmp441_safe_receiver == null ? null : mapFromDetailed(tmp441_safe_receiver);
|
|
11067
11067
|
var tmp_6;
|
|
11068
11068
|
var tmp_7;
|
|
11069
11069
|
var tmp_8;
|
|
@@ -11128,7 +11128,7 @@
|
|
|
11128
11128
|
if (tmp_7) {
|
|
11129
11129
|
tmp_6 = new CombinationToAnnounceAction(listOf_0(findBellaCombination), acceptedCombinations, declinedCombinations);
|
|
11130
11130
|
} else {
|
|
11131
|
-
var
|
|
11131
|
+
var tmp442_playerId = player.playerId;
|
|
11132
11132
|
// Inline function 'kotlin.takeIf' call
|
|
11133
11133
|
// Inline function 'kotlin.contracts.contract' call
|
|
11134
11134
|
var tmp_11;
|
|
@@ -11139,10 +11139,10 @@
|
|
|
11139
11139
|
} else {
|
|
11140
11140
|
tmp_11 = null;
|
|
11141
11141
|
}
|
|
11142
|
-
var
|
|
11143
|
-
var
|
|
11144
|
-
var
|
|
11145
|
-
tmp_6 = new CardFromClientAction(
|
|
11142
|
+
var tmp443_combinations = tmp_11;
|
|
11143
|
+
var tmp444_card = action_0.s6h_1.i2u_1;
|
|
11144
|
+
var tmp445_tag = this.u6j_1.n4j(table.gameInfo.u49_1.d4e(), table.cardsOnTable.m());
|
|
11145
|
+
tmp_6 = new CardFromClientAction(tmp442_playerId, false, tmp445_tag, tmp444_card, tmp443_combinations);
|
|
11146
11146
|
}
|
|
11147
11147
|
tmp = tmp_6;
|
|
11148
11148
|
}
|
|
@@ -11197,10 +11197,10 @@
|
|
|
11197
11197
|
store.dispatch(new CardPutAction(card, acceptedCombinations, declinedCombinations));
|
|
11198
11198
|
} else {
|
|
11199
11199
|
var tmp = store.dispatch;
|
|
11200
|
-
var
|
|
11201
|
-
var
|
|
11202
|
-
var
|
|
11203
|
-
tmp(new CombinationChoiceFromClientAction(
|
|
11200
|
+
var tmp446_playerId = get_currentPlayer(store.state.v32()).playerId;
|
|
11201
|
+
var tmp447_isAccepted = action_0.z6j_1;
|
|
11202
|
+
var tmp448_tag = this.v6j_1.l4j(store.state.v32().sceneInfo);
|
|
11203
|
+
tmp(new CombinationChoiceFromClientAction(tmp446_playerId, false, tmp448_tag, tmp447_isAccepted));
|
|
11204
11204
|
}
|
|
11205
11205
|
};
|
|
11206
11206
|
protoOf(_no_name_provided__qut3iv_36).o2x = function (store, next, action) {
|
|
@@ -11568,7 +11568,7 @@
|
|
|
11568
11568
|
if (!(nextTurnPlayerId == null) && currentPlayerId === nextTurnPlayerId) {
|
|
11569
11569
|
var nextTurnPlayer = getPlayer(table.players, nextTurnPlayerId);
|
|
11570
11570
|
if (lastCardInteractor.a4j(nextTurnPlayer)) {
|
|
11571
|
-
var gameCard = single(nextTurnPlayer.
|
|
11571
|
+
var gameCard = single(nextTurnPlayer.b37_1);
|
|
11572
11572
|
return new CardPutAction(new ProcessingCard(gameCard, null));
|
|
11573
11573
|
}
|
|
11574
11574
|
}
|
|
@@ -11623,29 +11623,29 @@
|
|
|
11623
11623
|
var whoChoseSuitPlayerId = getWhoChoseSuit(table.players).playerId;
|
|
11624
11624
|
var tmp_1 = store.dispatch;
|
|
11625
11625
|
// Inline function 'kotlin.collections.map' call
|
|
11626
|
-
var this_1 = $pointsInteractor.d4n(scene.
|
|
11626
|
+
var this_1 = $pointsInteractor.d4n(scene.c3l_1);
|
|
11627
11627
|
// Inline function 'kotlin.collections.mapTo' call
|
|
11628
11628
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
11629
11629
|
var tmp0_iterator = this_1.j();
|
|
11630
11630
|
while (tmp0_iterator.k()) {
|
|
11631
11631
|
var item = tmp0_iterator.l();
|
|
11632
11632
|
// Inline function 'games.jass.logic.client.redux.middlewares.messages.messagesMiddleware.<anonymous>.<anonymous>' call
|
|
11633
|
-
var
|
|
11633
|
+
var tmp455_points = item.y3w_1;
|
|
11634
11634
|
// Inline function 'kotlin.collections.map' call
|
|
11635
|
-
var this_2 = item.
|
|
11635
|
+
var this_2 = item.x3w_1;
|
|
11636
11636
|
// Inline function 'kotlin.collections.mapTo' call
|
|
11637
11637
|
var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(this_2, 10));
|
|
11638
11638
|
var tmp0_iterator_0 = this_2.j();
|
|
11639
11639
|
while (tmp0_iterator_0.k()) {
|
|
11640
11640
|
var item_0 = tmp0_iterator_0.l();
|
|
11641
11641
|
// Inline function 'games.jass.logic.client.redux.middlewares.messages.messagesMiddleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
11642
|
-
var tmp$ret$1 = getPlayer(table.players, item_0).
|
|
11642
|
+
var tmp$ret$1 = getPlayer(table.players, item_0).z36_1;
|
|
11643
11643
|
destination_0.e(tmp$ret$1);
|
|
11644
11644
|
}
|
|
11645
|
-
var tmp$ret$4 = new PointItemViewModel(destination_0,
|
|
11645
|
+
var tmp$ret$4 = new PointItemViewModel(destination_0, tmp455_points);
|
|
11646
11646
|
destination.e(tmp$ret$4);
|
|
11647
11647
|
}
|
|
11648
|
-
tmp_0 = tmp_1(new MessageMechanicAction($factory.k4i(table.gameInfo.
|
|
11648
|
+
tmp_0 = tmp_1(new MessageMechanicAction($factory.k4i(table.gameInfo.u49_1, destination, scene.e3l(whoChoseSuitPlayerId), scene.d3l(whoChoseSuitPlayerId), scene.z3k_1)));
|
|
11649
11649
|
}
|
|
11650
11650
|
tmp = tmp_0;
|
|
11651
11651
|
} else {
|
|
@@ -11653,8 +11653,8 @@
|
|
|
11653
11653
|
// Inline function 'kotlin.with' call
|
|
11654
11654
|
// Inline function 'kotlin.contracts.contract' call
|
|
11655
11655
|
var $this$with = state.v32();
|
|
11656
|
-
var player = getPlayer($this$with.players, action.
|
|
11657
|
-
tmp = store.dispatch(new MessageMechanicAction($factory.j4i(player.
|
|
11656
|
+
var player = getPlayer($this$with.players, action.u4n_1);
|
|
11657
|
+
tmp = store.dispatch(new MessageMechanicAction($factory.j4i(player.c37_1.o3a(), action.s4n_1, player.z36_1)));
|
|
11658
11658
|
} else {
|
|
11659
11659
|
if (action instanceof ExpectantCreatedClientAction) {
|
|
11660
11660
|
// Inline function 'kotlin.with' call
|
|
@@ -11662,7 +11662,7 @@
|
|
|
11662
11662
|
var $this$with_0 = state.v32();
|
|
11663
11663
|
var expectantAction = action.z6h_1.g5e_1;
|
|
11664
11664
|
if (expectantAction instanceof CombinationChoiceMechanicAction) {
|
|
11665
|
-
if (expectantAction.
|
|
11665
|
+
if (expectantAction.q4r_1) {
|
|
11666
11666
|
var tmp$ret$8;
|
|
11667
11667
|
$l$block_0: {
|
|
11668
11668
|
// Inline function 'games.jass.logic.data.models.scenes.requireActData' call
|
|
@@ -11674,20 +11674,20 @@
|
|
|
11674
11674
|
throw new MechanicException('Required ' + getKClass(CombinationActData).ba() + ', current act is ' + toString(this_3));
|
|
11675
11675
|
}
|
|
11676
11676
|
var combinationActData = tmp$ret$8;
|
|
11677
|
-
var player_0 = getPlayer($this$with_0.players, expectantAction.
|
|
11677
|
+
var player_0 = getPlayer($this$with_0.players, expectantAction.s4r_1);
|
|
11678
11678
|
var tmp_2 = store.dispatch;
|
|
11679
11679
|
// Inline function 'kotlin.collections.map' call
|
|
11680
|
-
var this_4 = combinationActData.
|
|
11680
|
+
var this_4 = combinationActData.a3k_1;
|
|
11681
11681
|
// Inline function 'kotlin.collections.mapTo' call
|
|
11682
11682
|
var destination_1 = ArrayList_init_$Create$(collectionSizeOrDefault(this_4, 10));
|
|
11683
11683
|
var tmp0_iterator_1 = this_4.j();
|
|
11684
11684
|
while (tmp0_iterator_1.k()) {
|
|
11685
11685
|
var item_1 = tmp0_iterator_1.l();
|
|
11686
11686
|
// Inline function 'games.jass.logic.client.redux.middlewares.messages.messagesMiddleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
11687
|
-
var tmp$ret$9 = item_1.
|
|
11687
|
+
var tmp$ret$9 = item_1.d3k_1;
|
|
11688
11688
|
destination_1.e(tmp$ret$9);
|
|
11689
11689
|
}
|
|
11690
|
-
tmp_2(new MessageMechanicAction($factory.h4i(destination_1, player_0.
|
|
11690
|
+
tmp_2(new MessageMechanicAction($factory.h4i(destination_1, player_0.z36_1)));
|
|
11691
11691
|
}
|
|
11692
11692
|
} else {
|
|
11693
11693
|
if (expectantAction instanceof RestartGameMechanicAction) {
|
|
@@ -11706,26 +11706,26 @@
|
|
|
11706
11706
|
// Inline function 'kotlin.contracts.contract' call
|
|
11707
11707
|
// Inline function 'games.jass.logic.client.redux.middlewares.messages.messagesMiddleware.<anonymous>.<anonymous>' call
|
|
11708
11708
|
var $this$with_1 = state.v32();
|
|
11709
|
-
var
|
|
11709
|
+
var tmp457_safe_receiver = action.x4n_1;
|
|
11710
11710
|
var tmp_3;
|
|
11711
|
-
if (
|
|
11711
|
+
if (tmp457_safe_receiver == null) {
|
|
11712
11712
|
tmp_3 = null;
|
|
11713
11713
|
} else {
|
|
11714
11714
|
// Inline function 'kotlin.let' call
|
|
11715
11715
|
// Inline function 'kotlin.contracts.contract' call
|
|
11716
|
-
var player_1 = getPlayer($this$with_1.players, action.
|
|
11716
|
+
var player_1 = getPlayer($this$with_1.players, action.y4n_1);
|
|
11717
11717
|
var tmp_4 = store.dispatch;
|
|
11718
11718
|
// Inline function 'kotlin.collections.map' call
|
|
11719
11719
|
// Inline function 'kotlin.collections.mapTo' call
|
|
11720
|
-
var destination_2 = ArrayList_init_$Create$(collectionSizeOrDefault(
|
|
11721
|
-
var tmp0_iterator_2 =
|
|
11720
|
+
var destination_2 = ArrayList_init_$Create$(collectionSizeOrDefault(tmp457_safe_receiver, 10));
|
|
11721
|
+
var tmp0_iterator_2 = tmp457_safe_receiver.j();
|
|
11722
11722
|
while (tmp0_iterator_2.k()) {
|
|
11723
11723
|
var item_2 = tmp0_iterator_2.l();
|
|
11724
11724
|
// Inline function 'games.jass.logic.client.redux.middlewares.messages.messagesMiddleware.<anonymous>.<anonymous>.<anonymous>.<anonymous>' call
|
|
11725
|
-
var tmp$ret$13 = item_2.
|
|
11725
|
+
var tmp$ret$13 = item_2.d3k_1;
|
|
11726
11726
|
destination_2.e(tmp$ret$13);
|
|
11727
11727
|
}
|
|
11728
|
-
tmp_4(new MessageMechanicAction($factory.h4i(destination_2, player_1.
|
|
11728
|
+
tmp_4(new MessageMechanicAction($factory.h4i(destination_2, player_1.z36_1)));
|
|
11729
11729
|
tmp_3 = Unit_instance;
|
|
11730
11730
|
}
|
|
11731
11731
|
tmp = Unit_instance;
|
|
@@ -11895,25 +11895,25 @@
|
|
|
11895
11895
|
var tmp = this.v8_1;
|
|
11896
11896
|
if (tmp === 0) {
|
|
11897
11897
|
this.w8_1 = 1;
|
|
11898
|
-
var
|
|
11898
|
+
var tmp459_subject = this.n6m_1;
|
|
11899
11899
|
var tmp_0;
|
|
11900
|
-
if (
|
|
11900
|
+
if (tmp459_subject instanceof MessageFromClientAction) {
|
|
11901
11901
|
tmp_0 = this.o6m_1.g4m(this.n6m_1, this.p6m_1.players);
|
|
11902
11902
|
} else {
|
|
11903
|
-
if (
|
|
11903
|
+
if (tmp459_subject instanceof PartnerSelectedFromClientAction) {
|
|
11904
11904
|
tmp_0 = this.o6m_1.h4m(this.n6m_1, this.p6m_1.players);
|
|
11905
11905
|
} else {
|
|
11906
|
-
if (
|
|
11906
|
+
if (tmp459_subject instanceof PlayerReadyFromClientAction) {
|
|
11907
11907
|
tmp_0 = this.o6m_1.i4m(this.n6m_1);
|
|
11908
11908
|
} else {
|
|
11909
|
-
if (
|
|
11909
|
+
if (tmp459_subject instanceof SuitChoiceFromClientAction) {
|
|
11910
11910
|
tmp_0 = this.o6m_1.j4m(this.n6m_1, this.p6m_1.players, this.p6m_1.config);
|
|
11911
11911
|
} else {
|
|
11912
|
-
if (
|
|
11912
|
+
if (tmp459_subject instanceof CombinationChoiceFromClientAction) {
|
|
11913
11913
|
tmp_0 = this.o6m_1.k4m(this.n6m_1, this.p6m_1);
|
|
11914
11914
|
} else {
|
|
11915
|
-
if (
|
|
11916
|
-
var newCardsOnTheTable = plus_0(this.p6m_1.cardsOnTable, new CardOnTable(this.n6m_1.
|
|
11915
|
+
if (tmp459_subject instanceof CardFromClientAction) {
|
|
11916
|
+
var newCardsOnTheTable = plus_0(this.p6m_1.cardsOnTable, new CardOnTable(this.n6m_1.t3t_1, this.p6m_1.cardsOnTable.m(), this.n6m_1.w3t_1));
|
|
11917
11917
|
var cardMechanicAction = this.o6m_1.l4m(this.n6m_1, newCardsOnTheTable, this.p6m_1.players, this.p6m_1.config);
|
|
11918
11918
|
tmp_0 = cardMechanicAction;
|
|
11919
11919
|
} else {
|
|
@@ -11965,8 +11965,8 @@
|
|
|
11965
11965
|
$l$block: {
|
|
11966
11966
|
// Inline function 'games.jass.logic.client.redux.middlewares.online.clientConsumeFromClientActionsMiddleware.<anonymous>' call
|
|
11967
11967
|
var action_0 = action instanceof FromClientAction ? action : THROW_CCE();
|
|
11968
|
-
var
|
|
11969
|
-
var version =
|
|
11968
|
+
var tmp458_safe_receiver = store.state.e32_1;
|
|
11969
|
+
var version = tmp458_safe_receiver == null ? null : tmp458_safe_receiver.version;
|
|
11970
11970
|
if (version == null || Toggles_instance.i2o(version)) {
|
|
11971
11971
|
next(action_0);
|
|
11972
11972
|
break $l$block;
|
|
@@ -12370,7 +12370,7 @@
|
|
|
12370
12370
|
while (tmp0_iterator_0.k()) {
|
|
12371
12371
|
var element_0 = tmp0_iterator_0.l();
|
|
12372
12372
|
// Inline function 'games.jass.logic.client.redux.middlewares.single.reloadTimersWhenContinueGameMiddleware.<anonymous>.<anonymous>' call
|
|
12373
|
-
store.dispatch(new StartTimerAction(new PlayerTurnTimerTag(element_0.playerId, element_0.
|
|
12373
|
+
store.dispatch(new StartTimerAction(new PlayerTurnTimerTag(element_0.playerId, element_0.a37_1.b2s()), getInitialPlayerTurnTimerDelayMillis(element_0, table.config, this.g6p_1, this.h6p_1), VOID, TimerType_DELAY_getInstance()));
|
|
12374
12374
|
}
|
|
12375
12375
|
};
|
|
12376
12376
|
protoOf(_no_name_provided__qut3iv_50).o2x = function (store, next, action) {
|
|
@@ -12492,8 +12492,8 @@
|
|
|
12492
12492
|
case 0:
|
|
12493
12493
|
this.w8_1 = 2;
|
|
12494
12494
|
var tmp_0 = this;
|
|
12495
|
-
var
|
|
12496
|
-
var tmp0_elvis_lhs =
|
|
12495
|
+
var tmp462_safe_receiver = this.f6q_1.state.e32_1;
|
|
12496
|
+
var tmp0_elvis_lhs = tmp462_safe_receiver == null ? null : tmp462_safe_receiver.id;
|
|
12497
12497
|
tmp_0.i6q_1 = tmp0_elvis_lhs == null ? 'temp_game_id' : tmp0_elvis_lhs;
|
|
12498
12498
|
this.v8_1 = 1;
|
|
12499
12499
|
suspendResult = this.g6q_1.e5g(this.i6q_1, this);
|
|
@@ -12663,11 +12663,11 @@
|
|
|
12663
12663
|
this.w8_1 = 4;
|
|
12664
12664
|
this.l6r_1 = this.h6r_1.earnedBiggestPointPlayerId === this.i6r_1;
|
|
12665
12665
|
var tmp_0 = this;
|
|
12666
|
-
var
|
|
12667
|
-
tmp_0.m6r_1 = (
|
|
12666
|
+
var tmp463_safe_receiver = this.h6r_1.gameHistory.lastRoundHistory.roundWinners;
|
|
12667
|
+
tmp_0.m6r_1 = (tmp463_safe_receiver == null ? null : contains(tmp463_safe_receiver, this.i6r_1)) === true;
|
|
12668
12668
|
var tmp_1 = this;
|
|
12669
|
-
var
|
|
12670
|
-
tmp_1.n6r_1 = (
|
|
12669
|
+
var tmp464_safe_receiver = this.h6r_1.gameHistory.lastRoundHistory.roundCommitted;
|
|
12670
|
+
tmp_1.n6r_1 = (tmp464_safe_receiver == null ? null : contains(tmp464_safe_receiver, this.i6r_1)) === true;
|
|
12671
12671
|
this.v8_1 = 1;
|
|
12672
12672
|
suspendResult = this.j6r_1.b5g(this.n6r_1, this.m6r_1, this.l6r_1, this);
|
|
12673
12673
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -12906,9 +12906,9 @@
|
|
|
12906
12906
|
if (!(destination.m() === 1)) {
|
|
12907
12907
|
var state = store.state;
|
|
12908
12908
|
this.v6r_1.w(VOID, 'checkValidCurrentPlayerIdMiddleware: currentPlayer id is not matched');
|
|
12909
|
-
var
|
|
12910
|
-
var
|
|
12911
|
-
if (!((
|
|
12909
|
+
var tmp467_safe_receiver = get_clientStateOrNull_0(state);
|
|
12910
|
+
var tmp468_safe_receiver = tmp467_safe_receiver == null ? null : tmp467_safe_receiver.d5f_1;
|
|
12911
|
+
if (!((tmp468_safe_receiver == null ? null : tmp468_safe_receiver.i5d()) === false)) {
|
|
12912
12912
|
store.dispatch(new ErrorAction(new ErrorState('Not valid user session, id:' + this.u6r_1, VOID, new GameErrorReason(Reason_INTERNAL_ERROR_getInstance()))));
|
|
12913
12913
|
} else {
|
|
12914
12914
|
throw new SessionException(401, 'Not valid user session, id:' + this.u6r_1);
|
|
@@ -13004,8 +13004,8 @@
|
|
|
13004
13004
|
throw new MechanicException('Required ' + getKClass(CombinationActData).ba() + ', current act is ' + toString(this_0));
|
|
13005
13005
|
}
|
|
13006
13006
|
var actData = tmp$ret$0;
|
|
13007
|
-
if (currentPlayerId === actData.
|
|
13008
|
-
return new CombinationToAnnounceState(actData.
|
|
13007
|
+
if (currentPlayerId === actData.f3k()) {
|
|
13008
|
+
return new CombinationToAnnounceState(actData.a3k_1, null, null);
|
|
13009
13009
|
}
|
|
13010
13010
|
}
|
|
13011
13011
|
return null;
|
|
@@ -13048,28 +13048,28 @@
|
|
|
13048
13048
|
return tmp;
|
|
13049
13049
|
};
|
|
13050
13050
|
protoOf(ClientLifecycleReducer).i6s = function (state, messagesReducer) {
|
|
13051
|
-
var
|
|
13052
|
-
var
|
|
13053
|
-
var
|
|
13054
|
-
var
|
|
13055
|
-
var
|
|
13056
|
-
var
|
|
13057
|
-
return Companion_instance_9.j6s(
|
|
13051
|
+
var tmp470_config = state.d5f_1;
|
|
13052
|
+
var tmp471_isForeground = state.i5f_1;
|
|
13053
|
+
var tmp472_isSceneActive = state.j5f_1;
|
|
13054
|
+
var tmp473_bufferedActions = state.h5f_1;
|
|
13055
|
+
var tmp474_error = state.q5f_1;
|
|
13056
|
+
var tmp475_messages = messagesReducer(state.e5f_1);
|
|
13057
|
+
return Companion_instance_9.j6s(tmp470_config, tmp471_isForeground, tmp472_isSceneActive, tmp475_messages, tmp473_bufferedActions, tmp474_error);
|
|
13058
13058
|
};
|
|
13059
13059
|
protoOf(ClientLifecycleReducer).k6s = function (state) {
|
|
13060
13060
|
if (state.d5f_1.h5d()) {
|
|
13061
13061
|
return Companion_instance_9.m6s(state.d5f_1, state.i5f_1, state.j5f_1);
|
|
13062
13062
|
} else {
|
|
13063
|
-
var
|
|
13064
|
-
var
|
|
13065
|
-
var
|
|
13066
|
-
var
|
|
13067
|
-
var
|
|
13068
|
-
var
|
|
13069
|
-
var
|
|
13070
|
-
var
|
|
13071
|
-
var
|
|
13072
|
-
return Companion_instance_9.l6s(
|
|
13063
|
+
var tmp477_config = state.d5f_1;
|
|
13064
|
+
var tmp478_isForeground = state.i5f_1;
|
|
13065
|
+
var tmp479_isSceneActive = state.j5f_1;
|
|
13066
|
+
var tmp480_error = state.q5f_1;
|
|
13067
|
+
var tmp481_expectants = state.g5f_1;
|
|
13068
|
+
var tmp482_bufferedActions = state.h5f_1;
|
|
13069
|
+
var tmp483_combinations = state.m5f_1;
|
|
13070
|
+
var tmp484_messages = state.e5f_1;
|
|
13071
|
+
var tmp485_processingCard = state.p5f_1;
|
|
13072
|
+
return Companion_instance_9.l6s(tmp477_config, tmp478_isForeground, tmp479_isSceneActive, tmp484_messages, tmp482_bufferedActions, tmp481_expectants, tmp483_combinations, tmp485_processingCard, tmp480_error);
|
|
13073
13073
|
}
|
|
13074
13074
|
};
|
|
13075
13075
|
protoOf(ClientLifecycleReducer).n6s = function (messages) {
|
|
@@ -13123,22 +13123,22 @@
|
|
|
13123
13123
|
// Inline function 'games.jass.logic.client.redux.redusers.updateMessagesAsNotShown.<anonymous>' call
|
|
13124
13124
|
var tmp;
|
|
13125
13125
|
if (item instanceof TextMessage) {
|
|
13126
|
-
tmp = item.
|
|
13126
|
+
tmp = item.l36(VOID, VOID, VOID, false);
|
|
13127
13127
|
} else {
|
|
13128
13128
|
if (item instanceof PhraseMessage) {
|
|
13129
|
-
tmp = item.
|
|
13129
|
+
tmp = item.z35(VOID, VOID, VOID, false);
|
|
13130
13130
|
} else {
|
|
13131
13131
|
if (item instanceof AnnouncedCombinationMessage) {
|
|
13132
|
-
tmp = item.
|
|
13132
|
+
tmp = item.j35(VOID, VOID, VOID, false);
|
|
13133
13133
|
} else {
|
|
13134
13134
|
if (item instanceof WinnerCombinationsMessage) {
|
|
13135
|
-
tmp = item.
|
|
13135
|
+
tmp = item.p35(VOID, VOID, false);
|
|
13136
13136
|
} else {
|
|
13137
13137
|
if (item instanceof PreviousRoundPointsMessage) {
|
|
13138
|
-
tmp = item.
|
|
13138
|
+
tmp = item.a35(VOID, VOID, VOID, VOID, VOID, VOID, false);
|
|
13139
13139
|
} else {
|
|
13140
13140
|
if (item instanceof StickerMessage) {
|
|
13141
|
-
tmp = item.
|
|
13141
|
+
tmp = item.f36(VOID, VOID, VOID, false);
|
|
13142
13142
|
} else {
|
|
13143
13143
|
gameLogger.w(VOID, "updateMessagesAsNotShown: Can't support this message " + toString_0(item));
|
|
13144
13144
|
tmp = item;
|
|
@@ -13176,15 +13176,15 @@
|
|
|
13176
13176
|
}
|
|
13177
13177
|
protoOf(ClientMechanicLifecycleReducer).x4y = function (state, action) {
|
|
13178
13178
|
var clientState = get_clientStateOrNull(state.f32_1);
|
|
13179
|
-
var
|
|
13180
|
-
var
|
|
13181
|
-
var
|
|
13182
|
-
var
|
|
13183
|
-
var
|
|
13184
|
-
var
|
|
13185
|
-
var
|
|
13186
|
-
var
|
|
13187
|
-
var
|
|
13179
|
+
var tmp494_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
13180
|
+
var tmp487_$this = this.g4z_1;
|
|
13181
|
+
var tmp488_tableId = action.q4q_1;
|
|
13182
|
+
var tmp489_gameId = action.q4q_1;
|
|
13183
|
+
var tmp490_version = action.r4q_1;
|
|
13184
|
+
var tmp491_config = action.p4q_1;
|
|
13185
|
+
var tmp492_users = action.t4q_1;
|
|
13186
|
+
var tmp493_gameCreatorPlayerId = action.s4q_1;
|
|
13187
|
+
var tmp495_tableOrNull = tmp487_$this.k50(tmp488_tableId, tmp489_gameId, tmp491_config, tmp490_version, tmp492_users, tmp493_gameCreatorPlayerId);
|
|
13188
13188
|
var tmp;
|
|
13189
13189
|
if (clientState == null) {
|
|
13190
13190
|
this.r6s_1.w(VOID, 'ClientPayload is not onStart, should be init via InitClientStateAction');
|
|
@@ -13192,38 +13192,38 @@
|
|
|
13192
13192
|
} else {
|
|
13193
13193
|
tmp = clientState;
|
|
13194
13194
|
}
|
|
13195
|
-
var
|
|
13196
|
-
return state.m4p(
|
|
13195
|
+
var tmp496_payload = tmp;
|
|
13196
|
+
return state.m4p(tmp495_tableOrNull, tmp496_payload, tmp494_gameLifecycleState);
|
|
13197
13197
|
};
|
|
13198
13198
|
protoOf(ClientMechanicLifecycleReducer).w4y = function (state, action) {
|
|
13199
|
-
var
|
|
13200
|
-
var
|
|
13199
|
+
var tmp497_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
13200
|
+
var tmp498_tableOrNull = this.g4z_1.l50(state.v32(), action.gameId);
|
|
13201
13201
|
var tmp = get_clientState_0(state);
|
|
13202
|
-
var
|
|
13203
|
-
return state.m4p(
|
|
13202
|
+
var tmp499_payload = this.s6s_1.i6s(tmp, ClientLifecycleReducer$gameFinishedMessagesReducer$ref(this.s6s_1));
|
|
13203
|
+
return state.m4p(tmp498_tableOrNull, tmp499_payload, tmp497_gameLifecycleState);
|
|
13204
13204
|
};
|
|
13205
13205
|
protoOf(ClientMechanicLifecycleReducer).v4y = function (state, action) {
|
|
13206
13206
|
var clientState = get_clientStateOrNull(action.a4s_1);
|
|
13207
|
-
var
|
|
13208
|
-
var
|
|
13207
|
+
var tmp500_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
13208
|
+
var tmp501_tableOrNull = action.y4r_1;
|
|
13209
13209
|
var tmp;
|
|
13210
13210
|
if (clientState == null) {
|
|
13211
13211
|
tmp = Companion_instance_9.v6s(this.q6s_1, this.t6s_1.d6s(get_currentPlayer(action.y4r_1).playerId, action.y4r_1.sceneInfo));
|
|
13212
13212
|
} else {
|
|
13213
13213
|
tmp = this.s6s_1.k6s(clientState);
|
|
13214
13214
|
}
|
|
13215
|
-
var
|
|
13216
|
-
return state.m4p(
|
|
13215
|
+
var tmp502_payload = tmp;
|
|
13216
|
+
return state.m4p(tmp501_tableOrNull, tmp502_payload, tmp500_gameLifecycleState, null);
|
|
13217
13217
|
};
|
|
13218
13218
|
protoOf(ClientMechanicLifecycleReducer).t4y = function (state, action) {
|
|
13219
13219
|
return state.m4p(VOID, VOID, GameLifecycleState_FINISHED_getInstance(), action.a4r_1);
|
|
13220
13220
|
};
|
|
13221
13221
|
protoOf(ClientMechanicLifecycleReducer).u4y = function (state, action) {
|
|
13222
|
-
var
|
|
13223
|
-
var
|
|
13224
|
-
var
|
|
13225
|
-
var
|
|
13226
|
-
return state.m4p(
|
|
13222
|
+
var tmp503_gameLifecycleState = GameLifecycleState_FINISHING_getInstance();
|
|
13223
|
+
var tmp504_terminationGameReason = action.x4q_1;
|
|
13224
|
+
var tmp505_tableOrNull = this.s6s_1.h6s(state.v32(), get_clientState_0(state));
|
|
13225
|
+
var tmp506_payload = this.s6s_1.k6s(get_clientState_0(state));
|
|
13226
|
+
return state.m4p(tmp505_tableOrNull, tmp506_payload, tmp503_gameLifecycleState, tmp504_terminationGameReason);
|
|
13227
13227
|
};
|
|
13228
13228
|
protoOf(ClientMechanicLifecycleReducer).s4y = function (state, action) {
|
|
13229
13229
|
var tmp = this.g4z_1.i4z(state.v32());
|
|
@@ -13231,17 +13231,17 @@
|
|
|
13231
13231
|
return state.m4p(tmp, this.s6s_1.i6s(tmp_0, ClientLifecycleReducer$roundFinishedMessagesReducer$ref(this.s6s_1)));
|
|
13232
13232
|
};
|
|
13233
13233
|
protoOf(ClientMechanicLifecycleReducer).r4y = function (state, action) {
|
|
13234
|
-
var
|
|
13234
|
+
var tmp507_safe_receiver = get_clientStateOrNull_0(state);
|
|
13235
13235
|
var tmp;
|
|
13236
|
-
if (
|
|
13236
|
+
if (tmp507_safe_receiver == null) {
|
|
13237
13237
|
tmp = null;
|
|
13238
13238
|
} else {
|
|
13239
13239
|
// Inline function 'kotlin.let' call
|
|
13240
13240
|
// Inline function 'kotlin.contracts.contract' call
|
|
13241
13241
|
// Inline function 'games.jass.logic.client.redux.redusers.ClientMechanicLifecycleReducer.onError.<anonymous>' call
|
|
13242
|
-
tmp = this.s6s_1.k6s(
|
|
13242
|
+
tmp = this.s6s_1.k6s(tmp507_safe_receiver).k6n(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, action.x4r_1);
|
|
13243
13243
|
}
|
|
13244
|
-
return state.m4p(VOID, tmp, GameLifecycleState_FINISHED_getInstance(), action.x4r_1.
|
|
13244
|
+
return state.m4p(VOID, tmp, GameLifecycleState_FINISHED_getInstance(), action.x4r_1.a3t_1);
|
|
13245
13245
|
};
|
|
13246
13246
|
function clientResetProcessingCardReducer() {
|
|
13247
13247
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
@@ -13336,8 +13336,8 @@
|
|
|
13336
13336
|
var tmp_0 = get_clientState_0(state);
|
|
13337
13337
|
var tmp_1;
|
|
13338
13338
|
if (action_0.j6h_1) {
|
|
13339
|
-
var cards = last(state.v32().bribes).
|
|
13340
|
-
tmp_1 = new LastBribeState(first(cards).
|
|
13339
|
+
var cards = last(state.v32().bribes).n3r_1;
|
|
13340
|
+
tmp_1 = new LastBribeState(first(cards).g3j_1, getWhoGotLastBribe(state.v32().players).playerId, cards);
|
|
13341
13341
|
} else {
|
|
13342
13342
|
tmp_1 = null;
|
|
13343
13343
|
}
|
|
@@ -13348,12 +13348,12 @@
|
|
|
13348
13348
|
var tmp_3;
|
|
13349
13349
|
if (action_0.k6h_1) {
|
|
13350
13350
|
var players = state.v32().players;
|
|
13351
|
-
var
|
|
13352
|
-
var
|
|
13353
|
-
var
|
|
13354
|
-
var
|
|
13355
|
-
var
|
|
13356
|
-
tmp_3 = new GameInfoState(
|
|
13351
|
+
var tmp512_trump = state.v32().currentTrump;
|
|
13352
|
+
var tmp510_safe_receiver = singleOrNull(filterWhoChoseSuit(players));
|
|
13353
|
+
var tmp513_whoChoseSuitPlayerId = tmp510_safe_receiver == null ? null : tmp510_safe_receiver.playerId;
|
|
13354
|
+
var tmp511_safe_receiver = singleOrNull(filterWhoShuffleCards(players));
|
|
13355
|
+
var tmp514_whoShuffleCardsPlayerId = tmp511_safe_receiver == null ? null : tmp511_safe_receiver.playerId;
|
|
13356
|
+
tmp_3 = new GameInfoState(tmp512_trump, tmp514_whoShuffleCardsPlayerId, tmp513_whoChoseSuitPlayerId);
|
|
13357
13357
|
} else {
|
|
13358
13358
|
tmp_3 = null;
|
|
13359
13359
|
}
|
|
@@ -13369,9 +13369,9 @@
|
|
|
13369
13369
|
tmp = state.m4p(VOID, Companion_instance_9.u6s(action_0.m6h_1));
|
|
13370
13370
|
} else {
|
|
13371
13371
|
if (action_0 instanceof UpdateConfigAction) {
|
|
13372
|
-
var
|
|
13372
|
+
var tmp515_safe_receiver = action_0.r6h_1;
|
|
13373
13373
|
var tmp_4;
|
|
13374
|
-
if (
|
|
13374
|
+
if (tmp515_safe_receiver == null) {
|
|
13375
13375
|
tmp_4 = null;
|
|
13376
13376
|
} else {
|
|
13377
13377
|
// Inline function 'kotlin.let' call
|
|
@@ -13385,22 +13385,22 @@
|
|
|
13385
13385
|
while (tmp0_iterator.k()) {
|
|
13386
13386
|
var item = tmp0_iterator.l();
|
|
13387
13387
|
// Inline function 'games.jass.logic.client.redux.redusers.clientUIReducer.<anonymous>.<anonymous>.<anonymous>' call
|
|
13388
|
-
var updatedUser = firstOrNull(filterByPlayerId(
|
|
13389
|
-
var tmp$ret$0 = item.
|
|
13388
|
+
var updatedUser = firstOrNull(filterByPlayerId(tmp515_safe_receiver, item.playerId));
|
|
13389
|
+
var tmp$ret$0 = item.v37(updatedUser == null ? item.z36_1 : updatedUser);
|
|
13390
13390
|
destination.e(tmp$ret$0);
|
|
13391
13391
|
}
|
|
13392
13392
|
tmp_4 = destination;
|
|
13393
13393
|
}
|
|
13394
13394
|
var updatedPlayers = tmp_4;
|
|
13395
13395
|
var tmp_5 = state.v32();
|
|
13396
|
-
var
|
|
13396
|
+
var tmp516_$this = state.v32().config;
|
|
13397
13397
|
var tmp0_elvis_lhs = action_0.p6h_1;
|
|
13398
|
-
var
|
|
13398
|
+
var tmp517_rulesSetType = tmp0_elvis_lhs == null ? state.v32().config.rulesSetType : tmp0_elvis_lhs;
|
|
13399
13399
|
var tmp1_elvis_lhs = action_0.q6h_1;
|
|
13400
|
-
var
|
|
13400
|
+
var tmp518_rules = tmp1_elvis_lhs == null ? state.v32().config.rules : tmp1_elvis_lhs;
|
|
13401
13401
|
var tmp2_elvis_lhs = action_0.o6h_1;
|
|
13402
|
-
var
|
|
13403
|
-
var tmp_6 =
|
|
13402
|
+
var tmp519_options = tmp2_elvis_lhs == null ? state.v32().config.options : tmp2_elvis_lhs;
|
|
13403
|
+
var tmp_6 = tmp516_$this.copy(tmp518_rules, tmp517_rulesSetType, tmp519_options);
|
|
13404
13404
|
var tmp_7 = tmp_5.copy(VOID, VOID, VOID, tmp_6, updatedPlayers == null ? state.v32().players : updatedPlayers);
|
|
13405
13405
|
var tmp_8 = get_clientState_0(state);
|
|
13406
13406
|
var tmp4_elvis_lhs = action_0.n6h_1;
|
|
@@ -13463,19 +13463,19 @@
|
|
|
13463
13463
|
var message = action.b4s_1;
|
|
13464
13464
|
var tmp;
|
|
13465
13465
|
if (isInterface(message, UserMessage)) {
|
|
13466
|
-
tmp = message.
|
|
13466
|
+
tmp = message.c35();
|
|
13467
13467
|
} else {
|
|
13468
13468
|
tmp = false;
|
|
13469
13469
|
}
|
|
13470
13470
|
if (tmp) {
|
|
13471
|
-
var player = getPlayer(table.players, message.
|
|
13472
|
-
return table.copy(VOID, VOID, VOID, VOID, updateItem(table.players, player.
|
|
13471
|
+
var player = getPlayer(table.players, message.b35().t2p_1);
|
|
13472
|
+
return table.copy(VOID, VOID, VOID, VOID, updateItem(table.players, player.v37(VOID, VOID, VOID, player.c37_1.r3a(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, player.c37_1.p37_1 - 1 | 0)), get_byIdPlayerPredicate()(player.playerId)));
|
|
13473
13473
|
}
|
|
13474
13474
|
return table;
|
|
13475
13475
|
}
|
|
13476
13476
|
function updateVoiceCount_0(table, playerId) {
|
|
13477
13477
|
var player = getPlayer(table.players, playerId);
|
|
13478
|
-
return table.copy(VOID, VOID, VOID, VOID, updateItem(table.players, player.
|
|
13478
|
+
return table.copy(VOID, VOID, VOID, VOID, updateItem(table.players, player.v37(VOID, VOID, VOID, player.c37_1.r3a(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, player.c37_1.p37_1 - 1 | 0)), get_byIdPlayerPredicate()(player.playerId)));
|
|
13479
13479
|
}
|
|
13480
13480
|
function _no_name_provided__qut3iv_64() {
|
|
13481
13481
|
}
|