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