raspberry_games_engine_helpers 1.8.444 → 1.8.445
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-engine.d.ts +6 -3
- package/Logic_Debertz-engine.js +748 -689
- package/Logic_Debertz-engine.js.map +1 -1
- package/package.json +1 -1
package/Logic_Debertz-engine.js
CHANGED
|
@@ -801,15 +801,15 @@
|
|
|
801
801
|
initMetadataForClass(ClearAction, 'ClearAction', VOID, VOID, [Action, NotValidateIfGameFinished]);
|
|
802
802
|
initMetadataForClass(FromClientActionPayloadProvider, 'FromClientActionPayloadProvider');
|
|
803
803
|
initMetadataForClass(FromClientAction, 'FromClientAction', VOID, VOID, [Action]);
|
|
804
|
-
initMetadataForClass(PartnerSelectedFromClientAction, 'PartnerSelectedFromClientAction', VOID, FromClientAction, [FromClientAction,
|
|
805
|
-
initMetadataForClass(PlayerReadyFromClientAction, 'PlayerReadyFromClientAction', VOID, FromClientAction, [FromClientAction,
|
|
806
|
-
initMetadataForClass(SuitChoiceFromClientAction, 'SuitChoiceFromClientAction', VOID, FromClientAction, [FromClientAction,
|
|
807
|
-
initMetadataForClass(CombinationChoiceFromClientAction, 'CombinationChoiceFromClientAction', VOID, FromClientAction, [FromClientAction,
|
|
808
|
-
initMetadataForClass(CardFromClientAction, 'CardFromClientAction', VOID, FromClientAction, [FromClientAction,
|
|
809
|
-
initMetadataForClass(TakeAllRemainingCardsFromClientAction, 'TakeAllRemainingCardsFromClientAction', VOID, FromClientAction, [FromClientAction,
|
|
804
|
+
initMetadataForClass(PartnerSelectedFromClientAction, 'PartnerSelectedFromClientAction', VOID, FromClientAction, [FromClientAction, PlayerIdContract, Action]);
|
|
805
|
+
initMetadataForClass(PlayerReadyFromClientAction, 'PlayerReadyFromClientAction', VOID, FromClientAction, [FromClientAction, PlayerIdContract, Action]);
|
|
806
|
+
initMetadataForClass(SuitChoiceFromClientAction, 'SuitChoiceFromClientAction', VOID, FromClientAction, [FromClientAction, PlayerIdContract, Action]);
|
|
807
|
+
initMetadataForClass(CombinationChoiceFromClientAction, 'CombinationChoiceFromClientAction', VOID, FromClientAction, [FromClientAction, PlayerIdContract, Action]);
|
|
808
|
+
initMetadataForClass(CardFromClientAction, 'CardFromClientAction', VOID, FromClientAction, [FromClientAction, PlayerIdContract, Action]);
|
|
809
|
+
initMetadataForClass(TakeAllRemainingCardsFromClientAction, 'TakeAllRemainingCardsFromClientAction', VOID, FromClientAction, [FromClientAction, PlayerIdContract, Action]);
|
|
810
810
|
initMetadataForClass(MessageFromClientAction, 'MessageFromClientAction', VOID, FromClientAction);
|
|
811
811
|
initMetadataForClass(ExitFromClientAction, 'ExitFromClientAction', VOID, FromClientAction);
|
|
812
|
-
initMetadataForClass(RequestedCardDecksFromClientAction, 'RequestedCardDecksFromClientAction', VOID, FromClientAction, [FromClientAction,
|
|
812
|
+
initMetadataForClass(RequestedCardDecksFromClientAction, 'RequestedCardDecksFromClientAction', VOID, FromClientAction, [FromClientAction, PlayerIdContract, Action]);
|
|
813
813
|
initMetadataForCompanion(Companion_158);
|
|
814
814
|
initMetadataForClass(ActionDeliveryPayload, 'ActionDeliveryPayload');
|
|
815
815
|
initMetadataForCompanion(Companion_159, VOID, [SerializerFactory]);
|
|
@@ -857,32 +857,32 @@
|
|
|
857
857
|
initMetadataForClass(FinishingGameMechanicAction, 'FinishingGameMechanicAction', VOID, MechanicAction, [MechanicAction, TerminatedAction, NotValidateIfGameFinishing]);
|
|
858
858
|
initMetadataForClass(FinishGameMechanicAction, 'FinishGameMechanicAction', VOID, MechanicAction, [MechanicAction, NotValidateIfGameFinishing, TerminatedAction]);
|
|
859
859
|
initMetadataForInterface(NavigationMechanicAction, 'NavigationMechanicAction', VOID, VOID, [Action]);
|
|
860
|
-
initMetadataForClass(SceneMechanicAction, 'SceneMechanicAction', VOID, MechanicAction, [MechanicAction, NavigationMechanicAction,
|
|
860
|
+
initMetadataForClass(SceneMechanicAction, 'SceneMechanicAction', VOID, MechanicAction, [MechanicAction, NavigationMechanicAction, ReleaseBufferTriggerAction, Action, PlayerIdContract, NotValidateIfGameFinished]);
|
|
861
861
|
initMetadataForClass(TeamsDataMechanicAction, 'TeamsDataMechanicAction', VOID, MechanicAction, [MechanicAction, Action, InterceptableAction, PlayerOrderChangeMechanicAction]);
|
|
862
862
|
initMetadataForClass(PlayerConnectionChangedMechanicAction, 'PlayerConnectionChangedMechanicAction', VOID, MechanicAction, [MechanicAction, NotValidateIfGameFinished]);
|
|
863
863
|
initMetadataForClass(MessageMechanicAction, 'MessageMechanicAction', VOID, MechanicAction, [MechanicAction, IgnoreBufferForAction]);
|
|
864
864
|
initMetadataForClass(RestartGameMechanicAction, 'RestartGameMechanicAction', VOID, MechanicAction, [MechanicAction, InterceptableAction]);
|
|
865
|
-
initMetadataForClass(SceneActMechanicAction, 'SceneActMechanicAction', VOID, MechanicAction, [MechanicAction, NavigationMechanicAction,
|
|
866
|
-
initMetadataForClass(PlayerReadyMechanicAction, 'PlayerReadyMechanicAction', VOID, MechanicAction, [MechanicAction, Action,
|
|
867
|
-
initMetadataForClass(SuitChoiceMechanicAction, 'SuitChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, Action,
|
|
868
|
-
initMetadataForClass(CombinationChoiceMechanicAction, 'CombinationChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, Action,
|
|
869
|
-
initMetadataForClass(PutCardMechanicAction, 'PutCardMechanicAction', VOID, MechanicAction, [MechanicAction, Action,
|
|
865
|
+
initMetadataForClass(SceneActMechanicAction, 'SceneActMechanicAction', VOID, MechanicAction, [MechanicAction, NavigationMechanicAction, ReleaseBufferTriggerAction, Action]);
|
|
866
|
+
initMetadataForClass(PlayerReadyMechanicAction, 'PlayerReadyMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerIdContract, ReleaseBufferTriggerAction]);
|
|
867
|
+
initMetadataForClass(SuitChoiceMechanicAction, 'SuitChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerIdContract, ReleaseBufferTriggerAction]);
|
|
868
|
+
initMetadataForClass(CombinationChoiceMechanicAction, 'CombinationChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerIdContract, ReleaseBufferTriggerAction, InterceptableAction]);
|
|
869
|
+
initMetadataForClass(PutCardMechanicAction, 'PutCardMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerIdContract, ReleaseBufferTriggerAction]);
|
|
870
870
|
initMetadataForClass(TrumpMechanicAction, 'TrumpMechanicAction', VOID, MechanicAction, [MechanicAction, Action, InterceptableAction]);
|
|
871
871
|
initMetadataForClass(PickUpBribeMechanicAction, 'PickUpBribeMechanicAction', VOID, MechanicAction, [MechanicAction, Action, ReleaseBufferTriggerAction, InterceptableAction]);
|
|
872
|
-
initMetadataForClass(TakeAllRemainingCardsMechanicAction, 'TakeAllRemainingCardsMechanicAction', VOID, MechanicAction, [MechanicAction, Action,
|
|
872
|
+
initMetadataForClass(TakeAllRemainingCardsMechanicAction, 'TakeAllRemainingCardsMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerIdContract, ReleaseBufferTriggerAction]);
|
|
873
873
|
initMetadataForClass(WinnerCombinationsMechanicAction, 'WinnerCombinationsMechanicAction', VOID, MechanicAction, [MechanicAction, InterceptableAction]);
|
|
874
874
|
initMetadataForClass(ErrorAction, 'ErrorAction', VOID, MechanicAction, [MechanicAction, NotValidateIfGameFinished]);
|
|
875
875
|
function filterLivePlayers(store, playerIds, includeBots, $super) {
|
|
876
876
|
includeBots = includeBots === VOID ? false : includeBots;
|
|
877
|
-
return $super === VOID ? this.
|
|
877
|
+
return $super === VOID ? this.a46(store, playerIds, includeBots) : $super.a46.call(this, store, playerIds, includeBots);
|
|
878
878
|
}
|
|
879
879
|
function filterLiveDuringGamePlayers(store, playerIds, includeBots, $super) {
|
|
880
880
|
includeBots = includeBots === VOID ? false : includeBots;
|
|
881
|
-
return $super === VOID ? this.
|
|
881
|
+
return $super === VOID ? this.b46(store, playerIds, includeBots) : $super.b46.call(this, store, playerIds, includeBots);
|
|
882
882
|
}
|
|
883
883
|
function createConfig(mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league, $super) {
|
|
884
884
|
league = league === VOID ? null : league;
|
|
885
|
-
return $super === VOID ? this.
|
|
885
|
+
return $super === VOID ? this.c46(mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league) : $super.c46.call(this, mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league);
|
|
886
886
|
}
|
|
887
887
|
initMetadataForInterface(GameHelper, 'GameHelper');
|
|
888
888
|
initMetadataForClass(GameHelperImpl, 'GameHelperImpl', VOID, VOID, [GameHelper]);
|
|
@@ -895,7 +895,7 @@
|
|
|
895
895
|
tmp = existingNicknames;
|
|
896
896
|
}
|
|
897
897
|
existingNicknames = tmp;
|
|
898
|
-
return $super === VOID ? this.
|
|
898
|
+
return $super === VOID ? this.g46(playerId, existingNicknames) : $super.g46.call(this, playerId, existingNicknames);
|
|
899
899
|
}
|
|
900
900
|
initMetadataForInterface(GameResources, 'GameResources');
|
|
901
901
|
initMetadataForCompanion(Companion_161);
|
|
@@ -12837,7 +12837,7 @@
|
|
|
12837
12837
|
}
|
|
12838
12838
|
function mapFromDto_11(_this__u8e3s4) {
|
|
12839
12839
|
_init_properties_ConfigDtoMappers_kt__5tbz05();
|
|
12840
|
-
var tmp =
|
|
12840
|
+
var tmp = mapFromDto_64(_this__u8e3s4.t35_1);
|
|
12841
12841
|
var tmp_0 = mapToRulesSetType(_this__u8e3s4.u35_1);
|
|
12842
12842
|
var tmp_1 = mapFromDto_13(_this__u8e3s4.v35_1);
|
|
12843
12843
|
var tmp0_elvis_lhs = _this__u8e3s4.z35_1;
|
|
@@ -12866,7 +12866,7 @@
|
|
|
12866
12866
|
var tmp10_points = _this__u8e3s4.g36_1;
|
|
12867
12867
|
var tmp11_timeoutTimeMillis = _this__u8e3s4.h36_1;
|
|
12868
12868
|
var tmp3_safe_receiver = _this__u8e3s4.m36_1;
|
|
12869
|
-
var tmp12_rules = tmp3_safe_receiver == null ? null :
|
|
12869
|
+
var tmp12_rules = tmp3_safe_receiver == null ? null : mapFromDto_64(tmp3_safe_receiver);
|
|
12870
12870
|
var tmp4_elvis_lhs = _this__u8e3s4.j36_1;
|
|
12871
12871
|
var tmp13_isPrivate = tmp4_elvis_lhs == null ? false : tmp4_elvis_lhs;
|
|
12872
12872
|
var tmp14_rulesPreset = mapToRulesSetType(_this__u8e3s4.i36_1);
|
|
@@ -13380,16 +13380,16 @@
|
|
|
13380
13380
|
function mapFromDto_26(_this__u8e3s4) {
|
|
13381
13381
|
var tmp = Companion_getInstance_3().ug(_this__u8e3s4.l38_1);
|
|
13382
13382
|
var tmp0_safe_receiver = _this__u8e3s4.o38_1;
|
|
13383
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null :
|
|
13383
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : mapFromDto_61(tmp0_safe_receiver);
|
|
13384
13384
|
var tmp_0 = tmp1_elvis_lhs == null ? Companion_instance_160.initial() : tmp1_elvis_lhs;
|
|
13385
13385
|
var tmp2_safe_receiver = _this__u8e3s4.p38_1;
|
|
13386
|
-
return new GameInfo(tmp, _this__u8e3s4.m38_1, tmp_0, _this__u8e3s4.n38_1, tmp2_safe_receiver == null ? null :
|
|
13386
|
+
return new GameInfo(tmp, _this__u8e3s4.m38_1, tmp_0, _this__u8e3s4.n38_1, tmp2_safe_receiver == null ? null : mapFromDto_62(tmp2_safe_receiver));
|
|
13387
13387
|
}
|
|
13388
13388
|
function mapToDto_31(_this__u8e3s4) {
|
|
13389
13389
|
return new ClientGameInfoDto(_this__u8e3s4.q38_1, mapToDto_65(_this__u8e3s4.r38_1));
|
|
13390
13390
|
}
|
|
13391
13391
|
function mapFromDto_27(_this__u8e3s4) {
|
|
13392
|
-
return new ClientGameInfo(_this__u8e3s4.s38_1,
|
|
13392
|
+
return new ClientGameInfo(_this__u8e3s4.s38_1, mapFromDto_61(_this__u8e3s4.t38_1));
|
|
13393
13393
|
}
|
|
13394
13394
|
function mapToDto_32(_this__u8e3s4) {
|
|
13395
13395
|
var tmp = _this__u8e3s4.createdAt.toString();
|
|
@@ -13700,7 +13700,7 @@
|
|
|
13700
13700
|
var _iterator__ex2g4s = this_0.l();
|
|
13701
13701
|
while (_iterator__ex2g4s.m()) {
|
|
13702
13702
|
var item = _iterator__ex2g4s.n();
|
|
13703
|
-
var tmp$ret$0 =
|
|
13703
|
+
var tmp$ret$0 = mapFromDto_63(item);
|
|
13704
13704
|
destination.j(tmp$ret$0);
|
|
13705
13705
|
}
|
|
13706
13706
|
return new PointsItem(destination, Companion_getInstance_3().ug(_this__u8e3s4.b3a_1));
|
|
@@ -13977,7 +13977,7 @@
|
|
|
13977
13977
|
var _iterator__ex2g4s = tmp0_safe_receiver.l();
|
|
13978
13978
|
while (_iterator__ex2g4s.m()) {
|
|
13979
13979
|
var item = _iterator__ex2g4s.n();
|
|
13980
|
-
var tmp$ret$0 =
|
|
13980
|
+
var tmp$ret$0 = mapFromDto_83(item);
|
|
13981
13981
|
destination.j(tmp$ret$0);
|
|
13982
13982
|
}
|
|
13983
13983
|
tmp = destination;
|
|
@@ -13985,7 +13985,7 @@
|
|
|
13985
13985
|
var tmp1_elvis_lhs = tmp;
|
|
13986
13986
|
var tmp_0 = tmp1_elvis_lhs == null ? emptyList() : tmp1_elvis_lhs;
|
|
13987
13987
|
var tmp2_safe_receiver = _this__u8e3s4.v3b_1;
|
|
13988
|
-
return new PlayerHistoryAnalytics(_this__u8e3s4.s3b_1, _this__u8e3s4.t3b_1, tmp_0, tmp2_safe_receiver == null ? null :
|
|
13988
|
+
return new PlayerHistoryAnalytics(_this__u8e3s4.s3b_1, _this__u8e3s4.t3b_1, tmp_0, tmp2_safe_receiver == null ? null : mapFromDto_74(tmp2_safe_receiver));
|
|
13989
13989
|
}
|
|
13990
13990
|
function mapFromDto_44(_this__u8e3s4) {
|
|
13991
13991
|
var tmp0_safe_receiver = _this__u8e3s4.x3b_1;
|
|
@@ -13993,7 +13993,7 @@
|
|
|
13993
13993
|
var tmp3_mode = tmp1_elvis_lhs == null ? RoomMode_DEFAULT_getInstance() : tmp1_elvis_lhs;
|
|
13994
13994
|
var tmp4_createdAt = _this__u8e3s4.d3c_1;
|
|
13995
13995
|
var tmp5_winners = _this__u8e3s4.a3c_1;
|
|
13996
|
-
var tmp6_config =
|
|
13996
|
+
var tmp6_config = mapFromDto_60(_this__u8e3s4.y3b_1);
|
|
13997
13997
|
// Inline function 'kotlin.collections.map' call
|
|
13998
13998
|
var this_0 = _this__u8e3s4.z3b_1;
|
|
13999
13999
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -14158,6 +14158,51 @@
|
|
|
14158
14158
|
}
|
|
14159
14159
|
return new LeaguesConfigDto(_this__u8e3s4.initialRating, _this__u8e3s4.minUserRating, _this__u8e3s4.maxUserRating, destination);
|
|
14160
14160
|
}
|
|
14161
|
+
function mapFromDto_45(_this__u8e3s4, defaultConfig) {
|
|
14162
|
+
_init_properties_LeaguesDtoMappers_kt__44r8or();
|
|
14163
|
+
var tmp0_elvis_lhs = _this__u8e3s4.h33_1;
|
|
14164
|
+
var tmp = tmp0_elvis_lhs == null ? defaultConfig.initialRating : tmp0_elvis_lhs;
|
|
14165
|
+
var tmp1_elvis_lhs = _this__u8e3s4.i33_1;
|
|
14166
|
+
var tmp_0 = tmp1_elvis_lhs == null ? defaultConfig.minUserRating : tmp1_elvis_lhs;
|
|
14167
|
+
var tmp2_elvis_lhs = _this__u8e3s4.j33_1;
|
|
14168
|
+
var tmp_1 = tmp2_elvis_lhs == null ? defaultConfig.maxUserRating : tmp2_elvis_lhs;
|
|
14169
|
+
// Inline function 'kotlin.collections.map' call
|
|
14170
|
+
var this_0 = get_entries();
|
|
14171
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
14172
|
+
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
14173
|
+
var _iterator__ex2g4s = this_0.l();
|
|
14174
|
+
while (_iterator__ex2g4s.m()) {
|
|
14175
|
+
var item = _iterator__ex2g4s.n();
|
|
14176
|
+
var leagueString = enumToString(item, get_leagueMapping());
|
|
14177
|
+
var tmp0_safe_receiver = _this__u8e3s4.k33_1;
|
|
14178
|
+
var tmp_2;
|
|
14179
|
+
if (tmp0_safe_receiver == null) {
|
|
14180
|
+
tmp_2 = null;
|
|
14181
|
+
} else {
|
|
14182
|
+
var tmp$ret$1;
|
|
14183
|
+
$l$block: {
|
|
14184
|
+
// Inline function 'kotlin.collections.firstOrNull' call
|
|
14185
|
+
var _iterator__ex2g4s_0 = tmp0_safe_receiver.l();
|
|
14186
|
+
while (_iterator__ex2g4s_0.m()) {
|
|
14187
|
+
var element = _iterator__ex2g4s_0.n();
|
|
14188
|
+
if (element.n33_1 === leagueString) {
|
|
14189
|
+
tmp$ret$1 = element;
|
|
14190
|
+
break $l$block;
|
|
14191
|
+
}
|
|
14192
|
+
}
|
|
14193
|
+
tmp$ret$1 = null;
|
|
14194
|
+
}
|
|
14195
|
+
tmp_2 = tmp$ret$1;
|
|
14196
|
+
}
|
|
14197
|
+
var tmp1_safe_receiver = tmp_2;
|
|
14198
|
+
var tmp2_elvis_lhs_0 = tmp1_safe_receiver == null ? null : mapFromDto_46(tmp1_safe_receiver, defaultConfig);
|
|
14199
|
+
var leagueInfo = tmp2_elvis_lhs_0 == null ? defaultConfig.getLeagueInfo(item) : tmp2_elvis_lhs_0;
|
|
14200
|
+
destination.j(leagueInfo);
|
|
14201
|
+
}
|
|
14202
|
+
// Inline function 'kotlin.collections.toTypedArray' call
|
|
14203
|
+
var tmp$ret$5 = copyToArray(destination);
|
|
14204
|
+
return new LeaguesConfig(tmp, tmp_0, tmp_1, tmp$ret$5);
|
|
14205
|
+
}
|
|
14161
14206
|
function mapToDto_49(_this__u8e3s4) {
|
|
14162
14207
|
_init_properties_LeaguesDtoMappers_kt__44r8or();
|
|
14163
14208
|
return new LeagueInfoDto(enumToString(_this__u8e3s4.league, get_leagueMapping()), _this__u8e3s4.minRating, _this__u8e3s4.maxRating, _this__u8e3s4.enabled);
|
|
@@ -14170,6 +14215,16 @@
|
|
|
14170
14215
|
_init_properties_LeaguesDtoMappers_kt__44r8or();
|
|
14171
14216
|
return toDomainEnum(_this__u8e3s4, get_leagueMapping());
|
|
14172
14217
|
}
|
|
14218
|
+
function mapFromDto_46(_this__u8e3s4, config) {
|
|
14219
|
+
_init_properties_LeaguesDtoMappers_kt__44r8or();
|
|
14220
|
+
var league = mapToLeague(_this__u8e3s4.n33_1);
|
|
14221
|
+
var tmp0_elvis_lhs = _this__u8e3s4.o33_1;
|
|
14222
|
+
var tmp = tmp0_elvis_lhs == null ? config.getLeagueInfo(league).minRating : tmp0_elvis_lhs;
|
|
14223
|
+
var tmp1_elvis_lhs = _this__u8e3s4.p33_1;
|
|
14224
|
+
var tmp_0 = tmp1_elvis_lhs == null ? config.getLeagueInfo(league).maxRating : tmp1_elvis_lhs;
|
|
14225
|
+
var tmp2_elvis_lhs = _this__u8e3s4.q33_1;
|
|
14226
|
+
return new LeagueInfo(league, tmp, tmp_0, tmp2_elvis_lhs == null ? true : tmp2_elvis_lhs);
|
|
14227
|
+
}
|
|
14173
14228
|
var properties_initialized_LeaguesDtoMappers_kt_m85osn;
|
|
14174
14229
|
function _init_properties_LeaguesDtoMappers_kt__44r8or() {
|
|
14175
14230
|
if (!properties_initialized_LeaguesDtoMappers_kt_m85osn) {
|
|
@@ -14222,38 +14277,38 @@
|
|
|
14222
14277
|
}
|
|
14223
14278
|
return tmp;
|
|
14224
14279
|
}
|
|
14225
|
-
function
|
|
14280
|
+
function mapFromDto_47(_this__u8e3s4, isNew) {
|
|
14226
14281
|
isNew = isNew === VOID ? false : isNew;
|
|
14227
14282
|
var tmp;
|
|
14228
14283
|
if (_this__u8e3s4 instanceof WhoShuffleCardsMessageDto) {
|
|
14229
|
-
tmp =
|
|
14284
|
+
tmp = mapFromDto_48(_this__u8e3s4, isNew);
|
|
14230
14285
|
} else {
|
|
14231
14286
|
if (_this__u8e3s4 instanceof PhraseMessageDto) {
|
|
14232
|
-
tmp =
|
|
14287
|
+
tmp = mapFromDto_49(_this__u8e3s4, isNew);
|
|
14233
14288
|
} else {
|
|
14234
14289
|
if (_this__u8e3s4 instanceof StickerMessageDto) {
|
|
14235
|
-
tmp =
|
|
14290
|
+
tmp = mapFromDto_50(_this__u8e3s4, isNew);
|
|
14236
14291
|
} else {
|
|
14237
14292
|
if (_this__u8e3s4 instanceof CombinationMessageDto) {
|
|
14238
|
-
tmp =
|
|
14293
|
+
tmp = mapFromDto_51(_this__u8e3s4, isNew);
|
|
14239
14294
|
} else {
|
|
14240
14295
|
if (_this__u8e3s4 instanceof PreviousRoundPointsMessageDto) {
|
|
14241
|
-
tmp =
|
|
14296
|
+
tmp = mapFromDto_52(_this__u8e3s4);
|
|
14242
14297
|
} else {
|
|
14243
14298
|
if (_this__u8e3s4 instanceof TextMessageDto) {
|
|
14244
|
-
tmp =
|
|
14299
|
+
tmp = mapFromDto_53(_this__u8e3s4, isNew);
|
|
14245
14300
|
} else {
|
|
14246
14301
|
if (_this__u8e3s4 instanceof WinnerCombinationsMessageDto) {
|
|
14247
|
-
tmp =
|
|
14302
|
+
tmp = mapFromDto_56(_this__u8e3s4, isNew);
|
|
14248
14303
|
} else {
|
|
14249
14304
|
if (_this__u8e3s4 instanceof ValidationMessageDto) {
|
|
14250
|
-
tmp =
|
|
14305
|
+
tmp = mapFromDto_58(_this__u8e3s4);
|
|
14251
14306
|
} else {
|
|
14252
14307
|
if (_this__u8e3s4 instanceof EventMessageDto) {
|
|
14253
|
-
tmp =
|
|
14308
|
+
tmp = mapFromDto_54(_this__u8e3s4, isNew);
|
|
14254
14309
|
} else {
|
|
14255
14310
|
if (_this__u8e3s4 instanceof RandomSignatureMessageDto) {
|
|
14256
|
-
tmp =
|
|
14311
|
+
tmp = mapFromDto_55(_this__u8e3s4, isNew);
|
|
14257
14312
|
} else {
|
|
14258
14313
|
if (_this__u8e3s4 instanceof FallbackMessageDto) {
|
|
14259
14314
|
tmp = Companion_instance_12.d2k();
|
|
@@ -14280,7 +14335,7 @@
|
|
|
14280
14335
|
var tmp4_createdAt = _this__u8e3s4.p2k_1.toString();
|
|
14281
14336
|
return new WhoShuffleCardsMessageDto(tmp2_trumpCard, tmp1_id, tmp3_userInfo, tmp4_createdAt);
|
|
14282
14337
|
}
|
|
14283
|
-
function
|
|
14338
|
+
function mapFromDto_48(_this__u8e3s4, isNew) {
|
|
14284
14339
|
var tmp1_id = _this__u8e3s4.v3c_1;
|
|
14285
14340
|
var tmp0_safe_receiver = _this__u8e3s4.u3c_1;
|
|
14286
14341
|
var tmp2_trumpCard = tmp0_safe_receiver == null ? null : mapFromDto(tmp0_safe_receiver);
|
|
@@ -14297,7 +14352,7 @@
|
|
|
14297
14352
|
var tmp5_createdAt = _this__u8e3s4.i2l_1.toString();
|
|
14298
14353
|
return new PhraseMessageDto(tmp2_phraseType, tmp3_key, tmp1_id, tmp4_userInfo, tmp5_createdAt);
|
|
14299
14354
|
}
|
|
14300
|
-
function
|
|
14355
|
+
function mapFromDto_49(_this__u8e3s4, isNew) {
|
|
14301
14356
|
var tmp1_id = _this__u8e3s4.a3d_1;
|
|
14302
14357
|
var tmp0_elvis_lhs = _this__u8e3s4.z3c_1;
|
|
14303
14358
|
var tmp2_key = tmp0_elvis_lhs == null ? toString_0(_this__u8e3s4.y3c_1) : tmp0_elvis_lhs;
|
|
@@ -14312,7 +14367,7 @@
|
|
|
14312
14367
|
var tmp3_createdAt = _this__u8e3s4.s2l_1.toString();
|
|
14313
14368
|
return new StickerMessageDto(tmp1_url, tmp0_id, tmp2_userInfo, tmp3_createdAt);
|
|
14314
14369
|
}
|
|
14315
|
-
function
|
|
14370
|
+
function mapFromDto_50(_this__u8e3s4, isNew) {
|
|
14316
14371
|
var tmp0_id = _this__u8e3s4.e3d_1;
|
|
14317
14372
|
var tmp1_url = _this__u8e3s4.d3d_1;
|
|
14318
14373
|
var tmp2_userInfo = mapFromDto_0(_this__u8e3s4.f3d_1);
|
|
@@ -14335,7 +14390,7 @@
|
|
|
14335
14390
|
var tmp3_createdAt = _this__u8e3s4.u2k_1.toString();
|
|
14336
14391
|
return new CombinationMessageDto(tmp0_id, tmp3_createdAt, destination, tmp2_userInfo);
|
|
14337
14392
|
}
|
|
14338
|
-
function
|
|
14393
|
+
function mapFromDto_51(_this__u8e3s4, isNew) {
|
|
14339
14394
|
var tmp0_id = _this__u8e3s4.h3d_1;
|
|
14340
14395
|
// Inline function 'kotlin.collections.map' call
|
|
14341
14396
|
var this_0 = _this__u8e3s4.j3d_1;
|
|
@@ -14370,7 +14425,7 @@
|
|
|
14370
14425
|
var tmp6_createdAt = _this__u8e3s4.v2j_1.toString();
|
|
14371
14426
|
return new PreviousRoundPointsMessageDto(tmp0_id, tmp6_createdAt, tmp1_roundNumber, tmp3_roundContractState, tmp5_roundCommitted, tmp4_roundWinners, destination);
|
|
14372
14427
|
}
|
|
14373
|
-
function
|
|
14428
|
+
function mapFromDto_52(_this__u8e3s4) {
|
|
14374
14429
|
var tmp2_id = _this__u8e3s4.l3d_1;
|
|
14375
14430
|
var tmp3_roundNumber = _this__u8e3s4.n3d_1;
|
|
14376
14431
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -14380,7 +14435,7 @@
|
|
|
14380
14435
|
var _iterator__ex2g4s = this_0.l();
|
|
14381
14436
|
while (_iterator__ex2g4s.m()) {
|
|
14382
14437
|
var item = _iterator__ex2g4s.n();
|
|
14383
|
-
var tmp$ret$0 =
|
|
14438
|
+
var tmp$ret$0 = mapFromDto_59(item);
|
|
14384
14439
|
destination.j(tmp$ret$0);
|
|
14385
14440
|
}
|
|
14386
14441
|
var tmp5_roundContractState = mapToRoundContractState(_this__u8e3s4.o3d_1);
|
|
@@ -14398,7 +14453,7 @@
|
|
|
14398
14453
|
var tmp3_createdAt = _this__u8e3s4.w2l_1.toString();
|
|
14399
14454
|
return new TextMessageDto(tmp0_id, tmp3_createdAt, tmp1_message, tmp2_userInfo);
|
|
14400
14455
|
}
|
|
14401
|
-
function
|
|
14456
|
+
function mapFromDto_53(_this__u8e3s4, isNew) {
|
|
14402
14457
|
var tmp0_id = _this__u8e3s4.s3d_1;
|
|
14403
14458
|
var tmp1_message = _this__u8e3s4.u3d_1;
|
|
14404
14459
|
var tmp2_userInfo = mapFromDto_0(_this__u8e3s4.v3d_1);
|
|
@@ -14420,7 +14475,7 @@
|
|
|
14420
14475
|
var tmp2_createdAt = _this__u8e3s4.a2l_1.toString();
|
|
14421
14476
|
return new WinnerCombinationsMessageDto(tmp0_id, tmp2_createdAt, destination);
|
|
14422
14477
|
}
|
|
14423
|
-
function
|
|
14478
|
+
function mapFromDto_54(_this__u8e3s4, isNew) {
|
|
14424
14479
|
var tmp0_id = _this__u8e3s4.w3d_1;
|
|
14425
14480
|
var tmp1_eventId = _this__u8e3s4.y3d_1;
|
|
14426
14481
|
var tmp2_createdAt = Companion_getInstance_3().ug(_this__u8e3s4.x3d_1);
|
|
@@ -14432,7 +14487,7 @@
|
|
|
14432
14487
|
var tmp2_createdAt = _this__u8e3s4.z2i_1.toString();
|
|
14433
14488
|
return new EventMessageDto(tmp0_id, tmp2_createdAt, tmp1_eventId);
|
|
14434
14489
|
}
|
|
14435
|
-
function
|
|
14490
|
+
function mapFromDto_55(_this__u8e3s4, isNew) {
|
|
14436
14491
|
var tmp0_id = _this__u8e3s4.z3d_1;
|
|
14437
14492
|
var tmp1_randomData = mapFromDto_14(_this__u8e3s4.b3e_1);
|
|
14438
14493
|
var tmp2_createdAt = Companion_getInstance_3().ug(_this__u8e3s4.a3e_1);
|
|
@@ -14444,7 +14499,7 @@
|
|
|
14444
14499
|
var tmp2_createdAt = _this__u8e3s4.b2k_1.toString();
|
|
14445
14500
|
return new RandomSignatureMessageDto(tmp0_id, tmp2_createdAt, tmp1_randomData);
|
|
14446
14501
|
}
|
|
14447
|
-
function
|
|
14502
|
+
function mapFromDto_56(_this__u8e3s4, isNew) {
|
|
14448
14503
|
var tmp0_id = _this__u8e3s4.c3e_1;
|
|
14449
14504
|
// Inline function 'kotlin.collections.map' call
|
|
14450
14505
|
var this_0 = _this__u8e3s4.e3e_1;
|
|
@@ -14453,7 +14508,7 @@
|
|
|
14453
14508
|
var _iterator__ex2g4s = this_0.l();
|
|
14454
14509
|
while (_iterator__ex2g4s.m()) {
|
|
14455
14510
|
var item = _iterator__ex2g4s.n();
|
|
14456
|
-
var tmp$ret$0 =
|
|
14511
|
+
var tmp$ret$0 = mapFromDto_57(item);
|
|
14457
14512
|
destination.j(tmp$ret$0);
|
|
14458
14513
|
}
|
|
14459
14514
|
var tmp2_createdAt = Companion_getInstance_3().ug(_this__u8e3s4.d3e_1);
|
|
@@ -14472,7 +14527,7 @@
|
|
|
14472
14527
|
}
|
|
14473
14528
|
return new WinnerCombinationViewModelDto(_this__u8e3s4.b2l_1, destination, mapToDto_0(_this__u8e3s4.d2l_1));
|
|
14474
14529
|
}
|
|
14475
|
-
function
|
|
14530
|
+
function mapFromDto_57(_this__u8e3s4) {
|
|
14476
14531
|
// Inline function 'kotlin.collections.map' call
|
|
14477
14532
|
var this_0 = _this__u8e3s4.g3e_1;
|
|
14478
14533
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -14491,7 +14546,7 @@
|
|
|
14491
14546
|
var tmp2_createdAt = _this__u8e3s4.c2m_1.toString();
|
|
14492
14547
|
return new ValidationMessageDto(tmp0_id, tmp2_createdAt, tmp1_validationCode);
|
|
14493
14548
|
}
|
|
14494
|
-
function
|
|
14549
|
+
function mapFromDto_58(_this__u8e3s4) {
|
|
14495
14550
|
var tmp0_id = _this__u8e3s4.i3e_1;
|
|
14496
14551
|
var tmp1_validationCode = _this__u8e3s4.k3e_1;
|
|
14497
14552
|
var tmp2_createdAt = Companion_getInstance_3().ug(_this__u8e3s4.j3e_1);
|
|
@@ -14511,7 +14566,7 @@
|
|
|
14511
14566
|
}
|
|
14512
14567
|
return new PointItemViewModelDto(destination, tmp0_points);
|
|
14513
14568
|
}
|
|
14514
|
-
function
|
|
14569
|
+
function mapFromDto_59(_this__u8e3s4) {
|
|
14515
14570
|
var tmp0_points = _this__u8e3s4.m3e_1;
|
|
14516
14571
|
// Inline function 'kotlin.collections.map' call
|
|
14517
14572
|
var this_0 = _this__u8e3s4.l3e_1;
|
|
@@ -14540,7 +14595,7 @@
|
|
|
14540
14595
|
var tmp11_dealerStrategy = tmp1_safe_receiver == null ? null : mapToDto_18(tmp1_safe_receiver);
|
|
14541
14596
|
return new RoomConfigDto(tmp2_players, tmp3_points, tmp4_timeoutTime, tmp5_rulesPreset, tmp8_isPrivate, tmp6_isChatEnabled, tmp7_rules, tmp9_isBotsEnabled, tmp11_dealerStrategy, tmp10_league);
|
|
14542
14597
|
}
|
|
14543
|
-
function
|
|
14598
|
+
function mapFromDto_60(_this__u8e3s4) {
|
|
14544
14599
|
var tmp2_players = _this__u8e3s4.n3e_1;
|
|
14545
14600
|
var tmp3_points = _this__u8e3s4.o3e_1;
|
|
14546
14601
|
var tmp4_timeoutTime = _this__u8e3s4.p3e_1;
|
|
@@ -14557,7 +14612,7 @@
|
|
|
14557
14612
|
}
|
|
14558
14613
|
function mapToConfigLite(_this__u8e3s4, mode) {
|
|
14559
14614
|
var tmp0_safe_receiver = _this__u8e3s4.rules;
|
|
14560
|
-
var tmp4_rules = tmp0_safe_receiver == null ? null :
|
|
14615
|
+
var tmp4_rules = tmp0_safe_receiver == null ? null : mapFromDto_64(tmp0_safe_receiver);
|
|
14561
14616
|
var tmp5_league = _this__u8e3s4.league;
|
|
14562
14617
|
var tmp6_rulesPreset = mapToRulesSetType(_this__u8e3s4.rulesPreset);
|
|
14563
14618
|
var tmp7_players = Companion_getInstance_158().create(_this__u8e3s4.players);
|
|
@@ -14629,7 +14684,7 @@
|
|
|
14629
14684
|
var tmp$ret$1 = tmp;
|
|
14630
14685
|
return new RoundDto(tmp$ret$1, _this__u8e3s4.numberOfBribe, _this__u8e3s4.trump);
|
|
14631
14686
|
}
|
|
14632
|
-
function
|
|
14687
|
+
function mapFromDto_61(_this__u8e3s4) {
|
|
14633
14688
|
var tmp0_elvis_lhs = _this__u8e3s4.b3f_1;
|
|
14634
14689
|
return new Round(tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs, _this__u8e3s4.c3f_1, _this__u8e3s4.d3f_1);
|
|
14635
14690
|
}
|
|
@@ -14659,7 +14714,7 @@
|
|
|
14659
14714
|
}
|
|
14660
14715
|
return new PreviousRoundDto(tmp, tmp_0, destination_0);
|
|
14661
14716
|
}
|
|
14662
|
-
function
|
|
14717
|
+
function mapFromDto_62(_this__u8e3s4) {
|
|
14663
14718
|
// Inline function 'kotlin.collections.map' call
|
|
14664
14719
|
var this_0 = _this__u8e3s4.h3f_1;
|
|
14665
14720
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -14680,7 +14735,7 @@
|
|
|
14680
14735
|
var _iterator__ex2g4s_0 = this_1.l();
|
|
14681
14736
|
while (_iterator__ex2g4s_0.m()) {
|
|
14682
14737
|
var item_0 = _iterator__ex2g4s_0.n();
|
|
14683
|
-
var tmp$ret$3 =
|
|
14738
|
+
var tmp$ret$3 = mapFromDto_63(item_0);
|
|
14684
14739
|
destination_0.j(tmp$ret$3);
|
|
14685
14740
|
}
|
|
14686
14741
|
return new PreviousRound(tmp, tmp_0, destination_0);
|
|
@@ -14688,7 +14743,7 @@
|
|
|
14688
14743
|
function mapToDto_67(_this__u8e3s4) {
|
|
14689
14744
|
return new PointItemDto(_this__u8e3s4.h3c_1, _this__u8e3s4.i3c_1);
|
|
14690
14745
|
}
|
|
14691
|
-
function
|
|
14746
|
+
function mapFromDto_63(_this__u8e3s4) {
|
|
14692
14747
|
return new PointItem(_this__u8e3s4.k3f_1, _this__u8e3s4.l3f_1);
|
|
14693
14748
|
}
|
|
14694
14749
|
function get_roundContractTypeMapping() {
|
|
@@ -14989,7 +15044,7 @@
|
|
|
14989
15044
|
var tmp$ret$58 = tmp_48;
|
|
14990
15045
|
return new RulesDto(_this__u8e3s4.name, tmp_0, tmp_2, tmp_4, tmp_6, tmp_8, tmp_10, tmp_12, tmp_16, tmp_19, tmp_21, tmp_23, tmp_25, tmp_26, tmp_28, tmp_30, tmp_32, tmp_34, tmp_36, tmp_38, tmp_40, tmp_41, tmp_43, tmp_45, tmp_47, tmp$ret$58);
|
|
14991
15046
|
}
|
|
14992
|
-
function
|
|
15047
|
+
function mapFromDto_64(_this__u8e3s4) {
|
|
14993
15048
|
_init_properties_RulesMappers_kt__e4bhqd();
|
|
14994
15049
|
var tmp32_name = _this__u8e3s4.l1u_1;
|
|
14995
15050
|
var tmp0_elvis_lhs = _this__u8e3s4.m1u_1;
|
|
@@ -15196,11 +15251,11 @@
|
|
|
15196
15251
|
var tmp1_safe_receiver = _this__u8e3s4.q3f_1;
|
|
15197
15252
|
return new SceneInfoDto(_this__u8e3s4.m3f_1, _this__u8e3s4.n3f_1, _this__u8e3s4.o3f_1, tmp, tmp1_safe_receiver == null ? null : mapToDto_116(tmp1_safe_receiver));
|
|
15198
15253
|
}
|
|
15199
|
-
function
|
|
15254
|
+
function mapFromDto_65(_this__u8e3s4) {
|
|
15200
15255
|
var tmp0_safe_receiver = _this__u8e3s4.u3f_1;
|
|
15201
|
-
var tmp = tmp0_safe_receiver == null ? null :
|
|
15256
|
+
var tmp = tmp0_safe_receiver == null ? null : mapFromDto_96(tmp0_safe_receiver);
|
|
15202
15257
|
var tmp1_safe_receiver = _this__u8e3s4.v3f_1;
|
|
15203
|
-
return new SceneInfo(_this__u8e3s4.r3f_1, _this__u8e3s4.s3f_1, _this__u8e3s4.t3f_1, tmp, tmp1_safe_receiver == null ? null :
|
|
15258
|
+
return new SceneInfo(_this__u8e3s4.r3f_1, _this__u8e3s4.s3f_1, _this__u8e3s4.t3f_1, tmp, tmp1_safe_receiver == null ? null : mapFromDto_86(tmp1_safe_receiver));
|
|
15204
15259
|
}
|
|
15205
15260
|
function mapToDto_75(_this__u8e3s4) {
|
|
15206
15261
|
var tmp0_safe_receiver = _this__u8e3s4.y3f_1;
|
|
@@ -15208,16 +15263,16 @@
|
|
|
15208
15263
|
var tmp1_safe_receiver = _this__u8e3s4.z3f_1;
|
|
15209
15264
|
return new ClientSceneInfoDto(_this__u8e3s4.w3f_1, _this__u8e3s4.x3f_1, tmp, tmp1_safe_receiver == null ? null : mapToDto_121(tmp1_safe_receiver));
|
|
15210
15265
|
}
|
|
15211
|
-
function
|
|
15266
|
+
function mapFromDto_66(_this__u8e3s4) {
|
|
15212
15267
|
var tmp0_safe_receiver = _this__u8e3s4.c3g_1;
|
|
15213
|
-
var tmp = tmp0_safe_receiver == null ? null :
|
|
15268
|
+
var tmp = tmp0_safe_receiver == null ? null : mapFromDto_93(tmp0_safe_receiver);
|
|
15214
15269
|
var tmp1_safe_receiver = _this__u8e3s4.d3g_1;
|
|
15215
|
-
return new ClientSceneInfo(_this__u8e3s4.a3g_1, _this__u8e3s4.b3g_1, tmp, tmp1_safe_receiver == null ? null :
|
|
15270
|
+
return new ClientSceneInfo(_this__u8e3s4.a3g_1, _this__u8e3s4.b3g_1, tmp, tmp1_safe_receiver == null ? null : mapFromDto_91(tmp1_safe_receiver));
|
|
15216
15271
|
}
|
|
15217
15272
|
function mapToDto_76(_this__u8e3s4) {
|
|
15218
15273
|
return new SpectatorDto(mapToDto_0(_this__u8e3s4.s2n_1));
|
|
15219
15274
|
}
|
|
15220
|
-
function
|
|
15275
|
+
function mapFromDto_67(_this__u8e3s4) {
|
|
15221
15276
|
return new Spectator(mapFromDto_0(_this__u8e3s4.e3g_1));
|
|
15222
15277
|
}
|
|
15223
15278
|
function mapToDto_77(_this__u8e3s4) {
|
|
@@ -15379,7 +15434,7 @@
|
|
|
15379
15434
|
}
|
|
15380
15435
|
return new JassTableDto(_this__u8e3s4.id, _this__u8e3s4.version, tmp, tmp_0, tmp_1, tmp_4, tmp_5, tmp_8, tmp_11, tmp_12, tmp_15, tmp_16, tmp_17, tmp_19);
|
|
15381
15436
|
}
|
|
15382
|
-
function
|
|
15437
|
+
function mapFromDto_68(_this__u8e3s4) {
|
|
15383
15438
|
var tmp = Companion_getInstance_3().ug(_this__u8e3s4.h3g_1);
|
|
15384
15439
|
var tmp_0 = mapFromDto_11(_this__u8e3s4.i3g_1);
|
|
15385
15440
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -15389,7 +15444,7 @@
|
|
|
15389
15444
|
var _iterator__ex2g4s = this_0.l();
|
|
15390
15445
|
while (_iterator__ex2g4s.m()) {
|
|
15391
15446
|
var item = _iterator__ex2g4s.n();
|
|
15392
|
-
var tmp$ret$0 =
|
|
15447
|
+
var tmp$ret$0 = mapFromDto_75(item);
|
|
15393
15448
|
destination.j(tmp$ret$0);
|
|
15394
15449
|
}
|
|
15395
15450
|
var tmp_1 = destination;
|
|
@@ -15404,14 +15459,14 @@
|
|
|
15404
15459
|
var _iterator__ex2g4s_0 = tmp0_safe_receiver.l();
|
|
15405
15460
|
while (_iterator__ex2g4s_0.m()) {
|
|
15406
15461
|
var item_0 = _iterator__ex2g4s_0.n();
|
|
15407
|
-
var tmp$ret$3 =
|
|
15462
|
+
var tmp$ret$3 = mapFromDto_67(item_0);
|
|
15408
15463
|
destination_0.j(tmp$ret$3);
|
|
15409
15464
|
}
|
|
15410
15465
|
tmp_2 = destination_0;
|
|
15411
15466
|
}
|
|
15412
15467
|
var tmp1_elvis_lhs = tmp_2;
|
|
15413
15468
|
var tmp_3 = tmp1_elvis_lhs == null ? emptyList() : tmp1_elvis_lhs;
|
|
15414
|
-
var tmp_4 =
|
|
15469
|
+
var tmp_4 = mapFromDto_65(_this__u8e3s4.l3g_1);
|
|
15415
15470
|
var tmp2_safe_receiver = _this__u8e3s4.m3g_1;
|
|
15416
15471
|
var tmp_5;
|
|
15417
15472
|
if (tmp2_safe_receiver == null) {
|
|
@@ -15495,7 +15550,7 @@
|
|
|
15495
15550
|
var _iterator__ex2g4s_5 = tmp9_safe_receiver.l();
|
|
15496
15551
|
while (_iterator__ex2g4s_5.m()) {
|
|
15497
15552
|
var item_5 = _iterator__ex2g4s_5.n();
|
|
15498
|
-
var tmp$ret$20 =
|
|
15553
|
+
var tmp$ret$20 = mapFromDto_47(item_5);
|
|
15499
15554
|
destination_5.j(tmp$ret$20);
|
|
15500
15555
|
}
|
|
15501
15556
|
tmp_15 = destination_5;
|
|
@@ -15503,7 +15558,7 @@
|
|
|
15503
15558
|
var tmp10_elvis_lhs = tmp_15;
|
|
15504
15559
|
return new JassTable(_this__u8e3s4.f3g_1, _this__u8e3s4.g3g_1, tmp, tmp_0, tmp_1, tmp_3, tmp_4, tmp_6, tmp_8, tmp_9, tmp_12, tmp_13, tmp_14, tmp10_elvis_lhs == null ? emptyList() : tmp10_elvis_lhs);
|
|
15505
15560
|
}
|
|
15506
|
-
function
|
|
15561
|
+
function mapFromDto_69(_this__u8e3s4) {
|
|
15507
15562
|
var tmp = mapFromDto_12(_this__u8e3s4.u3g_1);
|
|
15508
15563
|
// Inline function 'kotlin.collections.map' call
|
|
15509
15564
|
var this_0 = _this__u8e3s4.v3g_1;
|
|
@@ -15512,7 +15567,7 @@
|
|
|
15512
15567
|
var _iterator__ex2g4s = this_0.l();
|
|
15513
15568
|
while (_iterator__ex2g4s.m()) {
|
|
15514
15569
|
var item = _iterator__ex2g4s.n();
|
|
15515
|
-
var tmp$ret$0 =
|
|
15570
|
+
var tmp$ret$0 = mapFromDto_76(item);
|
|
15516
15571
|
destination.j(tmp$ret$0);
|
|
15517
15572
|
}
|
|
15518
15573
|
return new JassTableLite(_this__u8e3s4.t3g_1, tmp, destination, mapFromDto_26(_this__u8e3s4.w3g_1));
|
|
@@ -15625,7 +15680,7 @@
|
|
|
15625
15680
|
}
|
|
15626
15681
|
return new ClientJassTableDto(_this__u8e3s4.x3g_1, tmp_0, _this__u8e3s4.z3g_1, tmp_1, tmp_2, tmp_3, tmp_4, tmp_7, tmp_10, tmp_11, tmp_12, tmp_13, tmp_15);
|
|
15627
15682
|
}
|
|
15628
|
-
function
|
|
15683
|
+
function mapFromDto_70(_this__u8e3s4) {
|
|
15629
15684
|
var tmp0_elvis_lhs = _this__u8e3s4.l3h_1;
|
|
15630
15685
|
var tmp = tmp0_elvis_lhs == null ? _this__u8e3s4.k3h_1 : tmp0_elvis_lhs;
|
|
15631
15686
|
var tmp_0 = Companion_getInstance_3().ib(_this__u8e3s4.n3h_1);
|
|
@@ -15637,11 +15692,11 @@
|
|
|
15637
15692
|
var _iterator__ex2g4s = this_0.l();
|
|
15638
15693
|
while (_iterator__ex2g4s.m()) {
|
|
15639
15694
|
var item = _iterator__ex2g4s.n();
|
|
15640
|
-
var tmp$ret$0 =
|
|
15695
|
+
var tmp$ret$0 = mapFromDto_81(item);
|
|
15641
15696
|
destination.j(tmp$ret$0);
|
|
15642
15697
|
}
|
|
15643
15698
|
var tmp_2 = destination;
|
|
15644
|
-
var tmp_3 =
|
|
15699
|
+
var tmp_3 = mapFromDto_66(_this__u8e3s4.q3h_1);
|
|
15645
15700
|
var tmp1_safe_receiver = _this__u8e3s4.r3h_1;
|
|
15646
15701
|
var tmp_4;
|
|
15647
15702
|
if (tmp1_safe_receiver == null) {
|
|
@@ -15696,7 +15751,7 @@
|
|
|
15696
15751
|
var _iterator__ex2g4s_2 = tmp5_safe_receiver.l();
|
|
15697
15752
|
while (_iterator__ex2g4s_2.m()) {
|
|
15698
15753
|
var item_2 = _iterator__ex2g4s_2.n();
|
|
15699
|
-
var tmp$ret$11 =
|
|
15754
|
+
var tmp$ret$11 = mapFromDto_47(item_2);
|
|
15700
15755
|
destination_2.j(tmp$ret$11);
|
|
15701
15756
|
}
|
|
15702
15757
|
tmp_11 = destination_2;
|
|
@@ -16072,13 +16127,13 @@
|
|
|
16072
16127
|
}
|
|
16073
16128
|
return tmp;
|
|
16074
16129
|
}
|
|
16075
|
-
function
|
|
16130
|
+
function mapFromDto_71(_this__u8e3s4) {
|
|
16076
16131
|
var tmp;
|
|
16077
16132
|
if (_this__u8e3s4 instanceof RevengeRoomTransitionDto) {
|
|
16078
|
-
tmp =
|
|
16133
|
+
tmp = mapFromDto_72(_this__u8e3s4);
|
|
16079
16134
|
} else {
|
|
16080
16135
|
if (_this__u8e3s4 instanceof GameToRoomTransitionDto) {
|
|
16081
|
-
tmp =
|
|
16136
|
+
tmp = mapFromDto_73(_this__u8e3s4);
|
|
16082
16137
|
} else {
|
|
16083
16138
|
noWhenBranchMatchedException();
|
|
16084
16139
|
}
|
|
@@ -16088,13 +16143,13 @@
|
|
|
16088
16143
|
function mapToDto_102(_this__u8e3s4) {
|
|
16089
16144
|
return new RevengeRoomTransitionDto(mapToDto_16(_this__u8e3s4.originalRoomMode), _this__u8e3s4.s2f_1);
|
|
16090
16145
|
}
|
|
16091
|
-
function
|
|
16146
|
+
function mapFromDto_72(_this__u8e3s4) {
|
|
16092
16147
|
return new RevengeRoomTransition(mapToRoomMode(_this__u8e3s4.e2x_1), _this__u8e3s4.f2x_1);
|
|
16093
16148
|
}
|
|
16094
16149
|
function mapToDto_103(_this__u8e3s4) {
|
|
16095
16150
|
return new GameToRoomTransitionDto(_this__u8e3s4.roomId, _this__u8e3s4.playerIds, _this__u8e3s4.u3k_1);
|
|
16096
16151
|
}
|
|
16097
|
-
function
|
|
16152
|
+
function mapFromDto_73(_this__u8e3s4) {
|
|
16098
16153
|
return new GameToRoomTransition(_this__u8e3s4.j2x_1, _this__u8e3s4.k2x_1, _this__u8e3s4.l2x_1);
|
|
16099
16154
|
}
|
|
16100
16155
|
function mapToDto_104(_this__u8e3s4) {
|
|
@@ -16102,7 +16157,7 @@
|
|
|
16102
16157
|
var tmp1_oldRating = _this__u8e3s4.oldRating;
|
|
16103
16158
|
return new AchievementsDto(tmp1_oldRating, tmp0_newRating);
|
|
16104
16159
|
}
|
|
16105
|
-
function
|
|
16160
|
+
function mapFromDto_74(_this__u8e3s4) {
|
|
16106
16161
|
var tmp0_newRating = _this__u8e3s4.w3k_1;
|
|
16107
16162
|
var tmp1_oldRating = _this__u8e3s4.v3k_1;
|
|
16108
16163
|
return new Achievements(tmp1_oldRating, tmp0_newRating);
|
|
@@ -16138,10 +16193,10 @@
|
|
|
16138
16193
|
}
|
|
16139
16194
|
return new JassPlayerDto(tmp, tmp_0, tmp_1, tmp_3, mapToDto_107(_this__u8e3s4.n2m_1), mapToDto_109(_this__u8e3s4.o2m_1));
|
|
16140
16195
|
}
|
|
16141
|
-
function
|
|
16196
|
+
function mapFromDto_75(_this__u8e3s4) {
|
|
16142
16197
|
var tmp2_userInfo = mapFromDto_0(_this__u8e3s4.x3k_1);
|
|
16143
16198
|
var tmp3_state = mapFromDto_2(_this__u8e3s4.y3k_1);
|
|
16144
|
-
var tmp4_options =
|
|
16199
|
+
var tmp4_options = mapFromDto_77(_this__u8e3s4.z3k_1);
|
|
16145
16200
|
var tmp0_safe_receiver = _this__u8e3s4.a3l_1;
|
|
16146
16201
|
var tmp;
|
|
16147
16202
|
if (tmp0_safe_receiver == null) {
|
|
@@ -16160,12 +16215,12 @@
|
|
|
16160
16215
|
}
|
|
16161
16216
|
var tmp1_elvis_lhs = tmp;
|
|
16162
16217
|
var tmp5_cards = tmp1_elvis_lhs == null ? emptyList() : tmp1_elvis_lhs;
|
|
16163
|
-
var tmp6_hand =
|
|
16164
|
-
var tmp7_points =
|
|
16218
|
+
var tmp6_hand = mapFromDto_78(_this__u8e3s4.b3l_1);
|
|
16219
|
+
var tmp7_points = mapFromDto_80(_this__u8e3s4.c3l_1);
|
|
16165
16220
|
return new JassPlayer(tmp2_userInfo, tmp3_state, tmp5_cards, tmp4_options, tmp6_hand, tmp7_points);
|
|
16166
16221
|
}
|
|
16167
|
-
function
|
|
16168
|
-
return new JassPlayerLite(mapFromDto_0(_this__u8e3s4.d3l_1),
|
|
16222
|
+
function mapFromDto_76(_this__u8e3s4) {
|
|
16223
|
+
return new JassPlayerLite(mapFromDto_0(_this__u8e3s4.d3l_1), mapFromDto_77(_this__u8e3s4.e3l_1), mapFromDto_80(_this__u8e3s4.f3l_1));
|
|
16169
16224
|
}
|
|
16170
16225
|
function mapFromLite_0(_this__u8e3s4, config) {
|
|
16171
16226
|
var tmp0_userInfo = _this__u8e3s4.userInfo;
|
|
@@ -16279,7 +16334,7 @@
|
|
|
16279
16334
|
var tmp13_canTakeAllRemainingCards = tmp_8;
|
|
16280
16335
|
return new PlayerOptionsDto(tmp10_numberOfCircle, tmp0_isGameCreator, tmp1_playerNumber, tmp2_isGameWinner, tmp3_isShuffleCards, tmp4_isRoundWinner, tmp5_isWonCardLot, tmp6_isEarnedBiggestPointInLastGame, tmp7_failedContractsCount, tmp8_sentVoicesCount, tmp9_isGotPreviousBribe, tmp11_isChoseSuit, tmp12_isChoseSuitInLastGame, tmp13_canTakeAllRemainingCards);
|
|
16281
16336
|
}
|
|
16282
|
-
function
|
|
16337
|
+
function mapFromDto_77(_this__u8e3s4) {
|
|
16283
16338
|
var tmp0_elvis_lhs = _this__u8e3s4.h3l_1;
|
|
16284
16339
|
var tmp = tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
|
|
16285
16340
|
var tmp1_elvis_lhs = _this__u8e3s4.j3l_1;
|
|
@@ -16419,7 +16474,7 @@
|
|
|
16419
16474
|
var tmp8_sessionCombinationRecords = tmp_7;
|
|
16420
16475
|
return new PlayerHandDto(tmp5_averageLuckyFactor, tmp6_luckyFactors, tmp7_gameCombinationRecords, tmp8_sessionCombinationRecords, tmp0_hasNoTrump, tmp1_hasNoDiamond, tmp2_hasNoSpade, tmp3_hasNoHeart, tmp4_hasNoClub);
|
|
16421
16476
|
}
|
|
16422
|
-
function
|
|
16477
|
+
function mapFromDto_78(_this__u8e3s4) {
|
|
16423
16478
|
var tmp0_elvis_lhs = _this__u8e3s4.y3l_1;
|
|
16424
16479
|
var tmp12_hasNoTrump = tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
|
|
16425
16480
|
var tmp1_elvis_lhs = _this__u8e3s4.z3l_1;
|
|
@@ -16443,7 +16498,7 @@
|
|
|
16443
16498
|
var _iterator__ex2g4s = tmp6_safe_receiver.l();
|
|
16444
16499
|
while (_iterator__ex2g4s.m()) {
|
|
16445
16500
|
var item = _iterator__ex2g4s.n();
|
|
16446
|
-
var tmp$ret$0 =
|
|
16501
|
+
var tmp$ret$0 = mapFromDto_79(item);
|
|
16447
16502
|
destination.j(tmp$ret$0);
|
|
16448
16503
|
}
|
|
16449
16504
|
tmp = destination;
|
|
@@ -16491,7 +16546,7 @@
|
|
|
16491
16546
|
function mapToDto_108(_this__u8e3s4) {
|
|
16492
16547
|
return new LuckyFactorRecordDto(_this__u8e3s4.h2p_1, _this__u8e3s4.i2p_1);
|
|
16493
16548
|
}
|
|
16494
|
-
function
|
|
16549
|
+
function mapFromDto_79(_this__u8e3s4) {
|
|
16495
16550
|
return new LuckyFactorRecord(_this__u8e3s4.d3m_1, _this__u8e3s4.e3m_1);
|
|
16496
16551
|
}
|
|
16497
16552
|
function mapToDto_109(_this__u8e3s4) {
|
|
@@ -16535,7 +16590,7 @@
|
|
|
16535
16590
|
var tmp$ret$11 = tmp_1;
|
|
16536
16591
|
return new PlayerPointsDto(_this__u8e3s4.z2p_1, tmp_0, tmp$ret$11);
|
|
16537
16592
|
}
|
|
16538
|
-
function
|
|
16593
|
+
function mapFromDto_80(_this__u8e3s4) {
|
|
16539
16594
|
var tmp0_safe_receiver = _this__u8e3s4.g3m_1;
|
|
16540
16595
|
var tmp;
|
|
16541
16596
|
if (tmp0_safe_receiver == null) {
|
|
@@ -16613,10 +16668,10 @@
|
|
|
16613
16668
|
var tmp7_amountOfCards = _this__u8e3s4.i2m_1;
|
|
16614
16669
|
return new ClientJassPlayerDto(tmp2_userInfo, tmp3_state, tmp4_options, tmp6_points, tmp5_cards, tmp7_amountOfCards);
|
|
16615
16670
|
}
|
|
16616
|
-
function
|
|
16671
|
+
function mapFromDto_81(_this__u8e3s4) {
|
|
16617
16672
|
var tmp1_userInfo = mapFromDto_0(_this__u8e3s4.i3m_1);
|
|
16618
|
-
var tmp2_state =
|
|
16619
|
-
var tmp3_options =
|
|
16673
|
+
var tmp2_state = mapFromDto_82(_this__u8e3s4.j3m_1);
|
|
16674
|
+
var tmp3_options = mapFromDto_77(_this__u8e3s4.k3m_1);
|
|
16620
16675
|
var tmp0_safe_receiver = _this__u8e3s4.m3m_1;
|
|
16621
16676
|
var tmp;
|
|
16622
16677
|
if (tmp0_safe_receiver == null) {
|
|
@@ -16634,7 +16689,7 @@
|
|
|
16634
16689
|
tmp = destination;
|
|
16635
16690
|
}
|
|
16636
16691
|
var tmp4_cards = tmp;
|
|
16637
|
-
var tmp5_points =
|
|
16692
|
+
var tmp5_points = mapFromDto_80(_this__u8e3s4.l3m_1);
|
|
16638
16693
|
var tmp6_amountOfCards = _this__u8e3s4.n3m_1;
|
|
16639
16694
|
return new ClientJassPlayer(tmp1_userInfo, tmp2_state, tmp3_options, tmp5_points, tmp4_cards, tmp6_amountOfCards);
|
|
16640
16695
|
}
|
|
@@ -16649,7 +16704,7 @@
|
|
|
16649
16704
|
var tmp4_safe_receiver = _this__u8e3s4.q2q_1;
|
|
16650
16705
|
return new ClientPlayerStateDto(tmp, tmp_0, tmp_1, tmp4_safe_receiver == null ? null : tmp4_safe_receiver.toString(), _this__u8e3s4.r2q_1, _this__u8e3s4.s2q_1, _this__u8e3s4.t2q_1);
|
|
16651
16706
|
}
|
|
16652
|
-
function
|
|
16707
|
+
function mapFromDto_82(_this__u8e3s4) {
|
|
16653
16708
|
var tmp0_safe_receiver = _this__u8e3s4.p3m_1;
|
|
16654
16709
|
var tmp;
|
|
16655
16710
|
if (tmp0_safe_receiver == null) {
|
|
@@ -16681,7 +16736,7 @@
|
|
|
16681
16736
|
function mapToDto_112(_this__u8e3s4) {
|
|
16682
16737
|
return new CombinationAnalyticsDto(mapToDto_11(_this__u8e3s4.type), _this__u8e3s4.count, _this__u8e3s4.acceptedCounts);
|
|
16683
16738
|
}
|
|
16684
|
-
function
|
|
16739
|
+
function mapFromDto_83(_this__u8e3s4) {
|
|
16685
16740
|
return new CombinationAnalytics(mapToCombinationType(_this__u8e3s4.v3m_1), _this__u8e3s4.w3m_1, _this__u8e3s4.x3m_1);
|
|
16686
16741
|
}
|
|
16687
16742
|
function get_roundContractStateMapping() {
|
|
@@ -16708,7 +16763,7 @@
|
|
|
16708
16763
|
}
|
|
16709
16764
|
return new PointsCellDto(destination, mapToDto_115(_this__u8e3s4.e2q_1));
|
|
16710
16765
|
}
|
|
16711
|
-
function
|
|
16766
|
+
function mapFromDto_84(_this__u8e3s4) {
|
|
16712
16767
|
_init_properties_PointsDtoMappers_kt__ukmlli();
|
|
16713
16768
|
// Inline function 'kotlin.collections.map' call
|
|
16714
16769
|
var this_0 = _this__u8e3s4.y3m_1;
|
|
@@ -16717,7 +16772,7 @@
|
|
|
16717
16772
|
var _iterator__ex2g4s = this_0.l();
|
|
16718
16773
|
while (_iterator__ex2g4s.m()) {
|
|
16719
16774
|
var item = _iterator__ex2g4s.n();
|
|
16720
|
-
var tmp$ret$0 =
|
|
16775
|
+
var tmp$ret$0 = mapFromDto_85(item);
|
|
16721
16776
|
destination.j(tmp$ret$0);
|
|
16722
16777
|
}
|
|
16723
16778
|
return new PointsCell(destination, mapToRoundContractState(_this__u8e3s4.z3m_1));
|
|
@@ -16757,7 +16812,7 @@
|
|
|
16757
16812
|
}
|
|
16758
16813
|
return new PlayerPointsCellDto(_this__u8e3s4.f2q_1, _this__u8e3s4.g2q_1, _this__u8e3s4.h2q_1, _this__u8e3s4.i2q_1, _this__u8e3s4.j2q_1, _this__u8e3s4.k2q_1, VOID, VOID, tmp_0);
|
|
16759
16814
|
}
|
|
16760
|
-
function
|
|
16815
|
+
function mapFromDto_85(_this__u8e3s4) {
|
|
16761
16816
|
_init_properties_PointsDtoMappers_kt__ukmlli();
|
|
16762
16817
|
var tmp0_safe_receiver = _this__u8e3s4.i3n_1;
|
|
16763
16818
|
var tmp;
|
|
@@ -16810,16 +16865,16 @@
|
|
|
16810
16865
|
}
|
|
16811
16866
|
return tmp;
|
|
16812
16867
|
}
|
|
16813
|
-
function
|
|
16868
|
+
function mapFromDto_86(_this__u8e3s4) {
|
|
16814
16869
|
var tmp;
|
|
16815
16870
|
if (_this__u8e3s4 instanceof CombinationActDataDto) {
|
|
16816
|
-
tmp =
|
|
16871
|
+
tmp = mapFromDto_87(_this__u8e3s4);
|
|
16817
16872
|
} else {
|
|
16818
16873
|
if (_this__u8e3s4 instanceof PlayersTurnActDataDto) {
|
|
16819
|
-
tmp =
|
|
16874
|
+
tmp = mapFromDto_88(_this__u8e3s4);
|
|
16820
16875
|
} else {
|
|
16821
16876
|
if (_this__u8e3s4 instanceof WaitingActDataDto) {
|
|
16822
|
-
tmp =
|
|
16877
|
+
tmp = mapFromDto_89(_this__u8e3s4);
|
|
16823
16878
|
} else {
|
|
16824
16879
|
throw new MechanicException("ActDataDto: Can't support this act " + toString(_this__u8e3s4));
|
|
16825
16880
|
}
|
|
@@ -16840,7 +16895,7 @@
|
|
|
16840
16895
|
}
|
|
16841
16896
|
return new CombinationActDataDto(_this__u8e3s4.i2t_1, destination);
|
|
16842
16897
|
}
|
|
16843
|
-
function
|
|
16898
|
+
function mapFromDto_87(_this__u8e3s4) {
|
|
16844
16899
|
// Inline function 'kotlin.collections.map' call
|
|
16845
16900
|
var this_0 = _this__u8e3s4.k3n_1;
|
|
16846
16901
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -16899,7 +16954,7 @@
|
|
|
16899
16954
|
}
|
|
16900
16955
|
return new PlayersTurnActDataDto(_this__u8e3s4.n2t_1, tmp_1);
|
|
16901
16956
|
}
|
|
16902
|
-
function
|
|
16957
|
+
function mapFromDto_88(_this__u8e3s4) {
|
|
16903
16958
|
var tmp0_safe_receiver = _this__u8e3s4.m3n_1;
|
|
16904
16959
|
var tmp;
|
|
16905
16960
|
if (tmp0_safe_receiver == null) {
|
|
@@ -16949,9 +17004,9 @@
|
|
|
16949
17004
|
var tmp0_safe_receiver = _this__u8e3s4.m2t_1;
|
|
16950
17005
|
return new WaitingActDataDto(_this__u8e3s4.l2t_1, tmp0_safe_receiver == null ? null : mapToDto_120(tmp0_safe_receiver));
|
|
16951
17006
|
}
|
|
16952
|
-
function
|
|
17007
|
+
function mapFromDto_89(_this__u8e3s4) {
|
|
16953
17008
|
var tmp0_safe_receiver = _this__u8e3s4.o3n_1;
|
|
16954
|
-
return new WaitingActData(_this__u8e3s4.n3n_1, tmp0_safe_receiver == null ? null :
|
|
17009
|
+
return new WaitingActData(_this__u8e3s4.n3n_1, tmp0_safe_receiver == null ? null : mapFromDto_90(tmp0_safe_receiver));
|
|
16955
17010
|
}
|
|
16956
17011
|
function mapToDto_120(_this__u8e3s4) {
|
|
16957
17012
|
var tmp;
|
|
@@ -16962,7 +17017,7 @@
|
|
|
16962
17017
|
}
|
|
16963
17018
|
return tmp;
|
|
16964
17019
|
}
|
|
16965
|
-
function
|
|
17020
|
+
function mapFromDto_90(_this__u8e3s4) {
|
|
16966
17021
|
var tmp;
|
|
16967
17022
|
if (_this__u8e3s4 instanceof CardDeckRequestDto) {
|
|
16968
17023
|
tmp = new CardDeckRequest(_this__u8e3s4.p3n_1);
|
|
@@ -16988,16 +17043,16 @@
|
|
|
16988
17043
|
}
|
|
16989
17044
|
return tmp;
|
|
16990
17045
|
}
|
|
16991
|
-
function
|
|
17046
|
+
function mapFromDto_91(_this__u8e3s4) {
|
|
16992
17047
|
var tmp;
|
|
16993
17048
|
if (_this__u8e3s4 instanceof WaitingActDataDto) {
|
|
16994
|
-
tmp =
|
|
17049
|
+
tmp = mapFromDto_89(_this__u8e3s4);
|
|
16995
17050
|
} else {
|
|
16996
17051
|
if (_this__u8e3s4 instanceof CombinationActDataDto) {
|
|
16997
|
-
tmp =
|
|
17052
|
+
tmp = mapFromDto_87(_this__u8e3s4);
|
|
16998
17053
|
} else {
|
|
16999
17054
|
if (_this__u8e3s4 instanceof PlayersTurnClientActDataDto) {
|
|
17000
|
-
tmp =
|
|
17055
|
+
tmp = mapFromDto_92(_this__u8e3s4);
|
|
17001
17056
|
} else {
|
|
17002
17057
|
throw new MechanicException("ClientActDataDto: Can't support this act " + toString(_this__u8e3s4));
|
|
17003
17058
|
}
|
|
@@ -17024,7 +17079,7 @@
|
|
|
17024
17079
|
}
|
|
17025
17080
|
return new PlayersTurnClientActDataDto(_this__u8e3s4.p2t_1, tmp);
|
|
17026
17081
|
}
|
|
17027
|
-
function
|
|
17082
|
+
function mapFromDto_92(_this__u8e3s4) {
|
|
17028
17083
|
var tmp0_safe_receiver = _this__u8e3s4.r3n_1;
|
|
17029
17084
|
var tmp;
|
|
17030
17085
|
if (tmp0_safe_receiver == null) {
|
|
@@ -17068,22 +17123,22 @@
|
|
|
17068
17123
|
}
|
|
17069
17124
|
return tmp;
|
|
17070
17125
|
}
|
|
17071
|
-
function
|
|
17126
|
+
function mapFromDto_93(_this__u8e3s4) {
|
|
17072
17127
|
var tmp;
|
|
17073
17128
|
if (_this__u8e3s4 instanceof WaitingSceneDataDto) {
|
|
17074
|
-
tmp =
|
|
17129
|
+
tmp = mapFromDto_97(_this__u8e3s4);
|
|
17075
17130
|
} else {
|
|
17076
17131
|
if (_this__u8e3s4 instanceof ChoosePartnerSceneDataDto) {
|
|
17077
|
-
tmp =
|
|
17132
|
+
tmp = mapFromDto_98(_this__u8e3s4);
|
|
17078
17133
|
} else {
|
|
17079
17134
|
if (_this__u8e3s4 instanceof TradeClientSceneDataDto) {
|
|
17080
|
-
tmp =
|
|
17135
|
+
tmp = mapFromDto_94(_this__u8e3s4);
|
|
17081
17136
|
} else {
|
|
17082
17137
|
if (_this__u8e3s4 instanceof EarnPointsClientSceneDataDto) {
|
|
17083
|
-
tmp =
|
|
17138
|
+
tmp = mapFromDto_95(_this__u8e3s4);
|
|
17084
17139
|
} else {
|
|
17085
17140
|
if (_this__u8e3s4 instanceof CalcPointsSceneDataDto) {
|
|
17086
|
-
tmp =
|
|
17141
|
+
tmp = mapFromDto_101(_this__u8e3s4);
|
|
17087
17142
|
} else {
|
|
17088
17143
|
throw new MechanicException("Can't map this scene " + toString(_this__u8e3s4) + ' in ClientSceneDataDto.mapFromDto');
|
|
17089
17144
|
}
|
|
@@ -17112,7 +17167,7 @@
|
|
|
17112
17167
|
var tmp6_whoShuffleCardsPlayerId = _this__u8e3s4.w2t_1;
|
|
17113
17168
|
return new TradeClientSceneDataDto(destination, tmp2_otherPlayersCardsCount, tmp3_trumpCard, tmp4_otherCardsCount, tmp6_whoShuffleCardsPlayerId, tmp5_randomData);
|
|
17114
17169
|
}
|
|
17115
|
-
function
|
|
17170
|
+
function mapFromDto_94(_this__u8e3s4) {
|
|
17116
17171
|
// Inline function 'kotlin.collections.map' call
|
|
17117
17172
|
var this_0 = _this__u8e3s4.s3n_1;
|
|
17118
17173
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -17160,7 +17215,7 @@
|
|
|
17160
17215
|
var tmp1_safe_receiver = _this__u8e3s4.c2u_1;
|
|
17161
17216
|
return new EarnPointsClientSceneDataDto(tmp, _this__u8e3s4.a2u_1, tmp_1, tmp1_safe_receiver == null ? null : mapToDto(tmp1_safe_receiver), _this__u8e3s4.d2u_1);
|
|
17162
17217
|
}
|
|
17163
|
-
function
|
|
17218
|
+
function mapFromDto_95(_this__u8e3s4) {
|
|
17164
17219
|
// Inline function 'kotlin.collections.map' call
|
|
17165
17220
|
var this_0 = _this__u8e3s4.y3n_1;
|
|
17166
17221
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -17217,22 +17272,22 @@
|
|
|
17217
17272
|
}
|
|
17218
17273
|
return tmp;
|
|
17219
17274
|
}
|
|
17220
|
-
function
|
|
17275
|
+
function mapFromDto_96(_this__u8e3s4) {
|
|
17221
17276
|
var tmp;
|
|
17222
17277
|
if (_this__u8e3s4 instanceof WaitingSceneDataDto) {
|
|
17223
|
-
tmp =
|
|
17278
|
+
tmp = mapFromDto_97(_this__u8e3s4);
|
|
17224
17279
|
} else {
|
|
17225
17280
|
if (_this__u8e3s4 instanceof ChoosePartnerSceneDataDto) {
|
|
17226
|
-
tmp =
|
|
17281
|
+
tmp = mapFromDto_98(_this__u8e3s4);
|
|
17227
17282
|
} else {
|
|
17228
17283
|
if (_this__u8e3s4 instanceof TradeSceneDataDto) {
|
|
17229
|
-
tmp =
|
|
17284
|
+
tmp = mapFromDto_99(_this__u8e3s4);
|
|
17230
17285
|
} else {
|
|
17231
17286
|
if (_this__u8e3s4 instanceof EarnPointsSceneDataDto) {
|
|
17232
|
-
tmp =
|
|
17287
|
+
tmp = mapFromDto_100(_this__u8e3s4);
|
|
17233
17288
|
} else {
|
|
17234
17289
|
if (_this__u8e3s4 instanceof CalcPointsSceneDataDto) {
|
|
17235
|
-
tmp =
|
|
17290
|
+
tmp = mapFromDto_101(_this__u8e3s4);
|
|
17236
17291
|
} else {
|
|
17237
17292
|
throw new MechanicException("Can't map this scene in SceneData.mapFromDto " + toString(_this__u8e3s4));
|
|
17238
17293
|
}
|
|
@@ -17245,13 +17300,13 @@
|
|
|
17245
17300
|
function mapToDto_127(_this__u8e3s4) {
|
|
17246
17301
|
return WaitingSceneDataDto_getInstance();
|
|
17247
17302
|
}
|
|
17248
|
-
function
|
|
17303
|
+
function mapFromDto_97(_this__u8e3s4) {
|
|
17249
17304
|
return WaitingSceneData_getInstance();
|
|
17250
17305
|
}
|
|
17251
17306
|
function mapToDto_128(_this__u8e3s4) {
|
|
17252
17307
|
return new ChoosePartnerSceneDataDto(_this__u8e3s4.e2u_1);
|
|
17253
17308
|
}
|
|
17254
|
-
function
|
|
17309
|
+
function mapFromDto_98(_this__u8e3s4) {
|
|
17255
17310
|
return new ChoosePartnerSceneData(_this__u8e3s4.d3o_1);
|
|
17256
17311
|
}
|
|
17257
17312
|
function mapToDto_129(_this__u8e3s4) {
|
|
@@ -17293,7 +17348,7 @@
|
|
|
17293
17348
|
var tmp0_safe_receiver = _this__u8e3s4.g2u_1;
|
|
17294
17349
|
return new TradeSceneDataDto(tmp_0, tmp_1, tmp_2, _this__u8e3s4.j2u_1, tmp0_safe_receiver == null ? null : mapToDto_17(tmp0_safe_receiver));
|
|
17295
17350
|
}
|
|
17296
|
-
function
|
|
17351
|
+
function mapFromDto_99(_this__u8e3s4) {
|
|
17297
17352
|
// Inline function 'kotlin.collections.mapValues' call
|
|
17298
17353
|
var this_0 = _this__u8e3s4.e3o_1;
|
|
17299
17354
|
// Inline function 'kotlin.collections.mapValuesTo' call
|
|
@@ -17388,7 +17443,7 @@
|
|
|
17388
17443
|
var tmp1_safe_receiver = _this__u8e3s4.m2u_1;
|
|
17389
17444
|
return new EarnPointsSceneDataDto(tmp_0, tmp_3, tmp1_safe_receiver == null ? null : mapToDto(tmp1_safe_receiver), _this__u8e3s4.n2u_1);
|
|
17390
17445
|
}
|
|
17391
|
-
function
|
|
17446
|
+
function mapFromDto_100(_this__u8e3s4) {
|
|
17392
17447
|
// Inline function 'kotlin.collections.mapValues' call
|
|
17393
17448
|
var this_0 = _this__u8e3s4.j3o_1;
|
|
17394
17449
|
// Inline function 'kotlin.collections.mapValuesTo' call
|
|
@@ -17494,7 +17549,7 @@
|
|
|
17494
17549
|
}
|
|
17495
17550
|
return new CalcPointsSceneDataDto(_this__u8e3s4.o2u_1, _this__u8e3s4.p2u_1, _this__u8e3s4.q2u_1, tmp_1, _this__u8e3s4.s2u_1, tmp_2, tmp_3);
|
|
17496
17551
|
}
|
|
17497
|
-
function
|
|
17552
|
+
function mapFromDto_101(_this__u8e3s4) {
|
|
17498
17553
|
// Inline function 'kotlin.collections.map' call
|
|
17499
17554
|
var this_0 = _this__u8e3s4.s3o_1;
|
|
17500
17555
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -17502,7 +17557,7 @@
|
|
|
17502
17557
|
var _iterator__ex2g4s = this_0.l();
|
|
17503
17558
|
while (_iterator__ex2g4s.m()) {
|
|
17504
17559
|
var item = _iterator__ex2g4s.n();
|
|
17505
|
-
var tmp$ret$0 =
|
|
17560
|
+
var tmp$ret$0 = mapFromDto_84(item);
|
|
17506
17561
|
destination.j(tmp$ret$0);
|
|
17507
17562
|
}
|
|
17508
17563
|
var tmp = destination;
|
|
@@ -17521,7 +17576,7 @@
|
|
|
17521
17576
|
var tmp_1 = element.u1();
|
|
17522
17577
|
// Inline function 'kotlin.collections.component2' call
|
|
17523
17578
|
var value = element.v1();
|
|
17524
|
-
var tmp$ret$5 =
|
|
17579
|
+
var tmp$ret$5 = mapFromDto_74(value);
|
|
17525
17580
|
destination_0.b2(tmp_1, tmp$ret$5);
|
|
17526
17581
|
}
|
|
17527
17582
|
tmp_0 = destination_0;
|
|
@@ -29599,8 +29654,8 @@
|
|
|
29599
29654
|
}
|
|
29600
29655
|
return new TableStateWithActionsDto(tmp, destination);
|
|
29601
29656
|
}
|
|
29602
|
-
function
|
|
29603
|
-
var tmp =
|
|
29657
|
+
function mapFromDto_102(_this__u8e3s4) {
|
|
29658
|
+
var tmp = mapFromDto_68(_this__u8e3s4.j3t_1);
|
|
29604
29659
|
// Inline function 'kotlin.collections.map' call
|
|
29605
29660
|
var this_0 = _this__u8e3s4.k3t_1;
|
|
29606
29661
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -34077,40 +34132,34 @@
|
|
|
34077
34132
|
function UserRatingInteractor() {
|
|
34078
34133
|
}
|
|
34079
34134
|
function UserRatingInteractorImpl(ratingCalculator) {
|
|
34080
|
-
this.
|
|
34135
|
+
this.l41_1 = ratingCalculator;
|
|
34081
34136
|
}
|
|
34082
|
-
protoOf(UserRatingInteractorImpl).j41 = function (league, rating) {
|
|
34083
|
-
var config = this.l41();
|
|
34137
|
+
protoOf(UserRatingInteractorImpl).j41 = function (league, rating, leaguesConfig) {
|
|
34084
34138
|
var requestedLeagueIndex = get_entries().q1(league);
|
|
34085
|
-
var userLeague =
|
|
34139
|
+
var userLeague = leaguesConfig.getLeagueByRating(rating);
|
|
34086
34140
|
var userLeagueIndex = get_entries().q1(userLeague);
|
|
34087
34141
|
return userLeagueIndex >= requestedLeagueIndex;
|
|
34088
34142
|
};
|
|
34089
|
-
protoOf(UserRatingInteractorImpl).k41 = function (rating) {
|
|
34090
|
-
|
|
34091
|
-
return config.getLeagueByRating(rating);
|
|
34092
|
-
};
|
|
34093
|
-
protoOf(UserRatingInteractorImpl).l41 = function () {
|
|
34094
|
-
var defaultConfig = Companion_instance_9.defaultConfig();
|
|
34095
|
-
return defaultConfig;
|
|
34143
|
+
protoOf(UserRatingInteractorImpl).k41 = function (rating, leaguesConfig) {
|
|
34144
|
+
return leaguesConfig.getLeagueByRating(rating);
|
|
34096
34145
|
};
|
|
34097
34146
|
function AppStatePayload() {
|
|
34098
34147
|
}
|
|
34099
34148
|
function ClearAction(transition) {
|
|
34100
34149
|
this.transition = transition;
|
|
34101
34150
|
}
|
|
34102
|
-
protoOf(ClearAction).
|
|
34151
|
+
protoOf(ClearAction).m41 = function () {
|
|
34103
34152
|
return this.transition;
|
|
34104
34153
|
};
|
|
34105
34154
|
protoOf(ClearAction).sc = function () {
|
|
34106
34155
|
return this.transition;
|
|
34107
34156
|
};
|
|
34108
|
-
protoOf(ClearAction).
|
|
34157
|
+
protoOf(ClearAction).n41 = function (transition) {
|
|
34109
34158
|
return new ClearAction(transition);
|
|
34110
34159
|
};
|
|
34111
34160
|
protoOf(ClearAction).copy = function (transition, $super) {
|
|
34112
34161
|
transition = transition === VOID ? this.transition : transition;
|
|
34113
|
-
return $super === VOID ? this.
|
|
34162
|
+
return $super === VOID ? this.n41(transition) : $super.n41.call(this, transition);
|
|
34114
34163
|
};
|
|
34115
34164
|
protoOf(ClearAction).toString = function () {
|
|
34116
34165
|
return 'ClearAction(transition=' + toString_0(this.transition) + ')';
|
|
@@ -34174,7 +34223,7 @@
|
|
|
34174
34223
|
protoOf(PartnerSelectedFromClientAction).r1p = function () {
|
|
34175
34224
|
return this.z36_1;
|
|
34176
34225
|
};
|
|
34177
|
-
protoOf(PartnerSelectedFromClientAction).
|
|
34226
|
+
protoOf(PartnerSelectedFromClientAction).o41 = function () {
|
|
34178
34227
|
return this.a37_1;
|
|
34179
34228
|
};
|
|
34180
34229
|
protoOf(PartnerSelectedFromClientAction).toString = function () {
|
|
@@ -34211,7 +34260,7 @@
|
|
|
34211
34260
|
protoOf(PlayerReadyFromClientAction).r1p = function () {
|
|
34212
34261
|
return this.d37_1;
|
|
34213
34262
|
};
|
|
34214
|
-
protoOf(PlayerReadyFromClientAction).
|
|
34263
|
+
protoOf(PlayerReadyFromClientAction).o41 = function () {
|
|
34215
34264
|
return this.e37_1;
|
|
34216
34265
|
};
|
|
34217
34266
|
protoOf(PlayerReadyFromClientAction).toString = function () {
|
|
@@ -34247,7 +34296,7 @@
|
|
|
34247
34296
|
protoOf(SuitChoiceFromClientAction).r1p = function () {
|
|
34248
34297
|
return this.g37_1;
|
|
34249
34298
|
};
|
|
34250
|
-
protoOf(SuitChoiceFromClientAction).
|
|
34299
|
+
protoOf(SuitChoiceFromClientAction).o41 = function () {
|
|
34251
34300
|
return this.h37_1;
|
|
34252
34301
|
};
|
|
34253
34302
|
protoOf(SuitChoiceFromClientAction).toString = function () {
|
|
@@ -34285,7 +34334,7 @@
|
|
|
34285
34334
|
protoOf(CombinationChoiceFromClientAction).r1p = function () {
|
|
34286
34335
|
return this.k37_1;
|
|
34287
34336
|
};
|
|
34288
|
-
protoOf(CombinationChoiceFromClientAction).
|
|
34337
|
+
protoOf(CombinationChoiceFromClientAction).o41 = function () {
|
|
34289
34338
|
return this.l37_1;
|
|
34290
34339
|
};
|
|
34291
34340
|
protoOf(CombinationChoiceFromClientAction).toString = function () {
|
|
@@ -34325,7 +34374,7 @@
|
|
|
34325
34374
|
protoOf(CardFromClientAction).r1p = function () {
|
|
34326
34375
|
return this.o37_1;
|
|
34327
34376
|
};
|
|
34328
|
-
protoOf(CardFromClientAction).
|
|
34377
|
+
protoOf(CardFromClientAction).o41 = function () {
|
|
34329
34378
|
return this.p37_1;
|
|
34330
34379
|
};
|
|
34331
34380
|
protoOf(CardFromClientAction).toString = function () {
|
|
@@ -34365,7 +34414,7 @@
|
|
|
34365
34414
|
protoOf(TakeAllRemainingCardsFromClientAction).r1p = function () {
|
|
34366
34415
|
return this.t37_1;
|
|
34367
34416
|
};
|
|
34368
|
-
protoOf(TakeAllRemainingCardsFromClientAction).
|
|
34417
|
+
protoOf(TakeAllRemainingCardsFromClientAction).o41 = function () {
|
|
34369
34418
|
return this.u37_1;
|
|
34370
34419
|
};
|
|
34371
34420
|
protoOf(TakeAllRemainingCardsFromClientAction).toString = function () {
|
|
@@ -34401,7 +34450,7 @@
|
|
|
34401
34450
|
protoOf(MessageFromClientAction).r1p = function () {
|
|
34402
34451
|
return this.w37_1;
|
|
34403
34452
|
};
|
|
34404
|
-
protoOf(MessageFromClientAction).
|
|
34453
|
+
protoOf(MessageFromClientAction).o41 = function () {
|
|
34405
34454
|
return this.x37_1;
|
|
34406
34455
|
};
|
|
34407
34456
|
protoOf(MessageFromClientAction).toString = function () {
|
|
@@ -34440,7 +34489,7 @@
|
|
|
34440
34489
|
protoOf(ExitFromClientAction).r1p = function () {
|
|
34441
34490
|
return this.b38_1;
|
|
34442
34491
|
};
|
|
34443
|
-
protoOf(ExitFromClientAction).
|
|
34492
|
+
protoOf(ExitFromClientAction).o41 = function () {
|
|
34444
34493
|
return this.c38_1;
|
|
34445
34494
|
};
|
|
34446
34495
|
protoOf(ExitFromClientAction).toString = function () {
|
|
@@ -34472,7 +34521,7 @@
|
|
|
34472
34521
|
protoOf(RequestedCardDecksFromClientAction).r1p = function () {
|
|
34473
34522
|
return this.e38_1;
|
|
34474
34523
|
};
|
|
34475
|
-
protoOf(RequestedCardDecksFromClientAction).
|
|
34524
|
+
protoOf(RequestedCardDecksFromClientAction).o41 = function () {
|
|
34476
34525
|
return this.f38_1;
|
|
34477
34526
|
};
|
|
34478
34527
|
protoOf(RequestedCardDecksFromClientAction).toString = function () {
|
|
@@ -34537,25 +34586,25 @@
|
|
|
34537
34586
|
protoOf(ActionDeliveryPayload).i16 = function () {
|
|
34538
34587
|
return this.id;
|
|
34539
34588
|
};
|
|
34540
|
-
protoOf(ActionDeliveryPayload).
|
|
34589
|
+
protoOf(ActionDeliveryPayload).p41 = function () {
|
|
34541
34590
|
return this.aid;
|
|
34542
34591
|
};
|
|
34543
|
-
protoOf(ActionDeliveryPayload).
|
|
34592
|
+
protoOf(ActionDeliveryPayload).q41 = function () {
|
|
34544
34593
|
return this.includePlayers;
|
|
34545
34594
|
};
|
|
34546
|
-
protoOf(ActionDeliveryPayload).
|
|
34595
|
+
protoOf(ActionDeliveryPayload).r41 = function () {
|
|
34547
34596
|
return this.excludePlayers;
|
|
34548
34597
|
};
|
|
34549
|
-
protoOf(ActionDeliveryPayload).
|
|
34598
|
+
protoOf(ActionDeliveryPayload).s41 = function () {
|
|
34550
34599
|
return this.deliveryType;
|
|
34551
34600
|
};
|
|
34552
|
-
protoOf(ActionDeliveryPayload).
|
|
34601
|
+
protoOf(ActionDeliveryPayload).t41 = function () {
|
|
34553
34602
|
return firstOrNull_0(this.excludePlayers);
|
|
34554
34603
|
};
|
|
34555
|
-
protoOf(ActionDeliveryPayload).
|
|
34604
|
+
protoOf(ActionDeliveryPayload).u41 = function () {
|
|
34556
34605
|
return first_0(this.includePlayers);
|
|
34557
34606
|
};
|
|
34558
|
-
protoOf(ActionDeliveryPayload).
|
|
34607
|
+
protoOf(ActionDeliveryPayload).v41 = function () {
|
|
34559
34608
|
return first_0(this.excludePlayers);
|
|
34560
34609
|
};
|
|
34561
34610
|
protoOf(ActionDeliveryPayload).toString = function () {
|
|
@@ -34627,7 +34676,7 @@
|
|
|
34627
34676
|
protoOf(ActionDeliveryPayload).m1q = function () {
|
|
34628
34677
|
return this.deliveryType;
|
|
34629
34678
|
};
|
|
34630
|
-
protoOf(ActionDeliveryPayload).
|
|
34679
|
+
protoOf(ActionDeliveryPayload).w41 = function (tableId, aid, includePlayers, excludePlayers, deliveryType) {
|
|
34631
34680
|
return new ActionDeliveryPayload(tableId, aid, includePlayers, excludePlayers, deliveryType);
|
|
34632
34681
|
};
|
|
34633
34682
|
protoOf(ActionDeliveryPayload).copy = function (tableId, aid, includePlayers, excludePlayers, deliveryType, $super) {
|
|
@@ -34636,10 +34685,10 @@
|
|
|
34636
34685
|
includePlayers = includePlayers === VOID ? this.includePlayers : includePlayers;
|
|
34637
34686
|
excludePlayers = excludePlayers === VOID ? this.excludePlayers : excludePlayers;
|
|
34638
34687
|
deliveryType = deliveryType === VOID ? this.deliveryType : deliveryType;
|
|
34639
|
-
return $super === VOID ? this.
|
|
34688
|
+
return $super === VOID ? this.w41(tableId, aid, includePlayers, excludePlayers, deliveryType) : $super.w41.call(this, tableId, aid, includePlayers, excludePlayers, deliveryType);
|
|
34640
34689
|
};
|
|
34641
34690
|
function _get_$cachedSerializer__te6jhj_21($this) {
|
|
34642
|
-
return $this.
|
|
34691
|
+
return $this.x41_1.v1();
|
|
34643
34692
|
}
|
|
34644
34693
|
function ActionDeliveryType$Companion$_anonymous__6nlnfv() {
|
|
34645
34694
|
return createSimpleEnumSerializer('games.jass.logic.redux.actions.client.to.ActionDeliveryType', values_18());
|
|
@@ -34668,7 +34717,7 @@
|
|
|
34668
34717
|
Companion_instance_163 = this;
|
|
34669
34718
|
var tmp = this;
|
|
34670
34719
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
34671
|
-
tmp.
|
|
34720
|
+
tmp.x41_1 = lazy(tmp_0, ActionDeliveryType$Companion$_anonymous__6nlnfv);
|
|
34672
34721
|
}
|
|
34673
34722
|
protoOf(Companion_159).c18 = function () {
|
|
34674
34723
|
return _get_$cachedSerializer__te6jhj_21(this);
|
|
@@ -34842,21 +34891,21 @@
|
|
|
34842
34891
|
return new StartNewGameMechanicAction(tmp1_previousGameId, tmp0_gameId, tmp2_aid);
|
|
34843
34892
|
}
|
|
34844
34893
|
function mapFromClientDto_2(_this__u8e3s4, payload) {
|
|
34845
|
-
return new ContinueGameMechanicAction(mapFromClient_0(
|
|
34894
|
+
return new ContinueGameMechanicAction(mapFromClient_0(mapFromDto_70(_this__u8e3s4.e2y_1), payload), _this__u8e3s4.f2y_1, _this__u8e3s4.g2y_1, _this__u8e3s4.h2y_1);
|
|
34846
34895
|
}
|
|
34847
34896
|
function mapFromClientDto_3(_this__u8e3s4) {
|
|
34848
34897
|
var tmp = mapFromDto_1(_this__u8e3s4.l2y_1);
|
|
34849
34898
|
var tmp0_elvis_lhs = _this__u8e3s4.n2y_1;
|
|
34850
34899
|
var tmp_0 = tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
|
|
34851
34900
|
var tmp1_safe_receiver = _this__u8e3s4.m2y_1;
|
|
34852
|
-
return new FinishingGameMechanicAction(tmp, tmp_0, tmp1_safe_receiver == null ? null :
|
|
34901
|
+
return new FinishingGameMechanicAction(tmp, tmp_0, tmp1_safe_receiver == null ? null : mapFromDto_71(tmp1_safe_receiver), VOID, VOID, VOID, _this__u8e3s4.o2y_1);
|
|
34853
34902
|
}
|
|
34854
34903
|
function mapFromClientDto_4(_this__u8e3s4) {
|
|
34855
34904
|
var tmp2_reason = mapFromDto_1(_this__u8e3s4.s2y_1);
|
|
34856
34905
|
var tmp0_elvis_lhs = _this__u8e3s4.u2y_1;
|
|
34857
34906
|
var tmp3_isGameFinished = tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
|
|
34858
34907
|
var tmp1_safe_receiver = _this__u8e3s4.t2y_1;
|
|
34859
|
-
var tmp4_transition = tmp1_safe_receiver == null ? null :
|
|
34908
|
+
var tmp4_transition = tmp1_safe_receiver == null ? null : mapFromDto_71(tmp1_safe_receiver);
|
|
34860
34909
|
var tmp5_aid = _this__u8e3s4.v2y_1;
|
|
34861
34910
|
return new FinishGameMechanicAction(tmp2_reason, tmp3_isGameFinished, tmp5_aid, tmp4_transition);
|
|
34862
34911
|
}
|
|
@@ -34867,18 +34916,18 @@
|
|
|
34867
34916
|
var tmp4_currentTurnPlayerId = _this__u8e3s4.g2z_1;
|
|
34868
34917
|
var tmp5_sceneId = _this__u8e3s4.h2z_1;
|
|
34869
34918
|
var tmp0_safe_receiver = _this__u8e3s4.j2z_1;
|
|
34870
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null :
|
|
34919
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : mapFromDto_93(tmp0_safe_receiver);
|
|
34871
34920
|
var tmp6_sceneData = tmp1_safe_receiver == null ? null : mapFromClientData_1(tmp1_safe_receiver, payload);
|
|
34872
34921
|
var tmp7_actId = _this__u8e3s4.i2z_1;
|
|
34873
34922
|
var tmp2_safe_receiver = _this__u8e3s4.k2z_1;
|
|
34874
|
-
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null :
|
|
34923
|
+
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : mapFromDto_91(tmp2_safe_receiver);
|
|
34875
34924
|
var tmp8_actData = tmp3_safe_receiver == null ? null : mapFromClientData(tmp3_safe_receiver, payload);
|
|
34876
34925
|
var tmp9_aid = _this__u8e3s4.l2z_1;
|
|
34877
34926
|
return new SceneMechanicAction(tmp4_currentTurnPlayerId, tmp5_sceneId, tmp7_actId, tmp6_sceneData, tmp8_actData, tmp9_aid);
|
|
34878
34927
|
}
|
|
34879
34928
|
function mapFromClientDto_7(_this__u8e3s4, payload) {
|
|
34880
34929
|
var tmp0_safe_receiver = _this__u8e3s4.r2z_1;
|
|
34881
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null :
|
|
34930
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : mapFromDto_91(tmp0_safe_receiver);
|
|
34882
34931
|
return new SceneActMechanicAction(_this__u8e3s4.p2z_1, _this__u8e3s4.q2z_1, tmp1_safe_receiver == null ? null : mapFromClientData(tmp1_safe_receiver, payload), _this__u8e3s4.s2z_1);
|
|
34883
34932
|
}
|
|
34884
34933
|
function mapFromClientDto_8(_this__u8e3s4) {
|
|
@@ -34985,7 +35034,7 @@
|
|
|
34985
35034
|
return new WinnerCombinationsMechanicAction(destination, _this__u8e3s4.w31_1);
|
|
34986
35035
|
}
|
|
34987
35036
|
function mapFromClientDto_17(_this__u8e3s4) {
|
|
34988
|
-
return new MessageMechanicAction(
|
|
35037
|
+
return new MessageMechanicAction(mapFromDto_47(_this__u8e3s4.b32_1, true), _this__u8e3s4.c32_1);
|
|
34989
35038
|
}
|
|
34990
35039
|
function mapFromClientDto_18(_this__u8e3s4) {
|
|
34991
35040
|
var tmp0_elvis_lhs = _this__u8e3s4.i32_1;
|
|
@@ -35057,7 +35106,7 @@
|
|
|
35057
35106
|
protoOf(RoundStartedAction).m16 = function () {
|
|
35058
35107
|
return this.gameId;
|
|
35059
35108
|
};
|
|
35060
|
-
protoOf(RoundStartedAction).
|
|
35109
|
+
protoOf(RoundStartedAction).b42 = function () {
|
|
35061
35110
|
return this.partyNumber;
|
|
35062
35111
|
};
|
|
35063
35112
|
protoOf(RoundStartedAction).l16 = function () {
|
|
@@ -35069,13 +35118,13 @@
|
|
|
35069
35118
|
protoOf(RoundStartedAction).h3x = function () {
|
|
35070
35119
|
return this.gameNumber;
|
|
35071
35120
|
};
|
|
35072
|
-
protoOf(RoundStartedAction).
|
|
35121
|
+
protoOf(RoundStartedAction).c42 = function () {
|
|
35073
35122
|
return this.roomMode;
|
|
35074
35123
|
};
|
|
35075
35124
|
protoOf(RoundStartedAction).q3x = function () {
|
|
35076
35125
|
return this.gameHistory;
|
|
35077
35126
|
};
|
|
35078
|
-
protoOf(RoundStartedAction).
|
|
35127
|
+
protoOf(RoundStartedAction).d42 = function () {
|
|
35079
35128
|
return mapToDto_16(this.roomMode);
|
|
35080
35129
|
};
|
|
35081
35130
|
protoOf(RoundStartedAction).toString = function () {
|
|
@@ -35138,7 +35187,7 @@
|
|
|
35138
35187
|
protoOf(RoundStartedAction).e2g = function () {
|
|
35139
35188
|
return this.gameHistory;
|
|
35140
35189
|
};
|
|
35141
|
-
protoOf(RoundStartedAction).
|
|
35190
|
+
protoOf(RoundStartedAction).e42 = function (id, gameId, roundNumber, players, isFirstRound, gameNumber, roomMode, gameHistory) {
|
|
35142
35191
|
return new RoundStartedAction(id, gameId, roundNumber, players, isFirstRound, gameNumber, roomMode, gameHistory);
|
|
35143
35192
|
};
|
|
35144
35193
|
protoOf(RoundStartedAction).copy = function (id, gameId, roundNumber, players, isFirstRound, gameNumber, roomMode, gameHistory, $super) {
|
|
@@ -35150,7 +35199,7 @@
|
|
|
35150
35199
|
gameNumber = gameNumber === VOID ? this.gameNumber : gameNumber;
|
|
35151
35200
|
roomMode = roomMode === VOID ? this.roomMode : roomMode;
|
|
35152
35201
|
gameHistory = gameHistory === VOID ? this.gameHistory : gameHistory;
|
|
35153
|
-
return $super === VOID ? this.
|
|
35202
|
+
return $super === VOID ? this.e42(id, gameId, roundNumber, players, isFirstRound, gameNumber, roomMode, gameHistory) : $super.e42.call(this, id, gameId, roundNumber, players, isFirstRound, gameNumber, roomMode, gameHistory);
|
|
35154
35203
|
};
|
|
35155
35204
|
function RoundEndedAction(id, gameId, roundNumber, earnedBiggestPointPlayerId, gameLosers, gameWinners, leftPermanentlyPlayers, playersGameAnalytics, playersRoundAnalytics, achievements, gameHistory) {
|
|
35156
35205
|
GameAction.call(this);
|
|
@@ -35175,22 +35224,22 @@
|
|
|
35175
35224
|
protoOf(RoundEndedAction).a40 = function () {
|
|
35176
35225
|
return this.roundNumber;
|
|
35177
35226
|
};
|
|
35178
|
-
protoOf(RoundEndedAction).
|
|
35227
|
+
protoOf(RoundEndedAction).f42 = function () {
|
|
35179
35228
|
return this.earnedBiggestPointPlayerId;
|
|
35180
35229
|
};
|
|
35181
|
-
protoOf(RoundEndedAction).
|
|
35230
|
+
protoOf(RoundEndedAction).g42 = function () {
|
|
35182
35231
|
return this.gameLosers;
|
|
35183
35232
|
};
|
|
35184
35233
|
protoOf(RoundEndedAction).e40 = function () {
|
|
35185
35234
|
return this.gameWinners;
|
|
35186
35235
|
};
|
|
35187
|
-
protoOf(RoundEndedAction).
|
|
35236
|
+
protoOf(RoundEndedAction).h42 = function () {
|
|
35188
35237
|
return this.leftPermanentlyPlayers;
|
|
35189
35238
|
};
|
|
35190
|
-
protoOf(RoundEndedAction).
|
|
35239
|
+
protoOf(RoundEndedAction).i42 = function () {
|
|
35191
35240
|
return this.playersGameAnalytics;
|
|
35192
35241
|
};
|
|
35193
|
-
protoOf(RoundEndedAction).
|
|
35242
|
+
protoOf(RoundEndedAction).j42 = function () {
|
|
35194
35243
|
return this.playersRoundAnalytics;
|
|
35195
35244
|
};
|
|
35196
35245
|
protoOf(RoundEndedAction).s2o = function () {
|
|
@@ -35434,7 +35483,7 @@
|
|
|
35434
35483
|
protoOf(RoundEndedAction).h2g = function () {
|
|
35435
35484
|
return this.gameHistory;
|
|
35436
35485
|
};
|
|
35437
|
-
protoOf(RoundEndedAction).
|
|
35486
|
+
protoOf(RoundEndedAction).k42 = function (id, gameId, roundNumber, earnedBiggestPointPlayerId, gameLosers, gameWinners, leftPermanentlyPlayers, playersGameAnalytics, playersRoundAnalytics, achievements, gameHistory) {
|
|
35438
35487
|
return new RoundEndedAction(id, gameId, roundNumber, earnedBiggestPointPlayerId, gameLosers, gameWinners, leftPermanentlyPlayers, playersGameAnalytics, playersRoundAnalytics, achievements, gameHistory);
|
|
35439
35488
|
};
|
|
35440
35489
|
protoOf(RoundEndedAction).copy = function (id, gameId, roundNumber, earnedBiggestPointPlayerId, gameLosers, gameWinners, leftPermanentlyPlayers, playersGameAnalytics, playersRoundAnalytics, achievements, gameHistory, $super) {
|
|
@@ -35449,7 +35498,7 @@
|
|
|
35449
35498
|
playersRoundAnalytics = playersRoundAnalytics === VOID ? this.playersRoundAnalytics : playersRoundAnalytics;
|
|
35450
35499
|
achievements = achievements === VOID ? this.achievements : achievements;
|
|
35451
35500
|
gameHistory = gameHistory === VOID ? this.gameHistory : gameHistory;
|
|
35452
|
-
return $super === VOID ? this.
|
|
35501
|
+
return $super === VOID ? this.k42(id, gameId, roundNumber, earnedBiggestPointPlayerId, gameLosers, gameWinners, leftPermanentlyPlayers, playersGameAnalytics, playersRoundAnalytics, achievements, gameHistory) : $super.k42.call(this, id, gameId, roundNumber, earnedBiggestPointPlayerId, gameLosers, gameWinners, leftPermanentlyPlayers, playersGameAnalytics, playersRoundAnalytics, achievements, gameHistory);
|
|
35453
35502
|
};
|
|
35454
35503
|
function PartyRestartedAction(id, roundNumber) {
|
|
35455
35504
|
this.id = id;
|
|
@@ -35458,7 +35507,7 @@
|
|
|
35458
35507
|
protoOf(PartyRestartedAction).i16 = function () {
|
|
35459
35508
|
return this.id;
|
|
35460
35509
|
};
|
|
35461
|
-
protoOf(PartyRestartedAction).
|
|
35510
|
+
protoOf(PartyRestartedAction).b42 = function () {
|
|
35462
35511
|
return this.partyNumber;
|
|
35463
35512
|
};
|
|
35464
35513
|
protoOf(PartyRestartedAction).sc = function () {
|
|
@@ -35500,13 +35549,13 @@
|
|
|
35500
35549
|
this.originalRoomMode = originalRoomMode;
|
|
35501
35550
|
this.s2f_1 = previousPlayers;
|
|
35502
35551
|
}
|
|
35503
|
-
protoOf(RevengeRoomTransition).
|
|
35552
|
+
protoOf(RevengeRoomTransition).n42 = function () {
|
|
35504
35553
|
return this.originalRoomMode;
|
|
35505
35554
|
};
|
|
35506
|
-
protoOf(RevengeRoomTransition).
|
|
35555
|
+
protoOf(RevengeRoomTransition).l42 = function () {
|
|
35507
35556
|
return this.s2f_1;
|
|
35508
35557
|
};
|
|
35509
|
-
protoOf(RevengeRoomTransition).
|
|
35558
|
+
protoOf(RevengeRoomTransition).m42 = function () {
|
|
35510
35559
|
// Inline function 'kotlin.emptyArray' call
|
|
35511
35560
|
return [];
|
|
35512
35561
|
};
|
|
@@ -35516,13 +35565,13 @@
|
|
|
35516
35565
|
protoOf(RevengeRoomTransition).tc = function () {
|
|
35517
35566
|
return this.s2f_1;
|
|
35518
35567
|
};
|
|
35519
|
-
protoOf(RevengeRoomTransition).
|
|
35568
|
+
protoOf(RevengeRoomTransition).o42 = function (originalRoomMode, previousPlayers) {
|
|
35520
35569
|
return new RevengeRoomTransition(originalRoomMode, previousPlayers);
|
|
35521
35570
|
};
|
|
35522
35571
|
protoOf(RevengeRoomTransition).copy = function (originalRoomMode, previousPlayers, $super) {
|
|
35523
35572
|
originalRoomMode = originalRoomMode === VOID ? this.originalRoomMode : originalRoomMode;
|
|
35524
35573
|
previousPlayers = previousPlayers === VOID ? this.s2f_1 : previousPlayers;
|
|
35525
|
-
return $super === VOID ? this.
|
|
35574
|
+
return $super === VOID ? this.o42(originalRoomMode, previousPlayers) : $super.o42.call(this, originalRoomMode, previousPlayers);
|
|
35526
35575
|
};
|
|
35527
35576
|
protoOf(RevengeRoomTransition).toString = function () {
|
|
35528
35577
|
return 'RevengeRoomTransition(originalRoomMode=' + this.originalRoomMode.toString() + ', previousPlayers=' + toString_0(this.s2f_1) + ')';
|
|
@@ -35554,13 +35603,13 @@
|
|
|
35554
35603
|
protoOf(GameToRoomTransition).j1s = function () {
|
|
35555
35604
|
return this.playerIds;
|
|
35556
35605
|
};
|
|
35557
|
-
protoOf(GameToRoomTransition).
|
|
35606
|
+
protoOf(GameToRoomTransition).l42 = function () {
|
|
35558
35607
|
return this.u3k_1;
|
|
35559
35608
|
};
|
|
35560
35609
|
protoOf(GameToRoomTransition).r3z = function () {
|
|
35561
35610
|
return true;
|
|
35562
35611
|
};
|
|
35563
|
-
protoOf(GameToRoomTransition).
|
|
35612
|
+
protoOf(GameToRoomTransition).m42 = function () {
|
|
35564
35613
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
35565
35614
|
var this_0 = this.playerIds;
|
|
35566
35615
|
return copyToArray(this_0);
|
|
@@ -35574,14 +35623,14 @@
|
|
|
35574
35623
|
protoOf(GameToRoomTransition).di = function () {
|
|
35575
35624
|
return this.u3k_1;
|
|
35576
35625
|
};
|
|
35577
|
-
protoOf(GameToRoomTransition).
|
|
35626
|
+
protoOf(GameToRoomTransition).p42 = function (roomId, playerIds, previousPlayers) {
|
|
35578
35627
|
return new GameToRoomTransition(roomId, playerIds, previousPlayers);
|
|
35579
35628
|
};
|
|
35580
35629
|
protoOf(GameToRoomTransition).copy = function (roomId, playerIds, previousPlayers, $super) {
|
|
35581
35630
|
roomId = roomId === VOID ? this.roomId : roomId;
|
|
35582
35631
|
playerIds = playerIds === VOID ? this.playerIds : playerIds;
|
|
35583
35632
|
previousPlayers = previousPlayers === VOID ? this.u3k_1 : previousPlayers;
|
|
35584
|
-
return $super === VOID ? this.
|
|
35633
|
+
return $super === VOID ? this.p42(roomId, playerIds, previousPlayers) : $super.p42.call(this, roomId, playerIds, previousPlayers);
|
|
35585
35634
|
};
|
|
35586
35635
|
protoOf(GameToRoomTransition).toString = function () {
|
|
35587
35636
|
return 'GameToRoomTransition(roomId=' + this.roomId + ', playerIds=' + toString(this.playerIds) + ', previousPlayers=' + toString(this.u3k_1) + ')';
|
|
@@ -35614,38 +35663,38 @@
|
|
|
35614
35663
|
function StartGameMechanicAction(config, roomId, version, gameCreatorPlayerId, users, aid, spectators) {
|
|
35615
35664
|
aid = aid === VOID ? null : aid;
|
|
35616
35665
|
MechanicAction.call(this);
|
|
35617
|
-
this.
|
|
35618
|
-
this.
|
|
35619
|
-
this.
|
|
35620
|
-
this.
|
|
35621
|
-
this.
|
|
35622
|
-
this.
|
|
35666
|
+
this.s42_1 = config;
|
|
35667
|
+
this.t42_1 = roomId;
|
|
35668
|
+
this.u42_1 = version;
|
|
35669
|
+
this.v42_1 = gameCreatorPlayerId;
|
|
35670
|
+
this.w42_1 = users;
|
|
35671
|
+
this.x42_1 = aid;
|
|
35623
35672
|
this.spectators = spectators;
|
|
35624
35673
|
}
|
|
35625
35674
|
protoOf(StartGameMechanicAction).v2q = function () {
|
|
35626
|
-
return this.
|
|
35675
|
+
return this.s42_1;
|
|
35627
35676
|
};
|
|
35628
35677
|
protoOf(StartGameMechanicAction).i16 = function () {
|
|
35629
|
-
return this.
|
|
35678
|
+
return this.t42_1;
|
|
35630
35679
|
};
|
|
35631
35680
|
protoOf(StartGameMechanicAction).j17 = function () {
|
|
35681
|
+
return this.u42_1;
|
|
35682
|
+
};
|
|
35683
|
+
protoOf(StartGameMechanicAction).q42 = function () {
|
|
35632
35684
|
return this.v42_1;
|
|
35633
35685
|
};
|
|
35634
|
-
protoOf(StartGameMechanicAction).
|
|
35686
|
+
protoOf(StartGameMechanicAction).v3x = function () {
|
|
35635
35687
|
return this.w42_1;
|
|
35636
35688
|
};
|
|
35637
|
-
protoOf(StartGameMechanicAction).
|
|
35689
|
+
protoOf(StartGameMechanicAction).p41 = function () {
|
|
35638
35690
|
return this.x42_1;
|
|
35639
35691
|
};
|
|
35640
|
-
protoOf(StartGameMechanicAction).q41 = function () {
|
|
35641
|
-
return this.y42_1;
|
|
35642
|
-
};
|
|
35643
35692
|
protoOf(StartGameMechanicAction).k3x = function () {
|
|
35644
35693
|
return this.spectators;
|
|
35645
35694
|
};
|
|
35646
|
-
protoOf(StartGameMechanicAction).
|
|
35695
|
+
protoOf(StartGameMechanicAction).r42 = function () {
|
|
35647
35696
|
// Inline function 'kotlin.collections.map' call
|
|
35648
|
-
var this_0 = this.
|
|
35697
|
+
var this_0 = this.w42_1;
|
|
35649
35698
|
// Inline function 'kotlin.collections.mapTo' call
|
|
35650
35699
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
35651
35700
|
var _iterator__ex2g4s = this_0.l();
|
|
@@ -35658,49 +35707,49 @@
|
|
|
35658
35707
|
return copyToArray(destination);
|
|
35659
35708
|
};
|
|
35660
35709
|
protoOf(StartGameMechanicAction).sc = function () {
|
|
35661
|
-
return this.
|
|
35710
|
+
return this.s42_1;
|
|
35662
35711
|
};
|
|
35663
35712
|
protoOf(StartGameMechanicAction).tc = function () {
|
|
35664
|
-
return this.
|
|
35713
|
+
return this.t42_1;
|
|
35665
35714
|
};
|
|
35666
35715
|
protoOf(StartGameMechanicAction).di = function () {
|
|
35667
|
-
return this.
|
|
35716
|
+
return this.u42_1;
|
|
35668
35717
|
};
|
|
35669
35718
|
protoOf(StartGameMechanicAction).t16 = function () {
|
|
35670
|
-
return this.
|
|
35719
|
+
return this.v42_1;
|
|
35671
35720
|
};
|
|
35672
35721
|
protoOf(StartGameMechanicAction).m1q = function () {
|
|
35673
|
-
return this.
|
|
35722
|
+
return this.w42_1;
|
|
35674
35723
|
};
|
|
35675
35724
|
protoOf(StartGameMechanicAction).n1q = function () {
|
|
35676
|
-
return this.
|
|
35725
|
+
return this.x42_1;
|
|
35677
35726
|
};
|
|
35678
35727
|
protoOf(StartGameMechanicAction).o1q = function () {
|
|
35679
35728
|
return this.spectators;
|
|
35680
35729
|
};
|
|
35681
|
-
protoOf(StartGameMechanicAction).
|
|
35730
|
+
protoOf(StartGameMechanicAction).y42 = function (config, roomId, version, gameCreatorPlayerId, users, aid, spectators) {
|
|
35682
35731
|
return new StartGameMechanicAction(config, roomId, version, gameCreatorPlayerId, users, aid, spectators);
|
|
35683
35732
|
};
|
|
35684
35733
|
protoOf(StartGameMechanicAction).copy = function (config, roomId, version, gameCreatorPlayerId, users, aid, spectators, $super) {
|
|
35685
|
-
config = config === VOID ? this.
|
|
35686
|
-
roomId = roomId === VOID ? this.
|
|
35687
|
-
version = version === VOID ? this.
|
|
35688
|
-
gameCreatorPlayerId = gameCreatorPlayerId === VOID ? this.
|
|
35689
|
-
users = users === VOID ? this.
|
|
35690
|
-
aid = aid === VOID ? this.
|
|
35734
|
+
config = config === VOID ? this.s42_1 : config;
|
|
35735
|
+
roomId = roomId === VOID ? this.t42_1 : roomId;
|
|
35736
|
+
version = version === VOID ? this.u42_1 : version;
|
|
35737
|
+
gameCreatorPlayerId = gameCreatorPlayerId === VOID ? this.v42_1 : gameCreatorPlayerId;
|
|
35738
|
+
users = users === VOID ? this.w42_1 : users;
|
|
35739
|
+
aid = aid === VOID ? this.x42_1 : aid;
|
|
35691
35740
|
spectators = spectators === VOID ? this.spectators : spectators;
|
|
35692
|
-
return $super === VOID ? this.
|
|
35741
|
+
return $super === VOID ? this.y42(config, roomId, version, gameCreatorPlayerId, users, aid, spectators) : $super.y42.call(this, config, roomId, version, gameCreatorPlayerId, users, aid, spectators);
|
|
35693
35742
|
};
|
|
35694
35743
|
protoOf(StartGameMechanicAction).toString = function () {
|
|
35695
|
-
return 'StartGameMechanicAction(config=' + this.
|
|
35744
|
+
return 'StartGameMechanicAction(config=' + this.s42_1.toString() + ', roomId=' + this.t42_1 + ', version=' + this.u42_1 + ', gameCreatorPlayerId=' + this.v42_1 + ', users=' + toString(this.w42_1) + ', aid=' + this.x42_1 + ', spectators=' + toString(this.spectators) + ')';
|
|
35696
35745
|
};
|
|
35697
35746
|
protoOf(StartGameMechanicAction).hashCode = function () {
|
|
35698
|
-
var result = this.
|
|
35747
|
+
var result = this.s42_1.hashCode();
|
|
35748
|
+
result = imul(result, 31) + getStringHashCode(this.t42_1) | 0;
|
|
35699
35749
|
result = imul(result, 31) + getStringHashCode(this.u42_1) | 0;
|
|
35700
35750
|
result = imul(result, 31) + getStringHashCode(this.v42_1) | 0;
|
|
35701
|
-
result = imul(result, 31) +
|
|
35702
|
-
result = imul(result, 31) +
|
|
35703
|
-
result = imul(result, 31) + (this.y42_1 == null ? 0 : getStringHashCode(this.y42_1)) | 0;
|
|
35751
|
+
result = imul(result, 31) + hashCode(this.w42_1) | 0;
|
|
35752
|
+
result = imul(result, 31) + (this.x42_1 == null ? 0 : getStringHashCode(this.x42_1)) | 0;
|
|
35704
35753
|
result = imul(result, 31) + hashCode(this.spectators) | 0;
|
|
35705
35754
|
return result;
|
|
35706
35755
|
};
|
|
@@ -35709,17 +35758,17 @@
|
|
|
35709
35758
|
return true;
|
|
35710
35759
|
if (!(other instanceof StartGameMechanicAction))
|
|
35711
35760
|
return false;
|
|
35712
|
-
if (!this.
|
|
35761
|
+
if (!this.s42_1.equals(other.s42_1))
|
|
35762
|
+
return false;
|
|
35763
|
+
if (!(this.t42_1 === other.t42_1))
|
|
35713
35764
|
return false;
|
|
35714
35765
|
if (!(this.u42_1 === other.u42_1))
|
|
35715
35766
|
return false;
|
|
35716
35767
|
if (!(this.v42_1 === other.v42_1))
|
|
35717
35768
|
return false;
|
|
35718
|
-
if (!(this.w42_1
|
|
35719
|
-
return false;
|
|
35720
|
-
if (!equals(this.x42_1, other.x42_1))
|
|
35769
|
+
if (!equals(this.w42_1, other.w42_1))
|
|
35721
35770
|
return false;
|
|
35722
|
-
if (!(this.
|
|
35771
|
+
if (!(this.x42_1 == other.x42_1))
|
|
35723
35772
|
return false;
|
|
35724
35773
|
if (!equals(this.spectators, other.spectators))
|
|
35725
35774
|
return false;
|
|
@@ -35730,16 +35779,16 @@
|
|
|
35730
35779
|
MechanicAction.call(this);
|
|
35731
35780
|
this.previousGameId = previousGameId;
|
|
35732
35781
|
this.gameId = gameId;
|
|
35733
|
-
this.
|
|
35782
|
+
this.z42_1 = aid;
|
|
35734
35783
|
}
|
|
35735
|
-
protoOf(StartNewGameMechanicAction).
|
|
35784
|
+
protoOf(StartNewGameMechanicAction).a43 = function () {
|
|
35736
35785
|
return this.previousGameId;
|
|
35737
35786
|
};
|
|
35738
35787
|
protoOf(StartNewGameMechanicAction).m16 = function () {
|
|
35739
35788
|
return this.gameId;
|
|
35740
35789
|
};
|
|
35741
|
-
protoOf(StartNewGameMechanicAction).
|
|
35742
|
-
return this.
|
|
35790
|
+
protoOf(StartNewGameMechanicAction).p41 = function () {
|
|
35791
|
+
return this.z42_1;
|
|
35743
35792
|
};
|
|
35744
35793
|
protoOf(StartNewGameMechanicAction).sc = function () {
|
|
35745
35794
|
return this.previousGameId;
|
|
@@ -35748,24 +35797,24 @@
|
|
|
35748
35797
|
return this.gameId;
|
|
35749
35798
|
};
|
|
35750
35799
|
protoOf(StartNewGameMechanicAction).di = function () {
|
|
35751
|
-
return this.
|
|
35800
|
+
return this.z42_1;
|
|
35752
35801
|
};
|
|
35753
|
-
protoOf(StartNewGameMechanicAction).
|
|
35802
|
+
protoOf(StartNewGameMechanicAction).b43 = function (previousGameId, gameId, aid) {
|
|
35754
35803
|
return new StartNewGameMechanicAction(previousGameId, gameId, aid);
|
|
35755
35804
|
};
|
|
35756
35805
|
protoOf(StartNewGameMechanicAction).copy = function (previousGameId, gameId, aid, $super) {
|
|
35757
35806
|
previousGameId = previousGameId === VOID ? this.previousGameId : previousGameId;
|
|
35758
35807
|
gameId = gameId === VOID ? this.gameId : gameId;
|
|
35759
|
-
aid = aid === VOID ? this.
|
|
35760
|
-
return $super === VOID ? this.
|
|
35808
|
+
aid = aid === VOID ? this.z42_1 : aid;
|
|
35809
|
+
return $super === VOID ? this.b43(previousGameId, gameId, aid) : $super.b43.call(this, previousGameId, gameId, aid);
|
|
35761
35810
|
};
|
|
35762
35811
|
protoOf(StartNewGameMechanicAction).toString = function () {
|
|
35763
|
-
return 'StartNewGameMechanicAction(previousGameId=' + this.previousGameId + ', gameId=' + this.gameId + ', aid=' + this.
|
|
35812
|
+
return 'StartNewGameMechanicAction(previousGameId=' + this.previousGameId + ', gameId=' + this.gameId + ', aid=' + this.z42_1 + ')';
|
|
35764
35813
|
};
|
|
35765
35814
|
protoOf(StartNewGameMechanicAction).hashCode = function () {
|
|
35766
35815
|
var result = getStringHashCode(this.previousGameId);
|
|
35767
35816
|
result = imul(result, 31) + getStringHashCode(this.gameId) | 0;
|
|
35768
|
-
result = imul(result, 31) + (this.
|
|
35817
|
+
result = imul(result, 31) + (this.z42_1 == null ? 0 : getStringHashCode(this.z42_1)) | 0;
|
|
35769
35818
|
return result;
|
|
35770
35819
|
};
|
|
35771
35820
|
protoOf(StartNewGameMechanicAction).equals = function (other) {
|
|
@@ -35777,7 +35826,7 @@
|
|
|
35777
35826
|
return false;
|
|
35778
35827
|
if (!(this.gameId === other.gameId))
|
|
35779
35828
|
return false;
|
|
35780
|
-
if (!(this.
|
|
35829
|
+
if (!(this.z42_1 == other.z42_1))
|
|
35781
35830
|
return false;
|
|
35782
35831
|
return true;
|
|
35783
35832
|
};
|
|
@@ -35788,7 +35837,7 @@
|
|
|
35788
35837
|
this.table = table;
|
|
35789
35838
|
this.reason = reason;
|
|
35790
35839
|
this.payload = payload;
|
|
35791
|
-
this.
|
|
35840
|
+
this.c43_1 = aid;
|
|
35792
35841
|
}
|
|
35793
35842
|
protoOf(ContinueGameMechanicAction).y2e = function () {
|
|
35794
35843
|
return this.table;
|
|
@@ -35799,8 +35848,8 @@
|
|
|
35799
35848
|
protoOf(ContinueGameMechanicAction).l1q = function () {
|
|
35800
35849
|
return this.payload;
|
|
35801
35850
|
};
|
|
35802
|
-
protoOf(ContinueGameMechanicAction).
|
|
35803
|
-
return this.
|
|
35851
|
+
protoOf(ContinueGameMechanicAction).p41 = function () {
|
|
35852
|
+
return this.c43_1;
|
|
35804
35853
|
};
|
|
35805
35854
|
protoOf(ContinueGameMechanicAction).i16 = function () {
|
|
35806
35855
|
return this.table.id;
|
|
@@ -35818,7 +35867,7 @@
|
|
|
35818
35867
|
}
|
|
35819
35868
|
return destination;
|
|
35820
35869
|
};
|
|
35821
|
-
protoOf(ContinueGameMechanicAction).
|
|
35870
|
+
protoOf(ContinueGameMechanicAction).r42 = function () {
|
|
35822
35871
|
// Inline function 'kotlin.collections.map' call
|
|
35823
35872
|
var this_0 = this.users;
|
|
35824
35873
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -35832,7 +35881,7 @@
|
|
|
35832
35881
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
35833
35882
|
return copyToArray(destination);
|
|
35834
35883
|
};
|
|
35835
|
-
protoOf(ContinueGameMechanicAction).
|
|
35884
|
+
protoOf(ContinueGameMechanicAction).q42 = function () {
|
|
35836
35885
|
return getGameCreator(this.table.players).playerId;
|
|
35837
35886
|
};
|
|
35838
35887
|
protoOf(ContinueGameMechanicAction).j17 = function () {
|
|
@@ -35842,7 +35891,7 @@
|
|
|
35842
35891
|
return this.table.config;
|
|
35843
35892
|
};
|
|
35844
35893
|
protoOf(ContinueGameMechanicAction).toString = function () {
|
|
35845
|
-
return 'ContinueGameMechanicAction(reason = ' + toString(this.reason) + ', aid = ' + this.
|
|
35894
|
+
return 'ContinueGameMechanicAction(reason = ' + toString(this.reason) + ', aid = ' + this.c43_1 + ')';
|
|
35846
35895
|
};
|
|
35847
35896
|
protoOf(ContinueGameMechanicAction).sc = function () {
|
|
35848
35897
|
return this.table;
|
|
@@ -35854,23 +35903,23 @@
|
|
|
35854
35903
|
return this.payload;
|
|
35855
35904
|
};
|
|
35856
35905
|
protoOf(ContinueGameMechanicAction).t16 = function () {
|
|
35857
|
-
return this.
|
|
35906
|
+
return this.c43_1;
|
|
35858
35907
|
};
|
|
35859
|
-
protoOf(ContinueGameMechanicAction).
|
|
35908
|
+
protoOf(ContinueGameMechanicAction).d43 = function (table, reason, payload, aid) {
|
|
35860
35909
|
return new ContinueGameMechanicAction(table, reason, payload, aid);
|
|
35861
35910
|
};
|
|
35862
35911
|
protoOf(ContinueGameMechanicAction).copy = function (table, reason, payload, aid, $super) {
|
|
35863
35912
|
table = table === VOID ? this.table : table;
|
|
35864
35913
|
reason = reason === VOID ? this.reason : reason;
|
|
35865
35914
|
payload = payload === VOID ? this.payload : payload;
|
|
35866
|
-
aid = aid === VOID ? this.
|
|
35867
|
-
return $super === VOID ? this.
|
|
35915
|
+
aid = aid === VOID ? this.c43_1 : aid;
|
|
35916
|
+
return $super === VOID ? this.d43(table, reason, payload, aid) : $super.d43.call(this, table, reason, payload, aid);
|
|
35868
35917
|
};
|
|
35869
35918
|
protoOf(ContinueGameMechanicAction).hashCode = function () {
|
|
35870
35919
|
var result = this.table.hashCode();
|
|
35871
35920
|
result = imul(result, 31) + hashCode(this.reason) | 0;
|
|
35872
35921
|
result = imul(result, 31) + (this.payload == null ? 0 : hashCode(this.payload)) | 0;
|
|
35873
|
-
result = imul(result, 31) + (this.
|
|
35922
|
+
result = imul(result, 31) + (this.c43_1 == null ? 0 : getStringHashCode(this.c43_1)) | 0;
|
|
35874
35923
|
return result;
|
|
35875
35924
|
};
|
|
35876
35925
|
protoOf(ContinueGameMechanicAction).equals = function (other) {
|
|
@@ -35884,13 +35933,13 @@
|
|
|
35884
35933
|
return false;
|
|
35885
35934
|
if (!equals(this.payload, other.payload))
|
|
35886
35935
|
return false;
|
|
35887
|
-
if (!(this.
|
|
35936
|
+
if (!(this.c43_1 == other.c43_1))
|
|
35888
35937
|
return false;
|
|
35889
35938
|
return true;
|
|
35890
35939
|
};
|
|
35891
35940
|
function Companion_160() {
|
|
35892
35941
|
}
|
|
35893
|
-
protoOf(Companion_160).
|
|
35942
|
+
protoOf(Companion_160).e43 = function (reason, isGameFinished, table, transition) {
|
|
35894
35943
|
var tmp4_sessionAnalytics = table == null ? null : mapGameSessionAnalytics(table);
|
|
35895
35944
|
var tmp5_gameHistory = table == null ? null : table.gameHistory;
|
|
35896
35945
|
var tmp;
|
|
@@ -35905,7 +35954,7 @@
|
|
|
35905
35954
|
};
|
|
35906
35955
|
protoOf(Companion_160).fromTableWithAnalytics = function (reason, isGameFinished, table, transition, $super) {
|
|
35907
35956
|
transition = transition === VOID ? null : transition;
|
|
35908
|
-
return $super === VOID ? this.
|
|
35957
|
+
return $super === VOID ? this.e43(reason, isGameFinished, table, transition) : $super.e43.call(this, reason, isGameFinished, table, transition);
|
|
35909
35958
|
};
|
|
35910
35959
|
protoOf(Companion_160).fromTable = function (table) {
|
|
35911
35960
|
var tmp2_reason = ProcessingReason_getInstance();
|
|
@@ -35923,37 +35972,37 @@
|
|
|
35923
35972
|
isRoundHistorySaved = isRoundHistorySaved === VOID ? true : isRoundHistorySaved;
|
|
35924
35973
|
aid = aid === VOID ? null : aid;
|
|
35925
35974
|
MechanicAction.call(this);
|
|
35926
|
-
this.
|
|
35927
|
-
this.
|
|
35928
|
-
this.
|
|
35975
|
+
this.f43_1 = reason;
|
|
35976
|
+
this.g43_1 = isGameFinished;
|
|
35977
|
+
this.h43_1 = transition;
|
|
35929
35978
|
this.sessionAnalytics = sessionAnalytics;
|
|
35930
35979
|
this.gameHistory = gameHistory;
|
|
35931
35980
|
this.isRoundHistorySaved = isRoundHistorySaved;
|
|
35932
|
-
this.
|
|
35981
|
+
this.i43_1 = aid;
|
|
35933
35982
|
}
|
|
35934
35983
|
protoOf(FinishingGameMechanicAction).a1q = function () {
|
|
35935
|
-
return this.
|
|
35984
|
+
return this.f43_1;
|
|
35936
35985
|
};
|
|
35937
35986
|
protoOf(FinishingGameMechanicAction).z3x = function () {
|
|
35938
|
-
return this.
|
|
35987
|
+
return this.g43_1;
|
|
35939
35988
|
};
|
|
35940
|
-
protoOf(FinishingGameMechanicAction).
|
|
35941
|
-
return this.
|
|
35989
|
+
protoOf(FinishingGameMechanicAction).m41 = function () {
|
|
35990
|
+
return this.h43_1;
|
|
35942
35991
|
};
|
|
35943
|
-
protoOf(FinishingGameMechanicAction).
|
|
35992
|
+
protoOf(FinishingGameMechanicAction).j43 = function () {
|
|
35944
35993
|
return this.sessionAnalytics;
|
|
35945
35994
|
};
|
|
35946
35995
|
protoOf(FinishingGameMechanicAction).q3x = function () {
|
|
35947
35996
|
return this.gameHistory;
|
|
35948
35997
|
};
|
|
35949
|
-
protoOf(FinishingGameMechanicAction).
|
|
35998
|
+
protoOf(FinishingGameMechanicAction).k43 = function () {
|
|
35950
35999
|
return this.isRoundHistorySaved;
|
|
35951
36000
|
};
|
|
35952
|
-
protoOf(FinishingGameMechanicAction).
|
|
35953
|
-
return this.
|
|
36001
|
+
protoOf(FinishingGameMechanicAction).p41 = function () {
|
|
36002
|
+
return this.i43_1;
|
|
35954
36003
|
};
|
|
35955
36004
|
protoOf(FinishingGameMechanicAction).toString = function () {
|
|
35956
|
-
var tmp = 'reason=' + toString(this.
|
|
36005
|
+
var tmp = 'reason=' + toString(this.f43_1);
|
|
35957
36006
|
// Inline function 'kotlin.takeIf' call
|
|
35958
36007
|
var this_0 = 'sessionAnalytics=' + toString_0(this.sessionAnalytics);
|
|
35959
36008
|
var tmp_0;
|
|
@@ -35964,9 +36013,9 @@
|
|
|
35964
36013
|
}
|
|
35965
36014
|
var tmp_1 = tmp_0;
|
|
35966
36015
|
// Inline function 'kotlin.takeIf' call
|
|
35967
|
-
var this_1 = 'isGameFinished=' + this.
|
|
36016
|
+
var this_1 = 'isGameFinished=' + this.g43_1;
|
|
35968
36017
|
var tmp_2;
|
|
35969
|
-
if (this.
|
|
36018
|
+
if (this.g43_1) {
|
|
35970
36019
|
tmp_2 = this_1;
|
|
35971
36020
|
} else {
|
|
35972
36021
|
tmp_2 = null;
|
|
@@ -35982,18 +36031,18 @@
|
|
|
35982
36031
|
}
|
|
35983
36032
|
var tmp_5 = tmp_4;
|
|
35984
36033
|
// Inline function 'kotlin.takeIf' call
|
|
35985
|
-
var this_3 = 'transition=' + toString_0(this.
|
|
36034
|
+
var this_3 = 'transition=' + toString_0(this.h43_1);
|
|
35986
36035
|
var tmp_6;
|
|
35987
|
-
if (!(this.
|
|
36036
|
+
if (!(this.h43_1 == null)) {
|
|
35988
36037
|
tmp_6 = this_3;
|
|
35989
36038
|
} else {
|
|
35990
36039
|
tmp_6 = null;
|
|
35991
36040
|
}
|
|
35992
36041
|
var tmp_7 = tmp_6;
|
|
35993
36042
|
// Inline function 'kotlin.takeIf' call
|
|
35994
|
-
var this_4 = 'aid=' + this.
|
|
36043
|
+
var this_4 = 'aid=' + this.i43_1;
|
|
35995
36044
|
var tmp_8;
|
|
35996
|
-
if (!(this.
|
|
36045
|
+
if (!(this.i43_1 == null)) {
|
|
35997
36046
|
tmp_8 = this_4;
|
|
35998
36047
|
} else {
|
|
35999
36048
|
tmp_8 = null;
|
|
@@ -36002,13 +36051,13 @@
|
|
|
36002
36051
|
return 'FinishingGameMechanicAction(' + joinToString(listOfNotNull([tmp, tmp_1, tmp_3, tmp_5, tmp_7, tmp$ret$9])) + ')';
|
|
36003
36052
|
};
|
|
36004
36053
|
protoOf(FinishingGameMechanicAction).sc = function () {
|
|
36005
|
-
return this.
|
|
36054
|
+
return this.f43_1;
|
|
36006
36055
|
};
|
|
36007
36056
|
protoOf(FinishingGameMechanicAction).tc = function () {
|
|
36008
|
-
return this.
|
|
36057
|
+
return this.g43_1;
|
|
36009
36058
|
};
|
|
36010
36059
|
protoOf(FinishingGameMechanicAction).di = function () {
|
|
36011
|
-
return this.
|
|
36060
|
+
return this.h43_1;
|
|
36012
36061
|
};
|
|
36013
36062
|
protoOf(FinishingGameMechanicAction).t16 = function () {
|
|
36014
36063
|
return this.sessionAnalytics;
|
|
@@ -36020,29 +36069,29 @@
|
|
|
36020
36069
|
return this.isRoundHistorySaved;
|
|
36021
36070
|
};
|
|
36022
36071
|
protoOf(FinishingGameMechanicAction).o1q = function () {
|
|
36023
|
-
return this.
|
|
36072
|
+
return this.i43_1;
|
|
36024
36073
|
};
|
|
36025
|
-
protoOf(FinishingGameMechanicAction).
|
|
36074
|
+
protoOf(FinishingGameMechanicAction).l43 = function (reason, isGameFinished, transition, sessionAnalytics, gameHistory, isRoundHistorySaved, aid) {
|
|
36026
36075
|
return new FinishingGameMechanicAction(reason, isGameFinished, transition, sessionAnalytics, gameHistory, isRoundHistorySaved, aid);
|
|
36027
36076
|
};
|
|
36028
36077
|
protoOf(FinishingGameMechanicAction).copy = function (reason, isGameFinished, transition, sessionAnalytics, gameHistory, isRoundHistorySaved, aid, $super) {
|
|
36029
|
-
reason = reason === VOID ? this.
|
|
36030
|
-
isGameFinished = isGameFinished === VOID ? this.
|
|
36031
|
-
transition = transition === VOID ? this.
|
|
36078
|
+
reason = reason === VOID ? this.f43_1 : reason;
|
|
36079
|
+
isGameFinished = isGameFinished === VOID ? this.g43_1 : isGameFinished;
|
|
36080
|
+
transition = transition === VOID ? this.h43_1 : transition;
|
|
36032
36081
|
sessionAnalytics = sessionAnalytics === VOID ? this.sessionAnalytics : sessionAnalytics;
|
|
36033
36082
|
gameHistory = gameHistory === VOID ? this.gameHistory : gameHistory;
|
|
36034
36083
|
isRoundHistorySaved = isRoundHistorySaved === VOID ? this.isRoundHistorySaved : isRoundHistorySaved;
|
|
36035
|
-
aid = aid === VOID ? this.
|
|
36036
|
-
return $super === VOID ? this.
|
|
36084
|
+
aid = aid === VOID ? this.i43_1 : aid;
|
|
36085
|
+
return $super === VOID ? this.l43(reason, isGameFinished, transition, sessionAnalytics, gameHistory, isRoundHistorySaved, aid) : $super.l43.call(this, reason, isGameFinished, transition, sessionAnalytics, gameHistory, isRoundHistorySaved, aid);
|
|
36037
36086
|
};
|
|
36038
36087
|
protoOf(FinishingGameMechanicAction).hashCode = function () {
|
|
36039
|
-
var result = hashCode(this.
|
|
36040
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
36041
|
-
result = imul(result, 31) + (this.
|
|
36088
|
+
var result = hashCode(this.f43_1);
|
|
36089
|
+
result = imul(result, 31) + getBooleanHashCode(this.g43_1) | 0;
|
|
36090
|
+
result = imul(result, 31) + (this.h43_1 == null ? 0 : hashCode(this.h43_1)) | 0;
|
|
36042
36091
|
result = imul(result, 31) + (this.sessionAnalytics == null ? 0 : this.sessionAnalytics.hashCode()) | 0;
|
|
36043
36092
|
result = imul(result, 31) + (this.gameHistory == null ? 0 : this.gameHistory.hashCode()) | 0;
|
|
36044
36093
|
result = imul(result, 31) + getBooleanHashCode(this.isRoundHistorySaved) | 0;
|
|
36045
|
-
result = imul(result, 31) + (this.
|
|
36094
|
+
result = imul(result, 31) + (this.i43_1 == null ? 0 : getStringHashCode(this.i43_1)) | 0;
|
|
36046
36095
|
return result;
|
|
36047
36096
|
};
|
|
36048
36097
|
protoOf(FinishingGameMechanicAction).equals = function (other) {
|
|
@@ -36050,11 +36099,11 @@
|
|
|
36050
36099
|
return true;
|
|
36051
36100
|
if (!(other instanceof FinishingGameMechanicAction))
|
|
36052
36101
|
return false;
|
|
36053
|
-
if (!equals(this.
|
|
36102
|
+
if (!equals(this.f43_1, other.f43_1))
|
|
36054
36103
|
return false;
|
|
36055
|
-
if (!(this.
|
|
36104
|
+
if (!(this.g43_1 === other.g43_1))
|
|
36056
36105
|
return false;
|
|
36057
|
-
if (!equals(this.
|
|
36106
|
+
if (!equals(this.h43_1, other.h43_1))
|
|
36058
36107
|
return false;
|
|
36059
36108
|
if (!equals(this.sessionAnalytics, other.sessionAnalytics))
|
|
36060
36109
|
return false;
|
|
@@ -36062,7 +36111,7 @@
|
|
|
36062
36111
|
return false;
|
|
36063
36112
|
if (!(this.isRoundHistorySaved === other.isRoundHistorySaved))
|
|
36064
36113
|
return false;
|
|
36065
|
-
if (!(this.
|
|
36114
|
+
if (!(this.i43_1 == other.i43_1))
|
|
36066
36115
|
return false;
|
|
36067
36116
|
return true;
|
|
36068
36117
|
};
|
|
@@ -36070,47 +36119,47 @@
|
|
|
36070
36119
|
aid = aid === VOID ? null : aid;
|
|
36071
36120
|
transition = transition === VOID ? null : transition;
|
|
36072
36121
|
MechanicAction.call(this);
|
|
36073
|
-
this.
|
|
36074
|
-
this.
|
|
36075
|
-
this.
|
|
36076
|
-
this.
|
|
36122
|
+
this.m43_1 = reason;
|
|
36123
|
+
this.n43_1 = isGameFinished;
|
|
36124
|
+
this.o43_1 = aid;
|
|
36125
|
+
this.p43_1 = transition;
|
|
36077
36126
|
}
|
|
36078
36127
|
protoOf(FinishGameMechanicAction).a1q = function () {
|
|
36079
|
-
return this.
|
|
36128
|
+
return this.m43_1;
|
|
36080
36129
|
};
|
|
36081
36130
|
protoOf(FinishGameMechanicAction).z3x = function () {
|
|
36131
|
+
return this.n43_1;
|
|
36132
|
+
};
|
|
36133
|
+
protoOf(FinishGameMechanicAction).p41 = function () {
|
|
36082
36134
|
return this.o43_1;
|
|
36083
36135
|
};
|
|
36084
|
-
protoOf(FinishGameMechanicAction).
|
|
36136
|
+
protoOf(FinishGameMechanicAction).m41 = function () {
|
|
36085
36137
|
return this.p43_1;
|
|
36086
36138
|
};
|
|
36087
|
-
protoOf(FinishGameMechanicAction).n41 = function () {
|
|
36088
|
-
return this.q43_1;
|
|
36089
|
-
};
|
|
36090
36139
|
protoOf(FinishGameMechanicAction).toString = function () {
|
|
36091
|
-
var tmp = 'reason=' + toString(this.
|
|
36140
|
+
var tmp = 'reason=' + toString(this.m43_1);
|
|
36092
36141
|
// Inline function 'kotlin.takeIf' call
|
|
36093
|
-
var this_0 = 'isGameFinished=' + this.
|
|
36142
|
+
var this_0 = 'isGameFinished=' + this.n43_1;
|
|
36094
36143
|
var tmp_0;
|
|
36095
|
-
if (this.
|
|
36144
|
+
if (this.n43_1) {
|
|
36096
36145
|
tmp_0 = this_0;
|
|
36097
36146
|
} else {
|
|
36098
36147
|
tmp_0 = null;
|
|
36099
36148
|
}
|
|
36100
36149
|
var tmp_1 = tmp_0;
|
|
36101
36150
|
// Inline function 'kotlin.takeIf' call
|
|
36102
|
-
var this_1 = 'hasTransition=' + !(this.
|
|
36151
|
+
var this_1 = 'hasTransition=' + !(this.p43_1 == null);
|
|
36103
36152
|
var tmp_2;
|
|
36104
|
-
if (!(this.
|
|
36153
|
+
if (!(this.p43_1 == null)) {
|
|
36105
36154
|
tmp_2 = this_1;
|
|
36106
36155
|
} else {
|
|
36107
36156
|
tmp_2 = null;
|
|
36108
36157
|
}
|
|
36109
36158
|
var tmp_3 = tmp_2;
|
|
36110
36159
|
// Inline function 'kotlin.takeIf' call
|
|
36111
|
-
var this_2 = 'aid=' + this.
|
|
36160
|
+
var this_2 = 'aid=' + this.o43_1;
|
|
36112
36161
|
var tmp_4;
|
|
36113
|
-
if (!(this.
|
|
36162
|
+
if (!(this.o43_1 == null)) {
|
|
36114
36163
|
tmp_4 = this_2;
|
|
36115
36164
|
} else {
|
|
36116
36165
|
tmp_4 = null;
|
|
@@ -36119,32 +36168,32 @@
|
|
|
36119
36168
|
return 'FinishGameMechanicAction(' + joinToString(listOfNotNull([tmp, tmp_1, tmp_3, tmp$ret$5])) + ')';
|
|
36120
36169
|
};
|
|
36121
36170
|
protoOf(FinishGameMechanicAction).sc = function () {
|
|
36122
|
-
return this.
|
|
36171
|
+
return this.m43_1;
|
|
36123
36172
|
};
|
|
36124
36173
|
protoOf(FinishGameMechanicAction).tc = function () {
|
|
36125
|
-
return this.
|
|
36174
|
+
return this.n43_1;
|
|
36126
36175
|
};
|
|
36127
36176
|
protoOf(FinishGameMechanicAction).di = function () {
|
|
36128
|
-
return this.
|
|
36177
|
+
return this.o43_1;
|
|
36129
36178
|
};
|
|
36130
36179
|
protoOf(FinishGameMechanicAction).t16 = function () {
|
|
36131
|
-
return this.
|
|
36180
|
+
return this.p43_1;
|
|
36132
36181
|
};
|
|
36133
|
-
protoOf(FinishGameMechanicAction).
|
|
36182
|
+
protoOf(FinishGameMechanicAction).q43 = function (reason, isGameFinished, aid, transition) {
|
|
36134
36183
|
return new FinishGameMechanicAction(reason, isGameFinished, aid, transition);
|
|
36135
36184
|
};
|
|
36136
36185
|
protoOf(FinishGameMechanicAction).copy = function (reason, isGameFinished, aid, transition, $super) {
|
|
36137
|
-
reason = reason === VOID ? this.
|
|
36138
|
-
isGameFinished = isGameFinished === VOID ? this.
|
|
36139
|
-
aid = aid === VOID ? this.
|
|
36140
|
-
transition = transition === VOID ? this.
|
|
36141
|
-
return $super === VOID ? this.
|
|
36186
|
+
reason = reason === VOID ? this.m43_1 : reason;
|
|
36187
|
+
isGameFinished = isGameFinished === VOID ? this.n43_1 : isGameFinished;
|
|
36188
|
+
aid = aid === VOID ? this.o43_1 : aid;
|
|
36189
|
+
transition = transition === VOID ? this.p43_1 : transition;
|
|
36190
|
+
return $super === VOID ? this.q43(reason, isGameFinished, aid, transition) : $super.q43.call(this, reason, isGameFinished, aid, transition);
|
|
36142
36191
|
};
|
|
36143
36192
|
protoOf(FinishGameMechanicAction).hashCode = function () {
|
|
36144
|
-
var result = hashCode(this.
|
|
36145
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
36146
|
-
result = imul(result, 31) + (this.
|
|
36147
|
-
result = imul(result, 31) + (this.
|
|
36193
|
+
var result = hashCode(this.m43_1);
|
|
36194
|
+
result = imul(result, 31) + getBooleanHashCode(this.n43_1) | 0;
|
|
36195
|
+
result = imul(result, 31) + (this.o43_1 == null ? 0 : getStringHashCode(this.o43_1)) | 0;
|
|
36196
|
+
result = imul(result, 31) + (this.p43_1 == null ? 0 : hashCode(this.p43_1)) | 0;
|
|
36148
36197
|
return result;
|
|
36149
36198
|
};
|
|
36150
36199
|
protoOf(FinishGameMechanicAction).equals = function (other) {
|
|
@@ -36152,13 +36201,13 @@
|
|
|
36152
36201
|
return true;
|
|
36153
36202
|
if (!(other instanceof FinishGameMechanicAction))
|
|
36154
36203
|
return false;
|
|
36155
|
-
if (!equals(this.
|
|
36204
|
+
if (!equals(this.m43_1, other.m43_1))
|
|
36156
36205
|
return false;
|
|
36157
|
-
if (!(this.
|
|
36206
|
+
if (!(this.n43_1 === other.n43_1))
|
|
36158
36207
|
return false;
|
|
36159
|
-
if (!(this.
|
|
36208
|
+
if (!(this.o43_1 == other.o43_1))
|
|
36160
36209
|
return false;
|
|
36161
|
-
if (!equals(this.
|
|
36210
|
+
if (!equals(this.p43_1, other.p43_1))
|
|
36162
36211
|
return false;
|
|
36163
36212
|
return true;
|
|
36164
36213
|
};
|
|
@@ -36170,40 +36219,40 @@
|
|
|
36170
36219
|
actData = actData === VOID ? null : actData;
|
|
36171
36220
|
aid = aid === VOID ? null : aid;
|
|
36172
36221
|
MechanicAction.call(this);
|
|
36173
|
-
this.
|
|
36174
|
-
this.
|
|
36175
|
-
this.
|
|
36222
|
+
this.s43_1 = currentTurnPlayerId;
|
|
36223
|
+
this.t43_1 = sceneId;
|
|
36224
|
+
this.u43_1 = actId;
|
|
36176
36225
|
this.sceneData = sceneData;
|
|
36177
|
-
this.
|
|
36178
|
-
this.
|
|
36226
|
+
this.v43_1 = actData;
|
|
36227
|
+
this.w43_1 = aid;
|
|
36179
36228
|
}
|
|
36180
|
-
protoOf(SceneMechanicAction).
|
|
36181
|
-
return this.
|
|
36229
|
+
protoOf(SceneMechanicAction).x43 = function () {
|
|
36230
|
+
return this.s43_1;
|
|
36182
36231
|
};
|
|
36183
36232
|
protoOf(SceneMechanicAction).y2t = function () {
|
|
36184
|
-
return this.
|
|
36233
|
+
return this.t43_1;
|
|
36185
36234
|
};
|
|
36186
36235
|
protoOf(SceneMechanicAction).g2t = function () {
|
|
36187
|
-
return this.
|
|
36236
|
+
return this.u43_1;
|
|
36188
36237
|
};
|
|
36189
|
-
protoOf(SceneMechanicAction).
|
|
36238
|
+
protoOf(SceneMechanicAction).y43 = function () {
|
|
36190
36239
|
return this.sceneData;
|
|
36191
36240
|
};
|
|
36192
|
-
protoOf(SceneMechanicAction).
|
|
36193
|
-
return this.
|
|
36241
|
+
protoOf(SceneMechanicAction).r43 = function () {
|
|
36242
|
+
return this.v43_1;
|
|
36194
36243
|
};
|
|
36195
|
-
protoOf(SceneMechanicAction).
|
|
36196
|
-
return this.
|
|
36244
|
+
protoOf(SceneMechanicAction).p41 = function () {
|
|
36245
|
+
return this.w43_1;
|
|
36197
36246
|
};
|
|
36198
36247
|
protoOf(SceneMechanicAction).ignoreValidation = function () {
|
|
36199
|
-
return this.
|
|
36248
|
+
return this.t43_1 === 'WAITING';
|
|
36200
36249
|
};
|
|
36201
36250
|
protoOf(SceneMechanicAction).toString = function () {
|
|
36202
|
-
var tmp = "sceneId='" + this.
|
|
36251
|
+
var tmp = "sceneId='" + this.t43_1 + "'";
|
|
36203
36252
|
// Inline function 'kotlin.takeIf' call
|
|
36204
|
-
var this_0 = 'actId=' + this.
|
|
36253
|
+
var this_0 = 'actId=' + this.u43_1;
|
|
36205
36254
|
var tmp_0;
|
|
36206
|
-
if (!(this.
|
|
36255
|
+
if (!(this.u43_1 == null)) {
|
|
36207
36256
|
tmp_0 = this_0;
|
|
36208
36257
|
} else {
|
|
36209
36258
|
tmp_0 = null;
|
|
@@ -36219,18 +36268,18 @@
|
|
|
36219
36268
|
}
|
|
36220
36269
|
var tmp_3 = tmp_2;
|
|
36221
36270
|
// Inline function 'kotlin.takeIf' call
|
|
36222
|
-
var this_2 = 'actData=' + toString_0(this.
|
|
36271
|
+
var this_2 = 'actData=' + toString_0(this.v43_1);
|
|
36223
36272
|
var tmp_4;
|
|
36224
|
-
if (!(this.
|
|
36273
|
+
if (!(this.v43_1 == null)) {
|
|
36225
36274
|
tmp_4 = this_2;
|
|
36226
36275
|
} else {
|
|
36227
36276
|
tmp_4 = null;
|
|
36228
36277
|
}
|
|
36229
36278
|
var tmp_5 = tmp_4;
|
|
36230
36279
|
// Inline function 'kotlin.takeIf' call
|
|
36231
|
-
var this_3 = 'aid=' + this.
|
|
36280
|
+
var this_3 = 'aid=' + this.w43_1;
|
|
36232
36281
|
var tmp_6;
|
|
36233
|
-
if (!(this.
|
|
36282
|
+
if (!(this.w43_1 == null)) {
|
|
36234
36283
|
tmp_6 = this_3;
|
|
36235
36284
|
} else {
|
|
36236
36285
|
tmp_6 = null;
|
|
@@ -36238,20 +36287,20 @@
|
|
|
36238
36287
|
var tmp$ret$7 = tmp_6;
|
|
36239
36288
|
return 'SceneMechanicAction(' + joinToString(listOfNotNull([tmp, tmp_1, tmp_3, tmp_5, tmp$ret$7])) + ')';
|
|
36240
36289
|
};
|
|
36241
|
-
protoOf(SceneMechanicAction).
|
|
36290
|
+
protoOf(SceneMechanicAction).z43 = function () {
|
|
36242
36291
|
var tmp = this.sceneData;
|
|
36243
36292
|
if (!(tmp == null) ? isInterface(tmp, PlayerTurnSceneSupport) : false) {
|
|
36244
36293
|
return this.sceneData.h2t();
|
|
36245
36294
|
}
|
|
36246
|
-
var tmp_0 = this.
|
|
36295
|
+
var tmp_0 = this.v43_1;
|
|
36247
36296
|
if (!(tmp_0 == null) ? isInterface(tmp_0, PlayerTurnSceneSupport) : false) {
|
|
36248
|
-
return this.
|
|
36297
|
+
return this.v43_1.h2t();
|
|
36249
36298
|
}
|
|
36250
36299
|
return emptyList();
|
|
36251
36300
|
};
|
|
36252
36301
|
protoOf(SceneMechanicAction).r1p = function () {
|
|
36253
36302
|
// Inline function 'kotlin.requireNotNull' call
|
|
36254
|
-
var tmp0 = this.
|
|
36303
|
+
var tmp0 = this.s43_1;
|
|
36255
36304
|
var tmp$ret$1;
|
|
36256
36305
|
$l$block: {
|
|
36257
36306
|
// Inline function 'kotlin.requireNotNull' call
|
|
@@ -36266,42 +36315,42 @@
|
|
|
36266
36315
|
return tmp$ret$1;
|
|
36267
36316
|
};
|
|
36268
36317
|
protoOf(SceneMechanicAction).sc = function () {
|
|
36269
|
-
return this.
|
|
36318
|
+
return this.s43_1;
|
|
36270
36319
|
};
|
|
36271
36320
|
protoOf(SceneMechanicAction).tc = function () {
|
|
36272
|
-
return this.
|
|
36321
|
+
return this.t43_1;
|
|
36273
36322
|
};
|
|
36274
36323
|
protoOf(SceneMechanicAction).di = function () {
|
|
36275
|
-
return this.
|
|
36324
|
+
return this.u43_1;
|
|
36276
36325
|
};
|
|
36277
36326
|
protoOf(SceneMechanicAction).t16 = function () {
|
|
36278
36327
|
return this.sceneData;
|
|
36279
36328
|
};
|
|
36280
36329
|
protoOf(SceneMechanicAction).m1q = function () {
|
|
36281
|
-
return this.
|
|
36330
|
+
return this.v43_1;
|
|
36282
36331
|
};
|
|
36283
36332
|
protoOf(SceneMechanicAction).n1q = function () {
|
|
36284
|
-
return this.
|
|
36333
|
+
return this.w43_1;
|
|
36285
36334
|
};
|
|
36286
|
-
protoOf(SceneMechanicAction).
|
|
36335
|
+
protoOf(SceneMechanicAction).a44 = function (currentTurnPlayerId, sceneId, actId, sceneData, actData, aid) {
|
|
36287
36336
|
return new SceneMechanicAction(currentTurnPlayerId, sceneId, actId, sceneData, actData, aid);
|
|
36288
36337
|
};
|
|
36289
36338
|
protoOf(SceneMechanicAction).copy = function (currentTurnPlayerId, sceneId, actId, sceneData, actData, aid, $super) {
|
|
36290
|
-
currentTurnPlayerId = currentTurnPlayerId === VOID ? this.
|
|
36291
|
-
sceneId = sceneId === VOID ? this.
|
|
36292
|
-
actId = actId === VOID ? this.
|
|
36339
|
+
currentTurnPlayerId = currentTurnPlayerId === VOID ? this.s43_1 : currentTurnPlayerId;
|
|
36340
|
+
sceneId = sceneId === VOID ? this.t43_1 : sceneId;
|
|
36341
|
+
actId = actId === VOID ? this.u43_1 : actId;
|
|
36293
36342
|
sceneData = sceneData === VOID ? this.sceneData : sceneData;
|
|
36294
|
-
actData = actData === VOID ? this.
|
|
36295
|
-
aid = aid === VOID ? this.
|
|
36296
|
-
return $super === VOID ? this.
|
|
36343
|
+
actData = actData === VOID ? this.v43_1 : actData;
|
|
36344
|
+
aid = aid === VOID ? this.w43_1 : aid;
|
|
36345
|
+
return $super === VOID ? this.a44(currentTurnPlayerId, sceneId, actId, sceneData, actData, aid) : $super.a44.call(this, currentTurnPlayerId, sceneId, actId, sceneData, actData, aid);
|
|
36297
36346
|
};
|
|
36298
36347
|
protoOf(SceneMechanicAction).hashCode = function () {
|
|
36299
|
-
var result = this.
|
|
36300
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
36301
|
-
result = imul(result, 31) + (this.
|
|
36348
|
+
var result = this.s43_1 == null ? 0 : getStringHashCode(this.s43_1);
|
|
36349
|
+
result = imul(result, 31) + getStringHashCode(this.t43_1) | 0;
|
|
36350
|
+
result = imul(result, 31) + (this.u43_1 == null ? 0 : getStringHashCode(this.u43_1)) | 0;
|
|
36302
36351
|
result = imul(result, 31) + (this.sceneData == null ? 0 : hashCode(this.sceneData)) | 0;
|
|
36303
|
-
result = imul(result, 31) + (this.
|
|
36304
|
-
result = imul(result, 31) + (this.
|
|
36352
|
+
result = imul(result, 31) + (this.v43_1 == null ? 0 : hashCode(this.v43_1)) | 0;
|
|
36353
|
+
result = imul(result, 31) + (this.w43_1 == null ? 0 : getStringHashCode(this.w43_1)) | 0;
|
|
36305
36354
|
return result;
|
|
36306
36355
|
};
|
|
36307
36356
|
protoOf(SceneMechanicAction).equals = function (other) {
|
|
@@ -36309,17 +36358,17 @@
|
|
|
36309
36358
|
return true;
|
|
36310
36359
|
if (!(other instanceof SceneMechanicAction))
|
|
36311
36360
|
return false;
|
|
36312
|
-
if (!(this.
|
|
36361
|
+
if (!(this.s43_1 == other.s43_1))
|
|
36313
36362
|
return false;
|
|
36314
|
-
if (!(this.
|
|
36363
|
+
if (!(this.t43_1 === other.t43_1))
|
|
36315
36364
|
return false;
|
|
36316
|
-
if (!(this.
|
|
36365
|
+
if (!(this.u43_1 == other.u43_1))
|
|
36317
36366
|
return false;
|
|
36318
36367
|
if (!equals(this.sceneData, other.sceneData))
|
|
36319
36368
|
return false;
|
|
36320
|
-
if (!equals(this.
|
|
36369
|
+
if (!equals(this.v43_1, other.v43_1))
|
|
36321
36370
|
return false;
|
|
36322
|
-
if (!(this.
|
|
36371
|
+
if (!(this.w43_1 == other.w43_1))
|
|
36323
36372
|
return false;
|
|
36324
36373
|
return true;
|
|
36325
36374
|
};
|
|
@@ -36330,26 +36379,26 @@
|
|
|
36330
36379
|
MechanicAction.call(this);
|
|
36331
36380
|
this.team1 = team1;
|
|
36332
36381
|
this.team2 = team2;
|
|
36333
|
-
this.
|
|
36382
|
+
this.b44_1 = aid;
|
|
36334
36383
|
var tmp = this;
|
|
36335
36384
|
// Inline function 'kotlin.arrayOf' call
|
|
36336
36385
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
36337
36386
|
// Inline function 'kotlin.js.asDynamic' call
|
|
36338
|
-
tmp.
|
|
36387
|
+
tmp.c44_1 = [this.team1.first, this.team2.first, this.team1.second, this.team2.second];
|
|
36339
36388
|
}
|
|
36340
|
-
protoOf(TeamsDataMechanicAction).
|
|
36389
|
+
protoOf(TeamsDataMechanicAction).d44 = function () {
|
|
36341
36390
|
return this.team1;
|
|
36342
36391
|
};
|
|
36343
|
-
protoOf(TeamsDataMechanicAction).
|
|
36392
|
+
protoOf(TeamsDataMechanicAction).e44 = function () {
|
|
36344
36393
|
return this.team2;
|
|
36345
36394
|
};
|
|
36346
|
-
protoOf(TeamsDataMechanicAction).
|
|
36347
|
-
return this.
|
|
36395
|
+
protoOf(TeamsDataMechanicAction).p41 = function () {
|
|
36396
|
+
return this.b44_1;
|
|
36348
36397
|
};
|
|
36349
|
-
protoOf(TeamsDataMechanicAction).
|
|
36350
|
-
return this.
|
|
36398
|
+
protoOf(TeamsDataMechanicAction).r42 = function () {
|
|
36399
|
+
return this.c44_1;
|
|
36351
36400
|
};
|
|
36352
|
-
protoOf(TeamsDataMechanicAction).
|
|
36401
|
+
protoOf(TeamsDataMechanicAction).f44 = function (sceneId) {
|
|
36353
36402
|
return 'CHOOSE_PARTNER' === sceneId;
|
|
36354
36403
|
};
|
|
36355
36404
|
protoOf(TeamsDataMechanicAction).o1v = function () {
|
|
@@ -36399,24 +36448,24 @@
|
|
|
36399
36448
|
return this.team2;
|
|
36400
36449
|
};
|
|
36401
36450
|
protoOf(TeamsDataMechanicAction).di = function () {
|
|
36402
|
-
return this.
|
|
36451
|
+
return this.b44_1;
|
|
36403
36452
|
};
|
|
36404
|
-
protoOf(TeamsDataMechanicAction).
|
|
36453
|
+
protoOf(TeamsDataMechanicAction).g44 = function (team1, team2, aid) {
|
|
36405
36454
|
return new TeamsDataMechanicAction(team1, team2, aid);
|
|
36406
36455
|
};
|
|
36407
36456
|
protoOf(TeamsDataMechanicAction).copy = function (team1, team2, aid, $super) {
|
|
36408
36457
|
team1 = team1 === VOID ? this.team1 : team1;
|
|
36409
36458
|
team2 = team2 === VOID ? this.team2 : team2;
|
|
36410
|
-
aid = aid === VOID ? this.
|
|
36411
|
-
return $super === VOID ? this.
|
|
36459
|
+
aid = aid === VOID ? this.b44_1 : aid;
|
|
36460
|
+
return $super === VOID ? this.g44(team1, team2, aid) : $super.g44.call(this, team1, team2, aid);
|
|
36412
36461
|
};
|
|
36413
36462
|
protoOf(TeamsDataMechanicAction).toString = function () {
|
|
36414
|
-
return 'TeamsDataMechanicAction(team1=' + this.team1.toString() + ', team2=' + this.team2.toString() + ', aid=' + this.
|
|
36463
|
+
return 'TeamsDataMechanicAction(team1=' + this.team1.toString() + ', team2=' + this.team2.toString() + ', aid=' + this.b44_1 + ')';
|
|
36415
36464
|
};
|
|
36416
36465
|
protoOf(TeamsDataMechanicAction).hashCode = function () {
|
|
36417
36466
|
var result = this.team1.hashCode();
|
|
36418
36467
|
result = imul(result, 31) + this.team2.hashCode() | 0;
|
|
36419
|
-
result = imul(result, 31) + (this.
|
|
36468
|
+
result = imul(result, 31) + (this.b44_1 == null ? 0 : getStringHashCode(this.b44_1)) | 0;
|
|
36420
36469
|
return result;
|
|
36421
36470
|
};
|
|
36422
36471
|
protoOf(TeamsDataMechanicAction).equals = function (other) {
|
|
@@ -36428,7 +36477,7 @@
|
|
|
36428
36477
|
return false;
|
|
36429
36478
|
if (!this.team2.equals(other.team2))
|
|
36430
36479
|
return false;
|
|
36431
|
-
if (!(this.
|
|
36480
|
+
if (!(this.b44_1 == other.b44_1))
|
|
36432
36481
|
return false;
|
|
36433
36482
|
return true;
|
|
36434
36483
|
};
|
|
@@ -36444,7 +36493,7 @@
|
|
|
36444
36493
|
this.causeState = causeState;
|
|
36445
36494
|
this.isNoneActivePlayers = isNoneActivePlayers;
|
|
36446
36495
|
this.reconnectUntilTime = reconnectUntilTime;
|
|
36447
|
-
this.
|
|
36496
|
+
this.h44_1 = aid;
|
|
36448
36497
|
}
|
|
36449
36498
|
protoOf(PlayerConnectionChangedMechanicAction).r1p = function () {
|
|
36450
36499
|
return this.playerId;
|
|
@@ -36452,20 +36501,20 @@
|
|
|
36452
36501
|
protoOf(PlayerConnectionChangedMechanicAction).s1q = function () {
|
|
36453
36502
|
return this.state;
|
|
36454
36503
|
};
|
|
36455
|
-
protoOf(PlayerConnectionChangedMechanicAction).
|
|
36504
|
+
protoOf(PlayerConnectionChangedMechanicAction).i44 = function () {
|
|
36456
36505
|
return this.previousState;
|
|
36457
36506
|
};
|
|
36458
|
-
protoOf(PlayerConnectionChangedMechanicAction).
|
|
36507
|
+
protoOf(PlayerConnectionChangedMechanicAction).j44 = function () {
|
|
36459
36508
|
return this.causeState;
|
|
36460
36509
|
};
|
|
36461
|
-
protoOf(PlayerConnectionChangedMechanicAction).
|
|
36510
|
+
protoOf(PlayerConnectionChangedMechanicAction).k44 = function () {
|
|
36462
36511
|
return this.isNoneActivePlayers;
|
|
36463
36512
|
};
|
|
36464
|
-
protoOf(PlayerConnectionChangedMechanicAction).
|
|
36513
|
+
protoOf(PlayerConnectionChangedMechanicAction).l44 = function () {
|
|
36465
36514
|
return this.reconnectUntilTime;
|
|
36466
36515
|
};
|
|
36467
|
-
protoOf(PlayerConnectionChangedMechanicAction).
|
|
36468
|
-
return this.
|
|
36516
|
+
protoOf(PlayerConnectionChangedMechanicAction).p41 = function () {
|
|
36517
|
+
return this.h44_1;
|
|
36469
36518
|
};
|
|
36470
36519
|
protoOf(PlayerConnectionChangedMechanicAction).x1r = function () {
|
|
36471
36520
|
return this.originState.isShouldBeDisconnectedFromSockets;
|
|
@@ -36473,7 +36522,7 @@
|
|
|
36473
36522
|
protoOf(PlayerConnectionChangedMechanicAction).y1r = function () {
|
|
36474
36523
|
return this.originState.isShouldBeUnsubscribedFromSockets;
|
|
36475
36524
|
};
|
|
36476
|
-
protoOf(PlayerConnectionChangedMechanicAction).
|
|
36525
|
+
protoOf(PlayerConnectionChangedMechanicAction).m44 = function () {
|
|
36477
36526
|
var tmp;
|
|
36478
36527
|
if (this.state.isDisconnecting) {
|
|
36479
36528
|
// Inline function 'kotlin.requireNotNull' call
|
|
@@ -36529,9 +36578,9 @@
|
|
|
36529
36578
|
}
|
|
36530
36579
|
var tmp_6 = tmp_5;
|
|
36531
36580
|
// Inline function 'kotlin.takeIf' call
|
|
36532
|
-
var this_3 = 'aid=' + this.
|
|
36581
|
+
var this_3 = 'aid=' + this.h44_1;
|
|
36533
36582
|
var tmp_7;
|
|
36534
|
-
if (!(this.
|
|
36583
|
+
if (!(this.h44_1 == null)) {
|
|
36535
36584
|
tmp_7 = this_3;
|
|
36536
36585
|
} else {
|
|
36537
36586
|
tmp_7 = null;
|
|
@@ -36558,9 +36607,9 @@
|
|
|
36558
36607
|
return this.reconnectUntilTime;
|
|
36559
36608
|
};
|
|
36560
36609
|
protoOf(PlayerConnectionChangedMechanicAction).o1q = function () {
|
|
36561
|
-
return this.
|
|
36610
|
+
return this.h44_1;
|
|
36562
36611
|
};
|
|
36563
|
-
protoOf(PlayerConnectionChangedMechanicAction).
|
|
36612
|
+
protoOf(PlayerConnectionChangedMechanicAction).n44 = function (playerId, state, previousState, causeState, isNoneActivePlayers, reconnectUntilTime, aid) {
|
|
36564
36613
|
return new PlayerConnectionChangedMechanicAction(playerId, state, previousState, causeState, isNoneActivePlayers, reconnectUntilTime, aid);
|
|
36565
36614
|
};
|
|
36566
36615
|
protoOf(PlayerConnectionChangedMechanicAction).copy = function (playerId, state, previousState, causeState, isNoneActivePlayers, reconnectUntilTime, aid, $super) {
|
|
@@ -36570,8 +36619,8 @@
|
|
|
36570
36619
|
causeState = causeState === VOID ? this.causeState : causeState;
|
|
36571
36620
|
isNoneActivePlayers = isNoneActivePlayers === VOID ? this.isNoneActivePlayers : isNoneActivePlayers;
|
|
36572
36621
|
reconnectUntilTime = reconnectUntilTime === VOID ? this.reconnectUntilTime : reconnectUntilTime;
|
|
36573
|
-
aid = aid === VOID ? this.
|
|
36574
|
-
return $super === VOID ? this.
|
|
36622
|
+
aid = aid === VOID ? this.h44_1 : aid;
|
|
36623
|
+
return $super === VOID ? this.n44(playerId, state, previousState, causeState, isNoneActivePlayers, reconnectUntilTime, aid) : $super.n44.call(this, playerId, state, previousState, causeState, isNoneActivePlayers, reconnectUntilTime, aid);
|
|
36575
36624
|
};
|
|
36576
36625
|
protoOf(PlayerConnectionChangedMechanicAction).hashCode = function () {
|
|
36577
36626
|
var result = getStringHashCode(this.playerId);
|
|
@@ -36580,7 +36629,7 @@
|
|
|
36580
36629
|
result = imul(result, 31) + (this.causeState == null ? 0 : this.causeState.hashCode()) | 0;
|
|
36581
36630
|
result = imul(result, 31) + getBooleanHashCode(this.isNoneActivePlayers) | 0;
|
|
36582
36631
|
result = imul(result, 31) + (this.reconnectUntilTime == null ? 0 : getStringHashCode(this.reconnectUntilTime)) | 0;
|
|
36583
|
-
result = imul(result, 31) + (this.
|
|
36632
|
+
result = imul(result, 31) + (this.h44_1 == null ? 0 : getStringHashCode(this.h44_1)) | 0;
|
|
36584
36633
|
return result;
|
|
36585
36634
|
};
|
|
36586
36635
|
protoOf(PlayerConnectionChangedMechanicAction).equals = function (other) {
|
|
@@ -36600,7 +36649,7 @@
|
|
|
36600
36649
|
return false;
|
|
36601
36650
|
if (!(this.reconnectUntilTime == other.reconnectUntilTime))
|
|
36602
36651
|
return false;
|
|
36603
|
-
if (!(this.
|
|
36652
|
+
if (!(this.h44_1 == other.h44_1))
|
|
36604
36653
|
return false;
|
|
36605
36654
|
return true;
|
|
36606
36655
|
};
|
|
@@ -36608,34 +36657,34 @@
|
|
|
36608
36657
|
aid = aid === VOID ? null : aid;
|
|
36609
36658
|
MechanicAction.call(this);
|
|
36610
36659
|
this.message = message;
|
|
36611
|
-
this.
|
|
36660
|
+
this.o44_1 = aid;
|
|
36612
36661
|
}
|
|
36613
36662
|
protoOf(MessageMechanicAction).e = function () {
|
|
36614
36663
|
return this.message;
|
|
36615
36664
|
};
|
|
36616
|
-
protoOf(MessageMechanicAction).
|
|
36617
|
-
return this.
|
|
36665
|
+
protoOf(MessageMechanicAction).p41 = function () {
|
|
36666
|
+
return this.o44_1;
|
|
36618
36667
|
};
|
|
36619
36668
|
protoOf(MessageMechanicAction).sc = function () {
|
|
36620
36669
|
return this.message;
|
|
36621
36670
|
};
|
|
36622
36671
|
protoOf(MessageMechanicAction).tc = function () {
|
|
36623
|
-
return this.
|
|
36672
|
+
return this.o44_1;
|
|
36624
36673
|
};
|
|
36625
|
-
protoOf(MessageMechanicAction).
|
|
36674
|
+
protoOf(MessageMechanicAction).p44 = function (message, aid) {
|
|
36626
36675
|
return new MessageMechanicAction(message, aid);
|
|
36627
36676
|
};
|
|
36628
36677
|
protoOf(MessageMechanicAction).copy = function (message, aid, $super) {
|
|
36629
36678
|
message = message === VOID ? this.message : message;
|
|
36630
|
-
aid = aid === VOID ? this.
|
|
36631
|
-
return $super === VOID ? this.
|
|
36679
|
+
aid = aid === VOID ? this.o44_1 : aid;
|
|
36680
|
+
return $super === VOID ? this.p44(message, aid) : $super.p44.call(this, message, aid);
|
|
36632
36681
|
};
|
|
36633
36682
|
protoOf(MessageMechanicAction).toString = function () {
|
|
36634
|
-
return 'MessageMechanicAction(message=' + toString(this.message) + ', aid=' + this.
|
|
36683
|
+
return 'MessageMechanicAction(message=' + toString(this.message) + ', aid=' + this.o44_1 + ')';
|
|
36635
36684
|
};
|
|
36636
36685
|
protoOf(MessageMechanicAction).hashCode = function () {
|
|
36637
36686
|
var result = hashCode(this.message);
|
|
36638
|
-
result = imul(result, 31) + (this.
|
|
36687
|
+
result = imul(result, 31) + (this.o44_1 == null ? 0 : getStringHashCode(this.o44_1)) | 0;
|
|
36639
36688
|
return result;
|
|
36640
36689
|
};
|
|
36641
36690
|
protoOf(MessageMechanicAction).equals = function (other) {
|
|
@@ -36645,25 +36694,25 @@
|
|
|
36645
36694
|
return false;
|
|
36646
36695
|
if (!equals(this.message, other.message))
|
|
36647
36696
|
return false;
|
|
36648
|
-
if (!(this.
|
|
36697
|
+
if (!(this.o44_1 == other.o44_1))
|
|
36649
36698
|
return false;
|
|
36650
36699
|
return true;
|
|
36651
36700
|
};
|
|
36652
36701
|
function RestartGameMechanicAction(reason, aid) {
|
|
36653
36702
|
aid = aid === VOID ? null : aid;
|
|
36654
36703
|
MechanicAction.call(this);
|
|
36655
|
-
this.
|
|
36656
|
-
this.
|
|
36704
|
+
this.q44_1 = reason;
|
|
36705
|
+
this.r44_1 = aid;
|
|
36657
36706
|
}
|
|
36658
|
-
protoOf(RestartGameMechanicAction).
|
|
36659
|
-
return this.
|
|
36707
|
+
protoOf(RestartGameMechanicAction).p41 = function () {
|
|
36708
|
+
return this.r44_1;
|
|
36660
36709
|
};
|
|
36661
36710
|
protoOf(RestartGameMechanicAction).toString = function () {
|
|
36662
|
-
return 'RestartGameMechanicAction(reason=' + this.
|
|
36711
|
+
return 'RestartGameMechanicAction(reason=' + this.q44_1.toString() + ', aid=' + this.r44_1 + ')';
|
|
36663
36712
|
};
|
|
36664
36713
|
protoOf(RestartGameMechanicAction).hashCode = function () {
|
|
36665
|
-
var result = this.
|
|
36666
|
-
result = imul(result, 31) + (this.
|
|
36714
|
+
var result = this.q44_1.hashCode();
|
|
36715
|
+
result = imul(result, 31) + (this.r44_1 == null ? 0 : getStringHashCode(this.r44_1)) | 0;
|
|
36667
36716
|
return result;
|
|
36668
36717
|
};
|
|
36669
36718
|
protoOf(RestartGameMechanicAction).equals = function (other) {
|
|
@@ -36671,9 +36720,9 @@
|
|
|
36671
36720
|
return true;
|
|
36672
36721
|
if (!(other instanceof RestartGameMechanicAction))
|
|
36673
36722
|
return false;
|
|
36674
|
-
if (!this.
|
|
36723
|
+
if (!this.q44_1.equals(other.q44_1))
|
|
36675
36724
|
return false;
|
|
36676
|
-
if (!(this.
|
|
36725
|
+
if (!(this.r44_1 == other.r44_1))
|
|
36677
36726
|
return false;
|
|
36678
36727
|
return true;
|
|
36679
36728
|
};
|
|
@@ -36681,31 +36730,31 @@
|
|
|
36681
36730
|
actData = actData === VOID ? null : actData;
|
|
36682
36731
|
aid = aid === VOID ? null : aid;
|
|
36683
36732
|
MechanicAction.call(this);
|
|
36684
|
-
this.
|
|
36685
|
-
this.
|
|
36686
|
-
this.
|
|
36687
|
-
this.
|
|
36733
|
+
this.s44_1 = sceneId;
|
|
36734
|
+
this.t44_1 = actId;
|
|
36735
|
+
this.u44_1 = actData;
|
|
36736
|
+
this.v44_1 = aid;
|
|
36688
36737
|
}
|
|
36689
36738
|
protoOf(SceneActMechanicAction).y2t = function () {
|
|
36690
|
-
return this.
|
|
36739
|
+
return this.s44_1;
|
|
36691
36740
|
};
|
|
36692
36741
|
protoOf(SceneActMechanicAction).g2t = function () {
|
|
36742
|
+
return this.t44_1;
|
|
36743
|
+
};
|
|
36744
|
+
protoOf(SceneActMechanicAction).r43 = function () {
|
|
36693
36745
|
return this.u44_1;
|
|
36694
36746
|
};
|
|
36695
|
-
protoOf(SceneActMechanicAction).
|
|
36747
|
+
protoOf(SceneActMechanicAction).p41 = function () {
|
|
36696
36748
|
return this.v44_1;
|
|
36697
36749
|
};
|
|
36698
|
-
protoOf(SceneActMechanicAction).q41 = function () {
|
|
36699
|
-
return this.w44_1;
|
|
36700
|
-
};
|
|
36701
36750
|
protoOf(SceneActMechanicAction).toString = function () {
|
|
36702
|
-
return 'SceneActMechanicAction(sceneId=' + this.
|
|
36751
|
+
return 'SceneActMechanicAction(sceneId=' + this.s44_1 + ', actId=' + this.t44_1 + ', actData=' + toString_0(this.u44_1) + ', aid=' + this.v44_1 + ')';
|
|
36703
36752
|
};
|
|
36704
36753
|
protoOf(SceneActMechanicAction).hashCode = function () {
|
|
36705
|
-
var result = getStringHashCode(this.
|
|
36706
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
36707
|
-
result = imul(result, 31) + (this.
|
|
36708
|
-
result = imul(result, 31) + (this.
|
|
36754
|
+
var result = getStringHashCode(this.s44_1);
|
|
36755
|
+
result = imul(result, 31) + getStringHashCode(this.t44_1) | 0;
|
|
36756
|
+
result = imul(result, 31) + (this.u44_1 == null ? 0 : hashCode(this.u44_1)) | 0;
|
|
36757
|
+
result = imul(result, 31) + (this.v44_1 == null ? 0 : getStringHashCode(this.v44_1)) | 0;
|
|
36709
36758
|
return result;
|
|
36710
36759
|
};
|
|
36711
36760
|
protoOf(SceneActMechanicAction).equals = function (other) {
|
|
@@ -36713,34 +36762,34 @@
|
|
|
36713
36762
|
return true;
|
|
36714
36763
|
if (!(other instanceof SceneActMechanicAction))
|
|
36715
36764
|
return false;
|
|
36716
|
-
if (!(this.
|
|
36765
|
+
if (!(this.s44_1 === other.s44_1))
|
|
36717
36766
|
return false;
|
|
36718
|
-
if (!(this.
|
|
36767
|
+
if (!(this.t44_1 === other.t44_1))
|
|
36719
36768
|
return false;
|
|
36720
|
-
if (!equals(this.
|
|
36769
|
+
if (!equals(this.u44_1, other.u44_1))
|
|
36721
36770
|
return false;
|
|
36722
|
-
if (!(this.
|
|
36771
|
+
if (!(this.v44_1 == other.v44_1))
|
|
36723
36772
|
return false;
|
|
36724
36773
|
return true;
|
|
36725
36774
|
};
|
|
36726
36775
|
function PlayerReadyMechanicAction(currentTurnPlayerId, aid) {
|
|
36727
36776
|
aid = aid === VOID ? null : aid;
|
|
36728
36777
|
MechanicAction.call(this);
|
|
36729
|
-
this.
|
|
36730
|
-
this.
|
|
36778
|
+
this.w44_1 = currentTurnPlayerId;
|
|
36779
|
+
this.x44_1 = aid;
|
|
36731
36780
|
}
|
|
36732
|
-
protoOf(PlayerReadyMechanicAction).
|
|
36733
|
-
return this.
|
|
36781
|
+
protoOf(PlayerReadyMechanicAction).p41 = function () {
|
|
36782
|
+
return this.x44_1;
|
|
36734
36783
|
};
|
|
36735
36784
|
protoOf(PlayerReadyMechanicAction).r1p = function () {
|
|
36736
|
-
return this.
|
|
36785
|
+
return this.w44_1;
|
|
36737
36786
|
};
|
|
36738
36787
|
protoOf(PlayerReadyMechanicAction).toString = function () {
|
|
36739
|
-
return 'PlayerReadyMechanicAction(currentTurnPlayerId=' + this.
|
|
36788
|
+
return 'PlayerReadyMechanicAction(currentTurnPlayerId=' + this.w44_1 + ', aid=' + this.x44_1 + ')';
|
|
36740
36789
|
};
|
|
36741
36790
|
protoOf(PlayerReadyMechanicAction).hashCode = function () {
|
|
36742
|
-
var result = getStringHashCode(this.
|
|
36743
|
-
result = imul(result, 31) + (this.
|
|
36791
|
+
var result = getStringHashCode(this.w44_1);
|
|
36792
|
+
result = imul(result, 31) + (this.x44_1 == null ? 0 : getStringHashCode(this.x44_1)) | 0;
|
|
36744
36793
|
return result;
|
|
36745
36794
|
};
|
|
36746
36795
|
protoOf(PlayerReadyMechanicAction).equals = function (other) {
|
|
@@ -36748,9 +36797,9 @@
|
|
|
36748
36797
|
return true;
|
|
36749
36798
|
if (!(other instanceof PlayerReadyMechanicAction))
|
|
36750
36799
|
return false;
|
|
36751
|
-
if (!(this.
|
|
36800
|
+
if (!(this.w44_1 === other.w44_1))
|
|
36752
36801
|
return false;
|
|
36753
|
-
if (!(this.
|
|
36802
|
+
if (!(this.x44_1 == other.x44_1))
|
|
36754
36803
|
return false;
|
|
36755
36804
|
return true;
|
|
36756
36805
|
};
|
|
@@ -36758,27 +36807,27 @@
|
|
|
36758
36807
|
restartRound = restartRound === VOID ? false : restartRound;
|
|
36759
36808
|
aid = aid === VOID ? null : aid;
|
|
36760
36809
|
MechanicAction.call(this);
|
|
36761
|
-
this.
|
|
36762
|
-
this.
|
|
36763
|
-
this.
|
|
36764
|
-
this.
|
|
36765
|
-
this.
|
|
36810
|
+
this.y44_1 = suit;
|
|
36811
|
+
this.z44_1 = restartRound;
|
|
36812
|
+
this.a45_1 = currentTurnPlayerId;
|
|
36813
|
+
this.b45_1 = nextTurnPlayerIds;
|
|
36814
|
+
this.c45_1 = aid;
|
|
36766
36815
|
}
|
|
36767
|
-
protoOf(SuitChoiceMechanicAction).
|
|
36768
|
-
return this.
|
|
36816
|
+
protoOf(SuitChoiceMechanicAction).p41 = function () {
|
|
36817
|
+
return this.c45_1;
|
|
36769
36818
|
};
|
|
36770
36819
|
protoOf(SuitChoiceMechanicAction).r1p = function () {
|
|
36771
|
-
return this.
|
|
36820
|
+
return this.a45_1;
|
|
36772
36821
|
};
|
|
36773
36822
|
protoOf(SuitChoiceMechanicAction).toString = function () {
|
|
36774
|
-
return 'SuitChoiceMechanicAction(suit=' + toString_0(this.
|
|
36823
|
+
return 'SuitChoiceMechanicAction(suit=' + toString_0(this.y44_1) + ', restartRound=' + this.z44_1 + ', currentTurnPlayerId=' + this.a45_1 + ', nextTurnPlayerIds=' + toString(this.b45_1) + ', aid=' + this.c45_1 + ')';
|
|
36775
36824
|
};
|
|
36776
36825
|
protoOf(SuitChoiceMechanicAction).hashCode = function () {
|
|
36777
|
-
var result = this.
|
|
36778
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
36779
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
36780
|
-
result = imul(result, 31) + hashCode(this.
|
|
36781
|
-
result = imul(result, 31) + (this.
|
|
36826
|
+
var result = this.y44_1 == null ? 0 : this.y44_1.hashCode();
|
|
36827
|
+
result = imul(result, 31) + getBooleanHashCode(this.z44_1) | 0;
|
|
36828
|
+
result = imul(result, 31) + getStringHashCode(this.a45_1) | 0;
|
|
36829
|
+
result = imul(result, 31) + hashCode(this.b45_1) | 0;
|
|
36830
|
+
result = imul(result, 31) + (this.c45_1 == null ? 0 : getStringHashCode(this.c45_1)) | 0;
|
|
36782
36831
|
return result;
|
|
36783
36832
|
};
|
|
36784
36833
|
protoOf(SuitChoiceMechanicAction).equals = function (other) {
|
|
@@ -36786,43 +36835,43 @@
|
|
|
36786
36835
|
return true;
|
|
36787
36836
|
if (!(other instanceof SuitChoiceMechanicAction))
|
|
36788
36837
|
return false;
|
|
36789
|
-
if (!equals(this.
|
|
36838
|
+
if (!equals(this.y44_1, other.y44_1))
|
|
36790
36839
|
return false;
|
|
36791
|
-
if (!(this.
|
|
36840
|
+
if (!(this.z44_1 === other.z44_1))
|
|
36792
36841
|
return false;
|
|
36793
|
-
if (!(this.
|
|
36842
|
+
if (!(this.a45_1 === other.a45_1))
|
|
36794
36843
|
return false;
|
|
36795
|
-
if (!equals(this.
|
|
36844
|
+
if (!equals(this.b45_1, other.b45_1))
|
|
36796
36845
|
return false;
|
|
36797
|
-
if (!(this.
|
|
36846
|
+
if (!(this.c45_1 == other.c45_1))
|
|
36798
36847
|
return false;
|
|
36799
36848
|
return true;
|
|
36800
36849
|
};
|
|
36801
36850
|
function CombinationChoiceMechanicAction(isAnnounced, combinations, currentTurnPlayerId, aid) {
|
|
36802
36851
|
aid = aid === VOID ? null : aid;
|
|
36803
36852
|
MechanicAction.call(this);
|
|
36804
|
-
this.
|
|
36805
|
-
this.
|
|
36806
|
-
this.
|
|
36807
|
-
this.
|
|
36853
|
+
this.d45_1 = isAnnounced;
|
|
36854
|
+
this.e45_1 = combinations;
|
|
36855
|
+
this.f45_1 = currentTurnPlayerId;
|
|
36856
|
+
this.g45_1 = aid;
|
|
36808
36857
|
}
|
|
36809
|
-
protoOf(CombinationChoiceMechanicAction).
|
|
36810
|
-
return this.
|
|
36858
|
+
protoOf(CombinationChoiceMechanicAction).p41 = function () {
|
|
36859
|
+
return this.g45_1;
|
|
36811
36860
|
};
|
|
36812
36861
|
protoOf(CombinationChoiceMechanicAction).n1v = function () {
|
|
36813
36862
|
return true;
|
|
36814
36863
|
};
|
|
36815
36864
|
protoOf(CombinationChoiceMechanicAction).r1p = function () {
|
|
36816
|
-
return this.
|
|
36865
|
+
return this.f45_1;
|
|
36817
36866
|
};
|
|
36818
36867
|
protoOf(CombinationChoiceMechanicAction).toString = function () {
|
|
36819
|
-
return 'CombinationChoiceMechanicAction(isAnnounced=' + this.
|
|
36868
|
+
return 'CombinationChoiceMechanicAction(isAnnounced=' + this.d45_1 + ', combinations=' + toString(this.e45_1) + ', currentTurnPlayerId=' + this.f45_1 + ', aid=' + this.g45_1 + ')';
|
|
36820
36869
|
};
|
|
36821
36870
|
protoOf(CombinationChoiceMechanicAction).hashCode = function () {
|
|
36822
|
-
var result = getBooleanHashCode(this.
|
|
36823
|
-
result = imul(result, 31) + hashCode(this.
|
|
36824
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
36825
|
-
result = imul(result, 31) + (this.
|
|
36871
|
+
var result = getBooleanHashCode(this.d45_1);
|
|
36872
|
+
result = imul(result, 31) + hashCode(this.e45_1) | 0;
|
|
36873
|
+
result = imul(result, 31) + getStringHashCode(this.f45_1) | 0;
|
|
36874
|
+
result = imul(result, 31) + (this.g45_1 == null ? 0 : getStringHashCode(this.g45_1)) | 0;
|
|
36826
36875
|
return result;
|
|
36827
36876
|
};
|
|
36828
36877
|
protoOf(CombinationChoiceMechanicAction).equals = function (other) {
|
|
@@ -36830,13 +36879,13 @@
|
|
|
36830
36879
|
return true;
|
|
36831
36880
|
if (!(other instanceof CombinationChoiceMechanicAction))
|
|
36832
36881
|
return false;
|
|
36833
|
-
if (!(this.
|
|
36882
|
+
if (!(this.d45_1 === other.d45_1))
|
|
36834
36883
|
return false;
|
|
36835
|
-
if (!equals(this.
|
|
36884
|
+
if (!equals(this.e45_1, other.e45_1))
|
|
36836
36885
|
return false;
|
|
36837
|
-
if (!(this.
|
|
36886
|
+
if (!(this.f45_1 === other.f45_1))
|
|
36838
36887
|
return false;
|
|
36839
|
-
if (!(this.
|
|
36888
|
+
if (!(this.g45_1 == other.g45_1))
|
|
36840
36889
|
return false;
|
|
36841
36890
|
return true;
|
|
36842
36891
|
};
|
|
@@ -36844,36 +36893,36 @@
|
|
|
36844
36893
|
combinations = combinations === VOID ? null : combinations;
|
|
36845
36894
|
aid = aid === VOID ? null : aid;
|
|
36846
36895
|
MechanicAction.call(this);
|
|
36847
|
-
this.
|
|
36848
|
-
this.
|
|
36849
|
-
this.
|
|
36850
|
-
this.
|
|
36851
|
-
this.
|
|
36852
|
-
this.
|
|
36896
|
+
this.h45_1 = card;
|
|
36897
|
+
this.i45_1 = combinations;
|
|
36898
|
+
this.j45_1 = canNextPlayerTakeAllCards;
|
|
36899
|
+
this.k45_1 = currentTurnPlayerId;
|
|
36900
|
+
this.l45_1 = nextTurnPlayerIds;
|
|
36901
|
+
this.m45_1 = aid;
|
|
36853
36902
|
}
|
|
36854
|
-
protoOf(PutCardMechanicAction).
|
|
36855
|
-
return this.
|
|
36903
|
+
protoOf(PutCardMechanicAction).p41 = function () {
|
|
36904
|
+
return this.m45_1;
|
|
36856
36905
|
};
|
|
36857
36906
|
protoOf(PutCardMechanicAction).r1p = function () {
|
|
36858
|
-
return this.
|
|
36907
|
+
return this.k45_1;
|
|
36859
36908
|
};
|
|
36860
36909
|
protoOf(PutCardMechanicAction).toString = function () {
|
|
36861
|
-
var tmp = "currentTurnPlayerId='" + this.
|
|
36910
|
+
var tmp = "currentTurnPlayerId='" + this.k45_1 + "'";
|
|
36862
36911
|
// Inline function 'kotlin.takeIf' call
|
|
36863
|
-
var this_0 = 'nextTurnPlayerIds=' + toString(this.
|
|
36912
|
+
var this_0 = 'nextTurnPlayerIds=' + toString(this.l45_1);
|
|
36864
36913
|
var tmp_0;
|
|
36865
36914
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
36866
|
-
if (!this.
|
|
36915
|
+
if (!this.l45_1.r()) {
|
|
36867
36916
|
tmp_0 = this_0;
|
|
36868
36917
|
} else {
|
|
36869
36918
|
tmp_0 = null;
|
|
36870
36919
|
}
|
|
36871
36920
|
var tmp_1 = tmp_0;
|
|
36872
|
-
var tmp_2 = 'card=' + this.
|
|
36921
|
+
var tmp_2 = 'card=' + this.h45_1.toString();
|
|
36873
36922
|
// Inline function 'kotlin.takeIf' call
|
|
36874
|
-
var this_1 = 'combinations=' + toString_0(this.
|
|
36923
|
+
var this_1 = 'combinations=' + toString_0(this.i45_1);
|
|
36875
36924
|
var tmp_3;
|
|
36876
|
-
var tmp0_safe_receiver = this.
|
|
36925
|
+
var tmp0_safe_receiver = this.i45_1;
|
|
36877
36926
|
var tmp_4;
|
|
36878
36927
|
if (tmp0_safe_receiver == null) {
|
|
36879
36928
|
tmp_4 = null;
|
|
@@ -36888,9 +36937,9 @@
|
|
|
36888
36937
|
}
|
|
36889
36938
|
var tmp_5 = tmp_3;
|
|
36890
36939
|
// Inline function 'kotlin.takeIf' call
|
|
36891
|
-
var this_2 = 'aid=' + this.
|
|
36940
|
+
var this_2 = 'aid=' + this.m45_1;
|
|
36892
36941
|
var tmp_6;
|
|
36893
|
-
if (!(this.
|
|
36942
|
+
if (!(this.m45_1 == null)) {
|
|
36894
36943
|
tmp_6 = this_2;
|
|
36895
36944
|
} else {
|
|
36896
36945
|
tmp_6 = null;
|
|
@@ -36899,12 +36948,12 @@
|
|
|
36899
36948
|
return 'PutCardMechanicAction(' + joinToString(listOfNotNull([tmp, tmp_1, tmp_2, tmp_5, tmp$ret$7])) + ')';
|
|
36900
36949
|
};
|
|
36901
36950
|
protoOf(PutCardMechanicAction).hashCode = function () {
|
|
36902
|
-
var result = this.
|
|
36903
|
-
result = imul(result, 31) + (this.
|
|
36904
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
36905
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
36906
|
-
result = imul(result, 31) + hashCode(this.
|
|
36907
|
-
result = imul(result, 31) + (this.
|
|
36951
|
+
var result = this.h45_1.hashCode();
|
|
36952
|
+
result = imul(result, 31) + (this.i45_1 == null ? 0 : hashCode(this.i45_1)) | 0;
|
|
36953
|
+
result = imul(result, 31) + getBooleanHashCode(this.j45_1) | 0;
|
|
36954
|
+
result = imul(result, 31) + getStringHashCode(this.k45_1) | 0;
|
|
36955
|
+
result = imul(result, 31) + hashCode(this.l45_1) | 0;
|
|
36956
|
+
result = imul(result, 31) + (this.m45_1 == null ? 0 : getStringHashCode(this.m45_1)) | 0;
|
|
36908
36957
|
return result;
|
|
36909
36958
|
};
|
|
36910
36959
|
protoOf(PutCardMechanicAction).equals = function (other) {
|
|
@@ -36912,35 +36961,35 @@
|
|
|
36912
36961
|
return true;
|
|
36913
36962
|
if (!(other instanceof PutCardMechanicAction))
|
|
36914
36963
|
return false;
|
|
36915
|
-
if (!this.
|
|
36964
|
+
if (!this.h45_1.equals(other.h45_1))
|
|
36916
36965
|
return false;
|
|
36917
|
-
if (!equals(this.
|
|
36966
|
+
if (!equals(this.i45_1, other.i45_1))
|
|
36918
36967
|
return false;
|
|
36919
|
-
if (!(this.
|
|
36968
|
+
if (!(this.j45_1 === other.j45_1))
|
|
36920
36969
|
return false;
|
|
36921
|
-
if (!(this.
|
|
36970
|
+
if (!(this.k45_1 === other.k45_1))
|
|
36922
36971
|
return false;
|
|
36923
|
-
if (!equals(this.
|
|
36972
|
+
if (!equals(this.l45_1, other.l45_1))
|
|
36924
36973
|
return false;
|
|
36925
|
-
if (!(this.
|
|
36974
|
+
if (!(this.m45_1 == other.m45_1))
|
|
36926
36975
|
return false;
|
|
36927
36976
|
return true;
|
|
36928
36977
|
};
|
|
36929
36978
|
function TrumpMechanicAction(suit, aid) {
|
|
36930
36979
|
aid = aid === VOID ? null : aid;
|
|
36931
36980
|
MechanicAction.call(this);
|
|
36932
|
-
this.
|
|
36933
|
-
this.
|
|
36981
|
+
this.n45_1 = suit;
|
|
36982
|
+
this.o45_1 = aid;
|
|
36934
36983
|
}
|
|
36935
|
-
protoOf(TrumpMechanicAction).
|
|
36936
|
-
return this.
|
|
36984
|
+
protoOf(TrumpMechanicAction).p41 = function () {
|
|
36985
|
+
return this.o45_1;
|
|
36937
36986
|
};
|
|
36938
36987
|
protoOf(TrumpMechanicAction).toString = function () {
|
|
36939
|
-
return 'TrumpMechanicAction(suit=' + this.
|
|
36988
|
+
return 'TrumpMechanicAction(suit=' + this.n45_1.toString() + ', aid=' + this.o45_1 + ')';
|
|
36940
36989
|
};
|
|
36941
36990
|
protoOf(TrumpMechanicAction).hashCode = function () {
|
|
36942
|
-
var result = this.
|
|
36943
|
-
result = imul(result, 31) + (this.
|
|
36991
|
+
var result = this.n45_1.hashCode();
|
|
36992
|
+
result = imul(result, 31) + (this.o45_1 == null ? 0 : getStringHashCode(this.o45_1)) | 0;
|
|
36944
36993
|
return result;
|
|
36945
36994
|
};
|
|
36946
36995
|
protoOf(TrumpMechanicAction).equals = function (other) {
|
|
@@ -36948,34 +36997,34 @@
|
|
|
36948
36997
|
return true;
|
|
36949
36998
|
if (!(other instanceof TrumpMechanicAction))
|
|
36950
36999
|
return false;
|
|
36951
|
-
if (!this.
|
|
37000
|
+
if (!this.n45_1.equals(other.n45_1))
|
|
36952
37001
|
return false;
|
|
36953
|
-
if (!(this.
|
|
37002
|
+
if (!(this.o45_1 == other.o45_1))
|
|
36954
37003
|
return false;
|
|
36955
37004
|
return true;
|
|
36956
37005
|
};
|
|
36957
37006
|
function PickUpBribeMechanicAction(whoGotBribePlayerId, numberOfBribe, canNextPlayerTakeAllCards, aid) {
|
|
36958
37007
|
aid = aid === VOID ? null : aid;
|
|
36959
37008
|
MechanicAction.call(this);
|
|
36960
|
-
this.
|
|
36961
|
-
this.
|
|
36962
|
-
this.
|
|
36963
|
-
this.
|
|
37009
|
+
this.p45_1 = whoGotBribePlayerId;
|
|
37010
|
+
this.q45_1 = numberOfBribe;
|
|
37011
|
+
this.r45_1 = canNextPlayerTakeAllCards;
|
|
37012
|
+
this.s45_1 = aid;
|
|
36964
37013
|
}
|
|
36965
|
-
protoOf(PickUpBribeMechanicAction).
|
|
36966
|
-
return this.
|
|
37014
|
+
protoOf(PickUpBribeMechanicAction).p41 = function () {
|
|
37015
|
+
return this.s45_1;
|
|
36967
37016
|
};
|
|
36968
37017
|
protoOf(PickUpBribeMechanicAction).n1v = function () {
|
|
36969
37018
|
return true;
|
|
36970
37019
|
};
|
|
36971
37020
|
protoOf(PickUpBribeMechanicAction).toString = function () {
|
|
36972
|
-
return 'PickUpBribeMechanicAction(whoGotBribePlayerId=' + this.
|
|
37021
|
+
return 'PickUpBribeMechanicAction(whoGotBribePlayerId=' + this.p45_1 + ', numberOfBribe=' + this.q45_1 + ', canNextPlayerTakeAllCards=' + this.r45_1 + ', aid=' + this.s45_1 + ')';
|
|
36973
37022
|
};
|
|
36974
37023
|
protoOf(PickUpBribeMechanicAction).hashCode = function () {
|
|
36975
|
-
var result = getStringHashCode(this.
|
|
36976
|
-
result = imul(result, 31) + this.
|
|
36977
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
36978
|
-
result = imul(result, 31) + (this.
|
|
37024
|
+
var result = getStringHashCode(this.p45_1);
|
|
37025
|
+
result = imul(result, 31) + this.q45_1 | 0;
|
|
37026
|
+
result = imul(result, 31) + getBooleanHashCode(this.r45_1) | 0;
|
|
37027
|
+
result = imul(result, 31) + (this.s45_1 == null ? 0 : getStringHashCode(this.s45_1)) | 0;
|
|
36979
37028
|
return result;
|
|
36980
37029
|
};
|
|
36981
37030
|
protoOf(PickUpBribeMechanicAction).equals = function (other) {
|
|
@@ -36983,36 +37032,36 @@
|
|
|
36983
37032
|
return true;
|
|
36984
37033
|
if (!(other instanceof PickUpBribeMechanicAction))
|
|
36985
37034
|
return false;
|
|
37035
|
+
if (!(this.p45_1 === other.p45_1))
|
|
37036
|
+
return false;
|
|
36986
37037
|
if (!(this.q45_1 === other.q45_1))
|
|
36987
37038
|
return false;
|
|
36988
37039
|
if (!(this.r45_1 === other.r45_1))
|
|
36989
37040
|
return false;
|
|
36990
|
-
if (!(this.s45_1
|
|
36991
|
-
return false;
|
|
36992
|
-
if (!(this.t45_1 == other.t45_1))
|
|
37041
|
+
if (!(this.s45_1 == other.s45_1))
|
|
36993
37042
|
return false;
|
|
36994
37043
|
return true;
|
|
36995
37044
|
};
|
|
36996
37045
|
function TakeAllRemainingCardsMechanicAction(currentTurnPlayerId, playersCards, aid) {
|
|
36997
37046
|
aid = aid === VOID ? null : aid;
|
|
36998
37047
|
MechanicAction.call(this);
|
|
36999
|
-
this.
|
|
37000
|
-
this.
|
|
37001
|
-
this.
|
|
37048
|
+
this.t45_1 = currentTurnPlayerId;
|
|
37049
|
+
this.u45_1 = playersCards;
|
|
37050
|
+
this.v45_1 = aid;
|
|
37002
37051
|
}
|
|
37003
|
-
protoOf(TakeAllRemainingCardsMechanicAction).
|
|
37004
|
-
return this.
|
|
37052
|
+
protoOf(TakeAllRemainingCardsMechanicAction).p41 = function () {
|
|
37053
|
+
return this.v45_1;
|
|
37005
37054
|
};
|
|
37006
37055
|
protoOf(TakeAllRemainingCardsMechanicAction).r1p = function () {
|
|
37007
|
-
return this.
|
|
37056
|
+
return this.t45_1;
|
|
37008
37057
|
};
|
|
37009
37058
|
protoOf(TakeAllRemainingCardsMechanicAction).toString = function () {
|
|
37010
|
-
return 'TakeAllRemainingCardsMechanicAction(currentTurnPlayerId=' + this.
|
|
37059
|
+
return 'TakeAllRemainingCardsMechanicAction(currentTurnPlayerId=' + this.t45_1 + ', playersCards=' + toString(this.u45_1) + ', aid=' + this.v45_1 + ')';
|
|
37011
37060
|
};
|
|
37012
37061
|
protoOf(TakeAllRemainingCardsMechanicAction).hashCode = function () {
|
|
37013
|
-
var result = getStringHashCode(this.
|
|
37014
|
-
result = imul(result, 31) + hashCode(this.
|
|
37015
|
-
result = imul(result, 31) + (this.
|
|
37062
|
+
var result = getStringHashCode(this.t45_1);
|
|
37063
|
+
result = imul(result, 31) + hashCode(this.u45_1) | 0;
|
|
37064
|
+
result = imul(result, 31) + (this.v45_1 == null ? 0 : getStringHashCode(this.v45_1)) | 0;
|
|
37016
37065
|
return result;
|
|
37017
37066
|
};
|
|
37018
37067
|
protoOf(TakeAllRemainingCardsMechanicAction).equals = function (other) {
|
|
@@ -37020,32 +37069,32 @@
|
|
|
37020
37069
|
return true;
|
|
37021
37070
|
if (!(other instanceof TakeAllRemainingCardsMechanicAction))
|
|
37022
37071
|
return false;
|
|
37023
|
-
if (!(this.
|
|
37072
|
+
if (!(this.t45_1 === other.t45_1))
|
|
37024
37073
|
return false;
|
|
37025
|
-
if (!equals(this.
|
|
37074
|
+
if (!equals(this.u45_1, other.u45_1))
|
|
37026
37075
|
return false;
|
|
37027
|
-
if (!(this.
|
|
37076
|
+
if (!(this.v45_1 == other.v45_1))
|
|
37028
37077
|
return false;
|
|
37029
37078
|
return true;
|
|
37030
37079
|
};
|
|
37031
37080
|
function WinnerCombinationsMechanicAction(winnerCombinations, aid) {
|
|
37032
37081
|
aid = aid === VOID ? null : aid;
|
|
37033
37082
|
MechanicAction.call(this);
|
|
37034
|
-
this.
|
|
37035
|
-
this.
|
|
37083
|
+
this.w45_1 = winnerCombinations;
|
|
37084
|
+
this.x45_1 = aid;
|
|
37036
37085
|
}
|
|
37037
|
-
protoOf(WinnerCombinationsMechanicAction).
|
|
37038
|
-
return this.
|
|
37086
|
+
protoOf(WinnerCombinationsMechanicAction).p41 = function () {
|
|
37087
|
+
return this.x45_1;
|
|
37039
37088
|
};
|
|
37040
37089
|
protoOf(WinnerCombinationsMechanicAction).n1v = function () {
|
|
37041
37090
|
return true;
|
|
37042
37091
|
};
|
|
37043
37092
|
protoOf(WinnerCombinationsMechanicAction).toString = function () {
|
|
37044
|
-
return 'WinnerCombinationsMechanicAction(winnerCombinations=' + toString(this.
|
|
37093
|
+
return 'WinnerCombinationsMechanicAction(winnerCombinations=' + toString(this.w45_1) + ', aid=' + this.x45_1 + ')';
|
|
37045
37094
|
};
|
|
37046
37095
|
protoOf(WinnerCombinationsMechanicAction).hashCode = function () {
|
|
37047
|
-
var result = hashCode(this.
|
|
37048
|
-
result = imul(result, 31) + (this.
|
|
37096
|
+
var result = hashCode(this.w45_1);
|
|
37097
|
+
result = imul(result, 31) + (this.x45_1 == null ? 0 : getStringHashCode(this.x45_1)) | 0;
|
|
37049
37098
|
return result;
|
|
37050
37099
|
};
|
|
37051
37100
|
protoOf(WinnerCombinationsMechanicAction).equals = function (other) {
|
|
@@ -37053,27 +37102,27 @@
|
|
|
37053
37102
|
return true;
|
|
37054
37103
|
if (!(other instanceof WinnerCombinationsMechanicAction))
|
|
37055
37104
|
return false;
|
|
37056
|
-
if (!equals(this.
|
|
37105
|
+
if (!equals(this.w45_1, other.w45_1))
|
|
37057
37106
|
return false;
|
|
37058
|
-
if (!(this.
|
|
37107
|
+
if (!(this.x45_1 == other.x45_1))
|
|
37059
37108
|
return false;
|
|
37060
37109
|
return true;
|
|
37061
37110
|
};
|
|
37062
37111
|
function ErrorAction(error, aid) {
|
|
37063
37112
|
aid = aid === VOID ? null : aid;
|
|
37064
37113
|
MechanicAction.call(this);
|
|
37065
|
-
this.
|
|
37066
|
-
this.
|
|
37114
|
+
this.y45_1 = error;
|
|
37115
|
+
this.z45_1 = aid;
|
|
37067
37116
|
}
|
|
37068
|
-
protoOf(ErrorAction).
|
|
37069
|
-
return this.
|
|
37117
|
+
protoOf(ErrorAction).p41 = function () {
|
|
37118
|
+
return this.z45_1;
|
|
37070
37119
|
};
|
|
37071
37120
|
protoOf(ErrorAction).toString = function () {
|
|
37072
|
-
return 'ErrorAction(error=' + this.
|
|
37121
|
+
return 'ErrorAction(error=' + this.y45_1.toString() + ', aid=' + this.z45_1 + ')';
|
|
37073
37122
|
};
|
|
37074
37123
|
protoOf(ErrorAction).hashCode = function () {
|
|
37075
|
-
var result = this.
|
|
37076
|
-
result = imul(result, 31) + (this.
|
|
37124
|
+
var result = this.y45_1.hashCode();
|
|
37125
|
+
result = imul(result, 31) + (this.z45_1 == null ? 0 : getStringHashCode(this.z45_1)) | 0;
|
|
37077
37126
|
return result;
|
|
37078
37127
|
};
|
|
37079
37128
|
protoOf(ErrorAction).equals = function (other) {
|
|
@@ -37081,9 +37130,9 @@
|
|
|
37081
37130
|
return true;
|
|
37082
37131
|
if (!(other instanceof ErrorAction))
|
|
37083
37132
|
return false;
|
|
37084
|
-
if (!this.
|
|
37133
|
+
if (!this.y45_1.equals(other.y45_1))
|
|
37085
37134
|
return false;
|
|
37086
|
-
if (!(this.
|
|
37135
|
+
if (!(this.z45_1 == other.z45_1))
|
|
37087
37136
|
return false;
|
|
37088
37137
|
return true;
|
|
37089
37138
|
};
|
|
@@ -37616,9 +37665,9 @@
|
|
|
37616
37665
|
}
|
|
37617
37666
|
}
|
|
37618
37667
|
function GameHelperImpl(logger) {
|
|
37619
|
-
this.
|
|
37668
|
+
this.d46_1 = logger;
|
|
37620
37669
|
}
|
|
37621
|
-
protoOf(GameHelperImpl).
|
|
37670
|
+
protoOf(GameHelperImpl).a46 = function (store, playerIds, includeBots) {
|
|
37622
37671
|
var state = store.state;
|
|
37623
37672
|
var tmp;
|
|
37624
37673
|
if (!state.a2f()) {
|
|
@@ -37664,7 +37713,7 @@
|
|
|
37664
37713
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
37665
37714
|
return copyToArray(destination_1);
|
|
37666
37715
|
};
|
|
37667
|
-
protoOf(GameHelperImpl).
|
|
37716
|
+
protoOf(GameHelperImpl).b46 = function (store, playerIds, includeBots) {
|
|
37668
37717
|
var state = store.state;
|
|
37669
37718
|
var tmp;
|
|
37670
37719
|
if (!state.a2f()) {
|
|
@@ -37835,10 +37884,10 @@
|
|
|
37835
37884
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
37836
37885
|
return copyToArray(destination);
|
|
37837
37886
|
};
|
|
37838
|
-
protoOf(GameHelperImpl).
|
|
37887
|
+
protoOf(GameHelperImpl).c46 = function (mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league) {
|
|
37839
37888
|
var roomMode = mapToRoomMode(mode);
|
|
37840
37889
|
var isEnableChoosePartnerScreen = (transition == null || transition.isEnableChoosePartnerScreen) && roomMode.isEnableChoosePartnerScreen;
|
|
37841
|
-
this.
|
|
37890
|
+
this.d46_1.v(VOID, 'createConfig: ' + ('mode = ' + roomMode.toString() + ', ') + ('transition = ' + toString_0(transition) + ', ') + ('isPrivate = ' + isPrivate + ', ') + ('dealerStrategy = ' + dealerStrategy + ', ') + ('league = ' + league + ', ') + ('isEnableChoosePartnerScreen = ' + isEnableChoosePartnerScreen + ' '));
|
|
37842
37891
|
var options = Companion_instance_154.getServerOptions(isEnableChat, isBotsEnabled, isEnableChoosePartnerScreen);
|
|
37843
37892
|
var playersMode = this.mapPlayers(players);
|
|
37844
37893
|
var pointsMode = this.mapPoints(points);
|
|
@@ -38273,40 +38322,40 @@
|
|
|
38273
38322
|
function getRandomAvatarData_0($this) {
|
|
38274
38323
|
var avatarSetNumber = Default_getInstance().wd(get_entries_5().o());
|
|
38275
38324
|
var avatarSet = get_entries_5().p(avatarSetNumber);
|
|
38276
|
-
return new AvatarData(Default_getInstance().wd(avatarSet.
|
|
38325
|
+
return new AvatarData(Default_getInstance().wd(avatarSet.j46()), avatarSet);
|
|
38277
38326
|
}
|
|
38278
38327
|
function getAvatarUrlByIndex($this, data) {
|
|
38279
38328
|
return mapToPattern($this, data);
|
|
38280
38329
|
}
|
|
38281
38330
|
function getNicknameByIndex($this, data) {
|
|
38282
|
-
return data.
|
|
38331
|
+
return data.l46_1.m46(data.k46_1);
|
|
38283
38332
|
}
|
|
38284
38333
|
function mapToPattern($this, data) {
|
|
38285
|
-
return 'debertz://raspberry.games/' + data.
|
|
38334
|
+
return 'debertz://raspberry.games/' + data.l46_1.h2_1 + '/' + data.k46_1;
|
|
38286
38335
|
}
|
|
38287
38336
|
function Companion_161() {
|
|
38288
38337
|
Companion_instance_165 = this;
|
|
38289
|
-
this.
|
|
38338
|
+
this.n46_1 = 'debertz://raspberry.games';
|
|
38290
38339
|
var tmp = this;
|
|
38291
38340
|
// Inline function 'kotlin.arrayOf' call
|
|
38292
38341
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
38293
38342
|
// Inline function 'kotlin.js.asDynamic' call
|
|
38294
|
-
tmp.
|
|
38343
|
+
tmp.o46_1 = ['Helen', 'Kelvin', 'Josh', 'Cler', 'Anna', 'Emily', 'Tom', 'Peter', 'Kate', 'Lucy', 'Bob', 'Holly', 'Alex', 'Mark', 'Sarah', 'Naomi'];
|
|
38295
38344
|
var tmp_0 = this;
|
|
38296
38345
|
// Inline function 'kotlin.arrayOf' call
|
|
38297
38346
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
38298
38347
|
// Inline function 'kotlin.js.asDynamic' call
|
|
38299
|
-
tmp_0.
|
|
38348
|
+
tmp_0.p46_1 = ['\u0422\u0430\u043D\u044F', 'TheBest', '\u0425\u0430\u0440\u043A\u0456\u0432\u041C\u0456\u0441\u0442\u043E\u0413\u0435\u0440\u043E\u0439', '\u0412\u0430\u043B\u044F', '\u041C\u0430\u0440\u0433\u0430\u0440\u0438\u0442\u0430', 'Dasha', '\u0410\u0440\u0442\u0435\u043C', '\u041F\u0435\u0442\u0440\u043E\u0432\u0438\u0447', '\u041A\u0440\u0438\u0441', '\u041C\u0430\u0440\u0456\u0430\u043D\u0430', '\u0421\u0430\u043B\u0442\u0456\u0432\u043A\u0430', '\u042F\u043D\u0430', 'Alex', '\u041E\u0434\u0435\u0441\u0441\u0430\u041C\u0430\u043C\u0430', 'Vika', '\u0421\u0432\u0456\u0442\u043B\u0430\u043D\u0430'];
|
|
38300
38349
|
var tmp_1 = this;
|
|
38301
38350
|
// Inline function 'kotlin.arrayOf' call
|
|
38302
38351
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
38303
38352
|
// Inline function 'kotlin.js.asDynamic' call
|
|
38304
|
-
tmp_1.
|
|
38353
|
+
tmp_1.q46_1 = ['Fedya', 'Shurik', 'Student', 'Student girl', 'District policeman', 'George', 'Zina', 'Shuller', 'Tanya', 'Katerina', 'Innocent', 'Lyolik', 'Nina', 'Experienced', 'Jigid', 'Just a Tsar'];
|
|
38305
38354
|
var tmp_2 = this;
|
|
38306
38355
|
// Inline function 'kotlin.arrayOf' call
|
|
38307
38356
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
38308
38357
|
// Inline function 'kotlin.js.asDynamic' call
|
|
38309
|
-
tmp_2.
|
|
38358
|
+
tmp_2.r46_1 = ['\u0423\u0441\u0456\u043C\u0414\u043E\u0431\u0440\u0430', '\u0410\u043B\u0435\u043A\u0441', 'MOLOTOK', '\u041B\u042F\u041B\u042F', '\u0406\u0412\u0410\u041D', '\u041C\u0438\u043A\u0438\u0442\u0430', '\u0410\u043B\u0456\u0441\u0430', '\u041C\u0430\u043A\u0441\u0438\u043C', '\u0421\u043E\u043B\u043E\u043C\u0456\u044F', '\u0414\u0436\u0435\u0432\u0435\u043B\u0456\u043D\u0430', '\u041A\u0441\u044E\u0445\u0430', '\u0422\u0410\u0420\u0410\u0421', '\u041E\u043B\u044F', '\u0414\u043E\u0420\u043E\u0431\u043E\u0442\u0438', '\u0421\u043B\u0430\u0432\u0430\u0417\u0421\u0423!', '\u0426\u0430\u0440\u044C\u0414\u0435\u0431\u0430'];
|
|
38310
38359
|
}
|
|
38311
38360
|
var Companion_instance_165;
|
|
38312
38361
|
function Companion_getInstance_168() {
|
|
@@ -38317,14 +38366,14 @@
|
|
|
38317
38366
|
function AvatarSet(name, ordinal) {
|
|
38318
38367
|
Enum.call(this, name, ordinal);
|
|
38319
38368
|
}
|
|
38320
|
-
protoOf(AvatarSet).
|
|
38369
|
+
protoOf(AvatarSet).j46 = function () {
|
|
38321
38370
|
var tmp;
|
|
38322
38371
|
switch (this.h2_1) {
|
|
38323
38372
|
case 0:
|
|
38324
|
-
tmp = Companion_getInstance_168().
|
|
38373
|
+
tmp = Companion_getInstance_168().p46_1.length;
|
|
38325
38374
|
break;
|
|
38326
38375
|
case 1:
|
|
38327
|
-
tmp = Companion_getInstance_168().
|
|
38376
|
+
tmp = Companion_getInstance_168().r46_1.length;
|
|
38328
38377
|
break;
|
|
38329
38378
|
default:
|
|
38330
38379
|
noWhenBranchMatchedException();
|
|
@@ -38332,14 +38381,14 @@
|
|
|
38332
38381
|
}
|
|
38333
38382
|
return tmp;
|
|
38334
38383
|
};
|
|
38335
|
-
protoOf(AvatarSet).
|
|
38384
|
+
protoOf(AvatarSet).m46 = function (index) {
|
|
38336
38385
|
var tmp;
|
|
38337
38386
|
switch (this.h2_1) {
|
|
38338
38387
|
case 0:
|
|
38339
|
-
tmp = Companion_getInstance_168().
|
|
38388
|
+
tmp = Companion_getInstance_168().p46_1[index];
|
|
38340
38389
|
break;
|
|
38341
38390
|
case 1:
|
|
38342
|
-
tmp = Companion_getInstance_168().
|
|
38391
|
+
tmp = Companion_getInstance_168().r46_1[index];
|
|
38343
38392
|
break;
|
|
38344
38393
|
default:
|
|
38345
38394
|
noWhenBranchMatchedException();
|
|
@@ -38348,8 +38397,8 @@
|
|
|
38348
38397
|
return tmp;
|
|
38349
38398
|
};
|
|
38350
38399
|
function AvatarData(index, avatarSet) {
|
|
38351
|
-
this.
|
|
38352
|
-
this.
|
|
38400
|
+
this.k46_1 = index;
|
|
38401
|
+
this.l46_1 = avatarSet;
|
|
38353
38402
|
}
|
|
38354
38403
|
function AvatarSet_ORIGIN_getInstance() {
|
|
38355
38404
|
AvatarSet_initEntries();
|
|
@@ -38362,7 +38411,7 @@
|
|
|
38362
38411
|
function GameResourcesImpl() {
|
|
38363
38412
|
Companion_getInstance_168();
|
|
38364
38413
|
}
|
|
38365
|
-
protoOf(GameResourcesImpl).
|
|
38414
|
+
protoOf(GameResourcesImpl).g46 = function (playerId, existingNicknames) {
|
|
38366
38415
|
return createUser(this, playerId, existingNicknames);
|
|
38367
38416
|
};
|
|
38368
38417
|
protoOf(GameResourcesImpl).createBotUsers = function (playerIds) {
|
|
@@ -38403,45 +38452,45 @@
|
|
|
38403
38452
|
}
|
|
38404
38453
|
var WARN;
|
|
38405
38454
|
function LoggerCallbacksWrapperLoggerOutput(loggerCallback) {
|
|
38406
|
-
this.
|
|
38455
|
+
this.s46_1 = loggerCallback;
|
|
38407
38456
|
}
|
|
38408
38457
|
protoOf(LoggerCallbacksWrapperLoggerOutput).h15 = function (tag, message, payload) {
|
|
38409
|
-
this.
|
|
38458
|
+
this.s46_1('debug', tag, message, null, payload);
|
|
38410
38459
|
};
|
|
38411
38460
|
protoOf(LoggerCallbacksWrapperLoggerOutput).i15 = function (tag, message, exception, payload) {
|
|
38412
|
-
this.
|
|
38461
|
+
this.s46_1('error', tag, generateMsg(message, exception), exception, payload);
|
|
38413
38462
|
};
|
|
38414
38463
|
protoOf(LoggerCallbacksWrapperLoggerOutput).l15 = function (tag, message, payload) {
|
|
38415
|
-
this.
|
|
38464
|
+
this.s46_1('debug', tag, message, null, payload);
|
|
38416
38465
|
};
|
|
38417
38466
|
protoOf(LoggerCallbacksWrapperLoggerOutput).k15 = function (tag, message, exception, payload) {
|
|
38418
|
-
this.
|
|
38467
|
+
this.s46_1('debug', tag, generateMsg(message, exception), exception, payload);
|
|
38419
38468
|
};
|
|
38420
38469
|
protoOf(LoggerCallbacksWrapperLoggerOutput).j15 = function (tag, message, exception, payload) {
|
|
38421
|
-
this.
|
|
38470
|
+
this.s46_1('warn', tag, generateMsg(message, exception), exception, payload);
|
|
38422
38471
|
};
|
|
38423
38472
|
function ParserHelper() {
|
|
38424
38473
|
}
|
|
38425
38474
|
function ParserHelperImpl(json, encoderDecoderProvider) {
|
|
38426
|
-
this.
|
|
38427
|
-
this.
|
|
38475
|
+
this.t46_1 = json;
|
|
38476
|
+
this.u46_1 = encoderDecoderProvider;
|
|
38428
38477
|
}
|
|
38429
38478
|
protoOf(ParserHelperImpl).encodeFromClientEvent = function (action) {
|
|
38430
|
-
return this.
|
|
38479
|
+
return this.u46_1.b41(mapToDto_20(action));
|
|
38431
38480
|
};
|
|
38432
38481
|
protoOf(ParserHelperImpl).decodeFromClientEvent = function (fromPlayerId, json) {
|
|
38433
|
-
return mapFromDto_16(this.
|
|
38482
|
+
return mapFromDto_16(this.u46_1.e41(json), fromPlayerId);
|
|
38434
38483
|
};
|
|
38435
38484
|
protoOf(ParserHelperImpl).encodeToClientEvent = function (action) {
|
|
38436
|
-
return this.
|
|
38485
|
+
return this.u46_1.c41(mapToDto_79(action));
|
|
38437
38486
|
};
|
|
38438
38487
|
protoOf(ParserHelperImpl).decodeToClientEventToMechanicActions = function (playerId, engine, json) {
|
|
38439
38488
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
38440
|
-
var this_0 = mapFromClientDtoListWithPayload(this.
|
|
38489
|
+
var this_0 = mapFromClientDtoListWithPayload(this.u46_1.f41(json), playerId, engine);
|
|
38441
38490
|
return copyToArray(this_0);
|
|
38442
38491
|
};
|
|
38443
38492
|
protoOf(ParserHelperImpl).encodeGameRound = function (round) {
|
|
38444
|
-
var tmp0 = this.
|
|
38493
|
+
var tmp0 = this.t46_1;
|
|
38445
38494
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
38446
38495
|
var value = mapToDto_35(round);
|
|
38447
38496
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -38452,7 +38501,7 @@
|
|
|
38452
38501
|
return tmp0.r23(tmp$ret$1, value);
|
|
38453
38502
|
};
|
|
38454
38503
|
protoOf(ParserHelperImpl).encodeGameRoundItems = function (round) {
|
|
38455
|
-
var tmp0 = this.
|
|
38504
|
+
var tmp0 = this.t46_1;
|
|
38456
38505
|
// Inline function 'kotlin.collections.map' call
|
|
38457
38506
|
var this_0 = round.items;
|
|
38458
38507
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -38474,7 +38523,7 @@
|
|
|
38474
38523
|
return tmp0.r23(tmp$ret$4, destination);
|
|
38475
38524
|
};
|
|
38476
38525
|
protoOf(ParserHelperImpl).encodeGameMetadata = function (metadata) {
|
|
38477
|
-
var tmp0 = this.
|
|
38526
|
+
var tmp0 = this.t46_1;
|
|
38478
38527
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
38479
38528
|
var value = mapToDto_34(metadata);
|
|
38480
38529
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -38485,7 +38534,7 @@
|
|
|
38485
38534
|
return tmp0.r23(tmp$ret$1, value);
|
|
38486
38535
|
};
|
|
38487
38536
|
protoOf(ParserHelperImpl).encodeRoomConfig = function (config) {
|
|
38488
|
-
var tmp0 = this.
|
|
38537
|
+
var tmp0 = this.t46_1;
|
|
38489
38538
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
38490
38539
|
var value = mapToDto_64(config);
|
|
38491
38540
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -38496,7 +38545,7 @@
|
|
|
38496
38545
|
return tmp0.r23(tmp$ret$1, value);
|
|
38497
38546
|
};
|
|
38498
38547
|
protoOf(ParserHelperImpl).encodeGameToRoomTransition = function (transition) {
|
|
38499
|
-
var tmp0 = this.
|
|
38548
|
+
var tmp0 = this.t46_1;
|
|
38500
38549
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
38501
38550
|
var value = mapToDto_101(transition);
|
|
38502
38551
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -38508,28 +38557,28 @@
|
|
|
38508
38557
|
};
|
|
38509
38558
|
protoOf(ParserHelperImpl).decodeGameToRoomTransition = function (json) {
|
|
38510
38559
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
38511
|
-
var this_0 = this.
|
|
38560
|
+
var this_0 = this.t46_1;
|
|
38512
38561
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
38513
38562
|
var this_1 = this_0.yn();
|
|
38514
38563
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
38515
38564
|
var this_2 = serializer(this_1, createKType(getKClass(GameTransitionDto), arrayOf([]), false));
|
|
38516
38565
|
var tmp$ret$1 = isInterface(this_2, KSerializer) ? this_2 : THROW_CCE();
|
|
38517
38566
|
var tmp$ret$2 = this_0.s23(tmp$ret$1, json);
|
|
38518
|
-
return
|
|
38567
|
+
return mapFromDto_71(tmp$ret$2);
|
|
38519
38568
|
};
|
|
38520
38569
|
protoOf(ParserHelperImpl).decodeTableStateWithActions = function (json) {
|
|
38521
38570
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
38522
|
-
var this_0 = this.
|
|
38571
|
+
var this_0 = this.t46_1;
|
|
38523
38572
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
38524
38573
|
var this_1 = this_0.yn();
|
|
38525
38574
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
38526
38575
|
var this_2 = serializer(this_1, createKType(getKClass(TableStateWithActionsDto), arrayOf([]), false));
|
|
38527
38576
|
var tmp$ret$1 = isInterface(this_2, KSerializer) ? this_2 : THROW_CCE();
|
|
38528
38577
|
var tmp$ret$2 = this_0.s23(tmp$ret$1, json);
|
|
38529
|
-
return
|
|
38578
|
+
return mapFromDto_102(tmp$ret$2);
|
|
38530
38579
|
};
|
|
38531
38580
|
protoOf(ParserHelperImpl).encodeTableStateWithActions = function (table) {
|
|
38532
|
-
var tmp0 = this.
|
|
38581
|
+
var tmp0 = this.t46_1;
|
|
38533
38582
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
38534
38583
|
var value = mapToDto_132(table);
|
|
38535
38584
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -38540,11 +38589,11 @@
|
|
|
38540
38589
|
return tmp0.r23(tmp$ret$1, value);
|
|
38541
38590
|
};
|
|
38542
38591
|
protoOf(ParserHelperImpl).decodeTableLite = function (json) {
|
|
38543
|
-
return
|
|
38592
|
+
return mapFromDto_69(this.u46_1.d41(json));
|
|
38544
38593
|
};
|
|
38545
38594
|
protoOf(ParserHelperImpl).decodeFullGameHistoryToTableLite = function (json, round) {
|
|
38546
38595
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
38547
|
-
var this_0 = this.
|
|
38596
|
+
var this_0 = this.t46_1;
|
|
38548
38597
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
38549
38598
|
var this_1 = this_0.yn();
|
|
38550
38599
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -38557,10 +38606,10 @@
|
|
|
38557
38606
|
function RatingHelper() {
|
|
38558
38607
|
}
|
|
38559
38608
|
function RatingHelperImpl(json, userRatingInteractor) {
|
|
38560
|
-
this.
|
|
38561
|
-
this.
|
|
38609
|
+
this.v46_1 = json;
|
|
38610
|
+
this.w46_1 = userRatingInteractor;
|
|
38562
38611
|
}
|
|
38563
|
-
protoOf(RatingHelperImpl).getBotRatingRange = function (league) {
|
|
38612
|
+
protoOf(RatingHelperImpl).getBotRatingRange = function (league, leaguesConfig) {
|
|
38564
38613
|
var maxRatingFactor = 0.3;
|
|
38565
38614
|
var tmp;
|
|
38566
38615
|
if (league == null) {
|
|
@@ -38569,9 +38618,8 @@
|
|
|
38569
38618
|
tmp = this.mapToLeague(league);
|
|
38570
38619
|
}
|
|
38571
38620
|
var targetLeague = tmp;
|
|
38572
|
-
var defaultConfig = Companion_instance_9.defaultConfig();
|
|
38573
38621
|
var minRating = targetLeague.getMinRating();
|
|
38574
|
-
var maxRating = targetLeague.getMaxRating(
|
|
38622
|
+
var maxRating = targetLeague.getMaxRating(leaguesConfig.maxUserRating);
|
|
38575
38623
|
if (targetLeague.equals(League_BEGINNER_getInstance())) {
|
|
38576
38624
|
var minRatingStartLimit = 800;
|
|
38577
38625
|
return new BotRatingRange(minRatingStartLimit, maxRating);
|
|
@@ -38585,19 +38633,19 @@
|
|
|
38585
38633
|
var tmp$ret$1 = name.toUpperCase();
|
|
38586
38634
|
return valueOf_0(tmp$ret$1);
|
|
38587
38635
|
};
|
|
38588
|
-
protoOf(RatingHelperImpl).isValidRatingForLeague = function (league, rating) {
|
|
38589
|
-
return this.
|
|
38636
|
+
protoOf(RatingHelperImpl).isValidRatingForLeague = function (league, rating, leaguesConfig) {
|
|
38637
|
+
return this.w46_1.j41(league, rating, leaguesConfig);
|
|
38590
38638
|
};
|
|
38591
|
-
protoOf(RatingHelperImpl).mapRatingToLeague = function (rating) {
|
|
38592
|
-
return this.
|
|
38639
|
+
protoOf(RatingHelperImpl).mapRatingToLeague = function (rating, leaguesConfig) {
|
|
38640
|
+
return this.w46_1.k41(rating, leaguesConfig);
|
|
38593
38641
|
};
|
|
38594
38642
|
protoOf(RatingHelperImpl).getLeaguesConfig = function () {
|
|
38595
|
-
return
|
|
38643
|
+
return Companion_instance_9.defaultConfig();
|
|
38596
38644
|
};
|
|
38597
38645
|
protoOf(RatingHelperImpl).getLeaguesConfigJson = function () {
|
|
38598
|
-
var tmp0 = this.
|
|
38646
|
+
var tmp0 = this.v46_1;
|
|
38599
38647
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
38600
|
-
var value = mapToDto_48(
|
|
38648
|
+
var value = mapToDto_48(Companion_instance_9.defaultConfig());
|
|
38601
38649
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
38602
38650
|
var this_0 = tmp0.yn();
|
|
38603
38651
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -38605,6 +38653,17 @@
|
|
|
38605
38653
|
var tmp$ret$1 = isInterface(this_1, KSerializer) ? this_1 : THROW_CCE();
|
|
38606
38654
|
return tmp0.r23(tmp$ret$1, value);
|
|
38607
38655
|
};
|
|
38656
|
+
protoOf(RatingHelperImpl).decodeLeaguesConfig = function (json) {
|
|
38657
|
+
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
38658
|
+
var this_0 = this.v46_1;
|
|
38659
|
+
// Inline function 'kotlinx.serialization.serializer' call
|
|
38660
|
+
var this_1 = this_0.yn();
|
|
38661
|
+
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
38662
|
+
var this_2 = serializer(this_1, createKType(getKClass(LeaguesConfigDto), arrayOf([]), false));
|
|
38663
|
+
var tmp$ret$1 = isInterface(this_2, KSerializer) ? this_2 : THROW_CCE();
|
|
38664
|
+
var tmp$ret$2 = this_0.s23(tmp$ret$1, json);
|
|
38665
|
+
return mapFromDto_45(tmp$ret$2, Companion_instance_9.defaultConfig());
|
|
38666
|
+
};
|
|
38608
38667
|
function engineHelpersModule() {
|
|
38609
38668
|
return Module_init_$Create$('Engine helpers Module', VOID, VOID, engineHelpersModule$lambda);
|
|
38610
38669
|
}
|
|
@@ -38714,14 +38773,14 @@
|
|
|
38714
38773
|
return new GameResourcesImpl();
|
|
38715
38774
|
}
|
|
38716
38775
|
function _get_logger__rkp4sl($this) {
|
|
38717
|
-
var tmp0 = $this.
|
|
38776
|
+
var tmp0 = $this.y46_1;
|
|
38718
38777
|
var tmp = KProperty1;
|
|
38719
38778
|
// Inline function 'kotlin.getValue' call
|
|
38720
38779
|
getPropertyCallableRef('logger', 1, tmp, EngineHelpersFactory$_get_logger_$ref_np7wt5(), null);
|
|
38721
38780
|
return tmp0.v1();
|
|
38722
38781
|
}
|
|
38723
38782
|
function _get_di__ndbzja($this) {
|
|
38724
|
-
var tmp0 = $this.
|
|
38783
|
+
var tmp0 = $this.z46_1;
|
|
38725
38784
|
var tmp = KProperty1;
|
|
38726
38785
|
// Inline function 'kotlin.getValue' call
|
|
38727
38786
|
getPropertyCallableRef('di', 1, tmp, EngineHelpersFactory$_get_di_$ref_w4qz4i(), null);
|
|
@@ -38730,11 +38789,11 @@
|
|
|
38730
38789
|
function EngineHelpersFactory$logger$delegate$lambda(this$0) {
|
|
38731
38790
|
return function () {
|
|
38732
38791
|
var tmp;
|
|
38733
|
-
if (this$0.
|
|
38792
|
+
if (this$0.x46_1 == null) {
|
|
38734
38793
|
tmp = null;
|
|
38735
38794
|
} else {
|
|
38736
38795
|
// Inline function 'kotlin.let' call
|
|
38737
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
38796
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.x46_1)]));
|
|
38738
38797
|
}
|
|
38739
38798
|
var tmp1_elvis_lhs = tmp;
|
|
38740
38799
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -38824,11 +38883,11 @@
|
|
|
38824
38883
|
}
|
|
38825
38884
|
function EngineHelpersFactory(loggerCallback) {
|
|
38826
38885
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
38827
|
-
this.
|
|
38886
|
+
this.x46_1 = loggerCallback;
|
|
38828
38887
|
var tmp = this;
|
|
38829
|
-
tmp.
|
|
38888
|
+
tmp.y46_1 = lazy_0(EngineHelpersFactory$logger$delegate$lambda(this));
|
|
38830
38889
|
var tmp_0 = this;
|
|
38831
|
-
tmp_0.
|
|
38890
|
+
tmp_0.z46_1 = lazy_0(EngineHelpersFactory$di$delegate$lambda(this));
|
|
38832
38891
|
var tmp_1 = this;
|
|
38833
38892
|
// Inline function 'org.kodein.di.instance' call
|
|
38834
38893
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -38837,7 +38896,7 @@
|
|
|
38837
38896
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
38838
38897
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
38839
38898
|
var tmp_4 = KProperty1;
|
|
38840
|
-
tmp_1.
|
|
38899
|
+
tmp_1.a47_1 = tmp_3.m23(this, getPropertyCallableRef('ratingHelper', 1, tmp_4, EngineHelpersFactory$_get_ratingHelper_$ref_pl08ks(), null));
|
|
38841
38900
|
var tmp_5 = this;
|
|
38842
38901
|
// Inline function 'org.kodein.di.instance' call
|
|
38843
38902
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -38846,7 +38905,7 @@
|
|
|
38846
38905
|
var tmp$ret$2 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
38847
38906
|
var tmp_7 = Instance(this_1, tmp$ret$2, null);
|
|
38848
38907
|
var tmp_8 = KProperty1;
|
|
38849
|
-
tmp_5.
|
|
38908
|
+
tmp_5.b47_1 = tmp_7.m23(this, getPropertyCallableRef('parserHelper', 1, tmp_8, EngineHelpersFactory$_get_parserHelper_$ref_egvg46(), null));
|
|
38850
38909
|
var tmp_9 = this;
|
|
38851
38910
|
// Inline function 'org.kodein.di.instance' call
|
|
38852
38911
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -38855,7 +38914,7 @@
|
|
|
38855
38914
|
var tmp$ret$4 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
38856
38915
|
var tmp_11 = Instance(this_2, tmp$ret$4, null);
|
|
38857
38916
|
var tmp_12 = KProperty1;
|
|
38858
|
-
tmp_9.
|
|
38917
|
+
tmp_9.c47_1 = tmp_11.m23(this, getPropertyCallableRef('gameHelper', 1, tmp_12, EngineHelpersFactory$_get_gameHelper_$ref_7u8j93(), null));
|
|
38859
38918
|
var tmp_13 = this;
|
|
38860
38919
|
// Inline function 'org.kodein.di.instance' call
|
|
38861
38920
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -38864,31 +38923,31 @@
|
|
|
38864
38923
|
var tmp$ret$6 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
38865
38924
|
var tmp_15 = Instance(this_3, tmp$ret$6, null);
|
|
38866
38925
|
var tmp_16 = KProperty1;
|
|
38867
|
-
tmp_13.
|
|
38926
|
+
tmp_13.d47_1 = tmp_15.m23(this, getPropertyCallableRef('gameResources', 1, tmp_16, EngineHelpersFactory$_get_gameResources_$ref_kynd2o(), null));
|
|
38868
38927
|
}
|
|
38869
|
-
protoOf(EngineHelpersFactory).
|
|
38870
|
-
var tmp0 = this.
|
|
38928
|
+
protoOf(EngineHelpersFactory).e47 = function () {
|
|
38929
|
+
var tmp0 = this.a47_1;
|
|
38871
38930
|
var tmp = KProperty1;
|
|
38872
38931
|
// Inline function 'kotlin.getValue' call
|
|
38873
38932
|
getPropertyCallableRef('ratingHelper', 1, tmp, EngineHelpersFactory$_get_ratingHelper_$ref_pl08ks_0(), null);
|
|
38874
38933
|
return tmp0.v1();
|
|
38875
38934
|
};
|
|
38876
|
-
protoOf(EngineHelpersFactory).
|
|
38877
|
-
var tmp0 = this.
|
|
38935
|
+
protoOf(EngineHelpersFactory).f47 = function () {
|
|
38936
|
+
var tmp0 = this.b47_1;
|
|
38878
38937
|
var tmp = KProperty1;
|
|
38879
38938
|
// Inline function 'kotlin.getValue' call
|
|
38880
38939
|
getPropertyCallableRef('parserHelper', 1, tmp, EngineHelpersFactory$_get_parserHelper_$ref_egvg46_0(), null);
|
|
38881
38940
|
return tmp0.v1();
|
|
38882
38941
|
};
|
|
38883
|
-
protoOf(EngineHelpersFactory).
|
|
38884
|
-
var tmp0 = this.
|
|
38942
|
+
protoOf(EngineHelpersFactory).g47 = function () {
|
|
38943
|
+
var tmp0 = this.c47_1;
|
|
38885
38944
|
var tmp = KProperty1;
|
|
38886
38945
|
// Inline function 'kotlin.getValue' call
|
|
38887
38946
|
getPropertyCallableRef('gameHelper', 1, tmp, EngineHelpersFactory$_get_gameHelper_$ref_7u8j93_0(), null);
|
|
38888
38947
|
return tmp0.v1();
|
|
38889
38948
|
};
|
|
38890
|
-
protoOf(EngineHelpersFactory).
|
|
38891
|
-
var tmp0 = this.
|
|
38949
|
+
protoOf(EngineHelpersFactory).h47 = function () {
|
|
38950
|
+
var tmp0 = this.d47_1;
|
|
38892
38951
|
var tmp = KProperty1;
|
|
38893
38952
|
// Inline function 'kotlin.getValue' call
|
|
38894
38953
|
getPropertyCallableRef('gameResources', 1, tmp, EngineHelpersFactory$_get_gameResources_$ref_kynd2o_0(), null);
|
|
@@ -38898,10 +38957,10 @@
|
|
|
38898
38957
|
this.min = min;
|
|
38899
38958
|
this.max = max;
|
|
38900
38959
|
}
|
|
38901
|
-
protoOf(BotRatingRange).
|
|
38960
|
+
protoOf(BotRatingRange).i47 = function () {
|
|
38902
38961
|
return this.min;
|
|
38903
38962
|
};
|
|
38904
|
-
protoOf(BotRatingRange).
|
|
38963
|
+
protoOf(BotRatingRange).j47 = function () {
|
|
38905
38964
|
return this.max;
|
|
38906
38965
|
};
|
|
38907
38966
|
protoOf(BotRatingRange).sc = function () {
|
|
@@ -38910,13 +38969,13 @@
|
|
|
38910
38969
|
protoOf(BotRatingRange).tc = function () {
|
|
38911
38970
|
return this.max;
|
|
38912
38971
|
};
|
|
38913
|
-
protoOf(BotRatingRange).
|
|
38972
|
+
protoOf(BotRatingRange).k47 = function (min, max) {
|
|
38914
38973
|
return new BotRatingRange(min, max);
|
|
38915
38974
|
};
|
|
38916
38975
|
protoOf(BotRatingRange).copy = function (min, max, $super) {
|
|
38917
38976
|
min = min === VOID ? this.min : min;
|
|
38918
38977
|
max = max === VOID ? this.max : max;
|
|
38919
|
-
return $super === VOID ? this.
|
|
38978
|
+
return $super === VOID ? this.k47(min, max) : $super.k47.call(this, min, max);
|
|
38920
38979
|
};
|
|
38921
38980
|
protoOf(BotRatingRange).toString = function () {
|
|
38922
38981
|
return 'BotRatingRange(min=' + this.min + ', max=' + this.max + ')';
|
|
@@ -39480,7 +39539,7 @@
|
|
|
39480
39539
|
return this.r1p();
|
|
39481
39540
|
});
|
|
39482
39541
|
defineProp(protoOf(FromClientAction), 'fromBot', function () {
|
|
39483
|
-
return this.
|
|
39542
|
+
return this.o41();
|
|
39484
39543
|
});
|
|
39485
39544
|
defineProp(protoOf(FromClientAction), 'actionTag', function () {
|
|
39486
39545
|
return this.l1v();
|
|
@@ -39533,14 +39592,14 @@
|
|
|
39533
39592
|
defineProp(protoOf(RequestedCardDecksFromClientAction), 'actionTag', function () {
|
|
39534
39593
|
return this.l1v();
|
|
39535
39594
|
});
|
|
39536
|
-
defineProp(protoOf(ActionDeliveryPayload), 'excludePlayerOrNull', protoOf(ActionDeliveryPayload).
|
|
39537
|
-
defineProp(protoOf(ActionDeliveryPayload), 'sendToPlayerId', protoOf(ActionDeliveryPayload).
|
|
39538
|
-
defineProp(protoOf(ActionDeliveryPayload), 'excludePlayerId', protoOf(ActionDeliveryPayload).
|
|
39595
|
+
defineProp(protoOf(ActionDeliveryPayload), 'excludePlayerOrNull', protoOf(ActionDeliveryPayload).t41);
|
|
39596
|
+
defineProp(protoOf(ActionDeliveryPayload), 'sendToPlayerId', protoOf(ActionDeliveryPayload).u41);
|
|
39597
|
+
defineProp(protoOf(ActionDeliveryPayload), 'excludePlayerId', protoOf(ActionDeliveryPayload).v41);
|
|
39539
39598
|
defineProp(protoOf(ActionDeliveryType), 'name', protoOf(ActionDeliveryType).i2);
|
|
39540
39599
|
defineProp(protoOf(ActionDeliveryType), 'ordinal', protoOf(ActionDeliveryType).j2);
|
|
39541
39600
|
protoOf(ToClientAction).l1v = get_actionTag;
|
|
39542
39601
|
defineProp(protoOf(ToClientAction), 'deliveryPayload', function () {
|
|
39543
|
-
return this.
|
|
39602
|
+
return this.a42();
|
|
39544
39603
|
});
|
|
39545
39604
|
defineProp(protoOf(ToClientAction), 'actionTag', function () {
|
|
39546
39605
|
return this.l1v();
|
|
@@ -39549,7 +39608,7 @@
|
|
|
39549
39608
|
defineProp(protoOf(GameAction), 'actionTag', function () {
|
|
39550
39609
|
return this.l1v();
|
|
39551
39610
|
});
|
|
39552
|
-
defineProp(protoOf(RoundStartedAction), 'roomModeString', protoOf(RoundStartedAction).
|
|
39611
|
+
defineProp(protoOf(RoundStartedAction), 'roomModeString', protoOf(RoundStartedAction).d42);
|
|
39553
39612
|
defineProp(protoOf(RoundStartedAction), 'actionTag', function () {
|
|
39554
39613
|
return this.l1v();
|
|
39555
39614
|
});
|
|
@@ -39563,26 +39622,26 @@
|
|
|
39563
39622
|
});
|
|
39564
39623
|
protoOf(RevengeRoomTransition).r3z = get_isEnableChoosePartnerScreen;
|
|
39565
39624
|
defineProp(protoOf(RevengeRoomTransition), 'previousPlayers', function () {
|
|
39566
|
-
return this.
|
|
39625
|
+
return this.l42();
|
|
39567
39626
|
});
|
|
39568
39627
|
defineProp(protoOf(RevengeRoomTransition), 'readyPlayerIdsArray', function () {
|
|
39569
|
-
return this.
|
|
39628
|
+
return this.m42();
|
|
39570
39629
|
});
|
|
39571
39630
|
defineProp(protoOf(RevengeRoomTransition), 'isEnableChoosePartnerScreen', function () {
|
|
39572
39631
|
return this.r3z();
|
|
39573
39632
|
});
|
|
39574
39633
|
defineProp(protoOf(GameToRoomTransition), 'previousPlayers', function () {
|
|
39575
|
-
return this.
|
|
39634
|
+
return this.l42();
|
|
39576
39635
|
});
|
|
39577
39636
|
defineProp(protoOf(GameToRoomTransition), 'isEnableChoosePartnerScreen', function () {
|
|
39578
39637
|
return this.r3z();
|
|
39579
39638
|
});
|
|
39580
39639
|
defineProp(protoOf(GameToRoomTransition), 'readyPlayerIdsArray', function () {
|
|
39581
|
-
return this.
|
|
39640
|
+
return this.m42();
|
|
39582
39641
|
});
|
|
39583
39642
|
protoOf(MechanicAction).l1v = get_actionTag;
|
|
39584
39643
|
defineProp(protoOf(MechanicAction), 'aid', function () {
|
|
39585
|
-
return this.
|
|
39644
|
+
return this.p41();
|
|
39586
39645
|
});
|
|
39587
39646
|
defineProp(protoOf(MechanicAction), 'actionTag', function () {
|
|
39588
39647
|
return this.l1v();
|
|
@@ -39597,13 +39656,13 @@
|
|
|
39597
39656
|
return this.j17();
|
|
39598
39657
|
});
|
|
39599
39658
|
defineProp(protoOf(StartGameMechanicAction), 'gameCreatorPlayerId', function () {
|
|
39600
|
-
return this.
|
|
39659
|
+
return this.q42();
|
|
39601
39660
|
});
|
|
39602
39661
|
defineProp(protoOf(StartGameMechanicAction), 'users', function () {
|
|
39603
39662
|
return this.v3x();
|
|
39604
39663
|
});
|
|
39605
39664
|
defineProp(protoOf(StartGameMechanicAction), 'usersOrder', function () {
|
|
39606
|
-
return this.
|
|
39665
|
+
return this.r42();
|
|
39607
39666
|
});
|
|
39608
39667
|
defineProp(protoOf(StartGameMechanicAction), 'actionTag', function () {
|
|
39609
39668
|
return this.l1v();
|
|
@@ -39619,10 +39678,10 @@
|
|
|
39619
39678
|
return this.v3x();
|
|
39620
39679
|
});
|
|
39621
39680
|
defineProp(protoOf(ContinueGameMechanicAction), 'usersOrder', function () {
|
|
39622
|
-
return this.
|
|
39681
|
+
return this.r42();
|
|
39623
39682
|
});
|
|
39624
39683
|
defineProp(protoOf(ContinueGameMechanicAction), 'gameCreatorPlayerId', function () {
|
|
39625
|
-
return this.
|
|
39684
|
+
return this.q42();
|
|
39626
39685
|
});
|
|
39627
39686
|
defineProp(protoOf(ContinueGameMechanicAction), 'version', function () {
|
|
39628
39687
|
return this.j17();
|
|
@@ -39641,7 +39700,7 @@
|
|
|
39641
39700
|
return this.z3x();
|
|
39642
39701
|
});
|
|
39643
39702
|
defineProp(protoOf(FinishingGameMechanicAction), 'transition', function () {
|
|
39644
|
-
return this.
|
|
39703
|
+
return this.m41();
|
|
39645
39704
|
});
|
|
39646
39705
|
defineProp(protoOf(FinishingGameMechanicAction), 'actionTag', function () {
|
|
39647
39706
|
return this.l1v();
|
|
@@ -39654,7 +39713,7 @@
|
|
|
39654
39713
|
return this.z3x();
|
|
39655
39714
|
});
|
|
39656
39715
|
defineProp(protoOf(FinishGameMechanicAction), 'transition', function () {
|
|
39657
|
-
return this.
|
|
39716
|
+
return this.m41();
|
|
39658
39717
|
});
|
|
39659
39718
|
defineProp(protoOf(FinishGameMechanicAction), 'actionTag', function () {
|
|
39660
39719
|
return this.l1v();
|
|
@@ -39666,7 +39725,7 @@
|
|
|
39666
39725
|
return this.g2t();
|
|
39667
39726
|
});
|
|
39668
39727
|
defineProp(protoOf(SceneMechanicAction), 'actData', function () {
|
|
39669
|
-
return this.
|
|
39728
|
+
return this.r43();
|
|
39670
39729
|
});
|
|
39671
39730
|
defineProp(protoOf(SceneMechanicAction), 'playerId', function () {
|
|
39672
39731
|
return this.r1p();
|
|
@@ -39678,7 +39737,7 @@
|
|
|
39678
39737
|
protoOf(TeamsDataMechanicAction).n1v = manualExpectantHandling;
|
|
39679
39738
|
protoOf(TeamsDataMechanicAction).p1v = get_isAutoStartTimer;
|
|
39680
39739
|
defineProp(protoOf(TeamsDataMechanicAction), 'usersOrder', function () {
|
|
39681
|
-
return this.
|
|
39740
|
+
return this.r42();
|
|
39682
39741
|
});
|
|
39683
39742
|
defineProp(protoOf(TeamsDataMechanicAction), 'actionTag', function () {
|
|
39684
39743
|
return this.l1v();
|
|
@@ -39686,7 +39745,7 @@
|
|
|
39686
39745
|
protoOf(PlayerConnectionChangedMechanicAction).ignoreValidation = ignoreValidation;
|
|
39687
39746
|
defineProp(protoOf(PlayerConnectionChangedMechanicAction), 'isShouldBeDisconnectedFromSockets', protoOf(PlayerConnectionChangedMechanicAction).x1r);
|
|
39688
39747
|
defineProp(protoOf(PlayerConnectionChangedMechanicAction), 'isShouldBeUnsubscribedFromSockets', protoOf(PlayerConnectionChangedMechanicAction).y1r);
|
|
39689
|
-
defineProp(protoOf(PlayerConnectionChangedMechanicAction), 'originState', protoOf(PlayerConnectionChangedMechanicAction).
|
|
39748
|
+
defineProp(protoOf(PlayerConnectionChangedMechanicAction), 'originState', protoOf(PlayerConnectionChangedMechanicAction).m44);
|
|
39690
39749
|
defineProp(protoOf(PlayerConnectionChangedMechanicAction), 'isDeleted', protoOf(PlayerConnectionChangedMechanicAction).t1r);
|
|
39691
39750
|
defineProp(protoOf(PlayerConnectionChangedMechanicAction), 'actionTag', function () {
|
|
39692
39751
|
return this.l1v();
|
|
@@ -39706,7 +39765,7 @@
|
|
|
39706
39765
|
return this.g2t();
|
|
39707
39766
|
});
|
|
39708
39767
|
defineProp(protoOf(SceneActMechanicAction), 'actData', function () {
|
|
39709
|
-
return this.
|
|
39768
|
+
return this.r43();
|
|
39710
39769
|
});
|
|
39711
39770
|
defineProp(protoOf(SceneActMechanicAction), 'actionTag', function () {
|
|
39712
39771
|
return this.l1v();
|
|
@@ -39768,10 +39827,10 @@
|
|
|
39768
39827
|
protoOf(LoggerCallbacksWrapperLoggerOutput).i = i;
|
|
39769
39828
|
protoOf(LoggerCallbacksWrapperLoggerOutput).v = v;
|
|
39770
39829
|
protoOf(LoggerCallbacksWrapperLoggerOutput).w = w;
|
|
39771
|
-
defineProp(protoOf(EngineHelpersFactory), 'ratingHelper', protoOf(EngineHelpersFactory).
|
|
39772
|
-
defineProp(protoOf(EngineHelpersFactory), 'parserHelper', protoOf(EngineHelpersFactory).
|
|
39773
|
-
defineProp(protoOf(EngineHelpersFactory), 'gameHelper', protoOf(EngineHelpersFactory).
|
|
39774
|
-
defineProp(protoOf(EngineHelpersFactory), 'gameResources', protoOf(EngineHelpersFactory).
|
|
39830
|
+
defineProp(protoOf(EngineHelpersFactory), 'ratingHelper', protoOf(EngineHelpersFactory).e47);
|
|
39831
|
+
defineProp(protoOf(EngineHelpersFactory), 'parserHelper', protoOf(EngineHelpersFactory).f47);
|
|
39832
|
+
defineProp(protoOf(EngineHelpersFactory), 'gameHelper', protoOf(EngineHelpersFactory).g47);
|
|
39833
|
+
defineProp(protoOf(EngineHelpersFactory), 'gameResources', protoOf(EngineHelpersFactory).h47);
|
|
39775
39834
|
//endregion
|
|
39776
39835
|
//region block: init
|
|
39777
39836
|
Companion_instance_3 = new Companion();
|