raspberry_games_server_game_logic 1.8.327 → 1.8.329
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime.js +2 -2
- package/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-engine.js +4 -21
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.d.ts +1 -1
- package/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +9 -9
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -1971,7 +1971,7 @@ export declare interface GameHelper {
|
|
|
1971
1971
|
getRulesByString(name: string): games.jass.logic.data.models.rules.Rules;
|
|
1972
1972
|
mapRulesSetType(name: string): games.jass.logic.data.models.rules.RulesSetType;
|
|
1973
1973
|
mapToLeague(name: string): games.jass.logic.data.models.leagues.League;
|
|
1974
|
-
getAllLeagues():
|
|
1974
|
+
getAllLeagues(): Array<string>;
|
|
1975
1975
|
readonly __doNotUseOrImplementIt: {
|
|
1976
1976
|
readonly GameHelper: unique symbol;
|
|
1977
1977
|
};
|
package/kotlin-kotlin-stdlib.js
CHANGED
|
@@ -57,12 +57,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
57
57
|
};
|
|
58
58
|
}(Math.log, Math.LN2);
|
|
59
59
|
}
|
|
60
|
-
if (typeof String.prototype.startsWith === 'undefined') {
|
|
61
|
-
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
62
|
-
position = position || 0;
|
|
63
|
-
return this.lastIndexOf(searchString, position) === position;
|
|
64
|
-
}});
|
|
65
|
-
}
|
|
66
60
|
if (typeof String.prototype.endsWith === 'undefined') {
|
|
67
61
|
Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
|
|
68
62
|
var subjectString = this.toString();
|
|
@@ -74,6 +68,12 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
74
68
|
return lastIndex !== -1 && lastIndex === position;
|
|
75
69
|
}});
|
|
76
70
|
}
|
|
71
|
+
if (typeof String.prototype.startsWith === 'undefined') {
|
|
72
|
+
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
73
|
+
position = position || 0;
|
|
74
|
+
return this.lastIndexOf(searchString, position) === position;
|
|
75
|
+
}});
|
|
76
|
+
}
|
|
77
77
|
//endregion
|
|
78
78
|
(function (factory) {
|
|
79
79
|
if (typeof define === 'function' && define.amd)
|