Skip to content

Commit

Permalink
Remove expectedNumberOfPlayers, this is a breaking change with older …
Browse files Browse the repository at this point in the history
…versions
  • Loading branch information
ArchangelWTF committed Dec 19, 2024
1 parent d3cdc87 commit 182f940
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion src/controllers/FikaRaidController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ export class FikaRaidController {
return {
serverId: request.serverId,
timestamp: match.timestamp,
expectedNumberOfPlayers: match.expectedNumberOfPlayers,
gameVersion: match.gameVersion,
fikaVersion: match.fikaVersion,
raidCode: match.raidCode,
Expand Down
1 change: 0 additions & 1 deletion src/models/fika/IFikaMatch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ export interface IFikaMatch {
port: number;
hostUsername: string;
timestamp: string;
expectedNumberOfPlayers: number;
fikaVersion: string;
gameVersion: string;
raidConfig: IGetRaidConfigurationRequestData;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ export interface IFikaRaidCreateRequestData {
hostUsername: string;
timestamp: string;
settings: IGetRaidConfigurationRequestData;
expectedNumberOfPlayers: number;
gameVersion: string;
fikaVersion: string;
side: EFikaSide;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { PlayersSpawnPlace } from "@spt/models/enums/PlayersSpawnPlace";
import { SideType } from "@spt/models/enums/SideType";

export interface IStartDedicatedRequest {
expectedNumberOfPlayers: number;
time: DateTime;
locationId: string;
spawnPlace: PlayersSpawnPlace;
Expand Down
1 change: 0 additions & 1 deletion src/models/fika/routes/raid/join/IFikaRaidJoinResponse.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
export interface IFikaRaidJoinResponse {
serverId: string;
timestamp: string;
expectedNumberOfPlayers: number;
gameVersion: string;
fikaVersion: string;
raidCode: string;
Expand Down
3 changes: 1 addition & 2 deletions src/services/FikaMatchService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@ export class FikaMatchService {
port: null,
hostUsername: data.hostUsername,
timestamp: data.timestamp,
expectedNumberOfPlayers: data.expectedNumberOfPlayers,
raidConfig: data.settings,
locationData: locationData,
status: EFikaMatchStatus.LOADING,
Expand All @@ -209,7 +208,7 @@ export class FikaMatchService {
raidCode: data.raidCode,
natPunch: false,
isDedicated: false,
raids: 0
raids: 0,
});

this.addTimeoutInterval(data.serverId);
Expand Down

0 comments on commit 182f940

Please sign in to comment.