Removed unused singleplayer/settings/raid/endstate
endpoint
This commit is contained in:
parent
b988977894
commit
3d1aa5e4fc
@ -1,5 +1,4 @@
|
||||
{
|
||||
"MIAOnRaidEnd": true,
|
||||
"raidMenuSettings": {
|
||||
"aiAmount": "AsOnline",
|
||||
"aiDifficulty": "AsOnline",
|
||||
|
@ -41,15 +41,6 @@ export class InraidCallbacks {
|
||||
return this.httpResponse.nullResponse();
|
||||
}
|
||||
|
||||
/**
|
||||
* TODO - remove
|
||||
* Handle singleplayer/settings/raid/endstate
|
||||
* @returns
|
||||
*/
|
||||
public getRaidEndState(): string {
|
||||
return this.httpResponse.noBody(this.inraidController.getInraidConfig().MIAOnRaidEnd);
|
||||
}
|
||||
|
||||
/**
|
||||
* Handle singleplayer/settings/raid/menu
|
||||
* @returns JSON as string
|
||||
|
@ -2,7 +2,6 @@ import { IBaseConfig } from "@spt/models/spt/config/IBaseConfig";
|
||||
|
||||
export interface IInRaidConfig extends IBaseConfig {
|
||||
kind: "spt-inraid";
|
||||
MIAOnRaidEnd: boolean;
|
||||
/** Overrides to apply to the pre-raid settings screen */
|
||||
raidMenuSettings: RaidMenuSettings;
|
||||
/** What effects should be saved post-raid */
|
||||
|
@ -13,18 +13,6 @@ export class InraidStaticRouter extends StaticRouter {
|
||||
return this.inraidCallbacks.saveProgress(url, info, sessionID);
|
||||
},
|
||||
),
|
||||
new RouteAction(
|
||||
"/singleplayer/settings/raid/endstate",
|
||||
async (url: string, info: any, sessionID: string, output: string): Promise<string> => {
|
||||
return this.inraidCallbacks.getRaidEndState();
|
||||
},
|
||||
),
|
||||
new RouteAction(
|
||||
"/singleplayer/settings/raid/menu",
|
||||
async (url: string, info: any, sessionID: string, output: string): Promise<string> => {
|
||||
return this.inraidCallbacks.getRaidMenuSettings();
|
||||
},
|
||||
),
|
||||
new RouteAction(
|
||||
"/singleplayer/scav/traitorscavhostile",
|
||||
async (url: string, info: any, sessionID: string, output: string): Promise<string> => {
|
||||
|
Loading…
Reference in New Issue
Block a user