mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-13 02:50:44 -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 */
|
/** 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();
|
return this.httpResponse.nullResponse();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Handle client/match/group/current */
|
||||||
public groupCurrent(
|
public groupCurrent(
|
||||||
url: string,
|
url: string,
|
||||||
info: IEmptyRequestData,
|
info: IEmptyRequestData,
|
||||||
@ -56,10 +57,12 @@ export class MatchCallbacks {
|
|||||||
return this.httpResponse.getBody({ squad: [] });
|
return this.httpResponse.getBody({ squad: [] });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Handle client/match/group/looking/start */
|
||||||
public startGroupSearch(url: string, info: IEmptyRequestData, sessionID: string): INullResponseData {
|
public startGroupSearch(url: string, info: IEmptyRequestData, sessionID: string): INullResponseData {
|
||||||
return this.httpResponse.nullResponse();
|
return this.httpResponse.nullResponse();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Handle client/match/group/looking/stop */
|
||||||
public stopGroupSearch(url: string, info: IEmptyRequestData, sessionID: string): INullResponseData {
|
public stopGroupSearch(url: string, info: IEmptyRequestData, sessionID: string): INullResponseData {
|
||||||
return this.httpResponse.nullResponse();
|
return this.httpResponse.nullResponse();
|
||||||
}
|
}
|
||||||
@ -113,10 +116,12 @@ export class MatchCallbacks {
|
|||||||
return this.httpResponse.getBody(true);
|
return this.httpResponse.getBody(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Handle client/putMetrics */
|
||||||
public putMetrics(url: string, request: IPutMetricsRequestData, sessionId: string): INullResponseData {
|
public putMetrics(url: string, request: IPutMetricsRequestData, sessionId: string): INullResponseData {
|
||||||
return this.httpResponse.nullResponse();
|
return this.httpResponse.nullResponse();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Handle client/analytics/event-disconnect */
|
||||||
public eventDisconnect(url: string, request: IPutMetricsRequestData, sessionId: string): INullResponseData {
|
public eventDisconnect(url: string, request: IPutMetricsRequestData, sessionId: string): INullResponseData {
|
||||||
return this.httpResponse.nullResponse();
|
return this.httpResponse.nullResponse();
|
||||||
}
|
}
|
||||||
|
@ -96,7 +96,7 @@ export class MatchStaticRouter extends StaticRouter {
|
|||||||
new RouteAction(
|
new RouteAction(
|
||||||
"/client/match/group/exit_from_menu",
|
"/client/match/group/exit_from_menu",
|
||||||
async (url: string, info: any, sessionID: string, output: string): Promise<INullResponseData> => {
|
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(
|
new RouteAction(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user