raspberry_games_engine_helpers 1.8.374 → 1.8.377
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 +387 -381
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.d.ts +12 -13
- package/Logic_Debertz-engine.js +6641 -6699
- package/Logic_Debertz-engine.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +9 -9
- 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
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
tmp = types;
|
|
209
209
|
}
|
|
210
210
|
types = tmp;
|
|
211
|
-
return $super === VOID ? this.
|
|
211
|
+
return $super === VOID ? this.r1v(types) : $super.r1v.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.377';
|
|
220
220
|
}
|
|
221
221
|
protoOf(GameEngineConfig).k17 = function () {
|
|
222
222
|
return this.version;
|
|
@@ -1673,6 +1673,12 @@
|
|
|
1673
1673
|
function Team(playerIds) {
|
|
1674
1674
|
this.e1s_1 = playerIds;
|
|
1675
1675
|
}
|
|
1676
|
+
protoOf(Team).f1s = function () {
|
|
1677
|
+
return this.e1s_1.p(0);
|
|
1678
|
+
};
|
|
1679
|
+
protoOf(Team).c1d = function () {
|
|
1680
|
+
return this.e1s_1.p(1);
|
|
1681
|
+
};
|
|
1676
1682
|
protoOf(Team).toString = function () {
|
|
1677
1683
|
return 'Team(playerIds=' + toString_0(this.e1s_1) + ')';
|
|
1678
1684
|
};
|
|
@@ -1689,7 +1695,7 @@
|
|
|
1689
1695
|
return true;
|
|
1690
1696
|
};
|
|
1691
1697
|
function _get_$cachedSerializer__te6jhj_5($this) {
|
|
1692
|
-
return $this.
|
|
1698
|
+
return $this.g1s_1.v1();
|
|
1693
1699
|
}
|
|
1694
1700
|
function TerminationGameReasonDto$Companion$_anonymous__30ivuy() {
|
|
1695
1701
|
var tmp = getKClass(TerminationGameReasonDto);
|
|
@@ -1727,7 +1733,7 @@
|
|
|
1727
1733
|
Companion_instance_9 = this;
|
|
1728
1734
|
var tmp = this;
|
|
1729
1735
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1730
|
-
tmp.
|
|
1736
|
+
tmp.g1s_1 = lazy(tmp_0, TerminationGameReasonDto$Companion$_anonymous__30ivuy);
|
|
1731
1737
|
}
|
|
1732
1738
|
protoOf(Companion_9).z17 = function () {
|
|
1733
1739
|
return _get_$cachedSerializer__te6jhj_5(this);
|
|
@@ -1748,7 +1754,7 @@
|
|
|
1748
1754
|
Companion_getInstance_12();
|
|
1749
1755
|
}
|
|
1750
1756
|
function _get_$cachedSerializer__te6jhj_6($this) {
|
|
1751
|
-
return $this.
|
|
1757
|
+
return $this.h1s_1.v1();
|
|
1752
1758
|
}
|
|
1753
1759
|
function ProcessingReasonDto$_anonymous__78na4x() {
|
|
1754
1760
|
var tmp = ProcessingReasonDto_getInstance();
|
|
@@ -1763,7 +1769,7 @@
|
|
|
1763
1769
|
TerminationGameReasonDto.call(this);
|
|
1764
1770
|
var tmp = this;
|
|
1765
1771
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1766
|
-
tmp.
|
|
1772
|
+
tmp.h1s_1 = lazy(tmp_0, ProcessingReasonDto$_anonymous__78na4x);
|
|
1767
1773
|
}
|
|
1768
1774
|
protoOf(ProcessingReasonDto).z17 = function () {
|
|
1769
1775
|
return _get_$cachedSerializer__te6jhj_6(this);
|
|
@@ -1800,19 +1806,19 @@
|
|
|
1800
1806
|
$serializer_instance_1 = this;
|
|
1801
1807
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_ERROR_TYPE', this, 1);
|
|
1802
1808
|
tmp0_serialDesc.av('reason', false);
|
|
1803
|
-
this.
|
|
1809
|
+
this.i1s_1 = tmp0_serialDesc;
|
|
1804
1810
|
}
|
|
1805
|
-
protoOf($serializer_1).
|
|
1806
|
-
var tmp0_desc = this.
|
|
1811
|
+
protoOf($serializer_1).j1s = function (encoder, value) {
|
|
1812
|
+
var tmp0_desc = this.i1s_1;
|
|
1807
1813
|
var tmp1_output = encoder.kn(tmp0_desc);
|
|
1808
1814
|
tmp1_output.zo(tmp0_desc, 0, value.reason);
|
|
1809
1815
|
tmp1_output.ln(tmp0_desc);
|
|
1810
1816
|
};
|
|
1811
1817
|
protoOf($serializer_1).ck = function (encoder, value) {
|
|
1812
|
-
return this.
|
|
1818
|
+
return this.j1s(encoder, value instanceof GameErrorReasonDto ? value : THROW_CCE());
|
|
1813
1819
|
};
|
|
1814
1820
|
protoOf($serializer_1).dk = function (decoder) {
|
|
1815
|
-
var tmp0_desc = this.
|
|
1821
|
+
var tmp0_desc = this.i1s_1;
|
|
1816
1822
|
var tmp1_flag = true;
|
|
1817
1823
|
var tmp2_index = 0;
|
|
1818
1824
|
var tmp3_bitMask0 = 0;
|
|
@@ -1840,7 +1846,7 @@
|
|
|
1840
1846
|
return GameErrorReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
1841
1847
|
};
|
|
1842
1848
|
protoOf($serializer_1).bk = function () {
|
|
1843
|
-
return this.
|
|
1849
|
+
return this.i1s_1;
|
|
1844
1850
|
};
|
|
1845
1851
|
protoOf($serializer_1).rv = function () {
|
|
1846
1852
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -1856,7 +1862,7 @@
|
|
|
1856
1862
|
}
|
|
1857
1863
|
function GameErrorReasonDto_init_$Init$(seen0, reason, serializationConstructorMarker, $this) {
|
|
1858
1864
|
if (!(1 === (1 & seen0))) {
|
|
1859
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_1().
|
|
1865
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_1().i1s_1);
|
|
1860
1866
|
}
|
|
1861
1867
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
1862
1868
|
$this.reason = reason;
|
|
@@ -1897,19 +1903,19 @@
|
|
|
1897
1903
|
$serializer_instance_2 = this;
|
|
1898
1904
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_FINISHED_TYPE', this, 1);
|
|
1899
1905
|
tmp0_serialDesc.av('reason', false);
|
|
1900
|
-
this.
|
|
1906
|
+
this.k1s_1 = tmp0_serialDesc;
|
|
1901
1907
|
}
|
|
1902
|
-
protoOf($serializer_2).
|
|
1903
|
-
var tmp0_desc = this.
|
|
1908
|
+
protoOf($serializer_2).l1s = function (encoder, value) {
|
|
1909
|
+
var tmp0_desc = this.k1s_1;
|
|
1904
1910
|
var tmp1_output = encoder.kn(tmp0_desc);
|
|
1905
|
-
tmp1_output.zo(tmp0_desc, 0, value.
|
|
1911
|
+
tmp1_output.zo(tmp0_desc, 0, value.m1s_1);
|
|
1906
1912
|
tmp1_output.ln(tmp0_desc);
|
|
1907
1913
|
};
|
|
1908
1914
|
protoOf($serializer_2).ck = function (encoder, value) {
|
|
1909
|
-
return this.
|
|
1915
|
+
return this.l1s(encoder, value instanceof GameFinishedReasonDto ? value : THROW_CCE());
|
|
1910
1916
|
};
|
|
1911
1917
|
protoOf($serializer_2).dk = function (decoder) {
|
|
1912
|
-
var tmp0_desc = this.
|
|
1918
|
+
var tmp0_desc = this.k1s_1;
|
|
1913
1919
|
var tmp1_flag = true;
|
|
1914
1920
|
var tmp2_index = 0;
|
|
1915
1921
|
var tmp3_bitMask0 = 0;
|
|
@@ -1937,7 +1943,7 @@
|
|
|
1937
1943
|
return GameFinishedReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
1938
1944
|
};
|
|
1939
1945
|
protoOf($serializer_2).bk = function () {
|
|
1940
|
-
return this.
|
|
1946
|
+
return this.k1s_1;
|
|
1941
1947
|
};
|
|
1942
1948
|
protoOf($serializer_2).rv = function () {
|
|
1943
1949
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -1953,10 +1959,10 @@
|
|
|
1953
1959
|
}
|
|
1954
1960
|
function GameFinishedReasonDto_init_$Init$(seen0, reason, serializationConstructorMarker, $this) {
|
|
1955
1961
|
if (!(1 === (1 & seen0))) {
|
|
1956
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_2().
|
|
1962
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_2().k1s_1);
|
|
1957
1963
|
}
|
|
1958
1964
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
1959
|
-
$this.
|
|
1965
|
+
$this.m1s_1 = reason;
|
|
1960
1966
|
return $this;
|
|
1961
1967
|
}
|
|
1962
1968
|
function GameFinishedReasonDto_init_$Create$(seen0, reason, serializationConstructorMarker) {
|
|
@@ -1964,20 +1970,20 @@
|
|
|
1964
1970
|
}
|
|
1965
1971
|
function GameFinishedReasonDto(reason) {
|
|
1966
1972
|
TerminationGameReasonDto.call(this);
|
|
1967
|
-
this.
|
|
1973
|
+
this.m1s_1 = reason;
|
|
1968
1974
|
}
|
|
1969
1975
|
protoOf(GameFinishedReasonDto).toString = function () {
|
|
1970
|
-
return 'GameFinishedReasonDto(reason=' + this.
|
|
1976
|
+
return 'GameFinishedReasonDto(reason=' + this.m1s_1 + ')';
|
|
1971
1977
|
};
|
|
1972
1978
|
protoOf(GameFinishedReasonDto).hashCode = function () {
|
|
1973
|
-
return getStringHashCode(this.
|
|
1979
|
+
return getStringHashCode(this.m1s_1);
|
|
1974
1980
|
};
|
|
1975
1981
|
protoOf(GameFinishedReasonDto).equals = function (other) {
|
|
1976
1982
|
if (this === other)
|
|
1977
1983
|
return true;
|
|
1978
1984
|
if (!(other instanceof GameFinishedReasonDto))
|
|
1979
1985
|
return false;
|
|
1980
|
-
if (!(this.
|
|
1986
|
+
if (!(this.m1s_1 === other.m1s_1))
|
|
1981
1987
|
return false;
|
|
1982
1988
|
return true;
|
|
1983
1989
|
};
|
|
@@ -1991,19 +1997,19 @@
|
|
|
1991
1997
|
$serializer_instance_3 = this;
|
|
1992
1998
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_EXIT', this, 1);
|
|
1993
1999
|
tmp0_serialDesc.av('playerId', false);
|
|
1994
|
-
this.
|
|
2000
|
+
this.n1s_1 = tmp0_serialDesc;
|
|
1995
2001
|
}
|
|
1996
|
-
protoOf($serializer_3).
|
|
1997
|
-
var tmp0_desc = this.
|
|
2002
|
+
protoOf($serializer_3).o1s = function (encoder, value) {
|
|
2003
|
+
var tmp0_desc = this.n1s_1;
|
|
1998
2004
|
var tmp1_output = encoder.kn(tmp0_desc);
|
|
1999
|
-
tmp1_output.zo(tmp0_desc, 0, value.
|
|
2005
|
+
tmp1_output.zo(tmp0_desc, 0, value.p1s_1);
|
|
2000
2006
|
tmp1_output.ln(tmp0_desc);
|
|
2001
2007
|
};
|
|
2002
2008
|
protoOf($serializer_3).ck = function (encoder, value) {
|
|
2003
|
-
return this.
|
|
2009
|
+
return this.o1s(encoder, value instanceof PlayerExitReasonDto ? value : THROW_CCE());
|
|
2004
2010
|
};
|
|
2005
2011
|
protoOf($serializer_3).dk = function (decoder) {
|
|
2006
|
-
var tmp0_desc = this.
|
|
2012
|
+
var tmp0_desc = this.n1s_1;
|
|
2007
2013
|
var tmp1_flag = true;
|
|
2008
2014
|
var tmp2_index = 0;
|
|
2009
2015
|
var tmp3_bitMask0 = 0;
|
|
@@ -2031,7 +2037,7 @@
|
|
|
2031
2037
|
return PlayerExitReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
2032
2038
|
};
|
|
2033
2039
|
protoOf($serializer_3).bk = function () {
|
|
2034
|
-
return this.
|
|
2040
|
+
return this.n1s_1;
|
|
2035
2041
|
};
|
|
2036
2042
|
protoOf($serializer_3).rv = function () {
|
|
2037
2043
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2047,10 +2053,10 @@
|
|
|
2047
2053
|
}
|
|
2048
2054
|
function PlayerExitReasonDto_init_$Init$(seen0, playerId, serializationConstructorMarker, $this) {
|
|
2049
2055
|
if (!(1 === (1 & seen0))) {
|
|
2050
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_3().
|
|
2056
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_3().n1s_1);
|
|
2051
2057
|
}
|
|
2052
2058
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2053
|
-
$this.
|
|
2059
|
+
$this.p1s_1 = playerId;
|
|
2054
2060
|
return $this;
|
|
2055
2061
|
}
|
|
2056
2062
|
function PlayerExitReasonDto_init_$Create$(seen0, playerId, serializationConstructorMarker) {
|
|
@@ -2058,20 +2064,20 @@
|
|
|
2058
2064
|
}
|
|
2059
2065
|
function PlayerExitReasonDto(playerId) {
|
|
2060
2066
|
TerminationGameReasonDto.call(this);
|
|
2061
|
-
this.
|
|
2067
|
+
this.p1s_1 = playerId;
|
|
2062
2068
|
}
|
|
2063
2069
|
protoOf(PlayerExitReasonDto).toString = function () {
|
|
2064
|
-
return 'PlayerExitReasonDto(playerId=' + this.
|
|
2070
|
+
return 'PlayerExitReasonDto(playerId=' + this.p1s_1 + ')';
|
|
2065
2071
|
};
|
|
2066
2072
|
protoOf(PlayerExitReasonDto).hashCode = function () {
|
|
2067
|
-
return getStringHashCode(this.
|
|
2073
|
+
return getStringHashCode(this.p1s_1);
|
|
2068
2074
|
};
|
|
2069
2075
|
protoOf(PlayerExitReasonDto).equals = function (other) {
|
|
2070
2076
|
if (this === other)
|
|
2071
2077
|
return true;
|
|
2072
2078
|
if (!(other instanceof PlayerExitReasonDto))
|
|
2073
2079
|
return false;
|
|
2074
|
-
if (!(this.
|
|
2080
|
+
if (!(this.p1s_1 === other.p1s_1))
|
|
2075
2081
|
return false;
|
|
2076
2082
|
return true;
|
|
2077
2083
|
};
|
|
@@ -2086,20 +2092,20 @@
|
|
|
2086
2092
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_LOST_CONNECTION', this, 2);
|
|
2087
2093
|
tmp0_serialDesc.av('playerId', false);
|
|
2088
2094
|
tmp0_serialDesc.av('tag', false);
|
|
2089
|
-
this.
|
|
2095
|
+
this.q1s_1 = tmp0_serialDesc;
|
|
2090
2096
|
}
|
|
2091
|
-
protoOf($serializer_4).
|
|
2092
|
-
var tmp0_desc = this.
|
|
2097
|
+
protoOf($serializer_4).r1s = function (encoder, value) {
|
|
2098
|
+
var tmp0_desc = this.q1s_1;
|
|
2093
2099
|
var tmp1_output = encoder.kn(tmp0_desc);
|
|
2094
|
-
tmp1_output.zo(tmp0_desc, 0, value.
|
|
2095
|
-
tmp1_output.dp(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
2100
|
+
tmp1_output.zo(tmp0_desc, 0, value.s1s_1);
|
|
2101
|
+
tmp1_output.dp(tmp0_desc, 1, StringSerializer_getInstance(), value.t1s_1);
|
|
2096
2102
|
tmp1_output.ln(tmp0_desc);
|
|
2097
2103
|
};
|
|
2098
2104
|
protoOf($serializer_4).ck = function (encoder, value) {
|
|
2099
|
-
return this.
|
|
2105
|
+
return this.r1s(encoder, value instanceof PlayerLostConnectionReasonDto ? value : THROW_CCE());
|
|
2100
2106
|
};
|
|
2101
2107
|
protoOf($serializer_4).dk = function (decoder) {
|
|
2102
|
-
var tmp0_desc = this.
|
|
2108
|
+
var tmp0_desc = this.q1s_1;
|
|
2103
2109
|
var tmp1_flag = true;
|
|
2104
2110
|
var tmp2_index = 0;
|
|
2105
2111
|
var tmp3_bitMask0 = 0;
|
|
@@ -2134,7 +2140,7 @@
|
|
|
2134
2140
|
return PlayerLostConnectionReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
2135
2141
|
};
|
|
2136
2142
|
protoOf($serializer_4).bk = function () {
|
|
2137
|
-
return this.
|
|
2143
|
+
return this.q1s_1;
|
|
2138
2144
|
};
|
|
2139
2145
|
protoOf($serializer_4).rv = function () {
|
|
2140
2146
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2150,11 +2156,11 @@
|
|
|
2150
2156
|
}
|
|
2151
2157
|
function PlayerLostConnectionReasonDto_init_$Init$(seen0, playerId, tag, serializationConstructorMarker, $this) {
|
|
2152
2158
|
if (!(3 === (3 & seen0))) {
|
|
2153
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_4().
|
|
2159
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_4().q1s_1);
|
|
2154
2160
|
}
|
|
2155
2161
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2156
|
-
$this.
|
|
2157
|
-
$this.
|
|
2162
|
+
$this.s1s_1 = playerId;
|
|
2163
|
+
$this.t1s_1 = tag;
|
|
2158
2164
|
return $this;
|
|
2159
2165
|
}
|
|
2160
2166
|
function PlayerLostConnectionReasonDto_init_$Create$(seen0, playerId, tag, serializationConstructorMarker) {
|
|
@@ -2162,15 +2168,15 @@
|
|
|
2162
2168
|
}
|
|
2163
2169
|
function PlayerLostConnectionReasonDto(playerId, tag) {
|
|
2164
2170
|
TerminationGameReasonDto.call(this);
|
|
2165
|
-
this.
|
|
2166
|
-
this.
|
|
2171
|
+
this.s1s_1 = playerId;
|
|
2172
|
+
this.t1s_1 = tag;
|
|
2167
2173
|
}
|
|
2168
2174
|
protoOf(PlayerLostConnectionReasonDto).toString = function () {
|
|
2169
|
-
return 'PlayerLostConnectionReasonDto(playerId=' + this.
|
|
2175
|
+
return 'PlayerLostConnectionReasonDto(playerId=' + this.s1s_1 + ', tag=' + this.t1s_1 + ')';
|
|
2170
2176
|
};
|
|
2171
2177
|
protoOf(PlayerLostConnectionReasonDto).hashCode = function () {
|
|
2172
|
-
var result = getStringHashCode(this.
|
|
2173
|
-
result = imul(result, 31) + (this.
|
|
2178
|
+
var result = getStringHashCode(this.s1s_1);
|
|
2179
|
+
result = imul(result, 31) + (this.t1s_1 == null ? 0 : getStringHashCode(this.t1s_1)) | 0;
|
|
2174
2180
|
return result;
|
|
2175
2181
|
};
|
|
2176
2182
|
protoOf(PlayerLostConnectionReasonDto).equals = function (other) {
|
|
@@ -2178,9 +2184,9 @@
|
|
|
2178
2184
|
return true;
|
|
2179
2185
|
if (!(other instanceof PlayerLostConnectionReasonDto))
|
|
2180
2186
|
return false;
|
|
2181
|
-
if (!(this.
|
|
2187
|
+
if (!(this.s1s_1 === other.s1s_1))
|
|
2182
2188
|
return false;
|
|
2183
|
-
if (!(this.
|
|
2189
|
+
if (!(this.t1s_1 == other.t1s_1))
|
|
2184
2190
|
return false;
|
|
2185
2191
|
return true;
|
|
2186
2192
|
};
|
|
@@ -2195,20 +2201,20 @@
|
|
|
2195
2201
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_TIMEOUT', this, 2);
|
|
2196
2202
|
tmp0_serialDesc.av('playerId', false);
|
|
2197
2203
|
tmp0_serialDesc.av('tag', false);
|
|
2198
|
-
this.
|
|
2204
|
+
this.u1s_1 = tmp0_serialDesc;
|
|
2199
2205
|
}
|
|
2200
|
-
protoOf($serializer_5).
|
|
2201
|
-
var tmp0_desc = this.
|
|
2206
|
+
protoOf($serializer_5).v1s = function (encoder, value) {
|
|
2207
|
+
var tmp0_desc = this.u1s_1;
|
|
2202
2208
|
var tmp1_output = encoder.kn(tmp0_desc);
|
|
2203
|
-
tmp1_output.zo(tmp0_desc, 0, value.
|
|
2204
|
-
tmp1_output.dp(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
2209
|
+
tmp1_output.zo(tmp0_desc, 0, value.w1s_1);
|
|
2210
|
+
tmp1_output.dp(tmp0_desc, 1, StringSerializer_getInstance(), value.x1s_1);
|
|
2205
2211
|
tmp1_output.ln(tmp0_desc);
|
|
2206
2212
|
};
|
|
2207
2213
|
protoOf($serializer_5).ck = function (encoder, value) {
|
|
2208
|
-
return this.
|
|
2214
|
+
return this.v1s(encoder, value instanceof PlayerTimeoutReasonDto ? value : THROW_CCE());
|
|
2209
2215
|
};
|
|
2210
2216
|
protoOf($serializer_5).dk = function (decoder) {
|
|
2211
|
-
var tmp0_desc = this.
|
|
2217
|
+
var tmp0_desc = this.u1s_1;
|
|
2212
2218
|
var tmp1_flag = true;
|
|
2213
2219
|
var tmp2_index = 0;
|
|
2214
2220
|
var tmp3_bitMask0 = 0;
|
|
@@ -2243,7 +2249,7 @@
|
|
|
2243
2249
|
return PlayerTimeoutReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
2244
2250
|
};
|
|
2245
2251
|
protoOf($serializer_5).bk = function () {
|
|
2246
|
-
return this.
|
|
2252
|
+
return this.u1s_1;
|
|
2247
2253
|
};
|
|
2248
2254
|
protoOf($serializer_5).rv = function () {
|
|
2249
2255
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2259,11 +2265,11 @@
|
|
|
2259
2265
|
}
|
|
2260
2266
|
function PlayerTimeoutReasonDto_init_$Init$(seen0, playerId, tag, serializationConstructorMarker, $this) {
|
|
2261
2267
|
if (!(3 === (3 & seen0))) {
|
|
2262
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_5().
|
|
2268
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_5().u1s_1);
|
|
2263
2269
|
}
|
|
2264
2270
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2265
|
-
$this.
|
|
2266
|
-
$this.
|
|
2271
|
+
$this.w1s_1 = playerId;
|
|
2272
|
+
$this.x1s_1 = tag;
|
|
2267
2273
|
return $this;
|
|
2268
2274
|
}
|
|
2269
2275
|
function PlayerTimeoutReasonDto_init_$Create$(seen0, playerId, tag, serializationConstructorMarker) {
|
|
@@ -2271,15 +2277,15 @@
|
|
|
2271
2277
|
}
|
|
2272
2278
|
function PlayerTimeoutReasonDto(playerId, tag) {
|
|
2273
2279
|
TerminationGameReasonDto.call(this);
|
|
2274
|
-
this.
|
|
2275
|
-
this.
|
|
2280
|
+
this.w1s_1 = playerId;
|
|
2281
|
+
this.x1s_1 = tag;
|
|
2276
2282
|
}
|
|
2277
2283
|
protoOf(PlayerTimeoutReasonDto).toString = function () {
|
|
2278
|
-
return 'PlayerTimeoutReasonDto(playerId=' + this.
|
|
2284
|
+
return 'PlayerTimeoutReasonDto(playerId=' + this.w1s_1 + ', tag=' + this.x1s_1 + ')';
|
|
2279
2285
|
};
|
|
2280
2286
|
protoOf(PlayerTimeoutReasonDto).hashCode = function () {
|
|
2281
|
-
var result = getStringHashCode(this.
|
|
2282
|
-
result = imul(result, 31) + (this.
|
|
2287
|
+
var result = getStringHashCode(this.w1s_1);
|
|
2288
|
+
result = imul(result, 31) + (this.x1s_1 == null ? 0 : getStringHashCode(this.x1s_1)) | 0;
|
|
2283
2289
|
return result;
|
|
2284
2290
|
};
|
|
2285
2291
|
protoOf(PlayerTimeoutReasonDto).equals = function (other) {
|
|
@@ -2287,14 +2293,14 @@
|
|
|
2287
2293
|
return true;
|
|
2288
2294
|
if (!(other instanceof PlayerTimeoutReasonDto))
|
|
2289
2295
|
return false;
|
|
2290
|
-
if (!(this.
|
|
2296
|
+
if (!(this.w1s_1 === other.w1s_1))
|
|
2291
2297
|
return false;
|
|
2292
|
-
if (!(this.
|
|
2298
|
+
if (!(this.x1s_1 == other.x1s_1))
|
|
2293
2299
|
return false;
|
|
2294
2300
|
return true;
|
|
2295
2301
|
};
|
|
2296
2302
|
function _get_$cachedSerializer__te6jhj_7($this) {
|
|
2297
|
-
return $this.
|
|
2303
|
+
return $this.y1s_1.v1();
|
|
2298
2304
|
}
|
|
2299
2305
|
function WaitingForConnectionReasonDto$_anonymous__hgbgp6() {
|
|
2300
2306
|
var tmp = WaitingForConnectionReasonDto_getInstance();
|
|
@@ -2309,7 +2315,7 @@
|
|
|
2309
2315
|
TerminationGameReasonDto.call(this);
|
|
2310
2316
|
var tmp = this;
|
|
2311
2317
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2312
|
-
tmp.
|
|
2318
|
+
tmp.y1s_1 = lazy(tmp_0, WaitingForConnectionReasonDto$_anonymous__hgbgp6);
|
|
2313
2319
|
}
|
|
2314
2320
|
protoOf(WaitingForConnectionReasonDto).z17 = function () {
|
|
2315
2321
|
return _get_$cachedSerializer__te6jhj_7(this);
|
|
@@ -2455,20 +2461,20 @@
|
|
|
2455
2461
|
}
|
|
2456
2462
|
function mapFromDto_2(_this__u8e3s4) {
|
|
2457
2463
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2458
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(_this__u8e3s4.
|
|
2464
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(_this__u8e3s4.m1s_1, get_gameFinishedReasonMapping());
|
|
2459
2465
|
return new GameFinishedReason(tmp0_elvis_lhs == null ? Reason_GAME_NOT_EXISTS_getInstance() : tmp0_elvis_lhs);
|
|
2460
2466
|
}
|
|
2461
2467
|
function mapFromDto_3(_this__u8e3s4) {
|
|
2462
2468
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2463
|
-
return new PlayerExitReason(_this__u8e3s4.
|
|
2469
|
+
return new PlayerExitReason(_this__u8e3s4.p1s_1);
|
|
2464
2470
|
}
|
|
2465
2471
|
function mapFromDto_4(_this__u8e3s4) {
|
|
2466
2472
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2467
|
-
return new PlayerLostConnectionReason(_this__u8e3s4.
|
|
2473
|
+
return new PlayerLostConnectionReason(_this__u8e3s4.s1s_1, _this__u8e3s4.t1s_1);
|
|
2468
2474
|
}
|
|
2469
2475
|
function mapFromDto_5(_this__u8e3s4) {
|
|
2470
2476
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2471
|
-
return new PlayerTimeoutReason(_this__u8e3s4.
|
|
2477
|
+
return new PlayerTimeoutReason(_this__u8e3s4.w1s_1, _this__u8e3s4.x1s_1);
|
|
2472
2478
|
}
|
|
2473
2479
|
function mapFromDto_6(_this__u8e3s4) {
|
|
2474
2480
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
@@ -2529,14 +2535,14 @@
|
|
|
2529
2535
|
return new GameUserInfoDto(tmp0_playerId, tmp1_uid, tmp3_name, tmp2_nickname, tmp5_avatarUrl, tmp4_photo, tmp8_rating, tmp6_isBot, tmp7_initialLuckyFactor);
|
|
2530
2536
|
}
|
|
2531
2537
|
function mapFromDto_8(_this__u8e3s4) {
|
|
2532
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
2533
|
-
var tmp = tmp0_elvis_lhs == null ? ensureNotNull(_this__u8e3s4.
|
|
2534
|
-
var tmp1_elvis_lhs = _this__u8e3s4.
|
|
2535
|
-
var tmp_0 = tmp1_elvis_lhs == null ? ensureNotNull(_this__u8e3s4.
|
|
2536
|
-
var tmp2_elvis_lhs = _this__u8e3s4.
|
|
2537
|
-
var tmp_1 = tmp2_elvis_lhs == null ? _this__u8e3s4.
|
|
2538
|
-
var tmp3_elvis_lhs = _this__u8e3s4.
|
|
2539
|
-
return new GameUserInfo(tmp, tmp_0, tmp_1, tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs, _this__u8e3s4.
|
|
2538
|
+
var tmp0_elvis_lhs = _this__u8e3s4.z1s_1;
|
|
2539
|
+
var tmp = tmp0_elvis_lhs == null ? ensureNotNull(_this__u8e3s4.a1t_1) : tmp0_elvis_lhs;
|
|
2540
|
+
var tmp1_elvis_lhs = _this__u8e3s4.b1t_1;
|
|
2541
|
+
var tmp_0 = tmp1_elvis_lhs == null ? ensureNotNull(_this__u8e3s4.c1t_1) : tmp1_elvis_lhs;
|
|
2542
|
+
var tmp2_elvis_lhs = _this__u8e3s4.d1t_1;
|
|
2543
|
+
var tmp_1 = tmp2_elvis_lhs == null ? _this__u8e3s4.e1t_1 : tmp2_elvis_lhs;
|
|
2544
|
+
var tmp3_elvis_lhs = _this__u8e3s4.g1t_1;
|
|
2545
|
+
return new GameUserInfo(tmp, tmp_0, tmp_1, tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs, _this__u8e3s4.h1t_1, _this__u8e3s4.f1t_1);
|
|
2540
2546
|
}
|
|
2541
2547
|
function mapToDto_9(_this__u8e3s4) {
|
|
2542
2548
|
var tmp0_safe_receiver = _this__u8e3s4.r1q_1;
|
|
@@ -2553,7 +2559,7 @@
|
|
|
2553
2559
|
return new PlayerStateDto(tmp4_startFrom, tmp6_playerTurnTimeout, tmp5_waitPlayerUntilTime, tmp7_state, tmp9_ready, tmp8_tag, tmp10_connection);
|
|
2554
2560
|
}
|
|
2555
2561
|
function mapFromDto_9(_this__u8e3s4) {
|
|
2556
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
2562
|
+
var tmp0_safe_receiver = _this__u8e3s4.i1t_1;
|
|
2557
2563
|
var tmp;
|
|
2558
2564
|
if (tmp0_safe_receiver == null) {
|
|
2559
2565
|
tmp = null;
|
|
@@ -2562,7 +2568,7 @@
|
|
|
2562
2568
|
tmp = Companion_getInstance_0().tg(tmp0_safe_receiver);
|
|
2563
2569
|
}
|
|
2564
2570
|
var tmp5_startFromTime = tmp;
|
|
2565
|
-
var tmp1_safe_receiver = _this__u8e3s4.
|
|
2571
|
+
var tmp1_safe_receiver = _this__u8e3s4.k1t_1;
|
|
2566
2572
|
var tmp_0;
|
|
2567
2573
|
if (tmp1_safe_receiver == null) {
|
|
2568
2574
|
tmp_0 = null;
|
|
@@ -2571,7 +2577,7 @@
|
|
|
2571
2577
|
tmp_0 = Companion_getInstance_0().tg(tmp1_safe_receiver);
|
|
2572
2578
|
}
|
|
2573
2579
|
var tmp6_waitPlayerUntilTime = tmp_0;
|
|
2574
|
-
var tmp2_safe_receiver = _this__u8e3s4.
|
|
2580
|
+
var tmp2_safe_receiver = _this__u8e3s4.j1t_1;
|
|
2575
2581
|
var tmp_1;
|
|
2576
2582
|
if (tmp2_safe_receiver == null) {
|
|
2577
2583
|
tmp_1 = null;
|
|
@@ -2580,11 +2586,11 @@
|
|
|
2580
2586
|
tmp_1 = Companion_getInstance_0().tg(tmp2_safe_receiver);
|
|
2581
2587
|
}
|
|
2582
2588
|
var tmp7_playerTurnTimeout = tmp_1;
|
|
2583
|
-
var tmp8_state = _this__u8e3s4.
|
|
2584
|
-
var tmp9_tag = _this__u8e3s4.
|
|
2585
|
-
var tmp3_elvis_lhs = _this__u8e3s4.
|
|
2589
|
+
var tmp8_state = _this__u8e3s4.l1t_1;
|
|
2590
|
+
var tmp9_tag = _this__u8e3s4.n1t_1;
|
|
2591
|
+
var tmp3_elvis_lhs = _this__u8e3s4.m1t_1;
|
|
2586
2592
|
var tmp10_ready = tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs;
|
|
2587
|
-
var tmp4_safe_receiver = _this__u8e3s4.
|
|
2593
|
+
var tmp4_safe_receiver = _this__u8e3s4.o1t_1;
|
|
2588
2594
|
var tmp11_connection = tmp4_safe_receiver == null ? null : mapFromDto_10(tmp4_safe_receiver);
|
|
2589
2595
|
return new PlayerState(tmp5_startFromTime, tmp7_playerTurnTimeout, tmp6_waitPlayerUntilTime, tmp8_state, tmp10_ready, tmp9_tag, tmp11_connection);
|
|
2590
2596
|
}
|
|
@@ -2592,7 +2598,7 @@
|
|
|
2592
2598
|
return new PlayerConnectionDto(_this__u8e3s4.c1r_1, _this__u8e3s4.d1r_1.toString(), Duration__toIsoString_impl_9h6wsm(_this__u8e3s4.e1r_1));
|
|
2593
2599
|
}
|
|
2594
2600
|
function mapFromDto_10(_this__u8e3s4) {
|
|
2595
|
-
return new PlayerConnection(_this__u8e3s4.
|
|
2601
|
+
return new PlayerConnection(_this__u8e3s4.p1t_1, Companion_getInstance_0().tg(_this__u8e3s4.q1t_1), Companion_getInstance().ng(_this__u8e3s4.r1t_1));
|
|
2596
2602
|
}
|
|
2597
2603
|
function Companion_15() {
|
|
2598
2604
|
}
|
|
@@ -2612,39 +2618,39 @@
|
|
|
2612
2618
|
tmp0_serialDesc.av('rating', false);
|
|
2613
2619
|
tmp0_serialDesc.av('is_bot', false);
|
|
2614
2620
|
tmp0_serialDesc.av('lucky_factor', false);
|
|
2615
|
-
this.
|
|
2621
|
+
this.s1t_1 = tmp0_serialDesc;
|
|
2616
2622
|
}
|
|
2617
|
-
protoOf($serializer_6).
|
|
2618
|
-
var tmp0_desc = this.
|
|
2623
|
+
protoOf($serializer_6).t1t = function (encoder, value) {
|
|
2624
|
+
var tmp0_desc = this.s1t_1;
|
|
2619
2625
|
var tmp1_output = encoder.kn(tmp0_desc);
|
|
2620
|
-
if (tmp1_output.hp(tmp0_desc, 0) ? true : !(value.
|
|
2621
|
-
tmp1_output.dp(tmp0_desc, 0, StringSerializer_getInstance(), value.
|
|
2626
|
+
if (tmp1_output.hp(tmp0_desc, 0) ? true : !(value.z1s_1 == null)) {
|
|
2627
|
+
tmp1_output.dp(tmp0_desc, 0, StringSerializer_getInstance(), value.z1s_1);
|
|
2622
2628
|
}
|
|
2623
|
-
if (tmp1_output.hp(tmp0_desc, 1) ? true : !(value.
|
|
2624
|
-
tmp1_output.dp(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
2629
|
+
if (tmp1_output.hp(tmp0_desc, 1) ? true : !(value.a1t_1 == null)) {
|
|
2630
|
+
tmp1_output.dp(tmp0_desc, 1, StringSerializer_getInstance(), value.a1t_1);
|
|
2625
2631
|
}
|
|
2626
|
-
if (tmp1_output.hp(tmp0_desc, 2) ? true : !(value.
|
|
2627
|
-
tmp1_output.dp(tmp0_desc, 2, StringSerializer_getInstance(), value.
|
|
2632
|
+
if (tmp1_output.hp(tmp0_desc, 2) ? true : !(value.b1t_1 == null)) {
|
|
2633
|
+
tmp1_output.dp(tmp0_desc, 2, StringSerializer_getInstance(), value.b1t_1);
|
|
2628
2634
|
}
|
|
2629
|
-
if (tmp1_output.hp(tmp0_desc, 3) ? true : !(value.
|
|
2630
|
-
tmp1_output.dp(tmp0_desc, 3, StringSerializer_getInstance(), value.
|
|
2635
|
+
if (tmp1_output.hp(tmp0_desc, 3) ? true : !(value.c1t_1 == null)) {
|
|
2636
|
+
tmp1_output.dp(tmp0_desc, 3, StringSerializer_getInstance(), value.c1t_1);
|
|
2631
2637
|
}
|
|
2632
|
-
if (tmp1_output.hp(tmp0_desc, 4) ? true : !(value.
|
|
2633
|
-
tmp1_output.dp(tmp0_desc, 4, StringSerializer_getInstance(), value.
|
|
2638
|
+
if (tmp1_output.hp(tmp0_desc, 4) ? true : !(value.d1t_1 == null)) {
|
|
2639
|
+
tmp1_output.dp(tmp0_desc, 4, StringSerializer_getInstance(), value.d1t_1);
|
|
2634
2640
|
}
|
|
2635
|
-
if (tmp1_output.hp(tmp0_desc, 5) ? true : !(value.
|
|
2636
|
-
tmp1_output.dp(tmp0_desc, 5, StringSerializer_getInstance(), value.
|
|
2641
|
+
if (tmp1_output.hp(tmp0_desc, 5) ? true : !(value.e1t_1 == null)) {
|
|
2642
|
+
tmp1_output.dp(tmp0_desc, 5, StringSerializer_getInstance(), value.e1t_1);
|
|
2637
2643
|
}
|
|
2638
|
-
tmp1_output.dp(tmp0_desc, 6, DoubleSerializer_getInstance(), value.
|
|
2639
|
-
tmp1_output.dp(tmp0_desc, 7, BooleanSerializer_getInstance(), value.
|
|
2640
|
-
tmp1_output.dp(tmp0_desc, 8, FloatSerializer_getInstance(), value.
|
|
2644
|
+
tmp1_output.dp(tmp0_desc, 6, DoubleSerializer_getInstance(), value.f1t_1);
|
|
2645
|
+
tmp1_output.dp(tmp0_desc, 7, BooleanSerializer_getInstance(), value.g1t_1);
|
|
2646
|
+
tmp1_output.dp(tmp0_desc, 8, FloatSerializer_getInstance(), value.h1t_1);
|
|
2641
2647
|
tmp1_output.ln(tmp0_desc);
|
|
2642
2648
|
};
|
|
2643
2649
|
protoOf($serializer_6).ck = function (encoder, value) {
|
|
2644
|
-
return this.
|
|
2650
|
+
return this.t1t(encoder, value instanceof GameUserInfoDto ? value : THROW_CCE());
|
|
2645
2651
|
};
|
|
2646
2652
|
protoOf($serializer_6).dk = function (decoder) {
|
|
2647
|
-
var tmp0_desc = this.
|
|
2653
|
+
var tmp0_desc = this.s1t_1;
|
|
2648
2654
|
var tmp1_flag = true;
|
|
2649
2655
|
var tmp2_index = 0;
|
|
2650
2656
|
var tmp3_bitMask0 = 0;
|
|
@@ -2728,7 +2734,7 @@
|
|
|
2728
2734
|
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);
|
|
2729
2735
|
};
|
|
2730
2736
|
protoOf($serializer_6).bk = function () {
|
|
2731
|
-
return this.
|
|
2737
|
+
return this.s1t_1;
|
|
2732
2738
|
};
|
|
2733
2739
|
protoOf($serializer_6).rv = function () {
|
|
2734
2740
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2744,35 +2750,35 @@
|
|
|
2744
2750
|
}
|
|
2745
2751
|
function GameUserInfoDto_init_$Init$(seen0, playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor, serializationConstructorMarker, $this) {
|
|
2746
2752
|
if (!(448 === (448 & seen0))) {
|
|
2747
|
-
throwMissingFieldException(seen0, 448, $serializer_getInstance_6().
|
|
2753
|
+
throwMissingFieldException(seen0, 448, $serializer_getInstance_6().s1t_1);
|
|
2748
2754
|
}
|
|
2749
2755
|
if (0 === (seen0 & 1))
|
|
2750
|
-
$this.
|
|
2756
|
+
$this.z1s_1 = null;
|
|
2751
2757
|
else
|
|
2752
|
-
$this.
|
|
2758
|
+
$this.z1s_1 = playerId;
|
|
2753
2759
|
if (0 === (seen0 & 2))
|
|
2754
|
-
$this.
|
|
2760
|
+
$this.a1t_1 = null;
|
|
2755
2761
|
else
|
|
2756
|
-
$this.
|
|
2762
|
+
$this.a1t_1 = uid;
|
|
2757
2763
|
if (0 === (seen0 & 4))
|
|
2758
|
-
$this.
|
|
2764
|
+
$this.b1t_1 = null;
|
|
2759
2765
|
else
|
|
2760
|
-
$this.
|
|
2766
|
+
$this.b1t_1 = name;
|
|
2761
2767
|
if (0 === (seen0 & 8))
|
|
2762
|
-
$this.
|
|
2768
|
+
$this.c1t_1 = null;
|
|
2763
2769
|
else
|
|
2764
|
-
$this.
|
|
2770
|
+
$this.c1t_1 = nickname;
|
|
2765
2771
|
if (0 === (seen0 & 16))
|
|
2766
|
-
$this.
|
|
2772
|
+
$this.d1t_1 = null;
|
|
2767
2773
|
else
|
|
2768
|
-
$this.
|
|
2774
|
+
$this.d1t_1 = avatarUrl;
|
|
2769
2775
|
if (0 === (seen0 & 32))
|
|
2770
|
-
$this.
|
|
2776
|
+
$this.e1t_1 = null;
|
|
2771
2777
|
else
|
|
2772
|
-
$this.
|
|
2773
|
-
$this.
|
|
2774
|
-
$this.
|
|
2775
|
-
$this.
|
|
2778
|
+
$this.e1t_1 = photo;
|
|
2779
|
+
$this.f1t_1 = rating;
|
|
2780
|
+
$this.g1t_1 = isBot;
|
|
2781
|
+
$this.h1t_1 = initialLuckyFactor;
|
|
2776
2782
|
return $this;
|
|
2777
2783
|
}
|
|
2778
2784
|
function GameUserInfoDto_init_$Create$(seen0, playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor, serializationConstructorMarker) {
|
|
@@ -2785,47 +2791,47 @@
|
|
|
2785
2791
|
nickname = nickname === VOID ? null : nickname;
|
|
2786
2792
|
avatarUrl = avatarUrl === VOID ? null : avatarUrl;
|
|
2787
2793
|
photo = photo === VOID ? null : photo;
|
|
2788
|
-
this.
|
|
2789
|
-
this.
|
|
2790
|
-
this.
|
|
2791
|
-
this.
|
|
2792
|
-
this.
|
|
2793
|
-
this.
|
|
2794
|
-
this.
|
|
2795
|
-
this.
|
|
2796
|
-
this.
|
|
2797
|
-
}
|
|
2798
|
-
protoOf(GameUserInfoDto).
|
|
2799
|
-
return this.
|
|
2800
|
-
};
|
|
2801
|
-
protoOf(GameUserInfoDto).
|
|
2794
|
+
this.z1s_1 = playerId;
|
|
2795
|
+
this.a1t_1 = uid;
|
|
2796
|
+
this.b1t_1 = name;
|
|
2797
|
+
this.c1t_1 = nickname;
|
|
2798
|
+
this.d1t_1 = avatarUrl;
|
|
2799
|
+
this.e1t_1 = photo;
|
|
2800
|
+
this.f1t_1 = rating;
|
|
2801
|
+
this.g1t_1 = isBot;
|
|
2802
|
+
this.h1t_1 = initialLuckyFactor;
|
|
2803
|
+
}
|
|
2804
|
+
protoOf(GameUserInfoDto).u1t = function () {
|
|
2805
|
+
return this.v1t(VOID, VOID, VOID, VOID, VOID, VOID, VOID, null, null);
|
|
2806
|
+
};
|
|
2807
|
+
protoOf(GameUserInfoDto).w1t = function (playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor) {
|
|
2802
2808
|
return new GameUserInfoDto(playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor);
|
|
2803
2809
|
};
|
|
2804
|
-
protoOf(GameUserInfoDto).
|
|
2805
|
-
playerId = playerId === VOID ? this.
|
|
2806
|
-
uid = uid === VOID ? this.
|
|
2807
|
-
name = name === VOID ? this.
|
|
2808
|
-
nickname = nickname === VOID ? this.
|
|
2809
|
-
avatarUrl = avatarUrl === VOID ? this.
|
|
2810
|
-
photo = photo === VOID ? this.
|
|
2811
|
-
rating = rating === VOID ? this.
|
|
2812
|
-
isBot = isBot === VOID ? this.
|
|
2813
|
-
initialLuckyFactor = initialLuckyFactor === VOID ? this.
|
|
2814
|
-
return $super === VOID ? this.
|
|
2810
|
+
protoOf(GameUserInfoDto).v1t = function (playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor, $super) {
|
|
2811
|
+
playerId = playerId === VOID ? this.z1s_1 : playerId;
|
|
2812
|
+
uid = uid === VOID ? this.a1t_1 : uid;
|
|
2813
|
+
name = name === VOID ? this.b1t_1 : name;
|
|
2814
|
+
nickname = nickname === VOID ? this.c1t_1 : nickname;
|
|
2815
|
+
avatarUrl = avatarUrl === VOID ? this.d1t_1 : avatarUrl;
|
|
2816
|
+
photo = photo === VOID ? this.e1t_1 : photo;
|
|
2817
|
+
rating = rating === VOID ? this.f1t_1 : rating;
|
|
2818
|
+
isBot = isBot === VOID ? this.g1t_1 : isBot;
|
|
2819
|
+
initialLuckyFactor = initialLuckyFactor === VOID ? this.h1t_1 : initialLuckyFactor;
|
|
2820
|
+
return $super === VOID ? this.w1t(playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor) : $super.w1t.call(this, playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor);
|
|
2815
2821
|
};
|
|
2816
2822
|
protoOf(GameUserInfoDto).toString = function () {
|
|
2817
|
-
return 'GameUserInfoDto(playerId=' + this.
|
|
2823
|
+
return 'GameUserInfoDto(playerId=' + this.z1s_1 + ', uid=' + this.a1t_1 + ', name=' + this.b1t_1 + ', nickname=' + this.c1t_1 + ', avatarUrl=' + this.d1t_1 + ', photo=' + this.e1t_1 + ', rating=' + this.f1t_1 + ', isBot=' + this.g1t_1 + ', initialLuckyFactor=' + this.h1t_1 + ')';
|
|
2818
2824
|
};
|
|
2819
2825
|
protoOf(GameUserInfoDto).hashCode = function () {
|
|
2820
|
-
var result = this.
|
|
2821
|
-
result = imul(result, 31) + (this.z1s_1 == null ? 0 : getStringHashCode(this.z1s_1)) | 0;
|
|
2826
|
+
var result = this.z1s_1 == null ? 0 : getStringHashCode(this.z1s_1);
|
|
2822
2827
|
result = imul(result, 31) + (this.a1t_1 == null ? 0 : getStringHashCode(this.a1t_1)) | 0;
|
|
2823
2828
|
result = imul(result, 31) + (this.b1t_1 == null ? 0 : getStringHashCode(this.b1t_1)) | 0;
|
|
2824
2829
|
result = imul(result, 31) + (this.c1t_1 == null ? 0 : getStringHashCode(this.c1t_1)) | 0;
|
|
2825
2830
|
result = imul(result, 31) + (this.d1t_1 == null ? 0 : getStringHashCode(this.d1t_1)) | 0;
|
|
2826
|
-
result = imul(result, 31) + (this.e1t_1 == null ? 0 :
|
|
2827
|
-
result = imul(result, 31) + (this.f1t_1 == null ? 0 :
|
|
2828
|
-
result = imul(result, 31) + (this.g1t_1 == null ? 0 :
|
|
2831
|
+
result = imul(result, 31) + (this.e1t_1 == null ? 0 : getStringHashCode(this.e1t_1)) | 0;
|
|
2832
|
+
result = imul(result, 31) + (this.f1t_1 == null ? 0 : getNumberHashCode(this.f1t_1)) | 0;
|
|
2833
|
+
result = imul(result, 31) + (this.g1t_1 == null ? 0 : getBooleanHashCode(this.g1t_1)) | 0;
|
|
2834
|
+
result = imul(result, 31) + (this.h1t_1 == null ? 0 : getNumberHashCode(this.h1t_1)) | 0;
|
|
2829
2835
|
return result;
|
|
2830
2836
|
};
|
|
2831
2837
|
protoOf(GameUserInfoDto).equals = function (other) {
|
|
@@ -2833,8 +2839,6 @@
|
|
|
2833
2839
|
return true;
|
|
2834
2840
|
if (!(other instanceof GameUserInfoDto))
|
|
2835
2841
|
return false;
|
|
2836
|
-
if (!(this.y1s_1 == other.y1s_1))
|
|
2837
|
-
return false;
|
|
2838
2842
|
if (!(this.z1s_1 == other.z1s_1))
|
|
2839
2843
|
return false;
|
|
2840
2844
|
if (!(this.a1t_1 == other.a1t_1))
|
|
@@ -2845,11 +2849,13 @@
|
|
|
2845
2849
|
return false;
|
|
2846
2850
|
if (!(this.d1t_1 == other.d1t_1))
|
|
2847
2851
|
return false;
|
|
2848
|
-
if (!
|
|
2852
|
+
if (!(this.e1t_1 == other.e1t_1))
|
|
2853
|
+
return false;
|
|
2854
|
+
if (!equals(this.f1t_1, other.f1t_1))
|
|
2849
2855
|
return false;
|
|
2850
|
-
if (!(this.
|
|
2856
|
+
if (!(this.g1t_1 == other.g1t_1))
|
|
2851
2857
|
return false;
|
|
2852
|
-
if (!equals(this.
|
|
2858
|
+
if (!equals(this.h1t_1, other.h1t_1))
|
|
2853
2859
|
return false;
|
|
2854
2860
|
return true;
|
|
2855
2861
|
};
|
|
@@ -2863,7 +2869,7 @@
|
|
|
2863
2869
|
// Inline function 'kotlin.arrayOf' call
|
|
2864
2870
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2865
2871
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2866
|
-
tmp.
|
|
2872
|
+
tmp.x1t_1 = [lazy(tmp_0, PlayerConnectionDto$Companion$$childSerializers$_anonymous__jevhp2), null, null];
|
|
2867
2873
|
}
|
|
2868
2874
|
var Companion_instance_16;
|
|
2869
2875
|
function Companion_getInstance_19() {
|
|
@@ -2877,22 +2883,22 @@
|
|
|
2877
2883
|
tmp0_serialDesc.av('state', false);
|
|
2878
2884
|
tmp0_serialDesc.av('connectionChangedTime', false);
|
|
2879
2885
|
tmp0_serialDesc.av('notLiveDurationRecord', false);
|
|
2880
|
-
this.
|
|
2886
|
+
this.y1t_1 = tmp0_serialDesc;
|
|
2881
2887
|
}
|
|
2882
|
-
protoOf($serializer_7).
|
|
2883
|
-
var tmp0_desc = this.
|
|
2888
|
+
protoOf($serializer_7).z1t = function (encoder, value) {
|
|
2889
|
+
var tmp0_desc = this.y1t_1;
|
|
2884
2890
|
var tmp1_output = encoder.kn(tmp0_desc);
|
|
2885
|
-
var tmp2_cached = Companion_getInstance_19().
|
|
2886
|
-
tmp1_output.bp(tmp0_desc, 0, tmp2_cached[0].v1(), value.
|
|
2887
|
-
tmp1_output.zo(tmp0_desc, 1, value.
|
|
2888
|
-
tmp1_output.zo(tmp0_desc, 2, value.
|
|
2891
|
+
var tmp2_cached = Companion_getInstance_19().x1t_1;
|
|
2892
|
+
tmp1_output.bp(tmp0_desc, 0, tmp2_cached[0].v1(), value.p1t_1);
|
|
2893
|
+
tmp1_output.zo(tmp0_desc, 1, value.q1t_1);
|
|
2894
|
+
tmp1_output.zo(tmp0_desc, 2, value.r1t_1);
|
|
2889
2895
|
tmp1_output.ln(tmp0_desc);
|
|
2890
2896
|
};
|
|
2891
2897
|
protoOf($serializer_7).ck = function (encoder, value) {
|
|
2892
|
-
return this.
|
|
2898
|
+
return this.z1t(encoder, value instanceof PlayerConnectionDto ? value : THROW_CCE());
|
|
2893
2899
|
};
|
|
2894
2900
|
protoOf($serializer_7).dk = function (decoder) {
|
|
2895
|
-
var tmp0_desc = this.
|
|
2901
|
+
var tmp0_desc = this.y1t_1;
|
|
2896
2902
|
var tmp1_flag = true;
|
|
2897
2903
|
var tmp2_index = 0;
|
|
2898
2904
|
var tmp3_bitMask0 = 0;
|
|
@@ -2900,7 +2906,7 @@
|
|
|
2900
2906
|
var tmp5_local1 = null;
|
|
2901
2907
|
var tmp6_local2 = null;
|
|
2902
2908
|
var tmp7_input = decoder.kn(tmp0_desc);
|
|
2903
|
-
var tmp8_cached = Companion_getInstance_19().
|
|
2909
|
+
var tmp8_cached = Companion_getInstance_19().x1t_1;
|
|
2904
2910
|
if (tmp7_input.ao()) {
|
|
2905
2911
|
tmp4_local0 = tmp7_input.wn(tmp0_desc, 0, tmp8_cached[0].v1(), tmp4_local0);
|
|
2906
2912
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -2935,13 +2941,13 @@
|
|
|
2935
2941
|
return PlayerConnectionDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
2936
2942
|
};
|
|
2937
2943
|
protoOf($serializer_7).bk = function () {
|
|
2938
|
-
return this.
|
|
2944
|
+
return this.y1t_1;
|
|
2939
2945
|
};
|
|
2940
2946
|
protoOf($serializer_7).rv = function () {
|
|
2941
2947
|
// Inline function 'kotlin.arrayOf' call
|
|
2942
2948
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2943
2949
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2944
|
-
return [Companion_getInstance_19().
|
|
2950
|
+
return [Companion_getInstance_19().x1t_1[0].v1(), StringSerializer_getInstance(), StringSerializer_getInstance()];
|
|
2945
2951
|
};
|
|
2946
2952
|
var $serializer_instance_7;
|
|
2947
2953
|
function $serializer_getInstance_7() {
|
|
@@ -2951,11 +2957,11 @@
|
|
|
2951
2957
|
}
|
|
2952
2958
|
function PlayerConnectionDto_init_$Init$(seen0, state, connectionChangedTime, notLiveDurationRecord, serializationConstructorMarker, $this) {
|
|
2953
2959
|
if (!(7 === (7 & seen0))) {
|
|
2954
|
-
throwMissingFieldException(seen0, 7, $serializer_getInstance_7().
|
|
2960
|
+
throwMissingFieldException(seen0, 7, $serializer_getInstance_7().y1t_1);
|
|
2955
2961
|
}
|
|
2956
|
-
$this.
|
|
2957
|
-
$this.
|
|
2958
|
-
$this.
|
|
2962
|
+
$this.p1t_1 = state;
|
|
2963
|
+
$this.q1t_1 = connectionChangedTime;
|
|
2964
|
+
$this.r1t_1 = notLiveDurationRecord;
|
|
2959
2965
|
return $this;
|
|
2960
2966
|
}
|
|
2961
2967
|
function PlayerConnectionDto_init_$Create$(seen0, state, connectionChangedTime, notLiveDurationRecord, serializationConstructorMarker) {
|
|
@@ -2963,17 +2969,17 @@
|
|
|
2963
2969
|
}
|
|
2964
2970
|
function PlayerConnectionDto(state, connectionChangedTime, notLiveDurationRecord) {
|
|
2965
2971
|
Companion_getInstance_19();
|
|
2966
|
-
this.
|
|
2967
|
-
this.
|
|
2968
|
-
this.
|
|
2972
|
+
this.p1t_1 = state;
|
|
2973
|
+
this.q1t_1 = connectionChangedTime;
|
|
2974
|
+
this.r1t_1 = notLiveDurationRecord;
|
|
2969
2975
|
}
|
|
2970
2976
|
protoOf(PlayerConnectionDto).toString = function () {
|
|
2971
|
-
return 'PlayerConnectionDto(state=' + this.
|
|
2977
|
+
return 'PlayerConnectionDto(state=' + this.p1t_1.toString() + ', connectionChangedTime=' + this.q1t_1 + ', notLiveDurationRecord=' + this.r1t_1 + ')';
|
|
2972
2978
|
};
|
|
2973
2979
|
protoOf(PlayerConnectionDto).hashCode = function () {
|
|
2974
|
-
var result = this.
|
|
2975
|
-
result = imul(result, 31) + getStringHashCode(this.p1t_1) | 0;
|
|
2980
|
+
var result = this.p1t_1.hashCode();
|
|
2976
2981
|
result = imul(result, 31) + getStringHashCode(this.q1t_1) | 0;
|
|
2982
|
+
result = imul(result, 31) + getStringHashCode(this.r1t_1) | 0;
|
|
2977
2983
|
return result;
|
|
2978
2984
|
};
|
|
2979
2985
|
protoOf(PlayerConnectionDto).equals = function (other) {
|
|
@@ -2981,12 +2987,12 @@
|
|
|
2981
2987
|
return true;
|
|
2982
2988
|
if (!(other instanceof PlayerConnectionDto))
|
|
2983
2989
|
return false;
|
|
2984
|
-
if (!this.
|
|
2985
|
-
return false;
|
|
2986
|
-
if (!(this.p1t_1 === other.p1t_1))
|
|
2990
|
+
if (!this.p1t_1.equals(other.p1t_1))
|
|
2987
2991
|
return false;
|
|
2988
2992
|
if (!(this.q1t_1 === other.q1t_1))
|
|
2989
2993
|
return false;
|
|
2994
|
+
if (!(this.r1t_1 === other.r1t_1))
|
|
2995
|
+
return false;
|
|
2990
2996
|
return true;
|
|
2991
2997
|
};
|
|
2992
2998
|
function PlayerStateDto$Companion$$childSerializers$_anonymous__izgokl() {
|
|
@@ -2999,7 +3005,7 @@
|
|
|
2999
3005
|
// Inline function 'kotlin.arrayOf' call
|
|
3000
3006
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3001
3007
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3002
|
-
tmp.
|
|
3008
|
+
tmp.a1u_1 = [null, null, null, lazy(tmp_0, PlayerStateDto$Companion$$childSerializers$_anonymous__izgokl), null, null, null];
|
|
3003
3009
|
}
|
|
3004
3010
|
var Companion_instance_17;
|
|
3005
3011
|
function Companion_getInstance_20() {
|
|
@@ -3017,38 +3023,38 @@
|
|
|
3017
3023
|
tmp0_serialDesc.av('ready', true);
|
|
3018
3024
|
tmp0_serialDesc.av('tag', true);
|
|
3019
3025
|
tmp0_serialDesc.av('connection', true);
|
|
3020
|
-
this.
|
|
3026
|
+
this.b1u_1 = tmp0_serialDesc;
|
|
3021
3027
|
}
|
|
3022
|
-
protoOf($serializer_8).
|
|
3023
|
-
var tmp0_desc = this.
|
|
3028
|
+
protoOf($serializer_8).c1u = function (encoder, value) {
|
|
3029
|
+
var tmp0_desc = this.b1u_1;
|
|
3024
3030
|
var tmp1_output = encoder.kn(tmp0_desc);
|
|
3025
|
-
var tmp2_cached = Companion_getInstance_20().
|
|
3026
|
-
if (tmp1_output.hp(tmp0_desc, 0) ? true : !(value.
|
|
3027
|
-
tmp1_output.dp(tmp0_desc, 0, StringSerializer_getInstance(), value.
|
|
3031
|
+
var tmp2_cached = Companion_getInstance_20().a1u_1;
|
|
3032
|
+
if (tmp1_output.hp(tmp0_desc, 0) ? true : !(value.i1t_1 == null)) {
|
|
3033
|
+
tmp1_output.dp(tmp0_desc, 0, StringSerializer_getInstance(), value.i1t_1);
|
|
3028
3034
|
}
|
|
3029
|
-
if (tmp1_output.hp(tmp0_desc, 1) ? true : !(value.
|
|
3030
|
-
tmp1_output.dp(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
3035
|
+
if (tmp1_output.hp(tmp0_desc, 1) ? true : !(value.j1t_1 == null)) {
|
|
3036
|
+
tmp1_output.dp(tmp0_desc, 1, StringSerializer_getInstance(), value.j1t_1);
|
|
3031
3037
|
}
|
|
3032
|
-
if (tmp1_output.hp(tmp0_desc, 2) ? true : !(value.
|
|
3033
|
-
tmp1_output.dp(tmp0_desc, 2, StringSerializer_getInstance(), value.
|
|
3038
|
+
if (tmp1_output.hp(tmp0_desc, 2) ? true : !(value.k1t_1 == null)) {
|
|
3039
|
+
tmp1_output.dp(tmp0_desc, 2, StringSerializer_getInstance(), value.k1t_1);
|
|
3034
3040
|
}
|
|
3035
|
-
tmp1_output.bp(tmp0_desc, 3, tmp2_cached[3].v1(), value.
|
|
3036
|
-
if (tmp1_output.hp(tmp0_desc, 4) ? true : !(value.
|
|
3037
|
-
tmp1_output.dp(tmp0_desc, 4, BooleanSerializer_getInstance(), value.
|
|
3041
|
+
tmp1_output.bp(tmp0_desc, 3, tmp2_cached[3].v1(), value.l1t_1);
|
|
3042
|
+
if (tmp1_output.hp(tmp0_desc, 4) ? true : !(value.m1t_1 == null)) {
|
|
3043
|
+
tmp1_output.dp(tmp0_desc, 4, BooleanSerializer_getInstance(), value.m1t_1);
|
|
3038
3044
|
}
|
|
3039
|
-
if (tmp1_output.hp(tmp0_desc, 5) ? true : !(value.
|
|
3040
|
-
tmp1_output.dp(tmp0_desc, 5, StringSerializer_getInstance(), value.
|
|
3045
|
+
if (tmp1_output.hp(tmp0_desc, 5) ? true : !(value.n1t_1 == null)) {
|
|
3046
|
+
tmp1_output.dp(tmp0_desc, 5, StringSerializer_getInstance(), value.n1t_1);
|
|
3041
3047
|
}
|
|
3042
|
-
if (tmp1_output.hp(tmp0_desc, 6) ? true : !(value.
|
|
3043
|
-
tmp1_output.dp(tmp0_desc, 6, $serializer_getInstance_7(), value.
|
|
3048
|
+
if (tmp1_output.hp(tmp0_desc, 6) ? true : !(value.o1t_1 == null)) {
|
|
3049
|
+
tmp1_output.dp(tmp0_desc, 6, $serializer_getInstance_7(), value.o1t_1);
|
|
3044
3050
|
}
|
|
3045
3051
|
tmp1_output.ln(tmp0_desc);
|
|
3046
3052
|
};
|
|
3047
3053
|
protoOf($serializer_8).ck = function (encoder, value) {
|
|
3048
|
-
return this.
|
|
3054
|
+
return this.c1u(encoder, value instanceof PlayerStateDto ? value : THROW_CCE());
|
|
3049
3055
|
};
|
|
3050
3056
|
protoOf($serializer_8).dk = function (decoder) {
|
|
3051
|
-
var tmp0_desc = this.
|
|
3057
|
+
var tmp0_desc = this.b1u_1;
|
|
3052
3058
|
var tmp1_flag = true;
|
|
3053
3059
|
var tmp2_index = 0;
|
|
3054
3060
|
var tmp3_bitMask0 = 0;
|
|
@@ -3060,7 +3066,7 @@
|
|
|
3060
3066
|
var tmp9_local5 = null;
|
|
3061
3067
|
var tmp10_local6 = null;
|
|
3062
3068
|
var tmp11_input = decoder.kn(tmp0_desc);
|
|
3063
|
-
var tmp12_cached = Companion_getInstance_20().
|
|
3069
|
+
var tmp12_cached = Companion_getInstance_20().a1u_1;
|
|
3064
3070
|
if (tmp11_input.ao()) {
|
|
3065
3071
|
tmp4_local0 = tmp11_input.yn(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
3066
3072
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -3119,10 +3125,10 @@
|
|
|
3119
3125
|
return PlayerStateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, null);
|
|
3120
3126
|
};
|
|
3121
3127
|
protoOf($serializer_8).bk = function () {
|
|
3122
|
-
return this.
|
|
3128
|
+
return this.b1u_1;
|
|
3123
3129
|
};
|
|
3124
3130
|
protoOf($serializer_8).rv = function () {
|
|
3125
|
-
var tmp0_cached = Companion_getInstance_20().
|
|
3131
|
+
var tmp0_cached = Companion_getInstance_20().a1u_1;
|
|
3126
3132
|
// Inline function 'kotlin.arrayOf' call
|
|
3127
3133
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3128
3134
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -3136,33 +3142,33 @@
|
|
|
3136
3142
|
}
|
|
3137
3143
|
function PlayerStateDto_init_$Init$(seen0, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, serializationConstructorMarker, $this) {
|
|
3138
3144
|
if (!(8 === (8 & seen0))) {
|
|
3139
|
-
throwMissingFieldException(seen0, 8, $serializer_getInstance_8().
|
|
3145
|
+
throwMissingFieldException(seen0, 8, $serializer_getInstance_8().b1u_1);
|
|
3140
3146
|
}
|
|
3141
3147
|
if (0 === (seen0 & 1))
|
|
3142
|
-
$this.
|
|
3148
|
+
$this.i1t_1 = null;
|
|
3143
3149
|
else
|
|
3144
|
-
$this.
|
|
3150
|
+
$this.i1t_1 = startFrom;
|
|
3145
3151
|
if (0 === (seen0 & 2))
|
|
3146
|
-
$this.
|
|
3152
|
+
$this.j1t_1 = null;
|
|
3147
3153
|
else
|
|
3148
|
-
$this.
|
|
3154
|
+
$this.j1t_1 = playerTurnTimeout;
|
|
3149
3155
|
if (0 === (seen0 & 4))
|
|
3150
|
-
$this.
|
|
3156
|
+
$this.k1t_1 = null;
|
|
3151
3157
|
else
|
|
3152
|
-
$this.
|
|
3153
|
-
$this.
|
|
3158
|
+
$this.k1t_1 = waitPlayerUntilTime;
|
|
3159
|
+
$this.l1t_1 = state;
|
|
3154
3160
|
if (0 === (seen0 & 16))
|
|
3155
|
-
$this.
|
|
3161
|
+
$this.m1t_1 = null;
|
|
3156
3162
|
else
|
|
3157
|
-
$this.
|
|
3163
|
+
$this.m1t_1 = ready;
|
|
3158
3164
|
if (0 === (seen0 & 32))
|
|
3159
|
-
$this.
|
|
3165
|
+
$this.n1t_1 = null;
|
|
3160
3166
|
else
|
|
3161
|
-
$this.
|
|
3167
|
+
$this.n1t_1 = tag;
|
|
3162
3168
|
if (0 === (seen0 & 64))
|
|
3163
|
-
$this.
|
|
3169
|
+
$this.o1t_1 = null;
|
|
3164
3170
|
else
|
|
3165
|
-
$this.
|
|
3171
|
+
$this.o1t_1 = connection;
|
|
3166
3172
|
return $this;
|
|
3167
3173
|
}
|
|
3168
3174
|
function PlayerStateDto_init_$Create$(seen0, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, serializationConstructorMarker) {
|
|
@@ -3176,25 +3182,25 @@
|
|
|
3176
3182
|
ready = ready === VOID ? null : ready;
|
|
3177
3183
|
tag = tag === VOID ? null : tag;
|
|
3178
3184
|
connection = connection === VOID ? null : connection;
|
|
3179
|
-
this.
|
|
3180
|
-
this.
|
|
3181
|
-
this.
|
|
3182
|
-
this.
|
|
3183
|
-
this.
|
|
3184
|
-
this.
|
|
3185
|
-
this.
|
|
3185
|
+
this.i1t_1 = startFrom;
|
|
3186
|
+
this.j1t_1 = playerTurnTimeout;
|
|
3187
|
+
this.k1t_1 = waitPlayerUntilTime;
|
|
3188
|
+
this.l1t_1 = state;
|
|
3189
|
+
this.m1t_1 = ready;
|
|
3190
|
+
this.n1t_1 = tag;
|
|
3191
|
+
this.o1t_1 = connection;
|
|
3186
3192
|
}
|
|
3187
3193
|
protoOf(PlayerStateDto).toString = function () {
|
|
3188
|
-
return 'PlayerStateDto(startFrom=' + this.
|
|
3194
|
+
return 'PlayerStateDto(startFrom=' + this.i1t_1 + ', playerTurnTimeout=' + this.j1t_1 + ', waitPlayerUntilTime=' + this.k1t_1 + ', state=' + this.l1t_1.toString() + ', ready=' + this.m1t_1 + ', tag=' + this.n1t_1 + ', connection=' + toString(this.o1t_1) + ')';
|
|
3189
3195
|
};
|
|
3190
3196
|
protoOf(PlayerStateDto).hashCode = function () {
|
|
3191
|
-
var result = this.
|
|
3192
|
-
result = imul(result, 31) + (this.i1t_1 == null ? 0 : getStringHashCode(this.i1t_1)) | 0;
|
|
3197
|
+
var result = this.i1t_1 == null ? 0 : getStringHashCode(this.i1t_1);
|
|
3193
3198
|
result = imul(result, 31) + (this.j1t_1 == null ? 0 : getStringHashCode(this.j1t_1)) | 0;
|
|
3194
|
-
result = imul(result, 31) + this.k1t_1.
|
|
3195
|
-
result = imul(result, 31) +
|
|
3196
|
-
result = imul(result, 31) + (this.m1t_1 == null ? 0 :
|
|
3197
|
-
result = imul(result, 31) + (this.n1t_1 == null ? 0 : this.n1t_1
|
|
3199
|
+
result = imul(result, 31) + (this.k1t_1 == null ? 0 : getStringHashCode(this.k1t_1)) | 0;
|
|
3200
|
+
result = imul(result, 31) + this.l1t_1.hashCode() | 0;
|
|
3201
|
+
result = imul(result, 31) + (this.m1t_1 == null ? 0 : getBooleanHashCode(this.m1t_1)) | 0;
|
|
3202
|
+
result = imul(result, 31) + (this.n1t_1 == null ? 0 : getStringHashCode(this.n1t_1)) | 0;
|
|
3203
|
+
result = imul(result, 31) + (this.o1t_1 == null ? 0 : this.o1t_1.hashCode()) | 0;
|
|
3198
3204
|
return result;
|
|
3199
3205
|
};
|
|
3200
3206
|
protoOf(PlayerStateDto).equals = function (other) {
|
|
@@ -3202,19 +3208,19 @@
|
|
|
3202
3208
|
return true;
|
|
3203
3209
|
if (!(other instanceof PlayerStateDto))
|
|
3204
3210
|
return false;
|
|
3205
|
-
if (!(this.h1t_1 == other.h1t_1))
|
|
3206
|
-
return false;
|
|
3207
3211
|
if (!(this.i1t_1 == other.i1t_1))
|
|
3208
3212
|
return false;
|
|
3209
3213
|
if (!(this.j1t_1 == other.j1t_1))
|
|
3210
3214
|
return false;
|
|
3211
|
-
if (!this.k1t_1
|
|
3215
|
+
if (!(this.k1t_1 == other.k1t_1))
|
|
3212
3216
|
return false;
|
|
3213
|
-
if (!
|
|
3217
|
+
if (!this.l1t_1.equals(other.l1t_1))
|
|
3214
3218
|
return false;
|
|
3215
3219
|
if (!(this.m1t_1 == other.m1t_1))
|
|
3216
3220
|
return false;
|
|
3217
|
-
if (!
|
|
3221
|
+
if (!(this.n1t_1 == other.n1t_1))
|
|
3222
|
+
return false;
|
|
3223
|
+
if (!equals(this.o1t_1, other.o1t_1))
|
|
3218
3224
|
return false;
|
|
3219
3225
|
return true;
|
|
3220
3226
|
};
|
|
@@ -3238,7 +3244,7 @@
|
|
|
3238
3244
|
// Inline function 'kotlin.arrayOf' call
|
|
3239
3245
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3240
3246
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3241
|
-
tmp.
|
|
3247
|
+
tmp.d1u_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];
|
|
3242
3248
|
}
|
|
3243
3249
|
var Companion_instance_18;
|
|
3244
3250
|
function Companion_getInstance_21() {
|
|
@@ -3275,45 +3281,45 @@
|
|
|
3275
3281
|
tmp0_serialDesc.av('fineIfNoBribes', false);
|
|
3276
3282
|
tmp0_serialDesc.av('enableFineAfterThirdByte', false);
|
|
3277
3283
|
tmp0_serialDesc.av('fineAfterThirdFailedContract', false);
|
|
3278
|
-
this.
|
|
3284
|
+
this.e1u_1 = tmp0_serialDesc;
|
|
3279
3285
|
}
|
|
3280
|
-
protoOf($serializer_9).
|
|
3281
|
-
var tmp0_desc = this.
|
|
3286
|
+
protoOf($serializer_9).f1u = function (encoder, value) {
|
|
3287
|
+
var tmp0_desc = this.e1u_1;
|
|
3282
3288
|
var tmp1_output = encoder.kn(tmp0_desc);
|
|
3283
|
-
var tmp2_cached = Companion_getInstance_21().
|
|
3284
|
-
tmp1_output.dp(tmp0_desc, 0, StringSerializer_getInstance(), value.
|
|
3285
|
-
tmp1_output.dp(tmp0_desc, 1, BooleanSerializer_getInstance(), value.
|
|
3286
|
-
tmp1_output.dp(tmp0_desc, 2, BooleanSerializer_getInstance(), value.
|
|
3287
|
-
tmp1_output.dp(tmp0_desc, 3, BooleanSerializer_getInstance(), value.
|
|
3288
|
-
tmp1_output.dp(tmp0_desc, 4, BooleanSerializer_getInstance(), value.
|
|
3289
|
-
tmp1_output.dp(tmp0_desc, 5, IntSerializer_getInstance(), value.
|
|
3290
|
-
tmp1_output.dp(tmp0_desc, 6, IntSerializer_getInstance(), value.
|
|
3291
|
-
tmp1_output.dp(tmp0_desc, 7, BooleanSerializer_getInstance(), value.
|
|
3292
|
-
tmp1_output.dp(tmp0_desc, 8, tmp2_cached[8].v1(), value.
|
|
3293
|
-
tmp1_output.dp(tmp0_desc, 9, tmp2_cached[9].v1(), value.
|
|
3294
|
-
tmp1_output.dp(tmp0_desc, 10, BooleanSerializer_getInstance(), value.
|
|
3295
|
-
tmp1_output.dp(tmp0_desc, 11, StringSerializer_getInstance(), value.
|
|
3296
|
-
tmp1_output.dp(tmp0_desc, 12, StringSerializer_getInstance(), value.
|
|
3297
|
-
tmp1_output.dp(tmp0_desc, 13, tmp2_cached[13].v1(), value.
|
|
3298
|
-
tmp1_output.dp(tmp0_desc, 14, BooleanSerializer_getInstance(), value.
|
|
3299
|
-
tmp1_output.dp(tmp0_desc, 15, BooleanSerializer_getInstance(), value.
|
|
3300
|
-
tmp1_output.dp(tmp0_desc, 16, BooleanSerializer_getInstance(), value.
|
|
3301
|
-
tmp1_output.dp(tmp0_desc, 17, BooleanSerializer_getInstance(), value.
|
|
3302
|
-
tmp1_output.dp(tmp0_desc, 18, BooleanSerializer_getInstance(), value.
|
|
3303
|
-
tmp1_output.dp(tmp0_desc, 19, BooleanSerializer_getInstance(), value.
|
|
3304
|
-
tmp1_output.dp(tmp0_desc, 20, BooleanSerializer_getInstance(), value.
|
|
3305
|
-
tmp1_output.zo(tmp0_desc, 21, value.
|
|
3306
|
-
tmp1_output.dp(tmp0_desc, 22, BooleanSerializer_getInstance(), value.
|
|
3307
|
-
tmp1_output.dp(tmp0_desc, 23, IntSerializer_getInstance(), value.
|
|
3308
|
-
tmp1_output.dp(tmp0_desc, 24, BooleanSerializer_getInstance(), value.
|
|
3309
|
-
tmp1_output.dp(tmp0_desc, 25, IntSerializer_getInstance(), value.
|
|
3289
|
+
var tmp2_cached = Companion_getInstance_21().d1u_1;
|
|
3290
|
+
tmp1_output.dp(tmp0_desc, 0, StringSerializer_getInstance(), value.g1u_1);
|
|
3291
|
+
tmp1_output.dp(tmp0_desc, 1, BooleanSerializer_getInstance(), value.h1u_1);
|
|
3292
|
+
tmp1_output.dp(tmp0_desc, 2, BooleanSerializer_getInstance(), value.i1u_1);
|
|
3293
|
+
tmp1_output.dp(tmp0_desc, 3, BooleanSerializer_getInstance(), value.j1u_1);
|
|
3294
|
+
tmp1_output.dp(tmp0_desc, 4, BooleanSerializer_getInstance(), value.k1u_1);
|
|
3295
|
+
tmp1_output.dp(tmp0_desc, 5, IntSerializer_getInstance(), value.l1u_1);
|
|
3296
|
+
tmp1_output.dp(tmp0_desc, 6, IntSerializer_getInstance(), value.m1u_1);
|
|
3297
|
+
tmp1_output.dp(tmp0_desc, 7, BooleanSerializer_getInstance(), value.n1u_1);
|
|
3298
|
+
tmp1_output.dp(tmp0_desc, 8, tmp2_cached[8].v1(), value.o1u_1);
|
|
3299
|
+
tmp1_output.dp(tmp0_desc, 9, tmp2_cached[9].v1(), value.p1u_1);
|
|
3300
|
+
tmp1_output.dp(tmp0_desc, 10, BooleanSerializer_getInstance(), value.q1u_1);
|
|
3301
|
+
tmp1_output.dp(tmp0_desc, 11, StringSerializer_getInstance(), value.r1u_1);
|
|
3302
|
+
tmp1_output.dp(tmp0_desc, 12, StringSerializer_getInstance(), value.s1u_1);
|
|
3303
|
+
tmp1_output.dp(tmp0_desc, 13, tmp2_cached[13].v1(), value.t1u_1);
|
|
3304
|
+
tmp1_output.dp(tmp0_desc, 14, BooleanSerializer_getInstance(), value.u1u_1);
|
|
3305
|
+
tmp1_output.dp(tmp0_desc, 15, BooleanSerializer_getInstance(), value.v1u_1);
|
|
3306
|
+
tmp1_output.dp(tmp0_desc, 16, BooleanSerializer_getInstance(), value.w1u_1);
|
|
3307
|
+
tmp1_output.dp(tmp0_desc, 17, BooleanSerializer_getInstance(), value.x1u_1);
|
|
3308
|
+
tmp1_output.dp(tmp0_desc, 18, BooleanSerializer_getInstance(), value.y1u_1);
|
|
3309
|
+
tmp1_output.dp(tmp0_desc, 19, BooleanSerializer_getInstance(), value.z1u_1);
|
|
3310
|
+
tmp1_output.dp(tmp0_desc, 20, BooleanSerializer_getInstance(), value.a1v_1);
|
|
3311
|
+
tmp1_output.zo(tmp0_desc, 21, value.b1v_1);
|
|
3312
|
+
tmp1_output.dp(tmp0_desc, 22, BooleanSerializer_getInstance(), value.c1v_1);
|
|
3313
|
+
tmp1_output.dp(tmp0_desc, 23, IntSerializer_getInstance(), value.d1v_1);
|
|
3314
|
+
tmp1_output.dp(tmp0_desc, 24, BooleanSerializer_getInstance(), value.e1v_1);
|
|
3315
|
+
tmp1_output.dp(tmp0_desc, 25, IntSerializer_getInstance(), value.f1v_1);
|
|
3310
3316
|
tmp1_output.ln(tmp0_desc);
|
|
3311
3317
|
};
|
|
3312
3318
|
protoOf($serializer_9).ck = function (encoder, value) {
|
|
3313
|
-
return this.
|
|
3319
|
+
return this.f1u(encoder, value instanceof RulesDto ? value : THROW_CCE());
|
|
3314
3320
|
};
|
|
3315
3321
|
protoOf($serializer_9).dk = function (decoder) {
|
|
3316
|
-
var tmp0_desc = this.
|
|
3322
|
+
var tmp0_desc = this.e1u_1;
|
|
3317
3323
|
var tmp1_flag = true;
|
|
3318
3324
|
var tmp2_index = 0;
|
|
3319
3325
|
var tmp3_bitMask0 = 0;
|
|
@@ -3344,7 +3350,7 @@
|
|
|
3344
3350
|
var tmp28_local24 = null;
|
|
3345
3351
|
var tmp29_local25 = null;
|
|
3346
3352
|
var tmp30_input = decoder.kn(tmp0_desc);
|
|
3347
|
-
var tmp31_cached = Companion_getInstance_21().
|
|
3353
|
+
var tmp31_cached = Companion_getInstance_21().d1u_1;
|
|
3348
3354
|
if (tmp30_input.ao()) {
|
|
3349
3355
|
tmp4_local0 = tmp30_input.yn(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
3350
3356
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -3517,10 +3523,10 @@
|
|
|
3517
3523
|
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);
|
|
3518
3524
|
};
|
|
3519
3525
|
protoOf($serializer_9).bk = function () {
|
|
3520
|
-
return this.
|
|
3526
|
+
return this.e1u_1;
|
|
3521
3527
|
};
|
|
3522
3528
|
protoOf($serializer_9).rv = function () {
|
|
3523
|
-
var tmp0_cached = Companion_getInstance_21().
|
|
3529
|
+
var tmp0_cached = Companion_getInstance_21().d1u_1;
|
|
3524
3530
|
// Inline function 'kotlin.arrayOf' call
|
|
3525
3531
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3526
3532
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -3534,34 +3540,34 @@
|
|
|
3534
3540
|
}
|
|
3535
3541
|
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) {
|
|
3536
3542
|
if (!(67108863 === (67108863 & seen0))) {
|
|
3537
|
-
throwMissingFieldException(seen0, 67108863, $serializer_getInstance_9().
|
|
3543
|
+
throwMissingFieldException(seen0, 67108863, $serializer_getInstance_9().e1u_1);
|
|
3538
3544
|
}
|
|
3539
|
-
$this.
|
|
3540
|
-
$this.
|
|
3541
|
-
$this.
|
|
3542
|
-
$this.
|
|
3543
|
-
$this.
|
|
3544
|
-
$this.
|
|
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.
|
|
3545
|
+
$this.g1u_1 = name;
|
|
3546
|
+
$this.h1u_1 = playerWhoChooseSuitGoFirst;
|
|
3547
|
+
$this.i1u_1 = winnerShuffleCards;
|
|
3548
|
+
$this.j1u_1 = playWithoutLiabilities;
|
|
3549
|
+
$this.k1u_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
3550
|
+
$this.l1u_1 = dealerInitialCardsCount;
|
|
3551
|
+
$this.m1u_1 = dealerFinalCardsCount;
|
|
3552
|
+
$this.n1u_1 = dealerCounterClockwise;
|
|
3553
|
+
$this.o1u_1 = contractTypes;
|
|
3554
|
+
$this.p1u_1 = bidTypes;
|
|
3555
|
+
$this.q1u_1 = needToPutHigherTrump;
|
|
3556
|
+
$this.r1u_1 = trumpCardStepMode;
|
|
3557
|
+
$this.s1u_1 = trumpCardStepPartnerMode;
|
|
3558
|
+
$this.t1u_1 = combinationsWithFirstCard;
|
|
3559
|
+
$this.u1u_1 = protectBella;
|
|
3560
|
+
$this.v1u_1 = oneTryToProtectBella;
|
|
3561
|
+
$this.w1u_1 = enableFourSevensCombination;
|
|
3562
|
+
$this.x1u_1 = enableTrumpSevenCombination;
|
|
3563
|
+
$this.y1u_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
3564
|
+
$this.z1u_1 = checkTrumpCombination;
|
|
3565
|
+
$this.a1v_1 = checkOnlyTrumpDebertz;
|
|
3566
|
+
$this.b1v_1 = pointsDistributeMode;
|
|
3567
|
+
$this.c1v_1 = enableFineIfNoBribes;
|
|
3568
|
+
$this.d1v_1 = fineIfNoBribes;
|
|
3569
|
+
$this.e1v_1 = enableFineAfterThirdByte;
|
|
3570
|
+
$this.f1v_1 = fineAfterThirdFailedContract;
|
|
3565
3571
|
return $this;
|
|
3566
3572
|
}
|
|
3567
3573
|
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) {
|
|
@@ -3569,63 +3575,63 @@
|
|
|
3569
3575
|
}
|
|
3570
3576
|
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) {
|
|
3571
3577
|
Companion_getInstance_21();
|
|
3572
|
-
this.
|
|
3573
|
-
this.
|
|
3574
|
-
this.
|
|
3575
|
-
this.
|
|
3576
|
-
this.
|
|
3577
|
-
this.
|
|
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.
|
|
3578
|
+
this.g1u_1 = name;
|
|
3579
|
+
this.h1u_1 = playerWhoChooseSuitGoFirst;
|
|
3580
|
+
this.i1u_1 = winnerShuffleCards;
|
|
3581
|
+
this.j1u_1 = playWithoutLiabilities;
|
|
3582
|
+
this.k1u_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
3583
|
+
this.l1u_1 = dealerInitialCardsCount;
|
|
3584
|
+
this.m1u_1 = dealerFinalCardsCount;
|
|
3585
|
+
this.n1u_1 = dealerCounterClockwise;
|
|
3586
|
+
this.o1u_1 = contractTypes;
|
|
3587
|
+
this.p1u_1 = bidTypes;
|
|
3588
|
+
this.q1u_1 = needToPutHigherTrump;
|
|
3589
|
+
this.r1u_1 = trumpCardStepMode;
|
|
3590
|
+
this.s1u_1 = trumpCardStepPartnerMode;
|
|
3591
|
+
this.t1u_1 = combinationsWithFirstCard;
|
|
3592
|
+
this.u1u_1 = protectBella;
|
|
3593
|
+
this.v1u_1 = oneTryToProtectBella;
|
|
3594
|
+
this.w1u_1 = enableFourSevensCombination;
|
|
3595
|
+
this.x1u_1 = enableTrumpSevenCombination;
|
|
3596
|
+
this.y1u_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
3597
|
+
this.z1u_1 = checkTrumpCombination;
|
|
3598
|
+
this.a1v_1 = checkOnlyTrumpDebertz;
|
|
3599
|
+
this.b1v_1 = pointsDistributeMode;
|
|
3600
|
+
this.c1v_1 = enableFineIfNoBribes;
|
|
3601
|
+
this.d1v_1 = fineIfNoBribes;
|
|
3602
|
+
this.e1v_1 = enableFineAfterThirdByte;
|
|
3603
|
+
this.f1v_1 = fineAfterThirdFailedContract;
|
|
3598
3604
|
}
|
|
3599
3605
|
protoOf(RulesDto).toString = function () {
|
|
3600
|
-
return 'RulesDto(name=' + this.
|
|
3606
|
+
return 'RulesDto(name=' + this.g1u_1 + ', playerWhoChooseSuitGoFirst=' + this.h1u_1 + ', winnerShuffleCards=' + this.i1u_1 + ', playWithoutLiabilities=' + this.j1u_1 + ', trumpCardGoToPlayerWhoShuffleCards=' + this.k1u_1 + ', dealerInitialCardsCount=' + this.l1u_1 + ', dealerFinalCardsCount=' + this.m1u_1 + ', dealerCounterClockwise=' + this.n1u_1 + ', contractTypes=' + toString(this.o1u_1) + ', bidTypes=' + toString(this.p1u_1) + ', needToPutHigherTrump=' + this.q1u_1 + ', trumpCardStepMode=' + this.r1u_1 + ', trumpCardStepPartnerMode=' + this.s1u_1 + ', combinationsWithFirstCard=' + toString(this.t1u_1) + ', protectBella=' + this.u1u_1 + ', oneTryToProtectBella=' + this.v1u_1 + ', enableFourSevensCombination=' + this.w1u_1 + ', enableTrumpSevenCombination=' + this.x1u_1 + ', enableTrumpSevenCombinationAfterDistribution=' + this.y1u_1 + ', checkTrumpCombination=' + this.z1u_1 + ', checkOnlyTrumpDebertz=' + this.a1v_1 + ', pointsDistributeMode=' + this.b1v_1 + ', enableFineIfNoBribes=' + this.c1v_1 + ', fineIfNoBribes=' + this.d1v_1 + ', enableFineAfterThirdByte=' + this.e1v_1 + ', fineAfterThirdFailedContract=' + this.f1v_1 + ')';
|
|
3601
3607
|
};
|
|
3602
3608
|
protoOf(RulesDto).hashCode = function () {
|
|
3603
|
-
var result = this.
|
|
3604
|
-
result = imul(result, 31) + (this.g1u_1 == null ? 0 : getBooleanHashCode(this.g1u_1)) | 0;
|
|
3609
|
+
var result = this.g1u_1 == null ? 0 : getStringHashCode(this.g1u_1);
|
|
3605
3610
|
result = imul(result, 31) + (this.h1u_1 == null ? 0 : getBooleanHashCode(this.h1u_1)) | 0;
|
|
3606
3611
|
result = imul(result, 31) + (this.i1u_1 == null ? 0 : getBooleanHashCode(this.i1u_1)) | 0;
|
|
3607
3612
|
result = imul(result, 31) + (this.j1u_1 == null ? 0 : getBooleanHashCode(this.j1u_1)) | 0;
|
|
3608
|
-
result = imul(result, 31) + (this.k1u_1 == null ? 0 : this.k1u_1) | 0;
|
|
3613
|
+
result = imul(result, 31) + (this.k1u_1 == null ? 0 : getBooleanHashCode(this.k1u_1)) | 0;
|
|
3609
3614
|
result = imul(result, 31) + (this.l1u_1 == null ? 0 : this.l1u_1) | 0;
|
|
3610
|
-
result = imul(result, 31) + (this.m1u_1 == null ? 0 :
|
|
3611
|
-
result = imul(result, 31) + (this.n1u_1 == null ? 0 :
|
|
3615
|
+
result = imul(result, 31) + (this.m1u_1 == null ? 0 : this.m1u_1) | 0;
|
|
3616
|
+
result = imul(result, 31) + (this.n1u_1 == null ? 0 : getBooleanHashCode(this.n1u_1)) | 0;
|
|
3612
3617
|
result = imul(result, 31) + (this.o1u_1 == null ? 0 : hashCode(this.o1u_1)) | 0;
|
|
3613
|
-
result = imul(result, 31) + (this.p1u_1 == null ? 0 :
|
|
3614
|
-
result = imul(result, 31) + (this.q1u_1 == null ? 0 :
|
|
3618
|
+
result = imul(result, 31) + (this.p1u_1 == null ? 0 : hashCode(this.p1u_1)) | 0;
|
|
3619
|
+
result = imul(result, 31) + (this.q1u_1 == null ? 0 : getBooleanHashCode(this.q1u_1)) | 0;
|
|
3615
3620
|
result = imul(result, 31) + (this.r1u_1 == null ? 0 : getStringHashCode(this.r1u_1)) | 0;
|
|
3616
|
-
result = imul(result, 31) + (this.s1u_1 == null ? 0 :
|
|
3617
|
-
result = imul(result, 31) + (this.t1u_1 == null ? 0 :
|
|
3621
|
+
result = imul(result, 31) + (this.s1u_1 == null ? 0 : getStringHashCode(this.s1u_1)) | 0;
|
|
3622
|
+
result = imul(result, 31) + (this.t1u_1 == null ? 0 : hashCode(this.t1u_1)) | 0;
|
|
3618
3623
|
result = imul(result, 31) + (this.u1u_1 == null ? 0 : getBooleanHashCode(this.u1u_1)) | 0;
|
|
3619
3624
|
result = imul(result, 31) + (this.v1u_1 == null ? 0 : getBooleanHashCode(this.v1u_1)) | 0;
|
|
3620
3625
|
result = imul(result, 31) + (this.w1u_1 == null ? 0 : getBooleanHashCode(this.w1u_1)) | 0;
|
|
3621
3626
|
result = imul(result, 31) + (this.x1u_1 == null ? 0 : getBooleanHashCode(this.x1u_1)) | 0;
|
|
3622
3627
|
result = imul(result, 31) + (this.y1u_1 == null ? 0 : getBooleanHashCode(this.y1u_1)) | 0;
|
|
3623
3628
|
result = imul(result, 31) + (this.z1u_1 == null ? 0 : getBooleanHashCode(this.z1u_1)) | 0;
|
|
3624
|
-
result = imul(result, 31) +
|
|
3625
|
-
result = imul(result, 31) + (this.b1v_1
|
|
3626
|
-
result = imul(result, 31) + (this.c1v_1 == null ? 0 : this.c1v_1) | 0;
|
|
3627
|
-
result = imul(result, 31) + (this.d1v_1 == null ? 0 :
|
|
3628
|
-
result = imul(result, 31) + (this.e1v_1 == null ? 0 : this.e1v_1) | 0;
|
|
3629
|
+
result = imul(result, 31) + (this.a1v_1 == null ? 0 : getBooleanHashCode(this.a1v_1)) | 0;
|
|
3630
|
+
result = imul(result, 31) + getStringHashCode(this.b1v_1) | 0;
|
|
3631
|
+
result = imul(result, 31) + (this.c1v_1 == null ? 0 : getBooleanHashCode(this.c1v_1)) | 0;
|
|
3632
|
+
result = imul(result, 31) + (this.d1v_1 == null ? 0 : this.d1v_1) | 0;
|
|
3633
|
+
result = imul(result, 31) + (this.e1v_1 == null ? 0 : getBooleanHashCode(this.e1v_1)) | 0;
|
|
3634
|
+
result = imul(result, 31) + (this.f1v_1 == null ? 0 : this.f1v_1) | 0;
|
|
3629
3635
|
return result;
|
|
3630
3636
|
};
|
|
3631
3637
|
protoOf(RulesDto).equals = function (other) {
|
|
@@ -3633,8 +3639,6 @@
|
|
|
3633
3639
|
return true;
|
|
3634
3640
|
if (!(other instanceof RulesDto))
|
|
3635
3641
|
return false;
|
|
3636
|
-
if (!(this.f1u_1 == other.f1u_1))
|
|
3637
|
-
return false;
|
|
3638
3642
|
if (!(this.g1u_1 == other.g1u_1))
|
|
3639
3643
|
return false;
|
|
3640
3644
|
if (!(this.h1u_1 == other.h1u_1))
|
|
@@ -3649,19 +3653,19 @@
|
|
|
3649
3653
|
return false;
|
|
3650
3654
|
if (!(this.m1u_1 == other.m1u_1))
|
|
3651
3655
|
return false;
|
|
3652
|
-
if (!
|
|
3656
|
+
if (!(this.n1u_1 == other.n1u_1))
|
|
3653
3657
|
return false;
|
|
3654
3658
|
if (!equals(this.o1u_1, other.o1u_1))
|
|
3655
3659
|
return false;
|
|
3656
|
-
if (!(this.p1u_1
|
|
3660
|
+
if (!equals(this.p1u_1, other.p1u_1))
|
|
3657
3661
|
return false;
|
|
3658
3662
|
if (!(this.q1u_1 == other.q1u_1))
|
|
3659
3663
|
return false;
|
|
3660
3664
|
if (!(this.r1u_1 == other.r1u_1))
|
|
3661
3665
|
return false;
|
|
3662
|
-
if (!
|
|
3666
|
+
if (!(this.s1u_1 == other.s1u_1))
|
|
3663
3667
|
return false;
|
|
3664
|
-
if (!(this.t1u_1
|
|
3668
|
+
if (!equals(this.t1u_1, other.t1u_1))
|
|
3665
3669
|
return false;
|
|
3666
3670
|
if (!(this.u1u_1 == other.u1u_1))
|
|
3667
3671
|
return false;
|
|
@@ -3675,9 +3679,9 @@
|
|
|
3675
3679
|
return false;
|
|
3676
3680
|
if (!(this.z1u_1 == other.z1u_1))
|
|
3677
3681
|
return false;
|
|
3678
|
-
if (!(this.a1v_1
|
|
3682
|
+
if (!(this.a1v_1 == other.a1v_1))
|
|
3679
3683
|
return false;
|
|
3680
|
-
if (!(this.b1v_1
|
|
3684
|
+
if (!(this.b1v_1 === other.b1v_1))
|
|
3681
3685
|
return false;
|
|
3682
3686
|
if (!(this.c1v_1 == other.c1v_1))
|
|
3683
3687
|
return false;
|
|
@@ -3685,6 +3689,8 @@
|
|
|
3685
3689
|
return false;
|
|
3686
3690
|
if (!(this.e1v_1 == other.e1v_1))
|
|
3687
3691
|
return false;
|
|
3692
|
+
if (!(this.f1v_1 == other.f1v_1))
|
|
3693
|
+
return false;
|
|
3688
3694
|
return true;
|
|
3689
3695
|
};
|
|
3690
3696
|
function BufferedAction() {
|
|
@@ -3821,7 +3827,7 @@
|
|
|
3821
3827
|
return nextItemIndex > get_lastIndex(_this__u8e3s4) ? null : _this__u8e3s4.p(nextItemIndex);
|
|
3822
3828
|
}
|
|
3823
3829
|
function _get_$cachedSerializer__te6jhj_8($this) {
|
|
3824
|
-
return $this.
|
|
3830
|
+
return $this.m1v_1.v1();
|
|
3825
3831
|
}
|
|
3826
3832
|
function LogType$Companion$_anonymous__d4fjnz() {
|
|
3827
3833
|
return createSimpleEnumSerializer('com.logic.utils.logger.outputs.LogType', values_3());
|
|
@@ -3861,7 +3867,7 @@
|
|
|
3861
3867
|
Companion_instance_19 = this;
|
|
3862
3868
|
var tmp = this;
|
|
3863
3869
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
3864
|
-
tmp.
|
|
3870
|
+
tmp.m1v_1 = lazy(tmp_0, LogType$Companion$_anonymous__d4fjnz);
|
|
3865
3871
|
}
|
|
3866
3872
|
protoOf(Companion_19).z17 = function () {
|
|
3867
3873
|
return _get_$cachedSerializer__te6jhj_8(this);
|
|
@@ -3924,7 +3930,7 @@
|
|
|
3924
3930
|
// Inline function 'kotlin.arrayOf' call
|
|
3925
3931
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3926
3932
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3927
|
-
tmp.
|
|
3933
|
+
tmp.s1v_1 = [lazy(tmp_0, LoggerOutputDataDto$Companion$$childSerializers$_anonymous__j015dy), null, null, null, null];
|
|
3928
3934
|
}
|
|
3929
3935
|
protoOf(Companion_20).z17 = function () {
|
|
3930
3936
|
return $serializer_getInstance_10();
|
|
@@ -3943,12 +3949,12 @@
|
|
|
3943
3949
|
tmp0_serialDesc.av('tag', false);
|
|
3944
3950
|
tmp0_serialDesc.av('message', false);
|
|
3945
3951
|
tmp0_serialDesc.av('stackTrace', false);
|
|
3946
|
-
this.
|
|
3952
|
+
this.t1v_1 = tmp0_serialDesc;
|
|
3947
3953
|
}
|
|
3948
|
-
protoOf($serializer_10).
|
|
3949
|
-
var tmp0_desc = this.
|
|
3954
|
+
protoOf($serializer_10).u1v = function (encoder, value) {
|
|
3955
|
+
var tmp0_desc = this.t1v_1;
|
|
3950
3956
|
var tmp1_output = encoder.kn(tmp0_desc);
|
|
3951
|
-
var tmp2_cached = Companion_getInstance_23().
|
|
3957
|
+
var tmp2_cached = Companion_getInstance_23().s1v_1;
|
|
3952
3958
|
tmp1_output.bp(tmp0_desc, 0, tmp2_cached[0].v1(), value.type);
|
|
3953
3959
|
tmp1_output.dp(tmp0_desc, 1, StringSerializer_getInstance(), value.key);
|
|
3954
3960
|
tmp1_output.dp(tmp0_desc, 2, StringSerializer_getInstance(), value.tag);
|
|
@@ -3957,10 +3963,10 @@
|
|
|
3957
3963
|
tmp1_output.ln(tmp0_desc);
|
|
3958
3964
|
};
|
|
3959
3965
|
protoOf($serializer_10).ck = function (encoder, value) {
|
|
3960
|
-
return this.
|
|
3966
|
+
return this.u1v(encoder, value instanceof LoggerOutputDataDto ? value : THROW_CCE());
|
|
3961
3967
|
};
|
|
3962
3968
|
protoOf($serializer_10).dk = function (decoder) {
|
|
3963
|
-
var tmp0_desc = this.
|
|
3969
|
+
var tmp0_desc = this.t1v_1;
|
|
3964
3970
|
var tmp1_flag = true;
|
|
3965
3971
|
var tmp2_index = 0;
|
|
3966
3972
|
var tmp3_bitMask0 = 0;
|
|
@@ -3970,7 +3976,7 @@
|
|
|
3970
3976
|
var tmp7_local3 = null;
|
|
3971
3977
|
var tmp8_local4 = null;
|
|
3972
3978
|
var tmp9_input = decoder.kn(tmp0_desc);
|
|
3973
|
-
var tmp10_cached = Companion_getInstance_23().
|
|
3979
|
+
var tmp10_cached = Companion_getInstance_23().s1v_1;
|
|
3974
3980
|
if (tmp9_input.ao()) {
|
|
3975
3981
|
tmp4_local0 = tmp9_input.wn(tmp0_desc, 0, tmp10_cached[0].v1(), tmp4_local0);
|
|
3976
3982
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -4017,13 +4023,13 @@
|
|
|
4017
4023
|
return LoggerOutputDataDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
|
|
4018
4024
|
};
|
|
4019
4025
|
protoOf($serializer_10).bk = function () {
|
|
4020
|
-
return this.
|
|
4026
|
+
return this.t1v_1;
|
|
4021
4027
|
};
|
|
4022
4028
|
protoOf($serializer_10).rv = function () {
|
|
4023
4029
|
// Inline function 'kotlin.arrayOf' call
|
|
4024
4030
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
4025
4031
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4026
|
-
return [Companion_getInstance_23().
|
|
4032
|
+
return [Companion_getInstance_23().s1v_1[0].v1(), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
|
|
4027
4033
|
};
|
|
4028
4034
|
var $serializer_instance_10;
|
|
4029
4035
|
function $serializer_getInstance_10() {
|
|
@@ -4033,7 +4039,7 @@
|
|
|
4033
4039
|
}
|
|
4034
4040
|
function LoggerOutputDataDto_init_$Init$(seen0, type, key, tag, message, stackTrace, serializationConstructorMarker, $this) {
|
|
4035
4041
|
if (!(31 === (31 & seen0))) {
|
|
4036
|
-
throwMissingFieldException(seen0, 31, $serializer_getInstance_10().
|
|
4042
|
+
throwMissingFieldException(seen0, 31, $serializer_getInstance_10().t1v_1);
|
|
4037
4043
|
}
|
|
4038
4044
|
$this.type = type;
|
|
4039
4045
|
$this.key = key;
|
|
@@ -4053,7 +4059,7 @@
|
|
|
4053
4059
|
this.message = message;
|
|
4054
4060
|
this.stackTrace = stackTrace;
|
|
4055
4061
|
}
|
|
4056
|
-
protoOf(LoggerOutputDataDto).
|
|
4062
|
+
protoOf(LoggerOutputDataDto).v1v = function () {
|
|
4057
4063
|
return this.type;
|
|
4058
4064
|
};
|
|
4059
4065
|
protoOf(LoggerOutputDataDto).u1 = function () {
|
|
@@ -4065,7 +4071,7 @@
|
|
|
4065
4071
|
protoOf(LoggerOutputDataDto).e = function () {
|
|
4066
4072
|
return this.message;
|
|
4067
4073
|
};
|
|
4068
|
-
protoOf(LoggerOutputDataDto).
|
|
4074
|
+
protoOf(LoggerOutputDataDto).w1v = function () {
|
|
4069
4075
|
return this.stackTrace;
|
|
4070
4076
|
};
|
|
4071
4077
|
protoOf(LoggerOutputDataDto).toMessageLog = function () {
|
|
@@ -4122,7 +4128,7 @@
|
|
|
4122
4128
|
protoOf(LoggerOutputDataDto).k1q = function () {
|
|
4123
4129
|
return this.stackTrace;
|
|
4124
4130
|
};
|
|
4125
|
-
protoOf(LoggerOutputDataDto).
|
|
4131
|
+
protoOf(LoggerOutputDataDto).x1v = function (type, key, tag, message, stackTrace) {
|
|
4126
4132
|
return new LoggerOutputDataDto(type, key, tag, message, stackTrace);
|
|
4127
4133
|
};
|
|
4128
4134
|
protoOf(LoggerOutputDataDto).copy = function (type, key, tag, message, stackTrace, $super) {
|
|
@@ -4131,7 +4137,7 @@
|
|
|
4131
4137
|
tag = tag === VOID ? this.tag : tag;
|
|
4132
4138
|
message = message === VOID ? this.message : message;
|
|
4133
4139
|
stackTrace = stackTrace === VOID ? this.stackTrace : stackTrace;
|
|
4134
|
-
return $super === VOID ? this.
|
|
4140
|
+
return $super === VOID ? this.x1v(type, key, tag, message, stackTrace) : $super.x1v.call(this, type, key, tag, message, stackTrace);
|
|
4135
4141
|
};
|
|
4136
4142
|
protoOf(LoggerOutputDataDto).toString = function () {
|
|
4137
4143
|
return 'LoggerOutputDataDto(type=' + this.type.toString() + ', key=' + this.key + ', tag=' + this.tag + ', message=' + this.message + ', stackTrace=' + this.stackTrace + ')';
|