Additional tye improvements
This commit is contained in:
parent
6930267d8b
commit
b5a3f2fe32
@ -224,14 +224,14 @@ export class DialogueCallbacks implements OnUpdate
|
|||||||
|
|
||||||
/** Handle client/friend/ignore/set */
|
/** Handle client/friend/ignore/set */
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
public ignoreFriend(url: string, request: { uid: string; }, sessionID: string): any
|
public ignoreFriend(url: string, request: { uid: string; }, sessionID: string): INullResponseData
|
||||||
{
|
{
|
||||||
return this.httpResponse.nullResponse();
|
return this.httpResponse.nullResponse();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Handle client/friend/ignore/remove */
|
/** Handle client/friend/ignore/remove */
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
public unIgnoreFriend(url: string, request: { uid: string; }, sessionID: string): any
|
public unIgnoreFriend(url: string, request: { uid: string; }, sessionID: string): INullResponseData
|
||||||
{
|
{
|
||||||
return this.httpResponse.nullResponse();
|
return this.httpResponse.nullResponse();
|
||||||
}
|
}
|
||||||
|
@ -11,6 +11,7 @@ import { IGameKeepAliveResponse } from "@spt-aki/models/eft/game/IGameKeepAliveR
|
|||||||
import { IGameLogoutResponseData } from "@spt-aki/models/eft/game/IGameLogoutResponseData";
|
import { IGameLogoutResponseData } from "@spt-aki/models/eft/game/IGameLogoutResponseData";
|
||||||
import { IGameStartResponse } from "@spt-aki/models/eft/game/IGameStartResponse";
|
import { IGameStartResponse } from "@spt-aki/models/eft/game/IGameStartResponse";
|
||||||
import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest";
|
import { IGetRaidTimeRequest } from "@spt-aki/models/eft/game/IGetRaidTimeRequest";
|
||||||
|
import { IGetRaidTimeResponse } from "@spt-aki/models/eft/game/IGetRaidTimeResponse";
|
||||||
import { IReportNicknameRequestData } from "@spt-aki/models/eft/game/IReportNicknameRequestData";
|
import { IReportNicknameRequestData } from "@spt-aki/models/eft/game/IReportNicknameRequestData";
|
||||||
import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails";
|
import { IServerDetails } from "@spt-aki/models/eft/game/IServerDetails";
|
||||||
import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData";
|
import { IVersionValidateRequestData } from "@spt-aki/models/eft/game/IVersionValidateRequestData";
|
||||||
@ -164,7 +165,7 @@ export class GameCallbacks implements OnLoad
|
|||||||
* @returns string
|
* @returns string
|
||||||
*/
|
*/
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
public getRaidTime(url: string, request: IGetRaidTimeRequest, sessionID: string): any
|
public getRaidTime(url: string, request: IGetRaidTimeRequest, sessionID: string): IGetRaidTimeResponse
|
||||||
{
|
{
|
||||||
return this.httpResponse.noBody(this.gameController.getRaidTime(sessionID, request));
|
return this.httpResponse.noBody(this.gameController.getRaidTime(sessionID, request));
|
||||||
}
|
}
|
||||||
|
@ -44,6 +44,7 @@ export class NotifierCallbacks
|
|||||||
|
|
||||||
/** Handle push/notifier/get */
|
/** Handle push/notifier/get */
|
||||||
/** Handle push/notifier/getwebsocket */
|
/** Handle push/notifier/getwebsocket */
|
||||||
|
// TODO: removed from client?
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
public getNotifier(url: string, info: any, sessionID: string): IGetBodyResponseData<any[]>
|
public getNotifier(url: string, info: any, sessionID: string): IGetBodyResponseData<any[]>
|
||||||
{
|
{
|
||||||
|
@ -13,6 +13,7 @@ import { IExtendOfferRequestData } from "@spt-aki/models/eft/ragfair/IExtendOffe
|
|||||||
import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult";
|
import { IGetItemPriceResult } from "@spt-aki/models/eft/ragfair/IGetItemPriceResult";
|
||||||
import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData";
|
import { IGetMarketPriceRequestData } from "@spt-aki/models/eft/ragfair/IGetMarketPriceRequestData";
|
||||||
import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult";
|
import { IGetOffersResult } from "@spt-aki/models/eft/ragfair/IGetOffersResult";
|
||||||
|
import { IGetRagfairOfferByIdRequest } from "@spt-aki/models/eft/ragfair/IGetRagfairOfferByIdRequest";
|
||||||
import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer";
|
import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer";
|
||||||
import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData";
|
import { IRemoveOfferRequestData } from "@spt-aki/models/eft/ragfair/IRemoveOfferRequestData";
|
||||||
import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData";
|
import { ISearchRequestData } from "@spt-aki/models/eft/ragfair/ISearchRequestData";
|
||||||
@ -145,7 +146,7 @@ export class RagfairCallbacks implements OnLoad, OnUpdate
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** Handle client/ragfair/offer/findbyid */
|
/** Handle client/ragfair/offer/findbyid */
|
||||||
public getFleaOfferById(url: string, request: any, sessionID: string): IGetBodyResponseData<IRagfairOffer>
|
public getFleaOfferById(url: string, request: IGetRagfairOfferByIdRequest, sessionID: string): IGetBodyResponseData<IRagfairOffer>
|
||||||
{
|
{
|
||||||
return this.httpResponse.getBody(this.ragfairController.getOfferById(sessionID, request));
|
return this.httpResponse.getBody(this.ragfairController.getOfferById(sessionID, request));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user