raspberry_games_server_game_logic 1.8.293 → 1.8.294

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.
@@ -1770,12 +1770,12 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
1770
1770
  get roomId(): string;
1771
1771
  get playerIds(): Nullable<kotlin.collections.KtList<string>>;
1772
1772
  get previousPlayers(): Nullable<kotlin.collections.KtList<string>>;
1773
+ get isEnableChoosePartnerScreen(): boolean;
1773
1774
  get readyPlayerIdsArray(): Array<string>;
1774
1775
  copy(roomId?: string, playerIds?: Nullable<kotlin.collections.KtList<string>>, previousPlayers?: Nullable<kotlin.collections.KtList<string>>): games.jass.logic.redux.actions.mechanic.GameToRoomTransition;
1775
1776
  toString(): string;
1776
1777
  hashCode(): number;
1777
1778
  equals(other: Nullable<any>): boolean;
1778
- get isEnableChoosePartnerScreen(): boolean;
1779
1779
  readonly __doNotUseOrImplementIt: games.jass.logic.redux.actions.mechanic.GameTransition["__doNotUseOrImplementIt"];
1780
1780
  }
1781
1781
  }
@@ -57,6 +57,12 @@ 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
+ }
60
66
  if (typeof String.prototype.endsWith === 'undefined') {
61
67
  Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
62
68
  var subjectString = this.toString();
@@ -68,12 +74,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
68
74
  return lastIndex !== -1 && lastIndex === position;
69
75
  }});
70
76
  }
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)