move dummy endpoint
This commit is contained in:
parent
7982f85e63
commit
136dc111f4
@ -163,6 +163,11 @@ export class GameCallbacks implements OnLoad
|
|||||||
return this.httpResponse.noBody({ Version: this.watermark.getInGameVersionLabel() });
|
return this.httpResponse.noBody({ Version: this.watermark.getInGameVersionLabel() });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Handle /client/report/send & /client/reports/lobby/send
|
||||||
|
* @returns INullResponseData
|
||||||
|
*/
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
public reportNickname(url: string, info: IUIDRequestData, sessionID: string): INullResponseData
|
public reportNickname(url: string, info: IUIDRequestData, sessionID: string): INullResponseData
|
||||||
{
|
{
|
||||||
return this.httpResponse.nullResponse();
|
return this.httpResponse.nullResponse();
|
||||||
@ -177,4 +182,14 @@ export class GameCallbacks implements OnLoad
|
|||||||
{
|
{
|
||||||
return this.httpResponse.noBody(this.gameController.getRaidTime(sessionID, request));
|
return this.httpResponse.noBody(this.gameController.getRaidTime(sessionID, request));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Handle /client/survey
|
||||||
|
* @returns INullResponseData
|
||||||
|
*/
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
|
public getSurvey(url: string, request: IEmptyRequestData, sessionID: string): INullResponseData
|
||||||
|
{
|
||||||
|
return this.httpResponse.nullResponse();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -166,7 +166,7 @@ export class GameStaticRouter extends StaticRouter
|
|||||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
async (url: string, info: any, sessionID: string, output: string): Promise<INullResponseData> =>
|
async (url: string, info: any, sessionID: string, output: string): Promise<INullResponseData> =>
|
||||||
{
|
{
|
||||||
return this.httpResponse.nullResponse();
|
return this.gameCallbacks.getSurvey(url, info, sessionID);
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
]);
|
]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user