raspberry_games_server_game_logic 1.8.419 → 1.8.421

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.
@@ -2855,9 +2855,10 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
2855
2855
  const constructor: abstract new () => TeamsDataMechanicAction;
2856
2856
  }
2857
2857
  class PlayerConnectionChangedMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction.$metadata$.constructor implements com.logic.redux.actions.validation.NotValidateIfGameFinished {
2858
- constructor(playerId: string, state: com.logic.data.models.player.PlayerConnectionState, causeState?: Nullable<com.logic.data.models.player.PlayerConnectionState>, isNoneActivePlayers?: boolean, reconnectUntilTime?: Nullable<string>, aid?: Nullable<string>);
2858
+ constructor(playerId: string, state: com.logic.data.models.player.PlayerConnectionState, previousState: com.logic.data.models.player.PlayerConnectionState, causeState?: Nullable<com.logic.data.models.player.PlayerConnectionState>, isNoneActivePlayers?: boolean, reconnectUntilTime?: Nullable<string>, aid?: Nullable<string>);
2859
2859
  get playerId(): string;
2860
2860
  get state(): com.logic.data.models.player.PlayerConnectionState;
2861
+ get previousState(): com.logic.data.models.player.PlayerConnectionState;
2861
2862
  get causeState(): Nullable<com.logic.data.models.player.PlayerConnectionState>;
2862
2863
  get isNoneActivePlayers(): boolean;
2863
2864
  get reconnectUntilTime(): Nullable<string>;
@@ -2866,7 +2867,7 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
2866
2867
  get originState(): com.logic.data.models.player.PlayerConnectionState;
2867
2868
  get isDeleted(): boolean;
2868
2869
  toString(): string;
2869
- copy(playerId?: string, state?: com.logic.data.models.player.PlayerConnectionState, causeState?: Nullable<com.logic.data.models.player.PlayerConnectionState>, isNoneActivePlayers?: boolean, reconnectUntilTime?: Nullable<string>, aid?: Nullable<string>): games.jass.logic.redux.actions.mechanic.PlayerConnectionChangedMechanicAction;
2870
+ copy(playerId?: string, state?: com.logic.data.models.player.PlayerConnectionState, previousState?: com.logic.data.models.player.PlayerConnectionState, causeState?: Nullable<com.logic.data.models.player.PlayerConnectionState>, isNoneActivePlayers?: boolean, reconnectUntilTime?: Nullable<string>, aid?: Nullable<string>): games.jass.logic.redux.actions.mechanic.PlayerConnectionChangedMechanicAction;
2870
2871
  hashCode(): number;
2871
2872
  equals(other: Nullable<any>): boolean;
2872
2873
  get actionTag(): string;
@@ -3117,7 +3118,7 @@ export declare namespace games.jass.logic.server.domain {
3117
3118
  playerLeft(playerId: string, permanently?: boolean): games.jass.logic.data.models.player.state.PlayerLeftResult;
3118
3119
  fromClientEvent(action: games.jass.logic.redux.actions.client.from.FromClientAction): void;
3119
3120
  roomRefreshPlayerState(playerId: string): void;
3120
- getToClientFinishActionBeforeDisconnect(playerId: string, originState: com.logic.data.models.player.PlayerConnectionState): Nullable<games.jass.logic.redux.actions.client.to.ToClientAction>;
3121
+ getToClientFinishActionBeforeDisconnect(playerId: string, previousState: com.logic.data.models.player.PlayerConnectionState, originState: com.logic.data.models.player.PlayerConnectionState): Nullable<games.jass.logic.redux.actions.client.to.ToClientAction>;
3121
3122
  addSpectatorsToRoom(spectators: Array<com.logic.data.models.player.GameUserInfo>): void;
3122
3123
  removeSpectatorsFromRoom(spectators: Array<com.logic.data.models.player.GameUserInfo>): void;
3123
3124
  subscribeToClientAction(subscriber: (p0: games.jass.logic.redux.actions.client.to.ToClientAction) => void): void;