Skip to content

Commit

Permalink
Merge pull request #30 from yhl452493373/raid-code-3.9.0
Browse files Browse the repository at this point in the history
Add raid code
  • Loading branch information
Lacyway authored Jun 18, 2024
2 parents 5bbe36c + 24bf23e commit fcd7611
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/controllers/FikaRaidController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export class FikaRaidController {
expectedNumberOfPlayers: match.expectedNumberOfPlayers,
gameVersion: match.gameVersion,
fikaVersion: match.fikaVersion,
raidCode: match.raidCode
};
}

Expand Down
1 change: 1 addition & 0 deletions src/models/fika/IFikaMatch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ export interface IFikaMatch {
players: Map<string, IFikaPlayer>;
side: FikaSide;
time: FikaTime;
raidCode: string;
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { FikaSide } from "../../../../enums/FikaSide";
import { FikaTime } from "../../../../enums/FikaTime";

export interface IFikaRaidCreateRequestData {
raidCode: string;
serverId: string;
hostUsername: string;
timestamp: string;
Expand Down
1 change: 1 addition & 0 deletions src/models/fika/routes/raid/join/IFikaRaidJoinResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export interface IFikaRaidJoinResponse {
expectedNumberOfPlayers: number;
gameVersion: string;
fikaVersion: string;
raidCode: string;
}
1 change: 1 addition & 0 deletions src/services/FikaMatchService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ export class FikaMatchService {
fikaVersion: data.fikaVersion,
side: data.side,
time: data.time,
raidCode: data.raidCode
});

this.addTimeoutInterval(data.serverId);
Expand Down

0 comments on commit fcd7611

Please sign in to comment.