Add msising object
This commit is contained in:
parent
7e1a47bedc
commit
4ce4663fbe
@ -9,6 +9,7 @@ import { IAcceptGroupInviteRequest } from "@spt-aki/models/eft/match/IAcceptGrou
|
||||
import { IAcceptGroupInviteResponse } from "@spt-aki/models/eft/match/IAcceptGroupInviteResponse";
|
||||
import { ICancelGroupInviteRequest } from "@spt-aki/models/eft/match/ICancelGroupInviteRequest";
|
||||
import { ICreateGroupRequestData } from "@spt-aki/models/eft/match/ICreateGroupRequestData";
|
||||
import { IDeclineGroupInviteRequest } from "@spt-aki/models/eft/match/IDeclineGroupInviteRequest";
|
||||
import { IEndOfflineRaidRequestData } from "@spt-aki/models/eft/match/IEndOfflineRaidRequestData";
|
||||
import { IGetGroupStatusRequestData } from "@spt-aki/models/eft/match/IGetGroupStatusRequestData";
|
||||
import { IGetGroupStatusResponse } from "@spt-aki/models/eft/match/IGetGroupStatusResponse";
|
||||
@ -90,6 +91,17 @@ export class MatchCallbacks
|
||||
return this.httpResponse.getBody(result);
|
||||
}
|
||||
|
||||
/** Handle client/match/group/invite/decline */
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
public declineGroupInvite(
|
||||
url: string,
|
||||
info: IDeclineGroupInviteRequest,
|
||||
sessionID: string,
|
||||
): IGetBodyResponseData<any>
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/** Handle client/match/group/invite/cancel */
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
public cancelGroupInvite(
|
||||
|
@ -0,0 +1,3 @@
|
||||
export interface IDeclineGroupInviteRequest
|
||||
{
|
||||
}
|
@ -94,6 +94,13 @@ export class MatchStaticRouter extends StaticRouter
|
||||
return this.matchCallbacks.acceptGroupInvite(url, info, sessionID);
|
||||
},
|
||||
),
|
||||
new RouteAction(
|
||||
"/client/match/group/invite/decline",
|
||||
(url: string, info: any, sessionID: string, output: string): any =>
|
||||
{
|
||||
return this.matchCallbacks.declineGroupInvite(url, info, sessionID);
|
||||
},
|
||||
),
|
||||
new RouteAction(
|
||||
"/client/match/group/invite/cancel",
|
||||
(url: string, info: any, sessionID: string, output: string): any =>
|
||||
|
Loading…
Reference in New Issue
Block a user