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