raspberry_games_engine_helpers 1.8.398 → 1.8.399
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/Kosi-Kaverit-kaverit.js +56 -56
- package/Kosi-Kodein-kodein-di.js +486 -486
- package/Logic_Debertz-core.js +670 -568
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.d.ts +23 -9
- package/Logic_Debertz-engine.js +7835 -7823
- package/Logic_Debertz-engine.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1065 -1065
- package/package.json +1 -1
package/Logic_Debertz-core.js
CHANGED
|
@@ -80,9 +80,9 @@
|
|
|
80
80
|
var numberToInt = kotlin_kotlin.$_$.ba;
|
|
81
81
|
var Duration__toString_impl_8d916b = kotlin_kotlin.$_$.n1;
|
|
82
82
|
var Duration__hashCode_impl_u4exz6 = kotlin_kotlin.$_$.j1;
|
|
83
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.xd;
|
|
83
84
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.z;
|
|
84
85
|
var GameCard = kotlin_io_raspberryapps_cardgame_core.$_$.d;
|
|
85
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.xd;
|
|
86
86
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.w4;
|
|
87
87
|
var mapCapacity = kotlin_kotlin.$_$.n6;
|
|
88
88
|
var coerceAtLeast = kotlin_kotlin.$_$.ja;
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
tmp = types;
|
|
209
209
|
}
|
|
210
210
|
types = tmp;
|
|
211
|
-
return $super === VOID ? this.
|
|
211
|
+
return $super === VOID ? this.s1v(types) : $super.s1v.call(this, types);
|
|
212
212
|
}
|
|
213
213
|
initMetadataForInterface(ObservableLoggerOutput, 'ObservableLoggerOutput', VOID, VOID, [LoggerOutput, LoggerEnabledTrigger]);
|
|
214
214
|
initMetadataForCompanion(Companion_20);
|
|
@@ -216,7 +216,7 @@
|
|
|
216
216
|
initMetadataForClass(LoggerOutputDataDto, 'LoggerOutputDataDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_10});
|
|
217
217
|
//endregion
|
|
218
218
|
function GameEngineConfig() {
|
|
219
|
-
this.version = '1.8.
|
|
219
|
+
this.version = '1.8.399';
|
|
220
220
|
}
|
|
221
221
|
protoOf(GameEngineConfig).k17 = function () {
|
|
222
222
|
return this.version;
|
|
@@ -600,22 +600,19 @@
|
|
|
600
600
|
protoOf(PlayerLostConnectionReason).p1p = function () {
|
|
601
601
|
return this.tag;
|
|
602
602
|
};
|
|
603
|
-
protoOf(PlayerLostConnectionReason).q1p = function () {
|
|
604
|
-
return PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
605
|
-
};
|
|
606
603
|
protoOf(PlayerLostConnectionReason).sc = function () {
|
|
607
604
|
return this.n1p_1;
|
|
608
605
|
};
|
|
609
606
|
protoOf(PlayerLostConnectionReason).tc = function () {
|
|
610
607
|
return this.tag;
|
|
611
608
|
};
|
|
612
|
-
protoOf(PlayerLostConnectionReason).
|
|
609
|
+
protoOf(PlayerLostConnectionReason).q1p = function (playerId, tag) {
|
|
613
610
|
return new PlayerLostConnectionReason(playerId, tag);
|
|
614
611
|
};
|
|
615
612
|
protoOf(PlayerLostConnectionReason).copy = function (playerId, tag, $super) {
|
|
616
613
|
playerId = playerId === VOID ? this.n1p_1 : playerId;
|
|
617
614
|
tag = tag === VOID ? this.tag : tag;
|
|
618
|
-
return $super === VOID ? this.
|
|
615
|
+
return $super === VOID ? this.q1p(playerId, tag) : $super.q1p.call(this, playerId, tag);
|
|
619
616
|
};
|
|
620
617
|
protoOf(PlayerLostConnectionReason).toString = function () {
|
|
621
618
|
return 'PlayerLostConnectionReason(playerId=' + this.n1p_1 + ', tag=' + this.tag + ')';
|
|
@@ -638,37 +635,34 @@
|
|
|
638
635
|
};
|
|
639
636
|
function PlayerTimeoutReason(playerId, tag) {
|
|
640
637
|
TerminationGameReason.call(this);
|
|
641
|
-
this.
|
|
638
|
+
this.r1p_1 = playerId;
|
|
642
639
|
this.tag = tag;
|
|
643
640
|
}
|
|
644
641
|
protoOf(PlayerTimeoutReason).o1p = function () {
|
|
645
|
-
return this.
|
|
642
|
+
return this.r1p_1;
|
|
646
643
|
};
|
|
647
644
|
protoOf(PlayerTimeoutReason).p1p = function () {
|
|
648
645
|
return this.tag;
|
|
649
646
|
};
|
|
650
|
-
protoOf(PlayerTimeoutReason).q1p = function () {
|
|
651
|
-
return PlayerConnectionState_TIMEOUT_getInstance();
|
|
652
|
-
};
|
|
653
647
|
protoOf(PlayerTimeoutReason).sc = function () {
|
|
654
|
-
return this.
|
|
648
|
+
return this.r1p_1;
|
|
655
649
|
};
|
|
656
650
|
protoOf(PlayerTimeoutReason).tc = function () {
|
|
657
651
|
return this.tag;
|
|
658
652
|
};
|
|
659
|
-
protoOf(PlayerTimeoutReason).
|
|
653
|
+
protoOf(PlayerTimeoutReason).q1p = function (playerId, tag) {
|
|
660
654
|
return new PlayerTimeoutReason(playerId, tag);
|
|
661
655
|
};
|
|
662
656
|
protoOf(PlayerTimeoutReason).copy = function (playerId, tag, $super) {
|
|
663
|
-
playerId = playerId === VOID ? this.
|
|
657
|
+
playerId = playerId === VOID ? this.r1p_1 : playerId;
|
|
664
658
|
tag = tag === VOID ? this.tag : tag;
|
|
665
|
-
return $super === VOID ? this.
|
|
659
|
+
return $super === VOID ? this.q1p(playerId, tag) : $super.q1p.call(this, playerId, tag);
|
|
666
660
|
};
|
|
667
661
|
protoOf(PlayerTimeoutReason).toString = function () {
|
|
668
|
-
return 'PlayerTimeoutReason(playerId=' + this.
|
|
662
|
+
return 'PlayerTimeoutReason(playerId=' + this.r1p_1 + ', tag=' + this.tag + ')';
|
|
669
663
|
};
|
|
670
664
|
protoOf(PlayerTimeoutReason).hashCode = function () {
|
|
671
|
-
var result = getStringHashCode(this.
|
|
665
|
+
var result = getStringHashCode(this.r1p_1);
|
|
672
666
|
result = imul(result, 31) + (this.tag == null ? 0 : getStringHashCode(this.tag)) | 0;
|
|
673
667
|
return result;
|
|
674
668
|
};
|
|
@@ -677,7 +671,7 @@
|
|
|
677
671
|
return true;
|
|
678
672
|
if (!(other instanceof PlayerTimeoutReason))
|
|
679
673
|
return false;
|
|
680
|
-
if (!(this.
|
|
674
|
+
if (!(this.r1p_1 === other.r1p_1))
|
|
681
675
|
return false;
|
|
682
676
|
if (!(this.tag == other.tag))
|
|
683
677
|
return false;
|
|
@@ -685,43 +679,40 @@
|
|
|
685
679
|
};
|
|
686
680
|
function PlayerExitReason(playerId) {
|
|
687
681
|
TerminationGameReason.call(this);
|
|
688
|
-
this.
|
|
682
|
+
this.s1p_1 = playerId;
|
|
689
683
|
}
|
|
690
684
|
protoOf(PlayerExitReason).o1p = function () {
|
|
691
|
-
return this.
|
|
692
|
-
};
|
|
693
|
-
protoOf(PlayerExitReason).q1p = function () {
|
|
694
|
-
return PlayerConnectionState_LEFT_getInstance();
|
|
685
|
+
return this.s1p_1;
|
|
695
686
|
};
|
|
696
687
|
protoOf(PlayerExitReason).sc = function () {
|
|
697
|
-
return this.
|
|
688
|
+
return this.s1p_1;
|
|
698
689
|
};
|
|
699
|
-
protoOf(PlayerExitReason).
|
|
690
|
+
protoOf(PlayerExitReason).t1p = function (playerId) {
|
|
700
691
|
return new PlayerExitReason(playerId);
|
|
701
692
|
};
|
|
702
693
|
protoOf(PlayerExitReason).copy = function (playerId, $super) {
|
|
703
|
-
playerId = playerId === VOID ? this.
|
|
704
|
-
return $super === VOID ? this.
|
|
694
|
+
playerId = playerId === VOID ? this.s1p_1 : playerId;
|
|
695
|
+
return $super === VOID ? this.t1p(playerId) : $super.t1p.call(this, playerId);
|
|
705
696
|
};
|
|
706
697
|
protoOf(PlayerExitReason).toString = function () {
|
|
707
|
-
return 'PlayerExitReason(playerId=' + this.
|
|
698
|
+
return 'PlayerExitReason(playerId=' + this.s1p_1 + ')';
|
|
708
699
|
};
|
|
709
700
|
protoOf(PlayerExitReason).hashCode = function () {
|
|
710
|
-
return getStringHashCode(this.
|
|
701
|
+
return getStringHashCode(this.s1p_1);
|
|
711
702
|
};
|
|
712
703
|
protoOf(PlayerExitReason).equals = function (other) {
|
|
713
704
|
if (this === other)
|
|
714
705
|
return true;
|
|
715
706
|
if (!(other instanceof PlayerExitReason))
|
|
716
707
|
return false;
|
|
717
|
-
if (!(this.
|
|
708
|
+
if (!(this.s1p_1 === other.s1p_1))
|
|
718
709
|
return false;
|
|
719
710
|
return true;
|
|
720
711
|
};
|
|
721
712
|
function FinishPlayerReason() {
|
|
722
713
|
}
|
|
723
714
|
function _get_$cachedSerializer__te6jhj_1($this) {
|
|
724
|
-
return $this.
|
|
715
|
+
return $this.u1p_1.v1();
|
|
725
716
|
}
|
|
726
717
|
function GameFinishedReason$Reason$Companion$_anonymous__q2gwr5() {
|
|
727
718
|
return createSimpleEnumSerializer('com.logic.data.models.GameFinishedReason.Reason', values());
|
|
@@ -764,7 +755,7 @@
|
|
|
764
755
|
Companion_instance_3 = this;
|
|
765
756
|
var tmp = this;
|
|
766
757
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
767
|
-
tmp.
|
|
758
|
+
tmp.u1p_1 = lazy(tmp_0, GameFinishedReason$Reason$Companion$_anonymous__q2gwr5);
|
|
768
759
|
}
|
|
769
760
|
protoOf(Companion_3).z17 = function () {
|
|
770
761
|
return _get_$cachedSerializer__te6jhj_1(this);
|
|
@@ -824,18 +815,18 @@
|
|
|
824
815
|
TerminationGameReason.call(this);
|
|
825
816
|
this.reason = reason;
|
|
826
817
|
}
|
|
827
|
-
protoOf(GameFinishedReason).
|
|
818
|
+
protoOf(GameFinishedReason).x1p = function () {
|
|
828
819
|
return this.reason;
|
|
829
820
|
};
|
|
830
821
|
protoOf(GameFinishedReason).sc = function () {
|
|
831
822
|
return this.reason;
|
|
832
823
|
};
|
|
833
|
-
protoOf(GameFinishedReason).
|
|
824
|
+
protoOf(GameFinishedReason).y1p = function (reason) {
|
|
834
825
|
return new GameFinishedReason(reason);
|
|
835
826
|
};
|
|
836
827
|
protoOf(GameFinishedReason).copy = function (reason, $super) {
|
|
837
828
|
reason = reason === VOID ? this.reason : reason;
|
|
838
|
-
return $super === VOID ? this.
|
|
829
|
+
return $super === VOID ? this.y1p(reason) : $super.y1p.call(this, reason);
|
|
839
830
|
};
|
|
840
831
|
protoOf(GameFinishedReason).toString = function () {
|
|
841
832
|
return 'GameFinishedReason(reason=' + this.reason.toString() + ')';
|
|
@@ -853,7 +844,7 @@
|
|
|
853
844
|
return true;
|
|
854
845
|
};
|
|
855
846
|
function _get_$cachedSerializer__te6jhj_2($this) {
|
|
856
|
-
return $this.
|
|
847
|
+
return $this.z1p_1.v1();
|
|
857
848
|
}
|
|
858
849
|
function GameErrorReason$Reason$Companion$_anonymous__54sopr() {
|
|
859
850
|
return createSimpleEnumSerializer('com.logic.data.models.GameErrorReason.Reason', values_0());
|
|
@@ -896,7 +887,7 @@
|
|
|
896
887
|
Companion_instance_4 = this;
|
|
897
888
|
var tmp = this;
|
|
898
889
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
899
|
-
tmp.
|
|
890
|
+
tmp.z1p_1 = lazy(tmp_0, GameErrorReason$Reason$Companion$_anonymous__54sopr);
|
|
900
891
|
}
|
|
901
892
|
protoOf(Companion_4).z17 = function () {
|
|
902
893
|
return _get_$cachedSerializer__te6jhj_2(this);
|
|
@@ -956,18 +947,18 @@
|
|
|
956
947
|
TerminationGameReason.call(this);
|
|
957
948
|
this.reason = reason;
|
|
958
949
|
}
|
|
959
|
-
protoOf(GameErrorReason).
|
|
950
|
+
protoOf(GameErrorReason).x1p = function () {
|
|
960
951
|
return this.reason;
|
|
961
952
|
};
|
|
962
953
|
protoOf(GameErrorReason).sc = function () {
|
|
963
954
|
return this.reason;
|
|
964
955
|
};
|
|
965
|
-
protoOf(GameErrorReason).
|
|
956
|
+
protoOf(GameErrorReason).c1q = function (reason) {
|
|
966
957
|
return new GameErrorReason(reason);
|
|
967
958
|
};
|
|
968
959
|
protoOf(GameErrorReason).copy = function (reason, $super) {
|
|
969
960
|
reason = reason === VOID ? this.reason : reason;
|
|
970
|
-
return $super === VOID ? this.
|
|
961
|
+
return $super === VOID ? this.c1q(reason) : $super.c1q.call(this, reason);
|
|
971
962
|
};
|
|
972
963
|
protoOf(GameErrorReason).toString = function () {
|
|
973
964
|
return 'GameErrorReason(reason=' + this.reason.toString() + ')';
|
|
@@ -1040,7 +1031,7 @@
|
|
|
1040
1031
|
initialLuckyFactor = initialLuckyFactor === VOID ? null : initialLuckyFactor;
|
|
1041
1032
|
rating = rating === VOID ? null : rating;
|
|
1042
1033
|
payload = payload === VOID ? null : payload;
|
|
1043
|
-
this.
|
|
1034
|
+
this.d1q_1 = playerId;
|
|
1044
1035
|
this.name = name;
|
|
1045
1036
|
this.avatarUrl = avatarUrl;
|
|
1046
1037
|
this.isBot = isBot;
|
|
@@ -1049,24 +1040,24 @@
|
|
|
1049
1040
|
this.payload = payload;
|
|
1050
1041
|
}
|
|
1051
1042
|
protoOf(GameUserInfo).o1p = function () {
|
|
1052
|
-
return this.
|
|
1043
|
+
return this.d1q_1;
|
|
1053
1044
|
};
|
|
1054
1045
|
protoOf(GameUserInfo).i2 = function () {
|
|
1055
1046
|
return this.name;
|
|
1056
1047
|
};
|
|
1057
|
-
protoOf(GameUserInfo).
|
|
1048
|
+
protoOf(GameUserInfo).e1q = function () {
|
|
1058
1049
|
return this.avatarUrl;
|
|
1059
1050
|
};
|
|
1060
|
-
protoOf(GameUserInfo).
|
|
1051
|
+
protoOf(GameUserInfo).f1q = function () {
|
|
1061
1052
|
return this.isBot;
|
|
1062
1053
|
};
|
|
1063
|
-
protoOf(GameUserInfo).
|
|
1054
|
+
protoOf(GameUserInfo).g1q = function () {
|
|
1064
1055
|
return this.initialLuckyFactor;
|
|
1065
1056
|
};
|
|
1066
|
-
protoOf(GameUserInfo).
|
|
1057
|
+
protoOf(GameUserInfo).h1q = function () {
|
|
1067
1058
|
return this.rating;
|
|
1068
1059
|
};
|
|
1069
|
-
protoOf(GameUserInfo).
|
|
1060
|
+
protoOf(GameUserInfo).i1q = function () {
|
|
1070
1061
|
return this.payload;
|
|
1071
1062
|
};
|
|
1072
1063
|
protoOf(GameUserInfo).getRatingOrDefault = function (initialUserRating) {
|
|
@@ -1074,7 +1065,7 @@
|
|
|
1074
1065
|
return tmp0_elvis_lhs == null ? initialUserRating : tmp0_elvis_lhs;
|
|
1075
1066
|
};
|
|
1076
1067
|
protoOf(GameUserInfo).toString = function () {
|
|
1077
|
-
var tmp = 'playerId=' + this.
|
|
1068
|
+
var tmp = 'playerId=' + this.d1q_1;
|
|
1078
1069
|
var tmp_0 = 'name=' + this.name;
|
|
1079
1070
|
// Inline function 'kotlin.takeIf' call
|
|
1080
1071
|
var this_0 = 'avatarUrl=' + this.avatarUrl;
|
|
@@ -1124,7 +1115,7 @@
|
|
|
1124
1115
|
return 'GameUserInfo(' + joinToString(listOfNotNull([tmp, tmp_0, tmp_2, tmp_4, tmp_6, tmp_8, tmp$ret$9])) + ')';
|
|
1125
1116
|
};
|
|
1126
1117
|
protoOf(GameUserInfo).sc = function () {
|
|
1127
|
-
return this.
|
|
1118
|
+
return this.d1q_1;
|
|
1128
1119
|
};
|
|
1129
1120
|
protoOf(GameUserInfo).tc = function () {
|
|
1130
1121
|
return this.name;
|
|
@@ -1135,30 +1126,30 @@
|
|
|
1135
1126
|
protoOf(GameUserInfo).s15 = function () {
|
|
1136
1127
|
return this.isBot;
|
|
1137
1128
|
};
|
|
1138
|
-
protoOf(GameUserInfo).
|
|
1129
|
+
protoOf(GameUserInfo).j1q = function () {
|
|
1139
1130
|
return this.initialLuckyFactor;
|
|
1140
1131
|
};
|
|
1141
|
-
protoOf(GameUserInfo).
|
|
1132
|
+
protoOf(GameUserInfo).k1q = function () {
|
|
1142
1133
|
return this.rating;
|
|
1143
1134
|
};
|
|
1144
|
-
protoOf(GameUserInfo).
|
|
1135
|
+
protoOf(GameUserInfo).l1q = function () {
|
|
1145
1136
|
return this.payload;
|
|
1146
1137
|
};
|
|
1147
|
-
protoOf(GameUserInfo).
|
|
1138
|
+
protoOf(GameUserInfo).m1q = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload) {
|
|
1148
1139
|
return new GameUserInfo(playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload);
|
|
1149
1140
|
};
|
|
1150
1141
|
protoOf(GameUserInfo).copy = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload, $super) {
|
|
1151
|
-
playerId = playerId === VOID ? this.
|
|
1142
|
+
playerId = playerId === VOID ? this.d1q_1 : playerId;
|
|
1152
1143
|
name = name === VOID ? this.name : name;
|
|
1153
1144
|
avatarUrl = avatarUrl === VOID ? this.avatarUrl : avatarUrl;
|
|
1154
1145
|
isBot = isBot === VOID ? this.isBot : isBot;
|
|
1155
1146
|
initialLuckyFactor = initialLuckyFactor === VOID ? this.initialLuckyFactor : initialLuckyFactor;
|
|
1156
1147
|
rating = rating === VOID ? this.rating : rating;
|
|
1157
1148
|
payload = payload === VOID ? this.payload : payload;
|
|
1158
|
-
return $super === VOID ? this.
|
|
1149
|
+
return $super === VOID ? this.m1q(playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload) : $super.m1q.call(this, playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload);
|
|
1159
1150
|
};
|
|
1160
1151
|
protoOf(GameUserInfo).hashCode = function () {
|
|
1161
|
-
var result = getStringHashCode(this.
|
|
1152
|
+
var result = getStringHashCode(this.d1q_1);
|
|
1162
1153
|
result = imul(result, 31) + getStringHashCode(this.name) | 0;
|
|
1163
1154
|
result = imul(result, 31) + (this.avatarUrl == null ? 0 : getStringHashCode(this.avatarUrl)) | 0;
|
|
1164
1155
|
result = imul(result, 31) + getBooleanHashCode(this.isBot) | 0;
|
|
@@ -1172,7 +1163,7 @@
|
|
|
1172
1163
|
return true;
|
|
1173
1164
|
if (!(other instanceof GameUserInfo))
|
|
1174
1165
|
return false;
|
|
1175
|
-
if (!(this.
|
|
1166
|
+
if (!(this.d1q_1 === other.d1q_1))
|
|
1176
1167
|
return false;
|
|
1177
1168
|
if (!(this.name === other.name))
|
|
1178
1169
|
return false;
|
|
@@ -1233,18 +1224,18 @@
|
|
|
1233
1224
|
return getItemIndex(_this__u8e3s4, get_byIdPlayerPredicate()(playerId));
|
|
1234
1225
|
}
|
|
1235
1226
|
function PlayerIndex(playerId, playerIndex) {
|
|
1236
|
-
this.
|
|
1237
|
-
this.
|
|
1227
|
+
this.n1q_1 = playerId;
|
|
1228
|
+
this.o1q_1 = playerIndex;
|
|
1238
1229
|
}
|
|
1239
1230
|
protoOf(PlayerIndex).o1p = function () {
|
|
1240
|
-
return this.
|
|
1231
|
+
return this.n1q_1;
|
|
1241
1232
|
};
|
|
1242
1233
|
protoOf(PlayerIndex).toString = function () {
|
|
1243
|
-
return 'PlayerIndex(playerId=' + this.
|
|
1234
|
+
return 'PlayerIndex(playerId=' + this.n1q_1 + ', playerIndex=' + this.o1q_1 + ')';
|
|
1244
1235
|
};
|
|
1245
1236
|
protoOf(PlayerIndex).hashCode = function () {
|
|
1246
|
-
var result = getStringHashCode(this.
|
|
1247
|
-
result = imul(result, 31) + this.
|
|
1237
|
+
var result = getStringHashCode(this.n1q_1);
|
|
1238
|
+
result = imul(result, 31) + this.o1q_1 | 0;
|
|
1248
1239
|
return result;
|
|
1249
1240
|
};
|
|
1250
1241
|
protoOf(PlayerIndex).equals = function (other) {
|
|
@@ -1252,9 +1243,9 @@
|
|
|
1252
1243
|
return true;
|
|
1253
1244
|
if (!(other instanceof PlayerIndex))
|
|
1254
1245
|
return false;
|
|
1255
|
-
if (!(this.
|
|
1246
|
+
if (!(this.n1q_1 === other.n1q_1))
|
|
1256
1247
|
return false;
|
|
1257
|
-
if (!(this.
|
|
1248
|
+
if (!(this.o1q_1 === other.o1q_1))
|
|
1258
1249
|
return false;
|
|
1259
1250
|
return true;
|
|
1260
1251
|
};
|
|
@@ -1269,7 +1260,7 @@
|
|
|
1269
1260
|
}
|
|
1270
1261
|
function playerTurnPredicate$lambda(p1) {
|
|
1271
1262
|
_init_properties_Player_kt__qi83pd();
|
|
1272
|
-
return p1.
|
|
1263
|
+
return p1.p1q().x1q();
|
|
1273
1264
|
}
|
|
1274
1265
|
var properties_initialized_Player_kt_56shkt;
|
|
1275
1266
|
function _init_properties_Player_kt__qi83pd() {
|
|
@@ -1280,14 +1271,14 @@
|
|
|
1280
1271
|
}
|
|
1281
1272
|
}
|
|
1282
1273
|
function Companion_5() {
|
|
1283
|
-
this.
|
|
1274
|
+
this.y1q_1 = 70;
|
|
1284
1275
|
}
|
|
1285
|
-
protoOf(Companion_5).
|
|
1276
|
+
protoOf(Companion_5).z1q = function (state, timeout) {
|
|
1286
1277
|
return new PlayerConnection(state, System_instance.jg().zg(timeout));
|
|
1287
1278
|
};
|
|
1288
|
-
protoOf(Companion_5).
|
|
1279
|
+
protoOf(Companion_5).a1r = function (state, timeout, $super) {
|
|
1289
1280
|
timeout = timeout === VOID ? Companion_getInstance().kg_1 : timeout;
|
|
1290
|
-
return $super === VOID ? this.
|
|
1281
|
+
return $super === VOID ? this.z1q(state, timeout) : $super.z1q.call(this, state, new Duration(timeout));
|
|
1291
1282
|
};
|
|
1292
1283
|
var Companion_instance_5;
|
|
1293
1284
|
function Companion_getInstance_8() {
|
|
@@ -1296,47 +1287,47 @@
|
|
|
1296
1287
|
function PlayerConnection(state, connectionChangedTime, notLiveDurationRecord) {
|
|
1297
1288
|
connectionChangedTime = connectionChangedTime === VOID ? System_instance.jg() : connectionChangedTime;
|
|
1298
1289
|
notLiveDurationRecord = notLiveDurationRecord === VOID ? Companion_getInstance().kg_1 : notLiveDurationRecord;
|
|
1299
|
-
this.
|
|
1300
|
-
this.
|
|
1301
|
-
this.
|
|
1290
|
+
this.b1r_1 = state;
|
|
1291
|
+
this.c1r_1 = connectionChangedTime;
|
|
1292
|
+
this.d1r_1 = notLiveDurationRecord;
|
|
1302
1293
|
}
|
|
1303
|
-
protoOf(PlayerConnection).
|
|
1304
|
-
return System_instance.jg().ah(this.
|
|
1294
|
+
protoOf(PlayerConnection).e1r = function () {
|
|
1295
|
+
return System_instance.jg().ah(this.c1r_1);
|
|
1305
1296
|
};
|
|
1306
|
-
protoOf(PlayerConnection).
|
|
1297
|
+
protoOf(PlayerConnection).f1r = function () {
|
|
1307
1298
|
var tmp;
|
|
1308
|
-
if (this.
|
|
1309
|
-
tmp = this.
|
|
1299
|
+
if (this.b1r_1.isLive) {
|
|
1300
|
+
tmp = this.d1r_1;
|
|
1310
1301
|
} else {
|
|
1311
|
-
tmp = Duration__plus_impl_yu9v8f(this.
|
|
1302
|
+
tmp = Duration__plus_impl_yu9v8f(this.d1r_1, this.e1r());
|
|
1312
1303
|
}
|
|
1313
1304
|
return tmp;
|
|
1314
1305
|
};
|
|
1315
|
-
protoOf(PlayerConnection).
|
|
1306
|
+
protoOf(PlayerConnection).g1r = function (gameDuration) {
|
|
1316
1307
|
// Inline function 'kotlin.Long.div' call
|
|
1317
1308
|
var this_0 = _Duration___get_inWholeMilliseconds__impl__msfiry(gameDuration);
|
|
1318
1309
|
var percent = toNumber(this_0) / 100.0;
|
|
1319
1310
|
// Inline function 'kotlin.Long.div' call
|
|
1320
|
-
var this_1 = _Duration___get_inWholeMilliseconds__impl__msfiry(this.
|
|
1311
|
+
var this_1 = _Duration___get_inWholeMilliseconds__impl__msfiry(this.f1r());
|
|
1321
1312
|
// Inline function 'kotlin.math.round' call
|
|
1322
1313
|
var x = toNumber(this_1) / percent;
|
|
1323
1314
|
var tmp$ret$2 = round(x);
|
|
1324
1315
|
return numberToInt(tmp$ret$2);
|
|
1325
1316
|
};
|
|
1326
|
-
protoOf(PlayerConnection).
|
|
1327
|
-
return 100 - this.
|
|
1317
|
+
protoOf(PlayerConnection).h1r = function (gameDuration) {
|
|
1318
|
+
return 100 - this.g1r(gameDuration) | 0;
|
|
1328
1319
|
};
|
|
1329
|
-
protoOf(PlayerConnection).
|
|
1330
|
-
var percentage = this.
|
|
1320
|
+
protoOf(PlayerConnection).i1r = function (gameDuration) {
|
|
1321
|
+
var percentage = this.h1r(gameDuration);
|
|
1331
1322
|
return percentage >= 70;
|
|
1332
1323
|
};
|
|
1333
1324
|
protoOf(PlayerConnection).toString = function () {
|
|
1334
|
-
return 'PlayerConnection(state=' + this.
|
|
1325
|
+
return 'PlayerConnection(state=' + this.b1r_1.toString() + ', connectionChangedTime=' + this.c1r_1.toString() + ', notLiveDurationRecord=' + Duration__toString_impl_8d916b(this.d1r_1) + ')';
|
|
1335
1326
|
};
|
|
1336
1327
|
protoOf(PlayerConnection).hashCode = function () {
|
|
1337
|
-
var result = this.
|
|
1338
|
-
result = imul(result, 31) + this.
|
|
1339
|
-
result = imul(result, 31) + Duration__hashCode_impl_u4exz6(this.
|
|
1328
|
+
var result = this.b1r_1.hashCode();
|
|
1329
|
+
result = imul(result, 31) + this.c1r_1.hashCode() | 0;
|
|
1330
|
+
result = imul(result, 31) + Duration__hashCode_impl_u4exz6(this.d1r_1) | 0;
|
|
1340
1331
|
return result;
|
|
1341
1332
|
};
|
|
1342
1333
|
protoOf(PlayerConnection).equals = function (other) {
|
|
@@ -1344,16 +1335,16 @@
|
|
|
1344
1335
|
return true;
|
|
1345
1336
|
if (!(other instanceof PlayerConnection))
|
|
1346
1337
|
return false;
|
|
1347
|
-
if (!this.
|
|
1338
|
+
if (!this.b1r_1.equals(other.b1r_1))
|
|
1348
1339
|
return false;
|
|
1349
|
-
if (!this.
|
|
1340
|
+
if (!this.c1r_1.equals(other.c1r_1))
|
|
1350
1341
|
return false;
|
|
1351
|
-
if (!equals(this.
|
|
1342
|
+
if (!equals(this.d1r_1, other.d1r_1))
|
|
1352
1343
|
return false;
|
|
1353
1344
|
return true;
|
|
1354
1345
|
};
|
|
1355
1346
|
function _get_$cachedSerializer__te6jhj_3($this) {
|
|
1356
|
-
return $this.
|
|
1347
|
+
return $this.j1r_1.v1();
|
|
1357
1348
|
}
|
|
1358
1349
|
function PlayerConnectionState$Companion$_anonymous__8wfaw3() {
|
|
1359
1350
|
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerConnectionState', values_1());
|
|
@@ -1362,10 +1353,11 @@
|
|
|
1362
1353
|
var PlayerConnectionState_TIMEOUT_instance;
|
|
1363
1354
|
var PlayerConnectionState_LOST_CONNECTION_instance;
|
|
1364
1355
|
var PlayerConnectionState_LEFT_instance;
|
|
1356
|
+
var PlayerConnectionState_LEFT_PERMANENTLY_instance;
|
|
1365
1357
|
var PlayerConnectionState_DISCONNECTING_instance;
|
|
1366
1358
|
var PlayerConnectionState_DELETED_instance;
|
|
1367
1359
|
function values_1() {
|
|
1368
|
-
return [PlayerConnectionState_LIVE_getInstance(), PlayerConnectionState_TIMEOUT_getInstance(), PlayerConnectionState_LOST_CONNECTION_getInstance(), PlayerConnectionState_LEFT_getInstance(), PlayerConnectionState_DISCONNECTING_getInstance(), PlayerConnectionState_DELETED_getInstance()];
|
|
1360
|
+
return [PlayerConnectionState_LIVE_getInstance(), PlayerConnectionState_TIMEOUT_getInstance(), PlayerConnectionState_LOST_CONNECTION_getInstance(), PlayerConnectionState_LEFT_getInstance(), PlayerConnectionState_LEFT_PERMANENTLY_getInstance(), PlayerConnectionState_DISCONNECTING_getInstance(), PlayerConnectionState_DELETED_getInstance()];
|
|
1369
1361
|
}
|
|
1370
1362
|
function valueOf_1(value) {
|
|
1371
1363
|
switch (value) {
|
|
@@ -1377,6 +1369,8 @@
|
|
|
1377
1369
|
return PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
1378
1370
|
case 'LEFT':
|
|
1379
1371
|
return PlayerConnectionState_LEFT_getInstance();
|
|
1372
|
+
case 'LEFT_PERMANENTLY':
|
|
1373
|
+
return PlayerConnectionState_LEFT_PERMANENTLY_getInstance();
|
|
1380
1374
|
case 'DISCONNECTING':
|
|
1381
1375
|
return PlayerConnectionState_DISCONNECTING_getInstance();
|
|
1382
1376
|
case 'DELETED':
|
|
@@ -1391,7 +1385,7 @@
|
|
|
1391
1385
|
Companion_instance_6 = this;
|
|
1392
1386
|
var tmp = this;
|
|
1393
1387
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1394
|
-
tmp.
|
|
1388
|
+
tmp.j1r_1 = lazy(tmp_0, PlayerConnectionState$Companion$_anonymous__8wfaw3);
|
|
1395
1389
|
}
|
|
1396
1390
|
protoOf(Companion_6).z17 = function () {
|
|
1397
1391
|
return _get_$cachedSerializer__te6jhj_3(this);
|
|
@@ -1415,25 +1409,29 @@
|
|
|
1415
1409
|
PlayerConnectionState_TIMEOUT_instance = new PlayerConnectionState('TIMEOUT', 1);
|
|
1416
1410
|
PlayerConnectionState_LOST_CONNECTION_instance = new PlayerConnectionState('LOST_CONNECTION', 2);
|
|
1417
1411
|
PlayerConnectionState_LEFT_instance = new PlayerConnectionState('LEFT', 3);
|
|
1418
|
-
|
|
1419
|
-
|
|
1412
|
+
PlayerConnectionState_LEFT_PERMANENTLY_instance = new PlayerConnectionState('LEFT_PERMANENTLY', 4);
|
|
1413
|
+
PlayerConnectionState_DISCONNECTING_instance = new PlayerConnectionState('DISCONNECTING', 5);
|
|
1414
|
+
PlayerConnectionState_DELETED_instance = new PlayerConnectionState('DELETED', 6);
|
|
1420
1415
|
Companion_getInstance_9();
|
|
1421
1416
|
}
|
|
1422
1417
|
function PlayerConnectionState(name, ordinal) {
|
|
1423
1418
|
Enum.call(this, name, ordinal);
|
|
1424
1419
|
}
|
|
1425
|
-
protoOf(PlayerConnectionState).
|
|
1420
|
+
protoOf(PlayerConnectionState).m1r = function () {
|
|
1426
1421
|
return this.equals(PlayerConnectionState_LIVE_getInstance());
|
|
1427
1422
|
};
|
|
1428
|
-
protoOf(PlayerConnectionState).
|
|
1423
|
+
protoOf(PlayerConnectionState).n1r = function () {
|
|
1429
1424
|
return this.equals(PlayerConnectionState_TIMEOUT_getInstance());
|
|
1430
1425
|
};
|
|
1431
|
-
protoOf(PlayerConnectionState).
|
|
1426
|
+
protoOf(PlayerConnectionState).o1r = function () {
|
|
1432
1427
|
return this.equals(PlayerConnectionState_LOST_CONNECTION_getInstance());
|
|
1433
1428
|
};
|
|
1434
|
-
protoOf(PlayerConnectionState).
|
|
1429
|
+
protoOf(PlayerConnectionState).p1r = function () {
|
|
1435
1430
|
return this.equals(PlayerConnectionState_LEFT_getInstance());
|
|
1436
1431
|
};
|
|
1432
|
+
protoOf(PlayerConnectionState).q1r = function () {
|
|
1433
|
+
return this.equals(PlayerConnectionState_LEFT_PERMANENTLY_getInstance());
|
|
1434
|
+
};
|
|
1437
1435
|
protoOf(PlayerConnectionState).r1r = function () {
|
|
1438
1436
|
return this.equals(PlayerConnectionState_DELETED_getInstance());
|
|
1439
1437
|
};
|
|
@@ -1441,16 +1439,110 @@
|
|
|
1441
1439
|
return this.equals(PlayerConnectionState_DISCONNECTING_getInstance());
|
|
1442
1440
|
};
|
|
1443
1441
|
protoOf(PlayerConnectionState).t1r = function () {
|
|
1444
|
-
|
|
1442
|
+
var tmp;
|
|
1443
|
+
switch (this.h2_1) {
|
|
1444
|
+
case 2:
|
|
1445
|
+
case 1:
|
|
1446
|
+
case 3:
|
|
1447
|
+
case 4:
|
|
1448
|
+
case 6:
|
|
1449
|
+
tmp = true;
|
|
1450
|
+
break;
|
|
1451
|
+
case 5:
|
|
1452
|
+
case 0:
|
|
1453
|
+
tmp = false;
|
|
1454
|
+
break;
|
|
1455
|
+
default:
|
|
1456
|
+
noWhenBranchMatchedException();
|
|
1457
|
+
break;
|
|
1458
|
+
}
|
|
1459
|
+
return tmp;
|
|
1445
1460
|
};
|
|
1446
1461
|
protoOf(PlayerConnectionState).u1r = function () {
|
|
1447
|
-
|
|
1462
|
+
var tmp;
|
|
1463
|
+
switch (this.h2_1) {
|
|
1464
|
+
case 2:
|
|
1465
|
+
case 1:
|
|
1466
|
+
case 3:
|
|
1467
|
+
case 4:
|
|
1468
|
+
tmp = true;
|
|
1469
|
+
break;
|
|
1470
|
+
case 5:
|
|
1471
|
+
case 6:
|
|
1472
|
+
case 0:
|
|
1473
|
+
tmp = false;
|
|
1474
|
+
break;
|
|
1475
|
+
default:
|
|
1476
|
+
noWhenBranchMatchedException();
|
|
1477
|
+
break;
|
|
1478
|
+
}
|
|
1479
|
+
return tmp;
|
|
1448
1480
|
};
|
|
1449
1481
|
protoOf(PlayerConnectionState).v1r = function () {
|
|
1450
|
-
|
|
1482
|
+
var tmp;
|
|
1483
|
+
switch (this.h2_1) {
|
|
1484
|
+
case 2:
|
|
1485
|
+
tmp = false;
|
|
1486
|
+
break;
|
|
1487
|
+
case 1:
|
|
1488
|
+
case 3:
|
|
1489
|
+
case 4:
|
|
1490
|
+
case 6:
|
|
1491
|
+
tmp = true;
|
|
1492
|
+
break;
|
|
1493
|
+
case 5:
|
|
1494
|
+
case 0:
|
|
1495
|
+
tmp = false;
|
|
1496
|
+
break;
|
|
1497
|
+
default:
|
|
1498
|
+
noWhenBranchMatchedException();
|
|
1499
|
+
break;
|
|
1500
|
+
}
|
|
1501
|
+
return tmp;
|
|
1451
1502
|
};
|
|
1452
1503
|
protoOf(PlayerConnectionState).w1r = function () {
|
|
1453
|
-
|
|
1504
|
+
var tmp;
|
|
1505
|
+
switch (this.h2_1) {
|
|
1506
|
+
case 2:
|
|
1507
|
+
tmp = true;
|
|
1508
|
+
break;
|
|
1509
|
+
case 1:
|
|
1510
|
+
case 3:
|
|
1511
|
+
case 4:
|
|
1512
|
+
case 6:
|
|
1513
|
+
tmp = false;
|
|
1514
|
+
break;
|
|
1515
|
+
case 5:
|
|
1516
|
+
case 0:
|
|
1517
|
+
tmp = false;
|
|
1518
|
+
break;
|
|
1519
|
+
default:
|
|
1520
|
+
noWhenBranchMatchedException();
|
|
1521
|
+
break;
|
|
1522
|
+
}
|
|
1523
|
+
return tmp;
|
|
1524
|
+
};
|
|
1525
|
+
protoOf(PlayerConnectionState).x1r = function () {
|
|
1526
|
+
var tmp;
|
|
1527
|
+
switch (this.h2_1) {
|
|
1528
|
+
case 1:
|
|
1529
|
+
case 2:
|
|
1530
|
+
case 3:
|
|
1531
|
+
tmp = true;
|
|
1532
|
+
break;
|
|
1533
|
+
case 4:
|
|
1534
|
+
case 6:
|
|
1535
|
+
tmp = false;
|
|
1536
|
+
break;
|
|
1537
|
+
case 5:
|
|
1538
|
+
case 0:
|
|
1539
|
+
tmp = true;
|
|
1540
|
+
break;
|
|
1541
|
+
default:
|
|
1542
|
+
noWhenBranchMatchedException();
|
|
1543
|
+
break;
|
|
1544
|
+
}
|
|
1545
|
+
return tmp;
|
|
1454
1546
|
};
|
|
1455
1547
|
function PlayerConnectionState_LIVE_getInstance() {
|
|
1456
1548
|
PlayerConnectionState_initEntries();
|
|
@@ -1468,6 +1560,10 @@
|
|
|
1468
1560
|
PlayerConnectionState_initEntries();
|
|
1469
1561
|
return PlayerConnectionState_LEFT_instance;
|
|
1470
1562
|
}
|
|
1563
|
+
function PlayerConnectionState_LEFT_PERMANENTLY_getInstance() {
|
|
1564
|
+
PlayerConnectionState_initEntries();
|
|
1565
|
+
return PlayerConnectionState_LEFT_PERMANENTLY_instance;
|
|
1566
|
+
}
|
|
1471
1567
|
function PlayerConnectionState_DISCONNECTING_getInstance() {
|
|
1472
1568
|
PlayerConnectionState_initEntries();
|
|
1473
1569
|
return PlayerConnectionState_DISCONNECTING_instance;
|
|
@@ -1477,7 +1573,7 @@
|
|
|
1477
1573
|
return PlayerConnectionState_DELETED_instance;
|
|
1478
1574
|
}
|
|
1479
1575
|
function _get_$cachedSerializer__te6jhj_4($this) {
|
|
1480
|
-
return $this.
|
|
1576
|
+
return $this.y1r_1.v1();
|
|
1481
1577
|
}
|
|
1482
1578
|
function PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2() {
|
|
1483
1579
|
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerState.PlayerWaitingState', values_2());
|
|
@@ -1492,7 +1588,7 @@
|
|
|
1492
1588
|
Companion_instance_7 = this;
|
|
1493
1589
|
var tmp = this;
|
|
1494
1590
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1495
|
-
tmp.
|
|
1591
|
+
tmp.y1r_1 = lazy(tmp_0, PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2);
|
|
1496
1592
|
}
|
|
1497
1593
|
protoOf(Companion_7).z17 = function () {
|
|
1498
1594
|
return _get_$cachedSerializer__te6jhj_4(this);
|
|
@@ -1520,18 +1616,18 @@
|
|
|
1520
1616
|
function PlayerWaitingState(name, ordinal) {
|
|
1521
1617
|
Enum.call(this, name, ordinal);
|
|
1522
1618
|
}
|
|
1523
|
-
protoOf(PlayerWaitingState).
|
|
1524
|
-
return this.
|
|
1619
|
+
protoOf(PlayerWaitingState).x1q = function () {
|
|
1620
|
+
return this.b1s() || this.c1s();
|
|
1525
1621
|
};
|
|
1526
|
-
protoOf(PlayerWaitingState).
|
|
1622
|
+
protoOf(PlayerWaitingState).b1s = function () {
|
|
1527
1623
|
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance());
|
|
1528
1624
|
};
|
|
1529
|
-
protoOf(PlayerWaitingState).
|
|
1625
|
+
protoOf(PlayerWaitingState).c1s = function () {
|
|
1530
1626
|
return this.equals(PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_getInstance());
|
|
1531
1627
|
};
|
|
1532
1628
|
function Companion_8() {
|
|
1533
1629
|
}
|
|
1534
|
-
protoOf(Companion_8).
|
|
1630
|
+
protoOf(Companion_8).d1s = function (connection) {
|
|
1535
1631
|
var tmp0_state = PlayerWaitingState_IDLE_getInstance();
|
|
1536
1632
|
return new PlayerState(null, null, null, tmp0_state, false, null, connection);
|
|
1537
1633
|
};
|
|
@@ -1554,17 +1650,17 @@
|
|
|
1554
1650
|
function PlayerState(startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection) {
|
|
1555
1651
|
tag = tag === VOID ? null : tag;
|
|
1556
1652
|
connection = connection === VOID ? null : connection;
|
|
1557
|
-
this.
|
|
1558
|
-
this.
|
|
1559
|
-
this.
|
|
1560
|
-
this.
|
|
1561
|
-
this.
|
|
1562
|
-
this.
|
|
1563
|
-
this.
|
|
1564
|
-
}
|
|
1565
|
-
protoOf(PlayerState).
|
|
1653
|
+
this.q1q_1 = startFromTime;
|
|
1654
|
+
this.r1q_1 = playerTurnTimeout;
|
|
1655
|
+
this.s1q_1 = waitPlayerUntilTime;
|
|
1656
|
+
this.t1q_1 = state;
|
|
1657
|
+
this.u1q_1 = ready;
|
|
1658
|
+
this.v1q_1 = tag;
|
|
1659
|
+
this.w1q_1 = connection;
|
|
1660
|
+
}
|
|
1661
|
+
protoOf(PlayerState).e1s = function () {
|
|
1566
1662
|
// Inline function 'kotlin.requireNotNull' call
|
|
1567
|
-
var tmp0 = this.
|
|
1663
|
+
var tmp0 = this.w1q_1;
|
|
1568
1664
|
var tmp$ret$1;
|
|
1569
1665
|
$l$block: {
|
|
1570
1666
|
// Inline function 'kotlin.requireNotNull' call
|
|
@@ -1580,55 +1676,55 @@
|
|
|
1580
1676
|
};
|
|
1581
1677
|
protoOf(PlayerState).toString = function () {
|
|
1582
1678
|
// Inline function 'kotlin.takeIf' call
|
|
1583
|
-
var this_0 = 'startFromTime=' + toString(this.
|
|
1679
|
+
var this_0 = 'startFromTime=' + toString(this.q1q_1);
|
|
1584
1680
|
var tmp;
|
|
1585
|
-
if (!(this.
|
|
1681
|
+
if (!(this.q1q_1 == null)) {
|
|
1586
1682
|
tmp = this_0;
|
|
1587
1683
|
} else {
|
|
1588
1684
|
tmp = null;
|
|
1589
1685
|
}
|
|
1590
1686
|
var tmp_0 = tmp;
|
|
1591
1687
|
// Inline function 'kotlin.takeIf' call
|
|
1592
|
-
var this_1 = 'playerTurnTimeout=' + toString(this.
|
|
1688
|
+
var this_1 = 'playerTurnTimeout=' + toString(this.r1q_1);
|
|
1593
1689
|
var tmp_1;
|
|
1594
|
-
if (!(this.
|
|
1690
|
+
if (!(this.r1q_1 == null)) {
|
|
1595
1691
|
tmp_1 = this_1;
|
|
1596
1692
|
} else {
|
|
1597
1693
|
tmp_1 = null;
|
|
1598
1694
|
}
|
|
1599
1695
|
var tmp_2 = tmp_1;
|
|
1600
1696
|
// Inline function 'kotlin.takeIf' call
|
|
1601
|
-
var this_2 = 'waitPlayerUntilTime=' + toString(this.
|
|
1697
|
+
var this_2 = 'waitPlayerUntilTime=' + toString(this.s1q_1);
|
|
1602
1698
|
var tmp_3;
|
|
1603
|
-
if (!(this.
|
|
1699
|
+
if (!(this.s1q_1 == null)) {
|
|
1604
1700
|
tmp_3 = this_2;
|
|
1605
1701
|
} else {
|
|
1606
1702
|
tmp_3 = null;
|
|
1607
1703
|
}
|
|
1608
1704
|
var tmp_4 = tmp_3;
|
|
1609
|
-
var tmp_5 = 'state=' + this.
|
|
1705
|
+
var tmp_5 = 'state=' + this.t1q_1.toString();
|
|
1610
1706
|
// Inline function 'kotlin.takeIf' call
|
|
1611
|
-
var this_3 = 'ready=' + this.
|
|
1707
|
+
var this_3 = 'ready=' + this.u1q_1;
|
|
1612
1708
|
var tmp_6;
|
|
1613
|
-
if (this.
|
|
1709
|
+
if (this.u1q_1) {
|
|
1614
1710
|
tmp_6 = this_3;
|
|
1615
1711
|
} else {
|
|
1616
1712
|
tmp_6 = null;
|
|
1617
1713
|
}
|
|
1618
1714
|
var tmp_7 = tmp_6;
|
|
1619
1715
|
// Inline function 'kotlin.takeIf' call
|
|
1620
|
-
var this_4 = 'tag=' + this.
|
|
1716
|
+
var this_4 = 'tag=' + this.v1q_1;
|
|
1621
1717
|
var tmp_8;
|
|
1622
|
-
if (!(this.
|
|
1718
|
+
if (!(this.v1q_1 == null)) {
|
|
1623
1719
|
tmp_8 = this_4;
|
|
1624
1720
|
} else {
|
|
1625
1721
|
tmp_8 = null;
|
|
1626
1722
|
}
|
|
1627
1723
|
var tmp_9 = tmp_8;
|
|
1628
1724
|
// Inline function 'kotlin.takeIf' call
|
|
1629
|
-
var this_5 = 'connection=' + toString(this.
|
|
1725
|
+
var this_5 = 'connection=' + toString(this.w1q_1);
|
|
1630
1726
|
var tmp_10;
|
|
1631
|
-
if (!(this.
|
|
1727
|
+
if (!(this.w1q_1 == null)) {
|
|
1632
1728
|
tmp_10 = this_5;
|
|
1633
1729
|
} else {
|
|
1634
1730
|
tmp_10 = null;
|
|
@@ -1636,17 +1732,17 @@
|
|
|
1636
1732
|
var tmp$ret$11 = tmp_10;
|
|
1637
1733
|
return 'PlayerState(' + joinToString(listOfNotNull([tmp_0, tmp_2, tmp_4, tmp_5, tmp_7, tmp_9, tmp$ret$11])) + ')';
|
|
1638
1734
|
};
|
|
1639
|
-
protoOf(PlayerState).
|
|
1640
|
-
return this.
|
|
1735
|
+
protoOf(PlayerState).x1q = function () {
|
|
1736
|
+
return this.t1q_1.x1q();
|
|
1641
1737
|
};
|
|
1642
1738
|
protoOf(PlayerState).hashCode = function () {
|
|
1643
|
-
var result = this.
|
|
1739
|
+
var result = this.q1q_1 == null ? 0 : this.q1q_1.hashCode();
|
|
1740
|
+
result = imul(result, 31) + (this.r1q_1 == null ? 0 : this.r1q_1.hashCode()) | 0;
|
|
1644
1741
|
result = imul(result, 31) + (this.s1q_1 == null ? 0 : this.s1q_1.hashCode()) | 0;
|
|
1645
|
-
result = imul(result, 31) +
|
|
1646
|
-
result = imul(result, 31) + this.u1q_1
|
|
1647
|
-
result = imul(result, 31) +
|
|
1648
|
-
result = imul(result, 31) + (this.w1q_1 == null ? 0 :
|
|
1649
|
-
result = imul(result, 31) + (this.x1q_1 == null ? 0 : this.x1q_1.hashCode()) | 0;
|
|
1742
|
+
result = imul(result, 31) + this.t1q_1.hashCode() | 0;
|
|
1743
|
+
result = imul(result, 31) + getBooleanHashCode(this.u1q_1) | 0;
|
|
1744
|
+
result = imul(result, 31) + (this.v1q_1 == null ? 0 : getStringHashCode(this.v1q_1)) | 0;
|
|
1745
|
+
result = imul(result, 31) + (this.w1q_1 == null ? 0 : this.w1q_1.hashCode()) | 0;
|
|
1650
1746
|
return result;
|
|
1651
1747
|
};
|
|
1652
1748
|
protoOf(PlayerState).equals = function (other) {
|
|
@@ -1654,48 +1750,48 @@
|
|
|
1654
1750
|
return true;
|
|
1655
1751
|
if (!(other instanceof PlayerState))
|
|
1656
1752
|
return false;
|
|
1753
|
+
if (!equals(this.q1q_1, other.q1q_1))
|
|
1754
|
+
return false;
|
|
1657
1755
|
if (!equals(this.r1q_1, other.r1q_1))
|
|
1658
1756
|
return false;
|
|
1659
1757
|
if (!equals(this.s1q_1, other.s1q_1))
|
|
1660
1758
|
return false;
|
|
1661
|
-
if (!
|
|
1759
|
+
if (!this.t1q_1.equals(other.t1q_1))
|
|
1662
1760
|
return false;
|
|
1663
|
-
if (!this.u1q_1
|
|
1761
|
+
if (!(this.u1q_1 === other.u1q_1))
|
|
1664
1762
|
return false;
|
|
1665
|
-
if (!(this.v1q_1
|
|
1763
|
+
if (!(this.v1q_1 == other.v1q_1))
|
|
1666
1764
|
return false;
|
|
1667
|
-
if (!(this.w1q_1
|
|
1668
|
-
return false;
|
|
1669
|
-
if (!equals(this.x1q_1, other.x1q_1))
|
|
1765
|
+
if (!equals(this.w1q_1, other.w1q_1))
|
|
1670
1766
|
return false;
|
|
1671
1767
|
return true;
|
|
1672
1768
|
};
|
|
1673
1769
|
function Team(playerIds) {
|
|
1674
|
-
this.
|
|
1770
|
+
this.f1s_1 = playerIds;
|
|
1675
1771
|
}
|
|
1676
|
-
protoOf(Team).
|
|
1677
|
-
return this.
|
|
1772
|
+
protoOf(Team).g1s = function () {
|
|
1773
|
+
return this.f1s_1.p(0);
|
|
1678
1774
|
};
|
|
1679
1775
|
protoOf(Team).c1d = function () {
|
|
1680
|
-
return this.
|
|
1776
|
+
return this.f1s_1.p(1);
|
|
1681
1777
|
};
|
|
1682
1778
|
protoOf(Team).toString = function () {
|
|
1683
|
-
return 'Team(playerIds=' + toString_0(this.
|
|
1779
|
+
return 'Team(playerIds=' + toString_0(this.f1s_1) + ')';
|
|
1684
1780
|
};
|
|
1685
1781
|
protoOf(Team).hashCode = function () {
|
|
1686
|
-
return hashCode(this.
|
|
1782
|
+
return hashCode(this.f1s_1);
|
|
1687
1783
|
};
|
|
1688
1784
|
protoOf(Team).equals = function (other) {
|
|
1689
1785
|
if (this === other)
|
|
1690
1786
|
return true;
|
|
1691
1787
|
if (!(other instanceof Team))
|
|
1692
1788
|
return false;
|
|
1693
|
-
if (!equals(this.
|
|
1789
|
+
if (!equals(this.f1s_1, other.f1s_1))
|
|
1694
1790
|
return false;
|
|
1695
1791
|
return true;
|
|
1696
1792
|
};
|
|
1697
1793
|
function _get_$cachedSerializer__te6jhj_5($this) {
|
|
1698
|
-
return $this.
|
|
1794
|
+
return $this.h1s_1.v1();
|
|
1699
1795
|
}
|
|
1700
1796
|
function TerminationGameReasonDto$Companion$_anonymous__30ivuy() {
|
|
1701
1797
|
var tmp = getKClass(TerminationGameReasonDto);
|
|
@@ -1733,7 +1829,7 @@
|
|
|
1733
1829
|
Companion_instance_9 = this;
|
|
1734
1830
|
var tmp = this;
|
|
1735
1831
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1736
|
-
tmp.
|
|
1832
|
+
tmp.h1s_1 = lazy(tmp_0, TerminationGameReasonDto$Companion$_anonymous__30ivuy);
|
|
1737
1833
|
}
|
|
1738
1834
|
protoOf(Companion_9).z17 = function () {
|
|
1739
1835
|
return _get_$cachedSerializer__te6jhj_5(this);
|
|
@@ -1754,7 +1850,7 @@
|
|
|
1754
1850
|
Companion_getInstance_12();
|
|
1755
1851
|
}
|
|
1756
1852
|
function _get_$cachedSerializer__te6jhj_6($this) {
|
|
1757
|
-
return $this.
|
|
1853
|
+
return $this.i1s_1.v1();
|
|
1758
1854
|
}
|
|
1759
1855
|
function ProcessingReasonDto$_anonymous__78na4x() {
|
|
1760
1856
|
var tmp = ProcessingReasonDto_getInstance();
|
|
@@ -1769,7 +1865,7 @@
|
|
|
1769
1865
|
TerminationGameReasonDto.call(this);
|
|
1770
1866
|
var tmp = this;
|
|
1771
1867
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1772
|
-
tmp.
|
|
1868
|
+
tmp.i1s_1 = lazy(tmp_0, ProcessingReasonDto$_anonymous__78na4x);
|
|
1773
1869
|
}
|
|
1774
1870
|
protoOf(ProcessingReasonDto).z17 = function () {
|
|
1775
1871
|
return _get_$cachedSerializer__te6jhj_6(this);
|
|
@@ -1806,19 +1902,19 @@
|
|
|
1806
1902
|
$serializer_instance_1 = this;
|
|
1807
1903
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_ERROR_TYPE', this, 1);
|
|
1808
1904
|
tmp0_serialDesc.av('reason', false);
|
|
1809
|
-
this.
|
|
1905
|
+
this.j1s_1 = tmp0_serialDesc;
|
|
1810
1906
|
}
|
|
1811
|
-
protoOf($serializer_1).
|
|
1812
|
-
var tmp0_desc = this.
|
|
1907
|
+
protoOf($serializer_1).k1s = function (encoder, value) {
|
|
1908
|
+
var tmp0_desc = this.j1s_1;
|
|
1813
1909
|
var tmp1_output = encoder.kn(tmp0_desc);
|
|
1814
1910
|
tmp1_output.zo(tmp0_desc, 0, value.reason);
|
|
1815
1911
|
tmp1_output.ln(tmp0_desc);
|
|
1816
1912
|
};
|
|
1817
1913
|
protoOf($serializer_1).ck = function (encoder, value) {
|
|
1818
|
-
return this.
|
|
1914
|
+
return this.k1s(encoder, value instanceof GameErrorReasonDto ? value : THROW_CCE());
|
|
1819
1915
|
};
|
|
1820
1916
|
protoOf($serializer_1).dk = function (decoder) {
|
|
1821
|
-
var tmp0_desc = this.
|
|
1917
|
+
var tmp0_desc = this.j1s_1;
|
|
1822
1918
|
var tmp1_flag = true;
|
|
1823
1919
|
var tmp2_index = 0;
|
|
1824
1920
|
var tmp3_bitMask0 = 0;
|
|
@@ -1846,7 +1942,7 @@
|
|
|
1846
1942
|
return GameErrorReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
1847
1943
|
};
|
|
1848
1944
|
protoOf($serializer_1).bk = function () {
|
|
1849
|
-
return this.
|
|
1945
|
+
return this.j1s_1;
|
|
1850
1946
|
};
|
|
1851
1947
|
protoOf($serializer_1).rv = function () {
|
|
1852
1948
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -1862,7 +1958,7 @@
|
|
|
1862
1958
|
}
|
|
1863
1959
|
function GameErrorReasonDto_init_$Init$(seen0, reason, serializationConstructorMarker, $this) {
|
|
1864
1960
|
if (!(1 === (1 & seen0))) {
|
|
1865
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_1().
|
|
1961
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_1().j1s_1);
|
|
1866
1962
|
}
|
|
1867
1963
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
1868
1964
|
$this.reason = reason;
|
|
@@ -1875,7 +1971,7 @@
|
|
|
1875
1971
|
TerminationGameReasonDto.call(this);
|
|
1876
1972
|
this.reason = reason;
|
|
1877
1973
|
}
|
|
1878
|
-
protoOf(GameErrorReasonDto).
|
|
1974
|
+
protoOf(GameErrorReasonDto).x1p = function () {
|
|
1879
1975
|
return this.reason;
|
|
1880
1976
|
};
|
|
1881
1977
|
protoOf(GameErrorReasonDto).toString = function () {
|
|
@@ -1903,19 +1999,19 @@
|
|
|
1903
1999
|
$serializer_instance_2 = this;
|
|
1904
2000
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_FINISHED_TYPE', this, 1);
|
|
1905
2001
|
tmp0_serialDesc.av('reason', false);
|
|
1906
|
-
this.
|
|
2002
|
+
this.l1s_1 = tmp0_serialDesc;
|
|
1907
2003
|
}
|
|
1908
|
-
protoOf($serializer_2).
|
|
1909
|
-
var tmp0_desc = this.
|
|
2004
|
+
protoOf($serializer_2).m1s = function (encoder, value) {
|
|
2005
|
+
var tmp0_desc = this.l1s_1;
|
|
1910
2006
|
var tmp1_output = encoder.kn(tmp0_desc);
|
|
1911
|
-
tmp1_output.zo(tmp0_desc, 0, value.
|
|
2007
|
+
tmp1_output.zo(tmp0_desc, 0, value.n1s_1);
|
|
1912
2008
|
tmp1_output.ln(tmp0_desc);
|
|
1913
2009
|
};
|
|
1914
2010
|
protoOf($serializer_2).ck = function (encoder, value) {
|
|
1915
|
-
return this.
|
|
2011
|
+
return this.m1s(encoder, value instanceof GameFinishedReasonDto ? value : THROW_CCE());
|
|
1916
2012
|
};
|
|
1917
2013
|
protoOf($serializer_2).dk = function (decoder) {
|
|
1918
|
-
var tmp0_desc = this.
|
|
2014
|
+
var tmp0_desc = this.l1s_1;
|
|
1919
2015
|
var tmp1_flag = true;
|
|
1920
2016
|
var tmp2_index = 0;
|
|
1921
2017
|
var tmp3_bitMask0 = 0;
|
|
@@ -1943,7 +2039,7 @@
|
|
|
1943
2039
|
return GameFinishedReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
1944
2040
|
};
|
|
1945
2041
|
protoOf($serializer_2).bk = function () {
|
|
1946
|
-
return this.
|
|
2042
|
+
return this.l1s_1;
|
|
1947
2043
|
};
|
|
1948
2044
|
protoOf($serializer_2).rv = function () {
|
|
1949
2045
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -1959,10 +2055,10 @@
|
|
|
1959
2055
|
}
|
|
1960
2056
|
function GameFinishedReasonDto_init_$Init$(seen0, reason, serializationConstructorMarker, $this) {
|
|
1961
2057
|
if (!(1 === (1 & seen0))) {
|
|
1962
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_2().
|
|
2058
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_2().l1s_1);
|
|
1963
2059
|
}
|
|
1964
2060
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
1965
|
-
$this.
|
|
2061
|
+
$this.n1s_1 = reason;
|
|
1966
2062
|
return $this;
|
|
1967
2063
|
}
|
|
1968
2064
|
function GameFinishedReasonDto_init_$Create$(seen0, reason, serializationConstructorMarker) {
|
|
@@ -1970,20 +2066,20 @@
|
|
|
1970
2066
|
}
|
|
1971
2067
|
function GameFinishedReasonDto(reason) {
|
|
1972
2068
|
TerminationGameReasonDto.call(this);
|
|
1973
|
-
this.
|
|
2069
|
+
this.n1s_1 = reason;
|
|
1974
2070
|
}
|
|
1975
2071
|
protoOf(GameFinishedReasonDto).toString = function () {
|
|
1976
|
-
return 'GameFinishedReasonDto(reason=' + this.
|
|
2072
|
+
return 'GameFinishedReasonDto(reason=' + this.n1s_1 + ')';
|
|
1977
2073
|
};
|
|
1978
2074
|
protoOf(GameFinishedReasonDto).hashCode = function () {
|
|
1979
|
-
return getStringHashCode(this.
|
|
2075
|
+
return getStringHashCode(this.n1s_1);
|
|
1980
2076
|
};
|
|
1981
2077
|
protoOf(GameFinishedReasonDto).equals = function (other) {
|
|
1982
2078
|
if (this === other)
|
|
1983
2079
|
return true;
|
|
1984
2080
|
if (!(other instanceof GameFinishedReasonDto))
|
|
1985
2081
|
return false;
|
|
1986
|
-
if (!(this.
|
|
2082
|
+
if (!(this.n1s_1 === other.n1s_1))
|
|
1987
2083
|
return false;
|
|
1988
2084
|
return true;
|
|
1989
2085
|
};
|
|
@@ -1997,19 +2093,19 @@
|
|
|
1997
2093
|
$serializer_instance_3 = this;
|
|
1998
2094
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_EXIT', this, 1);
|
|
1999
2095
|
tmp0_serialDesc.av('playerId', false);
|
|
2000
|
-
this.
|
|
2096
|
+
this.o1s_1 = tmp0_serialDesc;
|
|
2001
2097
|
}
|
|
2002
|
-
protoOf($serializer_3).
|
|
2003
|
-
var tmp0_desc = this.
|
|
2098
|
+
protoOf($serializer_3).p1s = function (encoder, value) {
|
|
2099
|
+
var tmp0_desc = this.o1s_1;
|
|
2004
2100
|
var tmp1_output = encoder.kn(tmp0_desc);
|
|
2005
|
-
tmp1_output.zo(tmp0_desc, 0, value.
|
|
2101
|
+
tmp1_output.zo(tmp0_desc, 0, value.q1s_1);
|
|
2006
2102
|
tmp1_output.ln(tmp0_desc);
|
|
2007
2103
|
};
|
|
2008
2104
|
protoOf($serializer_3).ck = function (encoder, value) {
|
|
2009
|
-
return this.
|
|
2105
|
+
return this.p1s(encoder, value instanceof PlayerExitReasonDto ? value : THROW_CCE());
|
|
2010
2106
|
};
|
|
2011
2107
|
protoOf($serializer_3).dk = function (decoder) {
|
|
2012
|
-
var tmp0_desc = this.
|
|
2108
|
+
var tmp0_desc = this.o1s_1;
|
|
2013
2109
|
var tmp1_flag = true;
|
|
2014
2110
|
var tmp2_index = 0;
|
|
2015
2111
|
var tmp3_bitMask0 = 0;
|
|
@@ -2037,7 +2133,7 @@
|
|
|
2037
2133
|
return PlayerExitReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
2038
2134
|
};
|
|
2039
2135
|
protoOf($serializer_3).bk = function () {
|
|
2040
|
-
return this.
|
|
2136
|
+
return this.o1s_1;
|
|
2041
2137
|
};
|
|
2042
2138
|
protoOf($serializer_3).rv = function () {
|
|
2043
2139
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2053,10 +2149,10 @@
|
|
|
2053
2149
|
}
|
|
2054
2150
|
function PlayerExitReasonDto_init_$Init$(seen0, playerId, serializationConstructorMarker, $this) {
|
|
2055
2151
|
if (!(1 === (1 & seen0))) {
|
|
2056
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_3().
|
|
2152
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_3().o1s_1);
|
|
2057
2153
|
}
|
|
2058
2154
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2059
|
-
$this.
|
|
2155
|
+
$this.q1s_1 = playerId;
|
|
2060
2156
|
return $this;
|
|
2061
2157
|
}
|
|
2062
2158
|
function PlayerExitReasonDto_init_$Create$(seen0, playerId, serializationConstructorMarker) {
|
|
@@ -2064,20 +2160,20 @@
|
|
|
2064
2160
|
}
|
|
2065
2161
|
function PlayerExitReasonDto(playerId) {
|
|
2066
2162
|
TerminationGameReasonDto.call(this);
|
|
2067
|
-
this.
|
|
2163
|
+
this.q1s_1 = playerId;
|
|
2068
2164
|
}
|
|
2069
2165
|
protoOf(PlayerExitReasonDto).toString = function () {
|
|
2070
|
-
return 'PlayerExitReasonDto(playerId=' + this.
|
|
2166
|
+
return 'PlayerExitReasonDto(playerId=' + this.q1s_1 + ')';
|
|
2071
2167
|
};
|
|
2072
2168
|
protoOf(PlayerExitReasonDto).hashCode = function () {
|
|
2073
|
-
return getStringHashCode(this.
|
|
2169
|
+
return getStringHashCode(this.q1s_1);
|
|
2074
2170
|
};
|
|
2075
2171
|
protoOf(PlayerExitReasonDto).equals = function (other) {
|
|
2076
2172
|
if (this === other)
|
|
2077
2173
|
return true;
|
|
2078
2174
|
if (!(other instanceof PlayerExitReasonDto))
|
|
2079
2175
|
return false;
|
|
2080
|
-
if (!(this.
|
|
2176
|
+
if (!(this.q1s_1 === other.q1s_1))
|
|
2081
2177
|
return false;
|
|
2082
2178
|
return true;
|
|
2083
2179
|
};
|
|
@@ -2092,20 +2188,20 @@
|
|
|
2092
2188
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_LOST_CONNECTION', this, 2);
|
|
2093
2189
|
tmp0_serialDesc.av('playerId', false);
|
|
2094
2190
|
tmp0_serialDesc.av('tag', false);
|
|
2095
|
-
this.
|
|
2191
|
+
this.r1s_1 = tmp0_serialDesc;
|
|
2096
2192
|
}
|
|
2097
|
-
protoOf($serializer_4).
|
|
2098
|
-
var tmp0_desc = this.
|
|
2193
|
+
protoOf($serializer_4).s1s = function (encoder, value) {
|
|
2194
|
+
var tmp0_desc = this.r1s_1;
|
|
2099
2195
|
var tmp1_output = encoder.kn(tmp0_desc);
|
|
2100
|
-
tmp1_output.zo(tmp0_desc, 0, value.
|
|
2101
|
-
tmp1_output.dp(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
2196
|
+
tmp1_output.zo(tmp0_desc, 0, value.t1s_1);
|
|
2197
|
+
tmp1_output.dp(tmp0_desc, 1, StringSerializer_getInstance(), value.u1s_1);
|
|
2102
2198
|
tmp1_output.ln(tmp0_desc);
|
|
2103
2199
|
};
|
|
2104
2200
|
protoOf($serializer_4).ck = function (encoder, value) {
|
|
2105
|
-
return this.
|
|
2201
|
+
return this.s1s(encoder, value instanceof PlayerLostConnectionReasonDto ? value : THROW_CCE());
|
|
2106
2202
|
};
|
|
2107
2203
|
protoOf($serializer_4).dk = function (decoder) {
|
|
2108
|
-
var tmp0_desc = this.
|
|
2204
|
+
var tmp0_desc = this.r1s_1;
|
|
2109
2205
|
var tmp1_flag = true;
|
|
2110
2206
|
var tmp2_index = 0;
|
|
2111
2207
|
var tmp3_bitMask0 = 0;
|
|
@@ -2140,7 +2236,7 @@
|
|
|
2140
2236
|
return PlayerLostConnectionReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
2141
2237
|
};
|
|
2142
2238
|
protoOf($serializer_4).bk = function () {
|
|
2143
|
-
return this.
|
|
2239
|
+
return this.r1s_1;
|
|
2144
2240
|
};
|
|
2145
2241
|
protoOf($serializer_4).rv = function () {
|
|
2146
2242
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2156,11 +2252,11 @@
|
|
|
2156
2252
|
}
|
|
2157
2253
|
function PlayerLostConnectionReasonDto_init_$Init$(seen0, playerId, tag, serializationConstructorMarker, $this) {
|
|
2158
2254
|
if (!(3 === (3 & seen0))) {
|
|
2159
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_4().
|
|
2255
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_4().r1s_1);
|
|
2160
2256
|
}
|
|
2161
2257
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2162
|
-
$this.
|
|
2163
|
-
$this.
|
|
2258
|
+
$this.t1s_1 = playerId;
|
|
2259
|
+
$this.u1s_1 = tag;
|
|
2164
2260
|
return $this;
|
|
2165
2261
|
}
|
|
2166
2262
|
function PlayerLostConnectionReasonDto_init_$Create$(seen0, playerId, tag, serializationConstructorMarker) {
|
|
@@ -2168,15 +2264,15 @@
|
|
|
2168
2264
|
}
|
|
2169
2265
|
function PlayerLostConnectionReasonDto(playerId, tag) {
|
|
2170
2266
|
TerminationGameReasonDto.call(this);
|
|
2171
|
-
this.
|
|
2172
|
-
this.
|
|
2267
|
+
this.t1s_1 = playerId;
|
|
2268
|
+
this.u1s_1 = tag;
|
|
2173
2269
|
}
|
|
2174
2270
|
protoOf(PlayerLostConnectionReasonDto).toString = function () {
|
|
2175
|
-
return 'PlayerLostConnectionReasonDto(playerId=' + this.
|
|
2271
|
+
return 'PlayerLostConnectionReasonDto(playerId=' + this.t1s_1 + ', tag=' + this.u1s_1 + ')';
|
|
2176
2272
|
};
|
|
2177
2273
|
protoOf(PlayerLostConnectionReasonDto).hashCode = function () {
|
|
2178
|
-
var result = getStringHashCode(this.
|
|
2179
|
-
result = imul(result, 31) + (this.
|
|
2274
|
+
var result = getStringHashCode(this.t1s_1);
|
|
2275
|
+
result = imul(result, 31) + (this.u1s_1 == null ? 0 : getStringHashCode(this.u1s_1)) | 0;
|
|
2180
2276
|
return result;
|
|
2181
2277
|
};
|
|
2182
2278
|
protoOf(PlayerLostConnectionReasonDto).equals = function (other) {
|
|
@@ -2184,9 +2280,9 @@
|
|
|
2184
2280
|
return true;
|
|
2185
2281
|
if (!(other instanceof PlayerLostConnectionReasonDto))
|
|
2186
2282
|
return false;
|
|
2187
|
-
if (!(this.
|
|
2283
|
+
if (!(this.t1s_1 === other.t1s_1))
|
|
2188
2284
|
return false;
|
|
2189
|
-
if (!(this.
|
|
2285
|
+
if (!(this.u1s_1 == other.u1s_1))
|
|
2190
2286
|
return false;
|
|
2191
2287
|
return true;
|
|
2192
2288
|
};
|
|
@@ -2201,20 +2297,20 @@
|
|
|
2201
2297
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_TIMEOUT', this, 2);
|
|
2202
2298
|
tmp0_serialDesc.av('playerId', false);
|
|
2203
2299
|
tmp0_serialDesc.av('tag', false);
|
|
2204
|
-
this.
|
|
2300
|
+
this.v1s_1 = tmp0_serialDesc;
|
|
2205
2301
|
}
|
|
2206
|
-
protoOf($serializer_5).
|
|
2207
|
-
var tmp0_desc = this.
|
|
2302
|
+
protoOf($serializer_5).w1s = function (encoder, value) {
|
|
2303
|
+
var tmp0_desc = this.v1s_1;
|
|
2208
2304
|
var tmp1_output = encoder.kn(tmp0_desc);
|
|
2209
|
-
tmp1_output.zo(tmp0_desc, 0, value.
|
|
2210
|
-
tmp1_output.dp(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
2305
|
+
tmp1_output.zo(tmp0_desc, 0, value.x1s_1);
|
|
2306
|
+
tmp1_output.dp(tmp0_desc, 1, StringSerializer_getInstance(), value.y1s_1);
|
|
2211
2307
|
tmp1_output.ln(tmp0_desc);
|
|
2212
2308
|
};
|
|
2213
2309
|
protoOf($serializer_5).ck = function (encoder, value) {
|
|
2214
|
-
return this.
|
|
2310
|
+
return this.w1s(encoder, value instanceof PlayerTimeoutReasonDto ? value : THROW_CCE());
|
|
2215
2311
|
};
|
|
2216
2312
|
protoOf($serializer_5).dk = function (decoder) {
|
|
2217
|
-
var tmp0_desc = this.
|
|
2313
|
+
var tmp0_desc = this.v1s_1;
|
|
2218
2314
|
var tmp1_flag = true;
|
|
2219
2315
|
var tmp2_index = 0;
|
|
2220
2316
|
var tmp3_bitMask0 = 0;
|
|
@@ -2249,7 +2345,7 @@
|
|
|
2249
2345
|
return PlayerTimeoutReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
2250
2346
|
};
|
|
2251
2347
|
protoOf($serializer_5).bk = function () {
|
|
2252
|
-
return this.
|
|
2348
|
+
return this.v1s_1;
|
|
2253
2349
|
};
|
|
2254
2350
|
protoOf($serializer_5).rv = function () {
|
|
2255
2351
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2265,11 +2361,11 @@
|
|
|
2265
2361
|
}
|
|
2266
2362
|
function PlayerTimeoutReasonDto_init_$Init$(seen0, playerId, tag, serializationConstructorMarker, $this) {
|
|
2267
2363
|
if (!(3 === (3 & seen0))) {
|
|
2268
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_5().
|
|
2364
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_5().v1s_1);
|
|
2269
2365
|
}
|
|
2270
2366
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2271
|
-
$this.
|
|
2272
|
-
$this.
|
|
2367
|
+
$this.x1s_1 = playerId;
|
|
2368
|
+
$this.y1s_1 = tag;
|
|
2273
2369
|
return $this;
|
|
2274
2370
|
}
|
|
2275
2371
|
function PlayerTimeoutReasonDto_init_$Create$(seen0, playerId, tag, serializationConstructorMarker) {
|
|
@@ -2277,15 +2373,15 @@
|
|
|
2277
2373
|
}
|
|
2278
2374
|
function PlayerTimeoutReasonDto(playerId, tag) {
|
|
2279
2375
|
TerminationGameReasonDto.call(this);
|
|
2280
|
-
this.
|
|
2281
|
-
this.
|
|
2376
|
+
this.x1s_1 = playerId;
|
|
2377
|
+
this.y1s_1 = tag;
|
|
2282
2378
|
}
|
|
2283
2379
|
protoOf(PlayerTimeoutReasonDto).toString = function () {
|
|
2284
|
-
return 'PlayerTimeoutReasonDto(playerId=' + this.
|
|
2380
|
+
return 'PlayerTimeoutReasonDto(playerId=' + this.x1s_1 + ', tag=' + this.y1s_1 + ')';
|
|
2285
2381
|
};
|
|
2286
2382
|
protoOf(PlayerTimeoutReasonDto).hashCode = function () {
|
|
2287
|
-
var result = getStringHashCode(this.
|
|
2288
|
-
result = imul(result, 31) + (this.
|
|
2383
|
+
var result = getStringHashCode(this.x1s_1);
|
|
2384
|
+
result = imul(result, 31) + (this.y1s_1 == null ? 0 : getStringHashCode(this.y1s_1)) | 0;
|
|
2289
2385
|
return result;
|
|
2290
2386
|
};
|
|
2291
2387
|
protoOf(PlayerTimeoutReasonDto).equals = function (other) {
|
|
@@ -2293,14 +2389,14 @@
|
|
|
2293
2389
|
return true;
|
|
2294
2390
|
if (!(other instanceof PlayerTimeoutReasonDto))
|
|
2295
2391
|
return false;
|
|
2296
|
-
if (!(this.
|
|
2392
|
+
if (!(this.x1s_1 === other.x1s_1))
|
|
2297
2393
|
return false;
|
|
2298
|
-
if (!(this.
|
|
2394
|
+
if (!(this.y1s_1 == other.y1s_1))
|
|
2299
2395
|
return false;
|
|
2300
2396
|
return true;
|
|
2301
2397
|
};
|
|
2302
2398
|
function _get_$cachedSerializer__te6jhj_7($this) {
|
|
2303
|
-
return $this.
|
|
2399
|
+
return $this.z1s_1.v1();
|
|
2304
2400
|
}
|
|
2305
2401
|
function WaitingForConnectionReasonDto$_anonymous__hgbgp6() {
|
|
2306
2402
|
var tmp = WaitingForConnectionReasonDto_getInstance();
|
|
@@ -2315,7 +2411,7 @@
|
|
|
2315
2411
|
TerminationGameReasonDto.call(this);
|
|
2316
2412
|
var tmp = this;
|
|
2317
2413
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2318
|
-
tmp.
|
|
2414
|
+
tmp.z1s_1 = lazy(tmp_0, WaitingForConnectionReasonDto$_anonymous__hgbgp6);
|
|
2319
2415
|
}
|
|
2320
2416
|
protoOf(WaitingForConnectionReasonDto).z17 = function () {
|
|
2321
2417
|
return _get_$cachedSerializer__te6jhj_7(this);
|
|
@@ -2436,7 +2532,7 @@
|
|
|
2436
2532
|
}
|
|
2437
2533
|
function mapToDto_3(_this__u8e3s4) {
|
|
2438
2534
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2439
|
-
return new PlayerExitReasonDto(_this__u8e3s4.
|
|
2535
|
+
return new PlayerExitReasonDto(_this__u8e3s4.s1p_1);
|
|
2440
2536
|
}
|
|
2441
2537
|
function mapToDto_4(_this__u8e3s4) {
|
|
2442
2538
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
@@ -2444,7 +2540,7 @@
|
|
|
2444
2540
|
}
|
|
2445
2541
|
function mapToDto_5(_this__u8e3s4) {
|
|
2446
2542
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2447
|
-
return new PlayerTimeoutReasonDto(_this__u8e3s4.
|
|
2543
|
+
return new PlayerTimeoutReasonDto(_this__u8e3s4.r1p_1, _this__u8e3s4.tag);
|
|
2448
2544
|
}
|
|
2449
2545
|
function mapToDto_6(_this__u8e3s4) {
|
|
2450
2546
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
@@ -2461,20 +2557,20 @@
|
|
|
2461
2557
|
}
|
|
2462
2558
|
function mapFromDto_2(_this__u8e3s4) {
|
|
2463
2559
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2464
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(_this__u8e3s4.
|
|
2560
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(_this__u8e3s4.n1s_1, get_gameFinishedReasonMapping());
|
|
2465
2561
|
return new GameFinishedReason(tmp0_elvis_lhs == null ? Reason_GAME_NOT_EXISTS_getInstance() : tmp0_elvis_lhs);
|
|
2466
2562
|
}
|
|
2467
2563
|
function mapFromDto_3(_this__u8e3s4) {
|
|
2468
2564
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2469
|
-
return new PlayerExitReason(_this__u8e3s4.
|
|
2565
|
+
return new PlayerExitReason(_this__u8e3s4.q1s_1);
|
|
2470
2566
|
}
|
|
2471
2567
|
function mapFromDto_4(_this__u8e3s4) {
|
|
2472
2568
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2473
|
-
return new PlayerLostConnectionReason(_this__u8e3s4.
|
|
2569
|
+
return new PlayerLostConnectionReason(_this__u8e3s4.t1s_1, _this__u8e3s4.u1s_1);
|
|
2474
2570
|
}
|
|
2475
2571
|
function mapFromDto_5(_this__u8e3s4) {
|
|
2476
2572
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2477
|
-
return new PlayerTimeoutReason(_this__u8e3s4.
|
|
2573
|
+
return new PlayerTimeoutReason(_this__u8e3s4.x1s_1, _this__u8e3s4.y1s_1);
|
|
2478
2574
|
}
|
|
2479
2575
|
function mapFromDto_6(_this__u8e3s4) {
|
|
2480
2576
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
@@ -2515,8 +2611,8 @@
|
|
|
2515
2611
|
}
|
|
2516
2612
|
}
|
|
2517
2613
|
function mapToDto_8(_this__u8e3s4) {
|
|
2518
|
-
var tmp0_playerId = _this__u8e3s4.
|
|
2519
|
-
var tmp1_uid = _this__u8e3s4.
|
|
2614
|
+
var tmp0_playerId = _this__u8e3s4.d1q_1;
|
|
2615
|
+
var tmp1_uid = _this__u8e3s4.d1q_1;
|
|
2520
2616
|
var tmp2_nickname = _this__u8e3s4.name;
|
|
2521
2617
|
var tmp3_name = _this__u8e3s4.name;
|
|
2522
2618
|
var tmp4_photo = _this__u8e3s4.avatarUrl;
|
|
@@ -2535,31 +2631,31 @@
|
|
|
2535
2631
|
return new GameUserInfoDto(tmp0_playerId, tmp1_uid, tmp3_name, tmp2_nickname, tmp5_avatarUrl, tmp4_photo, tmp8_rating, tmp6_isBot, tmp7_initialLuckyFactor);
|
|
2536
2632
|
}
|
|
2537
2633
|
function mapFromDto_8(_this__u8e3s4) {
|
|
2538
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
2539
|
-
var tmp = tmp0_elvis_lhs == null ? ensureNotNull(_this__u8e3s4.
|
|
2540
|
-
var tmp1_elvis_lhs = _this__u8e3s4.
|
|
2541
|
-
var tmp_0 = tmp1_elvis_lhs == null ? ensureNotNull(_this__u8e3s4.
|
|
2542
|
-
var tmp2_elvis_lhs = _this__u8e3s4.
|
|
2543
|
-
var tmp_1 = tmp2_elvis_lhs == null ? _this__u8e3s4.
|
|
2544
|
-
var tmp3_elvis_lhs = _this__u8e3s4.
|
|
2545
|
-
return new GameUserInfo(tmp, tmp_0, tmp_1, tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs, _this__u8e3s4.
|
|
2634
|
+
var tmp0_elvis_lhs = _this__u8e3s4.a1t_1;
|
|
2635
|
+
var tmp = tmp0_elvis_lhs == null ? ensureNotNull(_this__u8e3s4.b1t_1) : tmp0_elvis_lhs;
|
|
2636
|
+
var tmp1_elvis_lhs = _this__u8e3s4.c1t_1;
|
|
2637
|
+
var tmp_0 = tmp1_elvis_lhs == null ? ensureNotNull(_this__u8e3s4.d1t_1) : tmp1_elvis_lhs;
|
|
2638
|
+
var tmp2_elvis_lhs = _this__u8e3s4.e1t_1;
|
|
2639
|
+
var tmp_1 = tmp2_elvis_lhs == null ? _this__u8e3s4.f1t_1 : tmp2_elvis_lhs;
|
|
2640
|
+
var tmp3_elvis_lhs = _this__u8e3s4.h1t_1;
|
|
2641
|
+
return new GameUserInfo(tmp, tmp_0, tmp_1, tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs, _this__u8e3s4.i1t_1, _this__u8e3s4.g1t_1);
|
|
2546
2642
|
}
|
|
2547
2643
|
function mapToDto_9(_this__u8e3s4) {
|
|
2548
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
2644
|
+
var tmp0_safe_receiver = _this__u8e3s4.q1q_1;
|
|
2549
2645
|
var tmp4_startFrom = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.toString();
|
|
2550
|
-
var tmp1_safe_receiver = _this__u8e3s4.
|
|
2646
|
+
var tmp1_safe_receiver = _this__u8e3s4.s1q_1;
|
|
2551
2647
|
var tmp5_waitPlayerUntilTime = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.toString();
|
|
2552
|
-
var tmp2_safe_receiver = _this__u8e3s4.
|
|
2648
|
+
var tmp2_safe_receiver = _this__u8e3s4.r1q_1;
|
|
2553
2649
|
var tmp6_playerTurnTimeout = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.toString();
|
|
2554
|
-
var tmp7_state = _this__u8e3s4.
|
|
2555
|
-
var tmp8_tag = _this__u8e3s4.
|
|
2556
|
-
var tmp9_ready = _this__u8e3s4.
|
|
2557
|
-
var tmp3_safe_receiver = _this__u8e3s4.
|
|
2650
|
+
var tmp7_state = _this__u8e3s4.t1q_1;
|
|
2651
|
+
var tmp8_tag = _this__u8e3s4.v1q_1;
|
|
2652
|
+
var tmp9_ready = _this__u8e3s4.u1q_1;
|
|
2653
|
+
var tmp3_safe_receiver = _this__u8e3s4.w1q_1;
|
|
2558
2654
|
var tmp10_connection = tmp3_safe_receiver == null ? null : mapToDto_10(tmp3_safe_receiver);
|
|
2559
2655
|
return new PlayerStateDto(tmp4_startFrom, tmp6_playerTurnTimeout, tmp5_waitPlayerUntilTime, tmp7_state, tmp9_ready, tmp8_tag, tmp10_connection);
|
|
2560
2656
|
}
|
|
2561
2657
|
function mapFromDto_9(_this__u8e3s4) {
|
|
2562
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
2658
|
+
var tmp0_safe_receiver = _this__u8e3s4.j1t_1;
|
|
2563
2659
|
var tmp;
|
|
2564
2660
|
if (tmp0_safe_receiver == null) {
|
|
2565
2661
|
tmp = null;
|
|
@@ -2568,7 +2664,7 @@
|
|
|
2568
2664
|
tmp = Companion_getInstance_0().tg(tmp0_safe_receiver);
|
|
2569
2665
|
}
|
|
2570
2666
|
var tmp5_startFromTime = tmp;
|
|
2571
|
-
var tmp1_safe_receiver = _this__u8e3s4.
|
|
2667
|
+
var tmp1_safe_receiver = _this__u8e3s4.l1t_1;
|
|
2572
2668
|
var tmp_0;
|
|
2573
2669
|
if (tmp1_safe_receiver == null) {
|
|
2574
2670
|
tmp_0 = null;
|
|
@@ -2577,7 +2673,7 @@
|
|
|
2577
2673
|
tmp_0 = Companion_getInstance_0().tg(tmp1_safe_receiver);
|
|
2578
2674
|
}
|
|
2579
2675
|
var tmp6_waitPlayerUntilTime = tmp_0;
|
|
2580
|
-
var tmp2_safe_receiver = _this__u8e3s4.
|
|
2676
|
+
var tmp2_safe_receiver = _this__u8e3s4.k1t_1;
|
|
2581
2677
|
var tmp_1;
|
|
2582
2678
|
if (tmp2_safe_receiver == null) {
|
|
2583
2679
|
tmp_1 = null;
|
|
@@ -2586,19 +2682,19 @@
|
|
|
2586
2682
|
tmp_1 = Companion_getInstance_0().tg(tmp2_safe_receiver);
|
|
2587
2683
|
}
|
|
2588
2684
|
var tmp7_playerTurnTimeout = tmp_1;
|
|
2589
|
-
var tmp8_state = _this__u8e3s4.
|
|
2590
|
-
var tmp9_tag = _this__u8e3s4.
|
|
2591
|
-
var tmp3_elvis_lhs = _this__u8e3s4.
|
|
2685
|
+
var tmp8_state = _this__u8e3s4.m1t_1;
|
|
2686
|
+
var tmp9_tag = _this__u8e3s4.o1t_1;
|
|
2687
|
+
var tmp3_elvis_lhs = _this__u8e3s4.n1t_1;
|
|
2592
2688
|
var tmp10_ready = tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs;
|
|
2593
|
-
var tmp4_safe_receiver = _this__u8e3s4.
|
|
2689
|
+
var tmp4_safe_receiver = _this__u8e3s4.p1t_1;
|
|
2594
2690
|
var tmp11_connection = tmp4_safe_receiver == null ? null : mapFromDto_10(tmp4_safe_receiver);
|
|
2595
2691
|
return new PlayerState(tmp5_startFromTime, tmp7_playerTurnTimeout, tmp6_waitPlayerUntilTime, tmp8_state, tmp10_ready, tmp9_tag, tmp11_connection);
|
|
2596
2692
|
}
|
|
2597
2693
|
function mapToDto_10(_this__u8e3s4) {
|
|
2598
|
-
return new PlayerConnectionDto(_this__u8e3s4.
|
|
2694
|
+
return new PlayerConnectionDto(_this__u8e3s4.b1r_1, _this__u8e3s4.c1r_1.toString(), Duration__toIsoString_impl_9h6wsm(_this__u8e3s4.d1r_1));
|
|
2599
2695
|
}
|
|
2600
2696
|
function mapFromDto_10(_this__u8e3s4) {
|
|
2601
|
-
return new PlayerConnection(_this__u8e3s4.
|
|
2697
|
+
return new PlayerConnection(_this__u8e3s4.q1t_1, Companion_getInstance_0().tg(_this__u8e3s4.r1t_1), Companion_getInstance().ng(_this__u8e3s4.s1t_1));
|
|
2602
2698
|
}
|
|
2603
2699
|
function Companion_15() {
|
|
2604
2700
|
}
|
|
@@ -2618,39 +2714,39 @@
|
|
|
2618
2714
|
tmp0_serialDesc.av('rating', false);
|
|
2619
2715
|
tmp0_serialDesc.av('is_bot', false);
|
|
2620
2716
|
tmp0_serialDesc.av('lucky_factor', false);
|
|
2621
|
-
this.
|
|
2717
|
+
this.t1t_1 = tmp0_serialDesc;
|
|
2622
2718
|
}
|
|
2623
|
-
protoOf($serializer_6).
|
|
2624
|
-
var tmp0_desc = this.
|
|
2719
|
+
protoOf($serializer_6).u1t = function (encoder, value) {
|
|
2720
|
+
var tmp0_desc = this.t1t_1;
|
|
2625
2721
|
var tmp1_output = encoder.kn(tmp0_desc);
|
|
2626
|
-
if (tmp1_output.hp(tmp0_desc, 0) ? true : !(value.
|
|
2627
|
-
tmp1_output.dp(tmp0_desc, 0, StringSerializer_getInstance(), value.
|
|
2722
|
+
if (tmp1_output.hp(tmp0_desc, 0) ? true : !(value.a1t_1 == null)) {
|
|
2723
|
+
tmp1_output.dp(tmp0_desc, 0, StringSerializer_getInstance(), value.a1t_1);
|
|
2628
2724
|
}
|
|
2629
|
-
if (tmp1_output.hp(tmp0_desc, 1) ? true : !(value.
|
|
2630
|
-
tmp1_output.dp(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
2725
|
+
if (tmp1_output.hp(tmp0_desc, 1) ? true : !(value.b1t_1 == null)) {
|
|
2726
|
+
tmp1_output.dp(tmp0_desc, 1, StringSerializer_getInstance(), value.b1t_1);
|
|
2631
2727
|
}
|
|
2632
|
-
if (tmp1_output.hp(tmp0_desc, 2) ? true : !(value.
|
|
2633
|
-
tmp1_output.dp(tmp0_desc, 2, StringSerializer_getInstance(), value.
|
|
2728
|
+
if (tmp1_output.hp(tmp0_desc, 2) ? true : !(value.c1t_1 == null)) {
|
|
2729
|
+
tmp1_output.dp(tmp0_desc, 2, StringSerializer_getInstance(), value.c1t_1);
|
|
2634
2730
|
}
|
|
2635
|
-
if (tmp1_output.hp(tmp0_desc, 3) ? true : !(value.
|
|
2636
|
-
tmp1_output.dp(tmp0_desc, 3, StringSerializer_getInstance(), value.
|
|
2731
|
+
if (tmp1_output.hp(tmp0_desc, 3) ? true : !(value.d1t_1 == null)) {
|
|
2732
|
+
tmp1_output.dp(tmp0_desc, 3, StringSerializer_getInstance(), value.d1t_1);
|
|
2637
2733
|
}
|
|
2638
|
-
if (tmp1_output.hp(tmp0_desc, 4) ? true : !(value.
|
|
2639
|
-
tmp1_output.dp(tmp0_desc, 4, StringSerializer_getInstance(), value.
|
|
2734
|
+
if (tmp1_output.hp(tmp0_desc, 4) ? true : !(value.e1t_1 == null)) {
|
|
2735
|
+
tmp1_output.dp(tmp0_desc, 4, StringSerializer_getInstance(), value.e1t_1);
|
|
2640
2736
|
}
|
|
2641
|
-
if (tmp1_output.hp(tmp0_desc, 5) ? true : !(value.
|
|
2642
|
-
tmp1_output.dp(tmp0_desc, 5, StringSerializer_getInstance(), value.
|
|
2737
|
+
if (tmp1_output.hp(tmp0_desc, 5) ? true : !(value.f1t_1 == null)) {
|
|
2738
|
+
tmp1_output.dp(tmp0_desc, 5, StringSerializer_getInstance(), value.f1t_1);
|
|
2643
2739
|
}
|
|
2644
|
-
tmp1_output.dp(tmp0_desc, 6, DoubleSerializer_getInstance(), value.
|
|
2645
|
-
tmp1_output.dp(tmp0_desc, 7, BooleanSerializer_getInstance(), value.
|
|
2646
|
-
tmp1_output.dp(tmp0_desc, 8, FloatSerializer_getInstance(), value.
|
|
2740
|
+
tmp1_output.dp(tmp0_desc, 6, DoubleSerializer_getInstance(), value.g1t_1);
|
|
2741
|
+
tmp1_output.dp(tmp0_desc, 7, BooleanSerializer_getInstance(), value.h1t_1);
|
|
2742
|
+
tmp1_output.dp(tmp0_desc, 8, FloatSerializer_getInstance(), value.i1t_1);
|
|
2647
2743
|
tmp1_output.ln(tmp0_desc);
|
|
2648
2744
|
};
|
|
2649
2745
|
protoOf($serializer_6).ck = function (encoder, value) {
|
|
2650
|
-
return this.
|
|
2746
|
+
return this.u1t(encoder, value instanceof GameUserInfoDto ? value : THROW_CCE());
|
|
2651
2747
|
};
|
|
2652
2748
|
protoOf($serializer_6).dk = function (decoder) {
|
|
2653
|
-
var tmp0_desc = this.
|
|
2749
|
+
var tmp0_desc = this.t1t_1;
|
|
2654
2750
|
var tmp1_flag = true;
|
|
2655
2751
|
var tmp2_index = 0;
|
|
2656
2752
|
var tmp3_bitMask0 = 0;
|
|
@@ -2734,7 +2830,7 @@
|
|
|
2734
2830
|
return GameUserInfoDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, null);
|
|
2735
2831
|
};
|
|
2736
2832
|
protoOf($serializer_6).bk = function () {
|
|
2737
|
-
return this.
|
|
2833
|
+
return this.t1t_1;
|
|
2738
2834
|
};
|
|
2739
2835
|
protoOf($serializer_6).rv = function () {
|
|
2740
2836
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2750,35 +2846,35 @@
|
|
|
2750
2846
|
}
|
|
2751
2847
|
function GameUserInfoDto_init_$Init$(seen0, playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor, serializationConstructorMarker, $this) {
|
|
2752
2848
|
if (!(448 === (448 & seen0))) {
|
|
2753
|
-
throwMissingFieldException(seen0, 448, $serializer_getInstance_6().
|
|
2849
|
+
throwMissingFieldException(seen0, 448, $serializer_getInstance_6().t1t_1);
|
|
2754
2850
|
}
|
|
2755
2851
|
if (0 === (seen0 & 1))
|
|
2756
|
-
$this.
|
|
2852
|
+
$this.a1t_1 = null;
|
|
2757
2853
|
else
|
|
2758
|
-
$this.
|
|
2854
|
+
$this.a1t_1 = playerId;
|
|
2759
2855
|
if (0 === (seen0 & 2))
|
|
2760
|
-
$this.
|
|
2856
|
+
$this.b1t_1 = null;
|
|
2761
2857
|
else
|
|
2762
|
-
$this.
|
|
2858
|
+
$this.b1t_1 = uid;
|
|
2763
2859
|
if (0 === (seen0 & 4))
|
|
2764
|
-
$this.
|
|
2860
|
+
$this.c1t_1 = null;
|
|
2765
2861
|
else
|
|
2766
|
-
$this.
|
|
2862
|
+
$this.c1t_1 = name;
|
|
2767
2863
|
if (0 === (seen0 & 8))
|
|
2768
|
-
$this.
|
|
2864
|
+
$this.d1t_1 = null;
|
|
2769
2865
|
else
|
|
2770
|
-
$this.
|
|
2866
|
+
$this.d1t_1 = nickname;
|
|
2771
2867
|
if (0 === (seen0 & 16))
|
|
2772
|
-
$this.
|
|
2868
|
+
$this.e1t_1 = null;
|
|
2773
2869
|
else
|
|
2774
|
-
$this.
|
|
2870
|
+
$this.e1t_1 = avatarUrl;
|
|
2775
2871
|
if (0 === (seen0 & 32))
|
|
2776
|
-
$this.
|
|
2872
|
+
$this.f1t_1 = null;
|
|
2777
2873
|
else
|
|
2778
|
-
$this.
|
|
2779
|
-
$this.
|
|
2780
|
-
$this.
|
|
2781
|
-
$this.
|
|
2874
|
+
$this.f1t_1 = photo;
|
|
2875
|
+
$this.g1t_1 = rating;
|
|
2876
|
+
$this.h1t_1 = isBot;
|
|
2877
|
+
$this.i1t_1 = initialLuckyFactor;
|
|
2782
2878
|
return $this;
|
|
2783
2879
|
}
|
|
2784
2880
|
function GameUserInfoDto_init_$Create$(seen0, playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor, serializationConstructorMarker) {
|
|
@@ -2791,47 +2887,47 @@
|
|
|
2791
2887
|
nickname = nickname === VOID ? null : nickname;
|
|
2792
2888
|
avatarUrl = avatarUrl === VOID ? null : avatarUrl;
|
|
2793
2889
|
photo = photo === VOID ? null : photo;
|
|
2794
|
-
this.
|
|
2795
|
-
this.
|
|
2796
|
-
this.
|
|
2797
|
-
this.
|
|
2798
|
-
this.
|
|
2799
|
-
this.
|
|
2800
|
-
this.
|
|
2801
|
-
this.
|
|
2802
|
-
this.
|
|
2803
|
-
}
|
|
2804
|
-
protoOf(GameUserInfoDto).
|
|
2805
|
-
return this.
|
|
2806
|
-
};
|
|
2807
|
-
protoOf(GameUserInfoDto).
|
|
2890
|
+
this.a1t_1 = playerId;
|
|
2891
|
+
this.b1t_1 = uid;
|
|
2892
|
+
this.c1t_1 = name;
|
|
2893
|
+
this.d1t_1 = nickname;
|
|
2894
|
+
this.e1t_1 = avatarUrl;
|
|
2895
|
+
this.f1t_1 = photo;
|
|
2896
|
+
this.g1t_1 = rating;
|
|
2897
|
+
this.h1t_1 = isBot;
|
|
2898
|
+
this.i1t_1 = initialLuckyFactor;
|
|
2899
|
+
}
|
|
2900
|
+
protoOf(GameUserInfoDto).v1t = function () {
|
|
2901
|
+
return this.w1t(VOID, VOID, VOID, VOID, VOID, VOID, VOID, null, null);
|
|
2902
|
+
};
|
|
2903
|
+
protoOf(GameUserInfoDto).x1t = function (playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor) {
|
|
2808
2904
|
return new GameUserInfoDto(playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor);
|
|
2809
2905
|
};
|
|
2810
|
-
protoOf(GameUserInfoDto).
|
|
2811
|
-
playerId = playerId === VOID ? this.
|
|
2812
|
-
uid = uid === VOID ? this.
|
|
2813
|
-
name = name === VOID ? this.
|
|
2814
|
-
nickname = nickname === VOID ? this.
|
|
2815
|
-
avatarUrl = avatarUrl === VOID ? this.
|
|
2816
|
-
photo = photo === VOID ? this.
|
|
2817
|
-
rating = rating === VOID ? this.
|
|
2818
|
-
isBot = isBot === VOID ? this.
|
|
2819
|
-
initialLuckyFactor = initialLuckyFactor === VOID ? this.
|
|
2820
|
-
return $super === VOID ? this.
|
|
2906
|
+
protoOf(GameUserInfoDto).w1t = function (playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor, $super) {
|
|
2907
|
+
playerId = playerId === VOID ? this.a1t_1 : playerId;
|
|
2908
|
+
uid = uid === VOID ? this.b1t_1 : uid;
|
|
2909
|
+
name = name === VOID ? this.c1t_1 : name;
|
|
2910
|
+
nickname = nickname === VOID ? this.d1t_1 : nickname;
|
|
2911
|
+
avatarUrl = avatarUrl === VOID ? this.e1t_1 : avatarUrl;
|
|
2912
|
+
photo = photo === VOID ? this.f1t_1 : photo;
|
|
2913
|
+
rating = rating === VOID ? this.g1t_1 : rating;
|
|
2914
|
+
isBot = isBot === VOID ? this.h1t_1 : isBot;
|
|
2915
|
+
initialLuckyFactor = initialLuckyFactor === VOID ? this.i1t_1 : initialLuckyFactor;
|
|
2916
|
+
return $super === VOID ? this.x1t(playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor) : $super.x1t.call(this, playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor);
|
|
2821
2917
|
};
|
|
2822
2918
|
protoOf(GameUserInfoDto).toString = function () {
|
|
2823
|
-
return 'GameUserInfoDto(playerId=' + this.
|
|
2919
|
+
return 'GameUserInfoDto(playerId=' + this.a1t_1 + ', uid=' + this.b1t_1 + ', name=' + this.c1t_1 + ', nickname=' + this.d1t_1 + ', avatarUrl=' + this.e1t_1 + ', photo=' + this.f1t_1 + ', rating=' + this.g1t_1 + ', isBot=' + this.h1t_1 + ', initialLuckyFactor=' + this.i1t_1 + ')';
|
|
2824
2920
|
};
|
|
2825
2921
|
protoOf(GameUserInfoDto).hashCode = function () {
|
|
2826
|
-
var result = this.
|
|
2827
|
-
result = imul(result, 31) + (this.a1t_1 == null ? 0 : getStringHashCode(this.a1t_1)) | 0;
|
|
2922
|
+
var result = this.a1t_1 == null ? 0 : getStringHashCode(this.a1t_1);
|
|
2828
2923
|
result = imul(result, 31) + (this.b1t_1 == null ? 0 : getStringHashCode(this.b1t_1)) | 0;
|
|
2829
2924
|
result = imul(result, 31) + (this.c1t_1 == null ? 0 : getStringHashCode(this.c1t_1)) | 0;
|
|
2830
2925
|
result = imul(result, 31) + (this.d1t_1 == null ? 0 : getStringHashCode(this.d1t_1)) | 0;
|
|
2831
2926
|
result = imul(result, 31) + (this.e1t_1 == null ? 0 : getStringHashCode(this.e1t_1)) | 0;
|
|
2832
|
-
result = imul(result, 31) + (this.f1t_1 == null ? 0 :
|
|
2833
|
-
result = imul(result, 31) + (this.g1t_1 == null ? 0 :
|
|
2834
|
-
result = imul(result, 31) + (this.h1t_1 == null ? 0 :
|
|
2927
|
+
result = imul(result, 31) + (this.f1t_1 == null ? 0 : getStringHashCode(this.f1t_1)) | 0;
|
|
2928
|
+
result = imul(result, 31) + (this.g1t_1 == null ? 0 : getNumberHashCode(this.g1t_1)) | 0;
|
|
2929
|
+
result = imul(result, 31) + (this.h1t_1 == null ? 0 : getBooleanHashCode(this.h1t_1)) | 0;
|
|
2930
|
+
result = imul(result, 31) + (this.i1t_1 == null ? 0 : getNumberHashCode(this.i1t_1)) | 0;
|
|
2835
2931
|
return result;
|
|
2836
2932
|
};
|
|
2837
2933
|
protoOf(GameUserInfoDto).equals = function (other) {
|
|
@@ -2839,8 +2935,6 @@
|
|
|
2839
2935
|
return true;
|
|
2840
2936
|
if (!(other instanceof GameUserInfoDto))
|
|
2841
2937
|
return false;
|
|
2842
|
-
if (!(this.z1s_1 == other.z1s_1))
|
|
2843
|
-
return false;
|
|
2844
2938
|
if (!(this.a1t_1 == other.a1t_1))
|
|
2845
2939
|
return false;
|
|
2846
2940
|
if (!(this.b1t_1 == other.b1t_1))
|
|
@@ -2851,11 +2945,13 @@
|
|
|
2851
2945
|
return false;
|
|
2852
2946
|
if (!(this.e1t_1 == other.e1t_1))
|
|
2853
2947
|
return false;
|
|
2854
|
-
if (!
|
|
2948
|
+
if (!(this.f1t_1 == other.f1t_1))
|
|
2855
2949
|
return false;
|
|
2856
|
-
if (!(this.g1t_1
|
|
2950
|
+
if (!equals(this.g1t_1, other.g1t_1))
|
|
2857
2951
|
return false;
|
|
2858
|
-
if (!
|
|
2952
|
+
if (!(this.h1t_1 == other.h1t_1))
|
|
2953
|
+
return false;
|
|
2954
|
+
if (!equals(this.i1t_1, other.i1t_1))
|
|
2859
2955
|
return false;
|
|
2860
2956
|
return true;
|
|
2861
2957
|
};
|
|
@@ -2869,7 +2965,7 @@
|
|
|
2869
2965
|
// Inline function 'kotlin.arrayOf' call
|
|
2870
2966
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2871
2967
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2872
|
-
tmp.
|
|
2968
|
+
tmp.y1t_1 = [lazy(tmp_0, PlayerConnectionDto$Companion$$childSerializers$_anonymous__jevhp2), null, null];
|
|
2873
2969
|
}
|
|
2874
2970
|
var Companion_instance_16;
|
|
2875
2971
|
function Companion_getInstance_19() {
|
|
@@ -2883,22 +2979,22 @@
|
|
|
2883
2979
|
tmp0_serialDesc.av('state', false);
|
|
2884
2980
|
tmp0_serialDesc.av('connectionChangedTime', false);
|
|
2885
2981
|
tmp0_serialDesc.av('notLiveDurationRecord', false);
|
|
2886
|
-
this.
|
|
2982
|
+
this.z1t_1 = tmp0_serialDesc;
|
|
2887
2983
|
}
|
|
2888
|
-
protoOf($serializer_7).
|
|
2889
|
-
var tmp0_desc = this.
|
|
2984
|
+
protoOf($serializer_7).a1u = function (encoder, value) {
|
|
2985
|
+
var tmp0_desc = this.z1t_1;
|
|
2890
2986
|
var tmp1_output = encoder.kn(tmp0_desc);
|
|
2891
|
-
var tmp2_cached = Companion_getInstance_19().
|
|
2892
|
-
tmp1_output.bp(tmp0_desc, 0, tmp2_cached[0].v1(), value.
|
|
2893
|
-
tmp1_output.zo(tmp0_desc, 1, value.
|
|
2894
|
-
tmp1_output.zo(tmp0_desc, 2, value.
|
|
2987
|
+
var tmp2_cached = Companion_getInstance_19().y1t_1;
|
|
2988
|
+
tmp1_output.bp(tmp0_desc, 0, tmp2_cached[0].v1(), value.q1t_1);
|
|
2989
|
+
tmp1_output.zo(tmp0_desc, 1, value.r1t_1);
|
|
2990
|
+
tmp1_output.zo(tmp0_desc, 2, value.s1t_1);
|
|
2895
2991
|
tmp1_output.ln(tmp0_desc);
|
|
2896
2992
|
};
|
|
2897
2993
|
protoOf($serializer_7).ck = function (encoder, value) {
|
|
2898
|
-
return this.
|
|
2994
|
+
return this.a1u(encoder, value instanceof PlayerConnectionDto ? value : THROW_CCE());
|
|
2899
2995
|
};
|
|
2900
2996
|
protoOf($serializer_7).dk = function (decoder) {
|
|
2901
|
-
var tmp0_desc = this.
|
|
2997
|
+
var tmp0_desc = this.z1t_1;
|
|
2902
2998
|
var tmp1_flag = true;
|
|
2903
2999
|
var tmp2_index = 0;
|
|
2904
3000
|
var tmp3_bitMask0 = 0;
|
|
@@ -2906,7 +3002,7 @@
|
|
|
2906
3002
|
var tmp5_local1 = null;
|
|
2907
3003
|
var tmp6_local2 = null;
|
|
2908
3004
|
var tmp7_input = decoder.kn(tmp0_desc);
|
|
2909
|
-
var tmp8_cached = Companion_getInstance_19().
|
|
3005
|
+
var tmp8_cached = Companion_getInstance_19().y1t_1;
|
|
2910
3006
|
if (tmp7_input.ao()) {
|
|
2911
3007
|
tmp4_local0 = tmp7_input.wn(tmp0_desc, 0, tmp8_cached[0].v1(), tmp4_local0);
|
|
2912
3008
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -2941,13 +3037,13 @@
|
|
|
2941
3037
|
return PlayerConnectionDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
2942
3038
|
};
|
|
2943
3039
|
protoOf($serializer_7).bk = function () {
|
|
2944
|
-
return this.
|
|
3040
|
+
return this.z1t_1;
|
|
2945
3041
|
};
|
|
2946
3042
|
protoOf($serializer_7).rv = function () {
|
|
2947
3043
|
// Inline function 'kotlin.arrayOf' call
|
|
2948
3044
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2949
3045
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2950
|
-
return [Companion_getInstance_19().
|
|
3046
|
+
return [Companion_getInstance_19().y1t_1[0].v1(), StringSerializer_getInstance(), StringSerializer_getInstance()];
|
|
2951
3047
|
};
|
|
2952
3048
|
var $serializer_instance_7;
|
|
2953
3049
|
function $serializer_getInstance_7() {
|
|
@@ -2957,11 +3053,11 @@
|
|
|
2957
3053
|
}
|
|
2958
3054
|
function PlayerConnectionDto_init_$Init$(seen0, state, connectionChangedTime, notLiveDurationRecord, serializationConstructorMarker, $this) {
|
|
2959
3055
|
if (!(7 === (7 & seen0))) {
|
|
2960
|
-
throwMissingFieldException(seen0, 7, $serializer_getInstance_7().
|
|
3056
|
+
throwMissingFieldException(seen0, 7, $serializer_getInstance_7().z1t_1);
|
|
2961
3057
|
}
|
|
2962
|
-
$this.
|
|
2963
|
-
$this.
|
|
2964
|
-
$this.
|
|
3058
|
+
$this.q1t_1 = state;
|
|
3059
|
+
$this.r1t_1 = connectionChangedTime;
|
|
3060
|
+
$this.s1t_1 = notLiveDurationRecord;
|
|
2965
3061
|
return $this;
|
|
2966
3062
|
}
|
|
2967
3063
|
function PlayerConnectionDto_init_$Create$(seen0, state, connectionChangedTime, notLiveDurationRecord, serializationConstructorMarker) {
|
|
@@ -2969,17 +3065,17 @@
|
|
|
2969
3065
|
}
|
|
2970
3066
|
function PlayerConnectionDto(state, connectionChangedTime, notLiveDurationRecord) {
|
|
2971
3067
|
Companion_getInstance_19();
|
|
2972
|
-
this.
|
|
2973
|
-
this.
|
|
2974
|
-
this.
|
|
3068
|
+
this.q1t_1 = state;
|
|
3069
|
+
this.r1t_1 = connectionChangedTime;
|
|
3070
|
+
this.s1t_1 = notLiveDurationRecord;
|
|
2975
3071
|
}
|
|
2976
3072
|
protoOf(PlayerConnectionDto).toString = function () {
|
|
2977
|
-
return 'PlayerConnectionDto(state=' + this.
|
|
3073
|
+
return 'PlayerConnectionDto(state=' + this.q1t_1.toString() + ', connectionChangedTime=' + this.r1t_1 + ', notLiveDurationRecord=' + this.s1t_1 + ')';
|
|
2978
3074
|
};
|
|
2979
3075
|
protoOf(PlayerConnectionDto).hashCode = function () {
|
|
2980
|
-
var result = this.
|
|
2981
|
-
result = imul(result, 31) + getStringHashCode(this.q1t_1) | 0;
|
|
3076
|
+
var result = this.q1t_1.hashCode();
|
|
2982
3077
|
result = imul(result, 31) + getStringHashCode(this.r1t_1) | 0;
|
|
3078
|
+
result = imul(result, 31) + getStringHashCode(this.s1t_1) | 0;
|
|
2983
3079
|
return result;
|
|
2984
3080
|
};
|
|
2985
3081
|
protoOf(PlayerConnectionDto).equals = function (other) {
|
|
@@ -2987,12 +3083,12 @@
|
|
|
2987
3083
|
return true;
|
|
2988
3084
|
if (!(other instanceof PlayerConnectionDto))
|
|
2989
3085
|
return false;
|
|
2990
|
-
if (!this.
|
|
2991
|
-
return false;
|
|
2992
|
-
if (!(this.q1t_1 === other.q1t_1))
|
|
3086
|
+
if (!this.q1t_1.equals(other.q1t_1))
|
|
2993
3087
|
return false;
|
|
2994
3088
|
if (!(this.r1t_1 === other.r1t_1))
|
|
2995
3089
|
return false;
|
|
3090
|
+
if (!(this.s1t_1 === other.s1t_1))
|
|
3091
|
+
return false;
|
|
2996
3092
|
return true;
|
|
2997
3093
|
};
|
|
2998
3094
|
function PlayerStateDto$Companion$$childSerializers$_anonymous__izgokl() {
|
|
@@ -3005,7 +3101,7 @@
|
|
|
3005
3101
|
// Inline function 'kotlin.arrayOf' call
|
|
3006
3102
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3007
3103
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3008
|
-
tmp.
|
|
3104
|
+
tmp.b1u_1 = [null, null, null, lazy(tmp_0, PlayerStateDto$Companion$$childSerializers$_anonymous__izgokl), null, null, null];
|
|
3009
3105
|
}
|
|
3010
3106
|
var Companion_instance_17;
|
|
3011
3107
|
function Companion_getInstance_20() {
|
|
@@ -3023,38 +3119,38 @@
|
|
|
3023
3119
|
tmp0_serialDesc.av('ready', true);
|
|
3024
3120
|
tmp0_serialDesc.av('tag', true);
|
|
3025
3121
|
tmp0_serialDesc.av('connection', true);
|
|
3026
|
-
this.
|
|
3122
|
+
this.c1u_1 = tmp0_serialDesc;
|
|
3027
3123
|
}
|
|
3028
|
-
protoOf($serializer_8).
|
|
3029
|
-
var tmp0_desc = this.
|
|
3124
|
+
protoOf($serializer_8).d1u = function (encoder, value) {
|
|
3125
|
+
var tmp0_desc = this.c1u_1;
|
|
3030
3126
|
var tmp1_output = encoder.kn(tmp0_desc);
|
|
3031
|
-
var tmp2_cached = Companion_getInstance_20().
|
|
3032
|
-
if (tmp1_output.hp(tmp0_desc, 0) ? true : !(value.
|
|
3033
|
-
tmp1_output.dp(tmp0_desc, 0, StringSerializer_getInstance(), value.
|
|
3127
|
+
var tmp2_cached = Companion_getInstance_20().b1u_1;
|
|
3128
|
+
if (tmp1_output.hp(tmp0_desc, 0) ? true : !(value.j1t_1 == null)) {
|
|
3129
|
+
tmp1_output.dp(tmp0_desc, 0, StringSerializer_getInstance(), value.j1t_1);
|
|
3034
3130
|
}
|
|
3035
|
-
if (tmp1_output.hp(tmp0_desc, 1) ? true : !(value.
|
|
3036
|
-
tmp1_output.dp(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
3131
|
+
if (tmp1_output.hp(tmp0_desc, 1) ? true : !(value.k1t_1 == null)) {
|
|
3132
|
+
tmp1_output.dp(tmp0_desc, 1, StringSerializer_getInstance(), value.k1t_1);
|
|
3037
3133
|
}
|
|
3038
|
-
if (tmp1_output.hp(tmp0_desc, 2) ? true : !(value.
|
|
3039
|
-
tmp1_output.dp(tmp0_desc, 2, StringSerializer_getInstance(), value.
|
|
3134
|
+
if (tmp1_output.hp(tmp0_desc, 2) ? true : !(value.l1t_1 == null)) {
|
|
3135
|
+
tmp1_output.dp(tmp0_desc, 2, StringSerializer_getInstance(), value.l1t_1);
|
|
3040
3136
|
}
|
|
3041
|
-
tmp1_output.bp(tmp0_desc, 3, tmp2_cached[3].v1(), value.
|
|
3042
|
-
if (tmp1_output.hp(tmp0_desc, 4) ? true : !(value.
|
|
3043
|
-
tmp1_output.dp(tmp0_desc, 4, BooleanSerializer_getInstance(), value.
|
|
3137
|
+
tmp1_output.bp(tmp0_desc, 3, tmp2_cached[3].v1(), value.m1t_1);
|
|
3138
|
+
if (tmp1_output.hp(tmp0_desc, 4) ? true : !(value.n1t_1 == null)) {
|
|
3139
|
+
tmp1_output.dp(tmp0_desc, 4, BooleanSerializer_getInstance(), value.n1t_1);
|
|
3044
3140
|
}
|
|
3045
|
-
if (tmp1_output.hp(tmp0_desc, 5) ? true : !(value.
|
|
3046
|
-
tmp1_output.dp(tmp0_desc, 5, StringSerializer_getInstance(), value.
|
|
3141
|
+
if (tmp1_output.hp(tmp0_desc, 5) ? true : !(value.o1t_1 == null)) {
|
|
3142
|
+
tmp1_output.dp(tmp0_desc, 5, StringSerializer_getInstance(), value.o1t_1);
|
|
3047
3143
|
}
|
|
3048
|
-
if (tmp1_output.hp(tmp0_desc, 6) ? true : !(value.
|
|
3049
|
-
tmp1_output.dp(tmp0_desc, 6, $serializer_getInstance_7(), value.
|
|
3144
|
+
if (tmp1_output.hp(tmp0_desc, 6) ? true : !(value.p1t_1 == null)) {
|
|
3145
|
+
tmp1_output.dp(tmp0_desc, 6, $serializer_getInstance_7(), value.p1t_1);
|
|
3050
3146
|
}
|
|
3051
3147
|
tmp1_output.ln(tmp0_desc);
|
|
3052
3148
|
};
|
|
3053
3149
|
protoOf($serializer_8).ck = function (encoder, value) {
|
|
3054
|
-
return this.
|
|
3150
|
+
return this.d1u(encoder, value instanceof PlayerStateDto ? value : THROW_CCE());
|
|
3055
3151
|
};
|
|
3056
3152
|
protoOf($serializer_8).dk = function (decoder) {
|
|
3057
|
-
var tmp0_desc = this.
|
|
3153
|
+
var tmp0_desc = this.c1u_1;
|
|
3058
3154
|
var tmp1_flag = true;
|
|
3059
3155
|
var tmp2_index = 0;
|
|
3060
3156
|
var tmp3_bitMask0 = 0;
|
|
@@ -3066,7 +3162,7 @@
|
|
|
3066
3162
|
var tmp9_local5 = null;
|
|
3067
3163
|
var tmp10_local6 = null;
|
|
3068
3164
|
var tmp11_input = decoder.kn(tmp0_desc);
|
|
3069
|
-
var tmp12_cached = Companion_getInstance_20().
|
|
3165
|
+
var tmp12_cached = Companion_getInstance_20().b1u_1;
|
|
3070
3166
|
if (tmp11_input.ao()) {
|
|
3071
3167
|
tmp4_local0 = tmp11_input.yn(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
3072
3168
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -3125,10 +3221,10 @@
|
|
|
3125
3221
|
return PlayerStateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, null);
|
|
3126
3222
|
};
|
|
3127
3223
|
protoOf($serializer_8).bk = function () {
|
|
3128
|
-
return this.
|
|
3224
|
+
return this.c1u_1;
|
|
3129
3225
|
};
|
|
3130
3226
|
protoOf($serializer_8).rv = function () {
|
|
3131
|
-
var tmp0_cached = Companion_getInstance_20().
|
|
3227
|
+
var tmp0_cached = Companion_getInstance_20().b1u_1;
|
|
3132
3228
|
// Inline function 'kotlin.arrayOf' call
|
|
3133
3229
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3134
3230
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -3142,33 +3238,33 @@
|
|
|
3142
3238
|
}
|
|
3143
3239
|
function PlayerStateDto_init_$Init$(seen0, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, serializationConstructorMarker, $this) {
|
|
3144
3240
|
if (!(8 === (8 & seen0))) {
|
|
3145
|
-
throwMissingFieldException(seen0, 8, $serializer_getInstance_8().
|
|
3241
|
+
throwMissingFieldException(seen0, 8, $serializer_getInstance_8().c1u_1);
|
|
3146
3242
|
}
|
|
3147
3243
|
if (0 === (seen0 & 1))
|
|
3148
|
-
$this.
|
|
3244
|
+
$this.j1t_1 = null;
|
|
3149
3245
|
else
|
|
3150
|
-
$this.
|
|
3246
|
+
$this.j1t_1 = startFrom;
|
|
3151
3247
|
if (0 === (seen0 & 2))
|
|
3152
|
-
$this.
|
|
3248
|
+
$this.k1t_1 = null;
|
|
3153
3249
|
else
|
|
3154
|
-
$this.
|
|
3250
|
+
$this.k1t_1 = playerTurnTimeout;
|
|
3155
3251
|
if (0 === (seen0 & 4))
|
|
3156
|
-
$this.
|
|
3252
|
+
$this.l1t_1 = null;
|
|
3157
3253
|
else
|
|
3158
|
-
$this.
|
|
3159
|
-
$this.
|
|
3254
|
+
$this.l1t_1 = waitPlayerUntilTime;
|
|
3255
|
+
$this.m1t_1 = state;
|
|
3160
3256
|
if (0 === (seen0 & 16))
|
|
3161
|
-
$this.
|
|
3257
|
+
$this.n1t_1 = null;
|
|
3162
3258
|
else
|
|
3163
|
-
$this.
|
|
3259
|
+
$this.n1t_1 = ready;
|
|
3164
3260
|
if (0 === (seen0 & 32))
|
|
3165
|
-
$this.
|
|
3261
|
+
$this.o1t_1 = null;
|
|
3166
3262
|
else
|
|
3167
|
-
$this.
|
|
3263
|
+
$this.o1t_1 = tag;
|
|
3168
3264
|
if (0 === (seen0 & 64))
|
|
3169
|
-
$this.
|
|
3265
|
+
$this.p1t_1 = null;
|
|
3170
3266
|
else
|
|
3171
|
-
$this.
|
|
3267
|
+
$this.p1t_1 = connection;
|
|
3172
3268
|
return $this;
|
|
3173
3269
|
}
|
|
3174
3270
|
function PlayerStateDto_init_$Create$(seen0, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, serializationConstructorMarker) {
|
|
@@ -3182,25 +3278,25 @@
|
|
|
3182
3278
|
ready = ready === VOID ? null : ready;
|
|
3183
3279
|
tag = tag === VOID ? null : tag;
|
|
3184
3280
|
connection = connection === VOID ? null : connection;
|
|
3185
|
-
this.
|
|
3186
|
-
this.
|
|
3187
|
-
this.
|
|
3188
|
-
this.
|
|
3189
|
-
this.
|
|
3190
|
-
this.
|
|
3191
|
-
this.
|
|
3281
|
+
this.j1t_1 = startFrom;
|
|
3282
|
+
this.k1t_1 = playerTurnTimeout;
|
|
3283
|
+
this.l1t_1 = waitPlayerUntilTime;
|
|
3284
|
+
this.m1t_1 = state;
|
|
3285
|
+
this.n1t_1 = ready;
|
|
3286
|
+
this.o1t_1 = tag;
|
|
3287
|
+
this.p1t_1 = connection;
|
|
3192
3288
|
}
|
|
3193
3289
|
protoOf(PlayerStateDto).toString = function () {
|
|
3194
|
-
return 'PlayerStateDto(startFrom=' + this.
|
|
3290
|
+
return 'PlayerStateDto(startFrom=' + this.j1t_1 + ', playerTurnTimeout=' + this.k1t_1 + ', waitPlayerUntilTime=' + this.l1t_1 + ', state=' + this.m1t_1.toString() + ', ready=' + this.n1t_1 + ', tag=' + this.o1t_1 + ', connection=' + toString(this.p1t_1) + ')';
|
|
3195
3291
|
};
|
|
3196
3292
|
protoOf(PlayerStateDto).hashCode = function () {
|
|
3197
|
-
var result = this.
|
|
3198
|
-
result = imul(result, 31) + (this.j1t_1 == null ? 0 : getStringHashCode(this.j1t_1)) | 0;
|
|
3293
|
+
var result = this.j1t_1 == null ? 0 : getStringHashCode(this.j1t_1);
|
|
3199
3294
|
result = imul(result, 31) + (this.k1t_1 == null ? 0 : getStringHashCode(this.k1t_1)) | 0;
|
|
3200
|
-
result = imul(result, 31) + this.l1t_1.
|
|
3201
|
-
result = imul(result, 31) +
|
|
3202
|
-
result = imul(result, 31) + (this.n1t_1 == null ? 0 :
|
|
3203
|
-
result = imul(result, 31) + (this.o1t_1 == null ? 0 : this.o1t_1
|
|
3295
|
+
result = imul(result, 31) + (this.l1t_1 == null ? 0 : getStringHashCode(this.l1t_1)) | 0;
|
|
3296
|
+
result = imul(result, 31) + this.m1t_1.hashCode() | 0;
|
|
3297
|
+
result = imul(result, 31) + (this.n1t_1 == null ? 0 : getBooleanHashCode(this.n1t_1)) | 0;
|
|
3298
|
+
result = imul(result, 31) + (this.o1t_1 == null ? 0 : getStringHashCode(this.o1t_1)) | 0;
|
|
3299
|
+
result = imul(result, 31) + (this.p1t_1 == null ? 0 : this.p1t_1.hashCode()) | 0;
|
|
3204
3300
|
return result;
|
|
3205
3301
|
};
|
|
3206
3302
|
protoOf(PlayerStateDto).equals = function (other) {
|
|
@@ -3208,19 +3304,19 @@
|
|
|
3208
3304
|
return true;
|
|
3209
3305
|
if (!(other instanceof PlayerStateDto))
|
|
3210
3306
|
return false;
|
|
3211
|
-
if (!(this.i1t_1 == other.i1t_1))
|
|
3212
|
-
return false;
|
|
3213
3307
|
if (!(this.j1t_1 == other.j1t_1))
|
|
3214
3308
|
return false;
|
|
3215
3309
|
if (!(this.k1t_1 == other.k1t_1))
|
|
3216
3310
|
return false;
|
|
3217
|
-
if (!this.l1t_1
|
|
3311
|
+
if (!(this.l1t_1 == other.l1t_1))
|
|
3218
3312
|
return false;
|
|
3219
|
-
if (!
|
|
3313
|
+
if (!this.m1t_1.equals(other.m1t_1))
|
|
3220
3314
|
return false;
|
|
3221
3315
|
if (!(this.n1t_1 == other.n1t_1))
|
|
3222
3316
|
return false;
|
|
3223
|
-
if (!
|
|
3317
|
+
if (!(this.o1t_1 == other.o1t_1))
|
|
3318
|
+
return false;
|
|
3319
|
+
if (!equals(this.p1t_1, other.p1t_1))
|
|
3224
3320
|
return false;
|
|
3225
3321
|
return true;
|
|
3226
3322
|
};
|
|
@@ -3244,7 +3340,7 @@
|
|
|
3244
3340
|
// Inline function 'kotlin.arrayOf' call
|
|
3245
3341
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3246
3342
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3247
|
-
tmp.
|
|
3343
|
+
tmp.e1u_1 = [null, null, null, null, null, null, null, null, tmp_1, tmp_3, null, null, null, lazy(tmp_4, RulesDto$Companion$$childSerializers$_anonymous__7e0mv6_1), null, null, null, null, null, null, null, null, null, null, null, null];
|
|
3248
3344
|
}
|
|
3249
3345
|
var Companion_instance_18;
|
|
3250
3346
|
function Companion_getInstance_21() {
|
|
@@ -3281,45 +3377,45 @@
|
|
|
3281
3377
|
tmp0_serialDesc.av('fineIfNoBribes', false);
|
|
3282
3378
|
tmp0_serialDesc.av('enableFineAfterThirdByte', false);
|
|
3283
3379
|
tmp0_serialDesc.av('fineAfterThirdFailedContract', false);
|
|
3284
|
-
this.
|
|
3380
|
+
this.f1u_1 = tmp0_serialDesc;
|
|
3285
3381
|
}
|
|
3286
|
-
protoOf($serializer_9).
|
|
3287
|
-
var tmp0_desc = this.
|
|
3382
|
+
protoOf($serializer_9).g1u = function (encoder, value) {
|
|
3383
|
+
var tmp0_desc = this.f1u_1;
|
|
3288
3384
|
var tmp1_output = encoder.kn(tmp0_desc);
|
|
3289
|
-
var tmp2_cached = Companion_getInstance_21().
|
|
3290
|
-
tmp1_output.dp(tmp0_desc, 0, StringSerializer_getInstance(), value.
|
|
3291
|
-
tmp1_output.dp(tmp0_desc, 1, BooleanSerializer_getInstance(), value.
|
|
3292
|
-
tmp1_output.dp(tmp0_desc, 2, BooleanSerializer_getInstance(), value.
|
|
3293
|
-
tmp1_output.dp(tmp0_desc, 3, BooleanSerializer_getInstance(), value.
|
|
3294
|
-
tmp1_output.dp(tmp0_desc, 4, BooleanSerializer_getInstance(), value.
|
|
3295
|
-
tmp1_output.dp(tmp0_desc, 5, IntSerializer_getInstance(), value.
|
|
3296
|
-
tmp1_output.dp(tmp0_desc, 6, IntSerializer_getInstance(), value.
|
|
3297
|
-
tmp1_output.dp(tmp0_desc, 7, BooleanSerializer_getInstance(), value.
|
|
3298
|
-
tmp1_output.dp(tmp0_desc, 8, tmp2_cached[8].v1(), value.
|
|
3299
|
-
tmp1_output.dp(tmp0_desc, 9, tmp2_cached[9].v1(), value.
|
|
3300
|
-
tmp1_output.dp(tmp0_desc, 10, BooleanSerializer_getInstance(), value.
|
|
3301
|
-
tmp1_output.dp(tmp0_desc, 11, StringSerializer_getInstance(), value.
|
|
3302
|
-
tmp1_output.dp(tmp0_desc, 12, StringSerializer_getInstance(), value.
|
|
3303
|
-
tmp1_output.dp(tmp0_desc, 13, tmp2_cached[13].v1(), value.
|
|
3304
|
-
tmp1_output.dp(tmp0_desc, 14, BooleanSerializer_getInstance(), value.
|
|
3305
|
-
tmp1_output.dp(tmp0_desc, 15, BooleanSerializer_getInstance(), value.
|
|
3306
|
-
tmp1_output.dp(tmp0_desc, 16, BooleanSerializer_getInstance(), value.
|
|
3307
|
-
tmp1_output.dp(tmp0_desc, 17, BooleanSerializer_getInstance(), value.
|
|
3308
|
-
tmp1_output.dp(tmp0_desc, 18, BooleanSerializer_getInstance(), value.
|
|
3309
|
-
tmp1_output.dp(tmp0_desc, 19, BooleanSerializer_getInstance(), value.
|
|
3310
|
-
tmp1_output.dp(tmp0_desc, 20, BooleanSerializer_getInstance(), value.
|
|
3311
|
-
tmp1_output.zo(tmp0_desc, 21, value.
|
|
3312
|
-
tmp1_output.dp(tmp0_desc, 22, BooleanSerializer_getInstance(), value.
|
|
3313
|
-
tmp1_output.dp(tmp0_desc, 23, IntSerializer_getInstance(), value.
|
|
3314
|
-
tmp1_output.dp(tmp0_desc, 24, BooleanSerializer_getInstance(), value.
|
|
3315
|
-
tmp1_output.dp(tmp0_desc, 25, IntSerializer_getInstance(), value.
|
|
3385
|
+
var tmp2_cached = Companion_getInstance_21().e1u_1;
|
|
3386
|
+
tmp1_output.dp(tmp0_desc, 0, StringSerializer_getInstance(), value.h1u_1);
|
|
3387
|
+
tmp1_output.dp(tmp0_desc, 1, BooleanSerializer_getInstance(), value.i1u_1);
|
|
3388
|
+
tmp1_output.dp(tmp0_desc, 2, BooleanSerializer_getInstance(), value.j1u_1);
|
|
3389
|
+
tmp1_output.dp(tmp0_desc, 3, BooleanSerializer_getInstance(), value.k1u_1);
|
|
3390
|
+
tmp1_output.dp(tmp0_desc, 4, BooleanSerializer_getInstance(), value.l1u_1);
|
|
3391
|
+
tmp1_output.dp(tmp0_desc, 5, IntSerializer_getInstance(), value.m1u_1);
|
|
3392
|
+
tmp1_output.dp(tmp0_desc, 6, IntSerializer_getInstance(), value.n1u_1);
|
|
3393
|
+
tmp1_output.dp(tmp0_desc, 7, BooleanSerializer_getInstance(), value.o1u_1);
|
|
3394
|
+
tmp1_output.dp(tmp0_desc, 8, tmp2_cached[8].v1(), value.p1u_1);
|
|
3395
|
+
tmp1_output.dp(tmp0_desc, 9, tmp2_cached[9].v1(), value.q1u_1);
|
|
3396
|
+
tmp1_output.dp(tmp0_desc, 10, BooleanSerializer_getInstance(), value.r1u_1);
|
|
3397
|
+
tmp1_output.dp(tmp0_desc, 11, StringSerializer_getInstance(), value.s1u_1);
|
|
3398
|
+
tmp1_output.dp(tmp0_desc, 12, StringSerializer_getInstance(), value.t1u_1);
|
|
3399
|
+
tmp1_output.dp(tmp0_desc, 13, tmp2_cached[13].v1(), value.u1u_1);
|
|
3400
|
+
tmp1_output.dp(tmp0_desc, 14, BooleanSerializer_getInstance(), value.v1u_1);
|
|
3401
|
+
tmp1_output.dp(tmp0_desc, 15, BooleanSerializer_getInstance(), value.w1u_1);
|
|
3402
|
+
tmp1_output.dp(tmp0_desc, 16, BooleanSerializer_getInstance(), value.x1u_1);
|
|
3403
|
+
tmp1_output.dp(tmp0_desc, 17, BooleanSerializer_getInstance(), value.y1u_1);
|
|
3404
|
+
tmp1_output.dp(tmp0_desc, 18, BooleanSerializer_getInstance(), value.z1u_1);
|
|
3405
|
+
tmp1_output.dp(tmp0_desc, 19, BooleanSerializer_getInstance(), value.a1v_1);
|
|
3406
|
+
tmp1_output.dp(tmp0_desc, 20, BooleanSerializer_getInstance(), value.b1v_1);
|
|
3407
|
+
tmp1_output.zo(tmp0_desc, 21, value.c1v_1);
|
|
3408
|
+
tmp1_output.dp(tmp0_desc, 22, BooleanSerializer_getInstance(), value.d1v_1);
|
|
3409
|
+
tmp1_output.dp(tmp0_desc, 23, IntSerializer_getInstance(), value.e1v_1);
|
|
3410
|
+
tmp1_output.dp(tmp0_desc, 24, BooleanSerializer_getInstance(), value.f1v_1);
|
|
3411
|
+
tmp1_output.dp(tmp0_desc, 25, IntSerializer_getInstance(), value.g1v_1);
|
|
3316
3412
|
tmp1_output.ln(tmp0_desc);
|
|
3317
3413
|
};
|
|
3318
3414
|
protoOf($serializer_9).ck = function (encoder, value) {
|
|
3319
|
-
return this.
|
|
3415
|
+
return this.g1u(encoder, value instanceof RulesDto ? value : THROW_CCE());
|
|
3320
3416
|
};
|
|
3321
3417
|
protoOf($serializer_9).dk = function (decoder) {
|
|
3322
|
-
var tmp0_desc = this.
|
|
3418
|
+
var tmp0_desc = this.f1u_1;
|
|
3323
3419
|
var tmp1_flag = true;
|
|
3324
3420
|
var tmp2_index = 0;
|
|
3325
3421
|
var tmp3_bitMask0 = 0;
|
|
@@ -3350,7 +3446,7 @@
|
|
|
3350
3446
|
var tmp28_local24 = null;
|
|
3351
3447
|
var tmp29_local25 = null;
|
|
3352
3448
|
var tmp30_input = decoder.kn(tmp0_desc);
|
|
3353
|
-
var tmp31_cached = Companion_getInstance_21().
|
|
3449
|
+
var tmp31_cached = Companion_getInstance_21().e1u_1;
|
|
3354
3450
|
if (tmp30_input.ao()) {
|
|
3355
3451
|
tmp4_local0 = tmp30_input.yn(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
3356
3452
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -3523,10 +3619,10 @@
|
|
|
3523
3619
|
return RulesDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, tmp15_local11, tmp16_local12, tmp17_local13, tmp18_local14, tmp19_local15, tmp20_local16, tmp21_local17, tmp22_local18, tmp23_local19, tmp24_local20, tmp25_local21, tmp26_local22, tmp27_local23, tmp28_local24, tmp29_local25, null);
|
|
3524
3620
|
};
|
|
3525
3621
|
protoOf($serializer_9).bk = function () {
|
|
3526
|
-
return this.
|
|
3622
|
+
return this.f1u_1;
|
|
3527
3623
|
};
|
|
3528
3624
|
protoOf($serializer_9).rv = function () {
|
|
3529
|
-
var tmp0_cached = Companion_getInstance_21().
|
|
3625
|
+
var tmp0_cached = Companion_getInstance_21().e1u_1;
|
|
3530
3626
|
// Inline function 'kotlin.arrayOf' call
|
|
3531
3627
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3532
3628
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -3540,34 +3636,34 @@
|
|
|
3540
3636
|
}
|
|
3541
3637
|
function RulesDto_init_$Init$(seen0, name, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, dealerInitialCardsCount, dealerFinalCardsCount, dealerCounterClockwise, contractTypes, bidTypes, needToPutHigherTrump, trumpCardStepMode, trumpCardStepPartnerMode, combinationsWithFirstCard, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, checkTrumpCombination, checkOnlyTrumpDebertz, pointsDistributeMode, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, fineAfterThirdFailedContract, serializationConstructorMarker, $this) {
|
|
3542
3638
|
if (!(67108863 === (67108863 & seen0))) {
|
|
3543
|
-
throwMissingFieldException(seen0, 67108863, $serializer_getInstance_9().
|
|
3639
|
+
throwMissingFieldException(seen0, 67108863, $serializer_getInstance_9().f1u_1);
|
|
3544
3640
|
}
|
|
3545
|
-
$this.
|
|
3546
|
-
$this.
|
|
3547
|
-
$this.
|
|
3548
|
-
$this.
|
|
3549
|
-
$this.
|
|
3550
|
-
$this.
|
|
3551
|
-
$this.
|
|
3552
|
-
$this.
|
|
3553
|
-
$this.
|
|
3554
|
-
$this.
|
|
3555
|
-
$this.
|
|
3556
|
-
$this.
|
|
3557
|
-
$this.
|
|
3558
|
-
$this.
|
|
3559
|
-
$this.
|
|
3560
|
-
$this.
|
|
3561
|
-
$this.
|
|
3562
|
-
$this.
|
|
3563
|
-
$this.
|
|
3564
|
-
$this.
|
|
3565
|
-
$this.
|
|
3566
|
-
$this.
|
|
3567
|
-
$this.
|
|
3568
|
-
$this.
|
|
3569
|
-
$this.
|
|
3570
|
-
$this.
|
|
3641
|
+
$this.h1u_1 = name;
|
|
3642
|
+
$this.i1u_1 = playerWhoChooseSuitGoFirst;
|
|
3643
|
+
$this.j1u_1 = winnerShuffleCards;
|
|
3644
|
+
$this.k1u_1 = playWithoutLiabilities;
|
|
3645
|
+
$this.l1u_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
3646
|
+
$this.m1u_1 = dealerInitialCardsCount;
|
|
3647
|
+
$this.n1u_1 = dealerFinalCardsCount;
|
|
3648
|
+
$this.o1u_1 = dealerCounterClockwise;
|
|
3649
|
+
$this.p1u_1 = contractTypes;
|
|
3650
|
+
$this.q1u_1 = bidTypes;
|
|
3651
|
+
$this.r1u_1 = needToPutHigherTrump;
|
|
3652
|
+
$this.s1u_1 = trumpCardStepMode;
|
|
3653
|
+
$this.t1u_1 = trumpCardStepPartnerMode;
|
|
3654
|
+
$this.u1u_1 = combinationsWithFirstCard;
|
|
3655
|
+
$this.v1u_1 = protectBella;
|
|
3656
|
+
$this.w1u_1 = oneTryToProtectBella;
|
|
3657
|
+
$this.x1u_1 = enableFourSevensCombination;
|
|
3658
|
+
$this.y1u_1 = enableTrumpSevenCombination;
|
|
3659
|
+
$this.z1u_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
3660
|
+
$this.a1v_1 = checkTrumpCombination;
|
|
3661
|
+
$this.b1v_1 = checkOnlyTrumpDebertz;
|
|
3662
|
+
$this.c1v_1 = pointsDistributeMode;
|
|
3663
|
+
$this.d1v_1 = enableFineIfNoBribes;
|
|
3664
|
+
$this.e1v_1 = fineIfNoBribes;
|
|
3665
|
+
$this.f1v_1 = enableFineAfterThirdByte;
|
|
3666
|
+
$this.g1v_1 = fineAfterThirdFailedContract;
|
|
3571
3667
|
return $this;
|
|
3572
3668
|
}
|
|
3573
3669
|
function RulesDto_init_$Create$(seen0, name, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, dealerInitialCardsCount, dealerFinalCardsCount, dealerCounterClockwise, contractTypes, bidTypes, needToPutHigherTrump, trumpCardStepMode, trumpCardStepPartnerMode, combinationsWithFirstCard, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, checkTrumpCombination, checkOnlyTrumpDebertz, pointsDistributeMode, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, fineAfterThirdFailedContract, serializationConstructorMarker) {
|
|
@@ -3575,63 +3671,63 @@
|
|
|
3575
3671
|
}
|
|
3576
3672
|
function RulesDto(name, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, dealerInitialCardsCount, dealerFinalCardsCount, dealerCounterClockwise, contractTypes, bidTypes, needToPutHigherTrump, trumpCardStepMode, trumpCardStepPartnerMode, combinationsWithFirstCard, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, checkTrumpCombination, checkOnlyTrumpDebertz, pointsDistributeMode, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, fineAfterThirdFailedContract) {
|
|
3577
3673
|
Companion_getInstance_21();
|
|
3578
|
-
this.
|
|
3579
|
-
this.
|
|
3580
|
-
this.
|
|
3581
|
-
this.
|
|
3582
|
-
this.
|
|
3583
|
-
this.
|
|
3584
|
-
this.
|
|
3585
|
-
this.
|
|
3586
|
-
this.
|
|
3587
|
-
this.
|
|
3588
|
-
this.
|
|
3589
|
-
this.
|
|
3590
|
-
this.
|
|
3591
|
-
this.
|
|
3592
|
-
this.
|
|
3593
|
-
this.
|
|
3594
|
-
this.
|
|
3595
|
-
this.
|
|
3596
|
-
this.
|
|
3597
|
-
this.
|
|
3598
|
-
this.
|
|
3599
|
-
this.
|
|
3600
|
-
this.
|
|
3601
|
-
this.
|
|
3602
|
-
this.
|
|
3603
|
-
this.
|
|
3674
|
+
this.h1u_1 = name;
|
|
3675
|
+
this.i1u_1 = playerWhoChooseSuitGoFirst;
|
|
3676
|
+
this.j1u_1 = winnerShuffleCards;
|
|
3677
|
+
this.k1u_1 = playWithoutLiabilities;
|
|
3678
|
+
this.l1u_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
3679
|
+
this.m1u_1 = dealerInitialCardsCount;
|
|
3680
|
+
this.n1u_1 = dealerFinalCardsCount;
|
|
3681
|
+
this.o1u_1 = dealerCounterClockwise;
|
|
3682
|
+
this.p1u_1 = contractTypes;
|
|
3683
|
+
this.q1u_1 = bidTypes;
|
|
3684
|
+
this.r1u_1 = needToPutHigherTrump;
|
|
3685
|
+
this.s1u_1 = trumpCardStepMode;
|
|
3686
|
+
this.t1u_1 = trumpCardStepPartnerMode;
|
|
3687
|
+
this.u1u_1 = combinationsWithFirstCard;
|
|
3688
|
+
this.v1u_1 = protectBella;
|
|
3689
|
+
this.w1u_1 = oneTryToProtectBella;
|
|
3690
|
+
this.x1u_1 = enableFourSevensCombination;
|
|
3691
|
+
this.y1u_1 = enableTrumpSevenCombination;
|
|
3692
|
+
this.z1u_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
3693
|
+
this.a1v_1 = checkTrumpCombination;
|
|
3694
|
+
this.b1v_1 = checkOnlyTrumpDebertz;
|
|
3695
|
+
this.c1v_1 = pointsDistributeMode;
|
|
3696
|
+
this.d1v_1 = enableFineIfNoBribes;
|
|
3697
|
+
this.e1v_1 = fineIfNoBribes;
|
|
3698
|
+
this.f1v_1 = enableFineAfterThirdByte;
|
|
3699
|
+
this.g1v_1 = fineAfterThirdFailedContract;
|
|
3604
3700
|
}
|
|
3605
3701
|
protoOf(RulesDto).toString = function () {
|
|
3606
|
-
return 'RulesDto(name=' + this.
|
|
3702
|
+
return 'RulesDto(name=' + this.h1u_1 + ', playerWhoChooseSuitGoFirst=' + this.i1u_1 + ', winnerShuffleCards=' + this.j1u_1 + ', playWithoutLiabilities=' + this.k1u_1 + ', trumpCardGoToPlayerWhoShuffleCards=' + this.l1u_1 + ', dealerInitialCardsCount=' + this.m1u_1 + ', dealerFinalCardsCount=' + this.n1u_1 + ', dealerCounterClockwise=' + this.o1u_1 + ', contractTypes=' + toString(this.p1u_1) + ', bidTypes=' + toString(this.q1u_1) + ', needToPutHigherTrump=' + this.r1u_1 + ', trumpCardStepMode=' + this.s1u_1 + ', trumpCardStepPartnerMode=' + this.t1u_1 + ', combinationsWithFirstCard=' + toString(this.u1u_1) + ', protectBella=' + this.v1u_1 + ', oneTryToProtectBella=' + this.w1u_1 + ', enableFourSevensCombination=' + this.x1u_1 + ', enableTrumpSevenCombination=' + this.y1u_1 + ', enableTrumpSevenCombinationAfterDistribution=' + this.z1u_1 + ', checkTrumpCombination=' + this.a1v_1 + ', checkOnlyTrumpDebertz=' + this.b1v_1 + ', pointsDistributeMode=' + this.c1v_1 + ', enableFineIfNoBribes=' + this.d1v_1 + ', fineIfNoBribes=' + this.e1v_1 + ', enableFineAfterThirdByte=' + this.f1v_1 + ', fineAfterThirdFailedContract=' + this.g1v_1 + ')';
|
|
3607
3703
|
};
|
|
3608
3704
|
protoOf(RulesDto).hashCode = function () {
|
|
3609
|
-
var result = this.
|
|
3610
|
-
result = imul(result, 31) + (this.h1u_1 == null ? 0 : getBooleanHashCode(this.h1u_1)) | 0;
|
|
3705
|
+
var result = this.h1u_1 == null ? 0 : getStringHashCode(this.h1u_1);
|
|
3611
3706
|
result = imul(result, 31) + (this.i1u_1 == null ? 0 : getBooleanHashCode(this.i1u_1)) | 0;
|
|
3612
3707
|
result = imul(result, 31) + (this.j1u_1 == null ? 0 : getBooleanHashCode(this.j1u_1)) | 0;
|
|
3613
3708
|
result = imul(result, 31) + (this.k1u_1 == null ? 0 : getBooleanHashCode(this.k1u_1)) | 0;
|
|
3614
|
-
result = imul(result, 31) + (this.l1u_1 == null ? 0 : this.l1u_1) | 0;
|
|
3709
|
+
result = imul(result, 31) + (this.l1u_1 == null ? 0 : getBooleanHashCode(this.l1u_1)) | 0;
|
|
3615
3710
|
result = imul(result, 31) + (this.m1u_1 == null ? 0 : this.m1u_1) | 0;
|
|
3616
|
-
result = imul(result, 31) + (this.n1u_1 == null ? 0 :
|
|
3617
|
-
result = imul(result, 31) + (this.o1u_1 == null ? 0 :
|
|
3711
|
+
result = imul(result, 31) + (this.n1u_1 == null ? 0 : this.n1u_1) | 0;
|
|
3712
|
+
result = imul(result, 31) + (this.o1u_1 == null ? 0 : getBooleanHashCode(this.o1u_1)) | 0;
|
|
3618
3713
|
result = imul(result, 31) + (this.p1u_1 == null ? 0 : hashCode(this.p1u_1)) | 0;
|
|
3619
|
-
result = imul(result, 31) + (this.q1u_1 == null ? 0 :
|
|
3620
|
-
result = imul(result, 31) + (this.r1u_1 == null ? 0 :
|
|
3714
|
+
result = imul(result, 31) + (this.q1u_1 == null ? 0 : hashCode(this.q1u_1)) | 0;
|
|
3715
|
+
result = imul(result, 31) + (this.r1u_1 == null ? 0 : getBooleanHashCode(this.r1u_1)) | 0;
|
|
3621
3716
|
result = imul(result, 31) + (this.s1u_1 == null ? 0 : getStringHashCode(this.s1u_1)) | 0;
|
|
3622
|
-
result = imul(result, 31) + (this.t1u_1 == null ? 0 :
|
|
3623
|
-
result = imul(result, 31) + (this.u1u_1 == null ? 0 :
|
|
3717
|
+
result = imul(result, 31) + (this.t1u_1 == null ? 0 : getStringHashCode(this.t1u_1)) | 0;
|
|
3718
|
+
result = imul(result, 31) + (this.u1u_1 == null ? 0 : hashCode(this.u1u_1)) | 0;
|
|
3624
3719
|
result = imul(result, 31) + (this.v1u_1 == null ? 0 : getBooleanHashCode(this.v1u_1)) | 0;
|
|
3625
3720
|
result = imul(result, 31) + (this.w1u_1 == null ? 0 : getBooleanHashCode(this.w1u_1)) | 0;
|
|
3626
3721
|
result = imul(result, 31) + (this.x1u_1 == null ? 0 : getBooleanHashCode(this.x1u_1)) | 0;
|
|
3627
3722
|
result = imul(result, 31) + (this.y1u_1 == null ? 0 : getBooleanHashCode(this.y1u_1)) | 0;
|
|
3628
3723
|
result = imul(result, 31) + (this.z1u_1 == null ? 0 : getBooleanHashCode(this.z1u_1)) | 0;
|
|
3629
3724
|
result = imul(result, 31) + (this.a1v_1 == null ? 0 : getBooleanHashCode(this.a1v_1)) | 0;
|
|
3630
|
-
result = imul(result, 31) +
|
|
3631
|
-
result = imul(result, 31) + (this.c1v_1
|
|
3632
|
-
result = imul(result, 31) + (this.d1v_1 == null ? 0 : this.d1v_1) | 0;
|
|
3633
|
-
result = imul(result, 31) + (this.e1v_1 == null ? 0 :
|
|
3634
|
-
result = imul(result, 31) + (this.f1v_1 == null ? 0 : this.f1v_1) | 0;
|
|
3725
|
+
result = imul(result, 31) + (this.b1v_1 == null ? 0 : getBooleanHashCode(this.b1v_1)) | 0;
|
|
3726
|
+
result = imul(result, 31) + getStringHashCode(this.c1v_1) | 0;
|
|
3727
|
+
result = imul(result, 31) + (this.d1v_1 == null ? 0 : getBooleanHashCode(this.d1v_1)) | 0;
|
|
3728
|
+
result = imul(result, 31) + (this.e1v_1 == null ? 0 : this.e1v_1) | 0;
|
|
3729
|
+
result = imul(result, 31) + (this.f1v_1 == null ? 0 : getBooleanHashCode(this.f1v_1)) | 0;
|
|
3730
|
+
result = imul(result, 31) + (this.g1v_1 == null ? 0 : this.g1v_1) | 0;
|
|
3635
3731
|
return result;
|
|
3636
3732
|
};
|
|
3637
3733
|
protoOf(RulesDto).equals = function (other) {
|
|
@@ -3639,8 +3735,6 @@
|
|
|
3639
3735
|
return true;
|
|
3640
3736
|
if (!(other instanceof RulesDto))
|
|
3641
3737
|
return false;
|
|
3642
|
-
if (!(this.g1u_1 == other.g1u_1))
|
|
3643
|
-
return false;
|
|
3644
3738
|
if (!(this.h1u_1 == other.h1u_1))
|
|
3645
3739
|
return false;
|
|
3646
3740
|
if (!(this.i1u_1 == other.i1u_1))
|
|
@@ -3655,19 +3749,19 @@
|
|
|
3655
3749
|
return false;
|
|
3656
3750
|
if (!(this.n1u_1 == other.n1u_1))
|
|
3657
3751
|
return false;
|
|
3658
|
-
if (!
|
|
3752
|
+
if (!(this.o1u_1 == other.o1u_1))
|
|
3659
3753
|
return false;
|
|
3660
3754
|
if (!equals(this.p1u_1, other.p1u_1))
|
|
3661
3755
|
return false;
|
|
3662
|
-
if (!(this.q1u_1
|
|
3756
|
+
if (!equals(this.q1u_1, other.q1u_1))
|
|
3663
3757
|
return false;
|
|
3664
3758
|
if (!(this.r1u_1 == other.r1u_1))
|
|
3665
3759
|
return false;
|
|
3666
3760
|
if (!(this.s1u_1 == other.s1u_1))
|
|
3667
3761
|
return false;
|
|
3668
|
-
if (!
|
|
3762
|
+
if (!(this.t1u_1 == other.t1u_1))
|
|
3669
3763
|
return false;
|
|
3670
|
-
if (!(this.u1u_1
|
|
3764
|
+
if (!equals(this.u1u_1, other.u1u_1))
|
|
3671
3765
|
return false;
|
|
3672
3766
|
if (!(this.v1u_1 == other.v1u_1))
|
|
3673
3767
|
return false;
|
|
@@ -3681,9 +3775,9 @@
|
|
|
3681
3775
|
return false;
|
|
3682
3776
|
if (!(this.a1v_1 == other.a1v_1))
|
|
3683
3777
|
return false;
|
|
3684
|
-
if (!(this.b1v_1
|
|
3778
|
+
if (!(this.b1v_1 == other.b1v_1))
|
|
3685
3779
|
return false;
|
|
3686
|
-
if (!(this.c1v_1
|
|
3780
|
+
if (!(this.c1v_1 === other.c1v_1))
|
|
3687
3781
|
return false;
|
|
3688
3782
|
if (!(this.d1v_1 == other.d1v_1))
|
|
3689
3783
|
return false;
|
|
@@ -3691,6 +3785,8 @@
|
|
|
3691
3785
|
return false;
|
|
3692
3786
|
if (!(this.f1v_1 == other.f1v_1))
|
|
3693
3787
|
return false;
|
|
3788
|
+
if (!(this.g1v_1 == other.g1v_1))
|
|
3789
|
+
return false;
|
|
3694
3790
|
return true;
|
|
3695
3791
|
};
|
|
3696
3792
|
function BufferedAction() {
|
|
@@ -3820,14 +3916,26 @@
|
|
|
3820
3916
|
}
|
|
3821
3917
|
function previousToOrNull(_this__u8e3s4, index) {
|
|
3822
3918
|
var previousItemIndex = index - 1 | 0;
|
|
3823
|
-
|
|
3919
|
+
var tmp;
|
|
3920
|
+
if (previousItemIndex < 0) {
|
|
3921
|
+
tmp = null;
|
|
3922
|
+
} else {
|
|
3923
|
+
tmp = _this__u8e3s4.p(previousItemIndex);
|
|
3924
|
+
}
|
|
3925
|
+
return tmp;
|
|
3824
3926
|
}
|
|
3825
3927
|
function nextToOrNull(_this__u8e3s4, index) {
|
|
3826
3928
|
var nextItemIndex = index + 1 | 0;
|
|
3827
|
-
|
|
3929
|
+
var tmp;
|
|
3930
|
+
if (nextItemIndex > get_lastIndex(_this__u8e3s4)) {
|
|
3931
|
+
tmp = null;
|
|
3932
|
+
} else {
|
|
3933
|
+
tmp = _this__u8e3s4.p(nextItemIndex);
|
|
3934
|
+
}
|
|
3935
|
+
return tmp;
|
|
3828
3936
|
}
|
|
3829
3937
|
function _get_$cachedSerializer__te6jhj_8($this) {
|
|
3830
|
-
return $this.
|
|
3938
|
+
return $this.n1v_1.v1();
|
|
3831
3939
|
}
|
|
3832
3940
|
function LogType$Companion$_anonymous__d4fjnz() {
|
|
3833
3941
|
return createSimpleEnumSerializer('com.logic.utils.logger.outputs.LogType', values_3());
|
|
@@ -3867,7 +3975,7 @@
|
|
|
3867
3975
|
Companion_instance_19 = this;
|
|
3868
3976
|
var tmp = this;
|
|
3869
3977
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
3870
|
-
tmp.
|
|
3978
|
+
tmp.n1v_1 = lazy(tmp_0, LogType$Companion$_anonymous__d4fjnz);
|
|
3871
3979
|
}
|
|
3872
3980
|
protoOf(Companion_19).z17 = function () {
|
|
3873
3981
|
return _get_$cachedSerializer__te6jhj_8(this);
|
|
@@ -3930,7 +4038,7 @@
|
|
|
3930
4038
|
// Inline function 'kotlin.arrayOf' call
|
|
3931
4039
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3932
4040
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3933
|
-
tmp.
|
|
4041
|
+
tmp.t1v_1 = [lazy(tmp_0, LoggerOutputDataDto$Companion$$childSerializers$_anonymous__j015dy), null, null, null, null];
|
|
3934
4042
|
}
|
|
3935
4043
|
protoOf(Companion_20).z17 = function () {
|
|
3936
4044
|
return $serializer_getInstance_10();
|
|
@@ -3949,12 +4057,12 @@
|
|
|
3949
4057
|
tmp0_serialDesc.av('tag', false);
|
|
3950
4058
|
tmp0_serialDesc.av('message', false);
|
|
3951
4059
|
tmp0_serialDesc.av('stackTrace', false);
|
|
3952
|
-
this.
|
|
4060
|
+
this.u1v_1 = tmp0_serialDesc;
|
|
3953
4061
|
}
|
|
3954
|
-
protoOf($serializer_10).
|
|
3955
|
-
var tmp0_desc = this.
|
|
4062
|
+
protoOf($serializer_10).v1v = function (encoder, value) {
|
|
4063
|
+
var tmp0_desc = this.u1v_1;
|
|
3956
4064
|
var tmp1_output = encoder.kn(tmp0_desc);
|
|
3957
|
-
var tmp2_cached = Companion_getInstance_23().
|
|
4065
|
+
var tmp2_cached = Companion_getInstance_23().t1v_1;
|
|
3958
4066
|
tmp1_output.bp(tmp0_desc, 0, tmp2_cached[0].v1(), value.type);
|
|
3959
4067
|
tmp1_output.dp(tmp0_desc, 1, StringSerializer_getInstance(), value.key);
|
|
3960
4068
|
tmp1_output.dp(tmp0_desc, 2, StringSerializer_getInstance(), value.tag);
|
|
@@ -3963,10 +4071,10 @@
|
|
|
3963
4071
|
tmp1_output.ln(tmp0_desc);
|
|
3964
4072
|
};
|
|
3965
4073
|
protoOf($serializer_10).ck = function (encoder, value) {
|
|
3966
|
-
return this.
|
|
4074
|
+
return this.v1v(encoder, value instanceof LoggerOutputDataDto ? value : THROW_CCE());
|
|
3967
4075
|
};
|
|
3968
4076
|
protoOf($serializer_10).dk = function (decoder) {
|
|
3969
|
-
var tmp0_desc = this.
|
|
4077
|
+
var tmp0_desc = this.u1v_1;
|
|
3970
4078
|
var tmp1_flag = true;
|
|
3971
4079
|
var tmp2_index = 0;
|
|
3972
4080
|
var tmp3_bitMask0 = 0;
|
|
@@ -3976,7 +4084,7 @@
|
|
|
3976
4084
|
var tmp7_local3 = null;
|
|
3977
4085
|
var tmp8_local4 = null;
|
|
3978
4086
|
var tmp9_input = decoder.kn(tmp0_desc);
|
|
3979
|
-
var tmp10_cached = Companion_getInstance_23().
|
|
4087
|
+
var tmp10_cached = Companion_getInstance_23().t1v_1;
|
|
3980
4088
|
if (tmp9_input.ao()) {
|
|
3981
4089
|
tmp4_local0 = tmp9_input.wn(tmp0_desc, 0, tmp10_cached[0].v1(), tmp4_local0);
|
|
3982
4090
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -4023,13 +4131,13 @@
|
|
|
4023
4131
|
return LoggerOutputDataDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
|
|
4024
4132
|
};
|
|
4025
4133
|
protoOf($serializer_10).bk = function () {
|
|
4026
|
-
return this.
|
|
4134
|
+
return this.u1v_1;
|
|
4027
4135
|
};
|
|
4028
4136
|
protoOf($serializer_10).rv = function () {
|
|
4029
4137
|
// Inline function 'kotlin.arrayOf' call
|
|
4030
4138
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
4031
4139
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4032
|
-
return [Companion_getInstance_23().
|
|
4140
|
+
return [Companion_getInstance_23().t1v_1[0].v1(), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
|
|
4033
4141
|
};
|
|
4034
4142
|
var $serializer_instance_10;
|
|
4035
4143
|
function $serializer_getInstance_10() {
|
|
@@ -4039,7 +4147,7 @@
|
|
|
4039
4147
|
}
|
|
4040
4148
|
function LoggerOutputDataDto_init_$Init$(seen0, type, key, tag, message, stackTrace, serializationConstructorMarker, $this) {
|
|
4041
4149
|
if (!(31 === (31 & seen0))) {
|
|
4042
|
-
throwMissingFieldException(seen0, 31, $serializer_getInstance_10().
|
|
4150
|
+
throwMissingFieldException(seen0, 31, $serializer_getInstance_10().u1v_1);
|
|
4043
4151
|
}
|
|
4044
4152
|
$this.type = type;
|
|
4045
4153
|
$this.key = key;
|
|
@@ -4059,7 +4167,7 @@
|
|
|
4059
4167
|
this.message = message;
|
|
4060
4168
|
this.stackTrace = stackTrace;
|
|
4061
4169
|
}
|
|
4062
|
-
protoOf(LoggerOutputDataDto).
|
|
4170
|
+
protoOf(LoggerOutputDataDto).w1v = function () {
|
|
4063
4171
|
return this.type;
|
|
4064
4172
|
};
|
|
4065
4173
|
protoOf(LoggerOutputDataDto).u1 = function () {
|
|
@@ -4071,7 +4179,7 @@
|
|
|
4071
4179
|
protoOf(LoggerOutputDataDto).e = function () {
|
|
4072
4180
|
return this.message;
|
|
4073
4181
|
};
|
|
4074
|
-
protoOf(LoggerOutputDataDto).
|
|
4182
|
+
protoOf(LoggerOutputDataDto).x1v = function () {
|
|
4075
4183
|
return this.stackTrace;
|
|
4076
4184
|
};
|
|
4077
4185
|
protoOf(LoggerOutputDataDto).toMessageLog = function () {
|
|
@@ -4125,10 +4233,10 @@
|
|
|
4125
4233
|
protoOf(LoggerOutputDataDto).s15 = function () {
|
|
4126
4234
|
return this.message;
|
|
4127
4235
|
};
|
|
4128
|
-
protoOf(LoggerOutputDataDto).
|
|
4236
|
+
protoOf(LoggerOutputDataDto).j1q = function () {
|
|
4129
4237
|
return this.stackTrace;
|
|
4130
4238
|
};
|
|
4131
|
-
protoOf(LoggerOutputDataDto).
|
|
4239
|
+
protoOf(LoggerOutputDataDto).y1v = function (type, key, tag, message, stackTrace) {
|
|
4132
4240
|
return new LoggerOutputDataDto(type, key, tag, message, stackTrace);
|
|
4133
4241
|
};
|
|
4134
4242
|
protoOf(LoggerOutputDataDto).copy = function (type, key, tag, message, stackTrace, $super) {
|
|
@@ -4137,7 +4245,7 @@
|
|
|
4137
4245
|
tag = tag === VOID ? this.tag : tag;
|
|
4138
4246
|
message = message === VOID ? this.message : message;
|
|
4139
4247
|
stackTrace = stackTrace === VOID ? this.stackTrace : stackTrace;
|
|
4140
|
-
return $super === VOID ? this.
|
|
4248
|
+
return $super === VOID ? this.y1v(type, key, tag, message, stackTrace) : $super.y1v.call(this, type, key, tag, message, stackTrace);
|
|
4141
4249
|
};
|
|
4142
4250
|
protoOf(LoggerOutputDataDto).toString = function () {
|
|
4143
4251
|
return 'LoggerOutputDataDto(type=' + this.type.toString() + ', key=' + this.key + ', tag=' + this.tag + ', message=' + this.message + ', stackTrace=' + this.stackTrace + ')';
|
|
@@ -4197,21 +4305,12 @@
|
|
|
4197
4305
|
defineProp(protoOf(PlayerLostConnectionReason), 'playerId', function () {
|
|
4198
4306
|
return this.o1p();
|
|
4199
4307
|
});
|
|
4200
|
-
defineProp(protoOf(PlayerLostConnectionReason), 'connectionState', function () {
|
|
4201
|
-
return this.q1p();
|
|
4202
|
-
});
|
|
4203
4308
|
defineProp(protoOf(PlayerTimeoutReason), 'playerId', function () {
|
|
4204
4309
|
return this.o1p();
|
|
4205
4310
|
});
|
|
4206
|
-
defineProp(protoOf(PlayerTimeoutReason), 'connectionState', function () {
|
|
4207
|
-
return this.q1p();
|
|
4208
|
-
});
|
|
4209
4311
|
defineProp(protoOf(PlayerExitReason), 'playerId', function () {
|
|
4210
4312
|
return this.o1p();
|
|
4211
4313
|
});
|
|
4212
|
-
defineProp(protoOf(PlayerExitReason), 'connectionState', function () {
|
|
4213
|
-
return this.q1p();
|
|
4214
|
-
});
|
|
4215
4314
|
defineProp(protoOf(Reason), 'name', protoOf(Reason).i2);
|
|
4216
4315
|
defineProp(protoOf(Reason), 'ordinal', protoOf(Reason).j2);
|
|
4217
4316
|
defineProp(protoOf(Reason_0), 'name', protoOf(Reason_0).i2);
|
|
@@ -4222,16 +4321,18 @@
|
|
|
4222
4321
|
defineProp(protoOf(PlayerIndex), 'playerId', function () {
|
|
4223
4322
|
return this.o1p();
|
|
4224
4323
|
});
|
|
4225
|
-
defineProp(protoOf(PlayerConnectionState), 'isLive', protoOf(PlayerConnectionState).
|
|
4226
|
-
defineProp(protoOf(PlayerConnectionState), 'isTimeOut', protoOf(PlayerConnectionState).
|
|
4227
|
-
defineProp(protoOf(PlayerConnectionState), 'isLostConnection', protoOf(PlayerConnectionState).
|
|
4228
|
-
defineProp(protoOf(PlayerConnectionState), 'isLeft', protoOf(PlayerConnectionState).
|
|
4324
|
+
defineProp(protoOf(PlayerConnectionState), 'isLive', protoOf(PlayerConnectionState).m1r);
|
|
4325
|
+
defineProp(protoOf(PlayerConnectionState), 'isTimeOut', protoOf(PlayerConnectionState).n1r);
|
|
4326
|
+
defineProp(protoOf(PlayerConnectionState), 'isLostConnection', protoOf(PlayerConnectionState).o1r);
|
|
4327
|
+
defineProp(protoOf(PlayerConnectionState), 'isLeft', protoOf(PlayerConnectionState).p1r);
|
|
4328
|
+
defineProp(protoOf(PlayerConnectionState), 'isLeftPermanently', protoOf(PlayerConnectionState).q1r);
|
|
4229
4329
|
defineProp(protoOf(PlayerConnectionState), 'isDeleted', protoOf(PlayerConnectionState).r1r);
|
|
4230
4330
|
defineProp(protoOf(PlayerConnectionState), 'isDisconnecting', protoOf(PlayerConnectionState).s1r);
|
|
4231
4331
|
defineProp(protoOf(PlayerConnectionState), 'isNotAlive', protoOf(PlayerConnectionState).t1r);
|
|
4232
|
-
defineProp(protoOf(PlayerConnectionState), '
|
|
4332
|
+
defineProp(protoOf(PlayerConnectionState), 'isVisibleDisconnectedReason', protoOf(PlayerConnectionState).u1r);
|
|
4233
4333
|
defineProp(protoOf(PlayerConnectionState), 'isClientDisconnectReason', protoOf(PlayerConnectionState).v1r);
|
|
4234
4334
|
defineProp(protoOf(PlayerConnectionState), 'isServerDisconnectReason', protoOf(PlayerConnectionState).w1r);
|
|
4335
|
+
defineProp(protoOf(PlayerConnectionState), 'canReconnect', protoOf(PlayerConnectionState).x1r);
|
|
4235
4336
|
defineProp(protoOf(PlayerConnectionState), 'name', protoOf(PlayerConnectionState).i2);
|
|
4236
4337
|
defineProp(protoOf(PlayerConnectionState), 'ordinal', protoOf(PlayerConnectionState).j2);
|
|
4237
4338
|
protoOf($serializer_1).sv = typeParametersSerializers;
|
|
@@ -4329,6 +4430,7 @@
|
|
|
4329
4430
|
defineProp($com$logic$data$models$player.PlayerConnectionState, 'TIMEOUT', PlayerConnectionState_TIMEOUT_getInstance, VOID, true);
|
|
4330
4431
|
defineProp($com$logic$data$models$player.PlayerConnectionState, 'LOST_CONNECTION', PlayerConnectionState_LOST_CONNECTION_getInstance, VOID, true);
|
|
4331
4432
|
defineProp($com$logic$data$models$player.PlayerConnectionState, 'LEFT', PlayerConnectionState_LEFT_getInstance, VOID, true);
|
|
4433
|
+
defineProp($com$logic$data$models$player.PlayerConnectionState, 'LEFT_PERMANENTLY', PlayerConnectionState_LEFT_PERMANENTLY_getInstance, VOID, true);
|
|
4332
4434
|
defineProp($com$logic$data$models$player.PlayerConnectionState, 'DISCONNECTING', PlayerConnectionState_DISCONNECTING_getInstance, VOID, true);
|
|
4333
4435
|
defineProp($com$logic$data$models$player.PlayerConnectionState, 'DELETED', PlayerConnectionState_DELETED_getInstance, VOID, true);
|
|
4334
4436
|
defineProp($com$logic$data$models$player.PlayerConnectionState, 'Companion', Companion_getInstance_9, VOID, true);
|
|
@@ -4414,7 +4516,7 @@
|
|
|
4414
4516
|
_.$_$.e1 = previousToOrNull;
|
|
4415
4517
|
_.$_$.f1 = toDomainEnumSafe;
|
|
4416
4518
|
_.$_$.g1 = toDomainEnum;
|
|
4417
|
-
_.$_$.h1 =
|
|
4519
|
+
_.$_$.h1 = PlayerConnectionState_LEFT_PERMANENTLY_getInstance;
|
|
4418
4520
|
_.$_$.i1 = PlayerConnectionState_LIVE_getInstance;
|
|
4419
4521
|
_.$_$.j1 = Companion_instance_5;
|
|
4420
4522
|
_.$_$.k1 = Companion_getInstance_9;
|