diff --git a/project/src/callbacks/MatchCallbacks.ts b/project/src/callbacks/MatchCallbacks.ts index 5b15787d..ab580a44 100644 --- a/project/src/callbacks/MatchCallbacks.ts +++ b/project/src/callbacks/MatchCallbacks.ts @@ -121,13 +121,6 @@ export class MatchCallbacks return this.httpResponse.nullResponse(); } - /** Handle raid/profile/list */ - // eslint-disable-next-line @typescript-eslint/no-unused-vars - public getProfile(url: string, info: IGetProfileRequestData, sessionID: string): IGetBodyResponseData - { - return this.httpResponse.getBody(this.matchController.getProfile(info)); - } - // Handle client/match/available // eslint-disable-next-line @typescript-eslint/no-unused-vars public serverAvailable(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData diff --git a/project/src/controllers/MatchController.ts b/project/src/controllers/MatchController.ts index 64f287b8..e742ce09 100644 --- a/project/src/controllers/MatchController.ts +++ b/project/src/controllers/MatchController.ts @@ -71,22 +71,6 @@ export class MatchController return this.matchConfig.enabled; } - /** Handle raid/profile/list */ - public getProfile(info: IGetProfileRequestData): IPmcData[] - { - if (info.profileId.includes("pmcAID")) - { - return this.profileHelper.getCompleteProfile(info.profileId.replace("pmcAID", "AID")); - } - - if (info.profileId.includes("scavAID")) - { - return this.profileHelper.getCompleteProfile(info.profileId.replace("scavAID", "AID")); - } - - return []; - } - /** Handle client/match/group/create */ public createGroup(sessionID: string, info: ICreateGroupRequestData): any { diff --git a/project/src/routers/static/MatchStaticRouter.ts b/project/src/routers/static/MatchStaticRouter.ts index 878df811..eeb01ee8 100644 --- a/project/src/routers/static/MatchStaticRouter.ts +++ b/project/src/routers/static/MatchStaticRouter.ts @@ -9,10 +9,6 @@ export class MatchStaticRouter extends StaticRouter constructor(@inject("MatchCallbacks") protected matchCallbacks: MatchCallbacks) { super([ - new RouteAction("/raid/profile/list", (url: string, info: any, sessionID: string, output: string): any => - { - return this.matchCallbacks.getProfile(url, info, sessionID); - }), new RouteAction( "/client/match/available", (url: string, info: any, sessionID: string, output: string): any =>