mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-12 16:10:43 -05:00
Renamed function to match endpoint
This commit is contained in:
parent
b9991b3825
commit
45d55ff307
@ -44,10 +44,11 @@ export class MatchCallbacks {
|
||||
}
|
||||
|
||||
/** Handle client/match/group/exit_from_menu */
|
||||
public exitToMenu(url: string, info: IEmptyRequestData, sessionID: string): INullResponseData {
|
||||
public exitFromMenu(url: string, info: IEmptyRequestData, sessionID: string): INullResponseData {
|
||||
return this.httpResponse.nullResponse();
|
||||
}
|
||||
|
||||
/** Handle client/match/group/current */
|
||||
public groupCurrent(
|
||||
url: string,
|
||||
info: IEmptyRequestData,
|
||||
@ -56,10 +57,12 @@ export class MatchCallbacks {
|
||||
return this.httpResponse.getBody({ squad: [] });
|
||||
}
|
||||
|
||||
/** Handle client/match/group/looking/start */
|
||||
public startGroupSearch(url: string, info: IEmptyRequestData, sessionID: string): INullResponseData {
|
||||
return this.httpResponse.nullResponse();
|
||||
}
|
||||
|
||||
/** Handle client/match/group/looking/stop */
|
||||
public stopGroupSearch(url: string, info: IEmptyRequestData, sessionID: string): INullResponseData {
|
||||
return this.httpResponse.nullResponse();
|
||||
}
|
||||
@ -113,10 +116,12 @@ export class MatchCallbacks {
|
||||
return this.httpResponse.getBody(true);
|
||||
}
|
||||
|
||||
/** Handle client/putMetrics */
|
||||
public putMetrics(url: string, request: IPutMetricsRequestData, sessionId: string): INullResponseData {
|
||||
return this.httpResponse.nullResponse();
|
||||
}
|
||||
|
||||
/** Handle client/analytics/event-disconnect */
|
||||
public eventDisconnect(url: string, request: IPutMetricsRequestData, sessionId: string): INullResponseData {
|
||||
return this.httpResponse.nullResponse();
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ export class MatchStaticRouter extends StaticRouter {
|
||||
new RouteAction(
|
||||
"/client/match/group/exit_from_menu",
|
||||
async (url: string, info: any, sessionID: string, output: string): Promise<INullResponseData> => {
|
||||
return this.matchCallbacks.exitToMenu(url, info, sessionID);
|
||||
return this.matchCallbacks.exitFromMenu(url, info, sessionID);
|
||||
},
|
||||
),
|
||||
new RouteAction(
|
||||
|
Loading…
x
Reference in New Issue
Block a user