Remove unused /singleplayer/settings/weapon/durability
endpoint
This commit is contained in:
parent
798dcfffaa
commit
18b28a6d0b
@ -11,8 +11,7 @@
|
||||
"randomTime": false
|
||||
},
|
||||
"save": {
|
||||
"loot": true,
|
||||
"durability": true
|
||||
"loot": true
|
||||
},
|
||||
"carExtracts": [
|
||||
"Dorms V-Ex",
|
||||
|
@ -65,15 +65,6 @@ export class InraidCallbacks
|
||||
return this.httpResponse.noBody(this.inraidController.getInraidConfig().raidMenuSettings);
|
||||
}
|
||||
|
||||
/**
|
||||
* Handle singleplayer/settings/weapon/durability
|
||||
* @returns
|
||||
*/
|
||||
public getWeaponDurability(): string
|
||||
{
|
||||
return this.httpResponse.noBody(this.inraidController.getInraidConfig().save.durability);
|
||||
}
|
||||
|
||||
/**
|
||||
* Handle singleplayer/airdrop/config
|
||||
* @returns JSON as string
|
||||
|
@ -42,5 +42,4 @@ export interface Save
|
||||
{
|
||||
/** Should loot gained from raid be saved */
|
||||
loot: boolean;
|
||||
durability: boolean;
|
||||
}
|
||||
|
@ -20,13 +20,6 @@ export class InraidStaticRouter extends StaticRouter
|
||||
return this.inraidCallbacks.getRaidEndState();
|
||||
},
|
||||
),
|
||||
new RouteAction(
|
||||
"/singleplayer/settings/weapon/durability",
|
||||
(url: string, info: any, sessionID: string, output: string): any =>
|
||||
{
|
||||
return this.inraidCallbacks.getWeaponDurability();
|
||||
},
|
||||
),
|
||||
new RouteAction(
|
||||
"/singleplayer/settings/raid/menu",
|
||||
(url: string, info: any, sessionID: string, output: string): any =>
|
||||
|
Loading…
Reference in New Issue
Block a user