Removed unused endpoint + config
This commit is contained in:
parent
f8f0f1fdb0
commit
872212f651
@ -1420,6 +1420,5 @@
|
|||||||
"mod_mount": 5,
|
"mod_mount": 5,
|
||||||
"mod_equipment": 5
|
"mod_equipment": 5
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
"sandboxMaxPatrolvalue": 8
|
|
||||||
}
|
}
|
@ -97,11 +97,6 @@ export class InraidCallbacks
|
|||||||
return this.httpResponse.noBody(this.inraidController.getTraitorScavHostileChance(url, sessionId));
|
return this.httpResponse.noBody(this.inraidController.getTraitorScavHostileChance(url, sessionId));
|
||||||
}
|
}
|
||||||
|
|
||||||
public getSandboxMaxPatrolValue(url: string, info: IEmptyRequestData, sessionId: string): string
|
|
||||||
{
|
|
||||||
return this.httpResponse.noBody(this.inraidController.getSandboxMaxPatrolValue(url, sessionId));
|
|
||||||
}
|
|
||||||
|
|
||||||
public getBossConvertSettings(url: string, info: IEmptyRequestData, sessionId: string): string
|
public getBossConvertSettings(url: string, info: IEmptyRequestData, sessionId: string): string
|
||||||
{
|
{
|
||||||
return this.httpResponse.noBody(this.inraidController.getBossConvertSettings(url, sessionId));
|
return this.httpResponse.noBody(this.inraidController.getBossConvertSettings(url, sessionId));
|
||||||
|
@ -665,11 +665,6 @@ export class InraidController
|
|||||||
return this.inRaidConfig.playerScavHostileChancePercent;
|
return this.inRaidConfig.playerScavHostileChancePercent;
|
||||||
}
|
}
|
||||||
|
|
||||||
public getSandboxMaxPatrolValue(url: string, sessionID: string): number
|
|
||||||
{
|
|
||||||
return this.locationConfig.sandboxMaxPatrolvalue;
|
|
||||||
}
|
|
||||||
|
|
||||||
public getBossConvertSettings(url: string, sessionId: string): string[]
|
public getBossConvertSettings(url: string, sessionId: string): string[]
|
||||||
{
|
{
|
||||||
return Object.keys(this.botConfig.assaultToBossConversion.bossesToConvertToWeights);
|
return Object.keys(this.botConfig.assaultToBossConversion.bossesToConvertToWeights);
|
||||||
|
@ -46,8 +46,6 @@ export interface ILocationConfig extends IBaseConfig
|
|||||||
scavRaidTimeSettings: IScavRaidTimeSettings
|
scavRaidTimeSettings: IScavRaidTimeSettings
|
||||||
/** Settings to adjust mods for lootable equipment in raid */
|
/** Settings to adjust mods for lootable equipment in raid */
|
||||||
equipmentLootSettings: IEquipmentLootSettings
|
equipmentLootSettings: IEquipmentLootSettings
|
||||||
/** Sets the max Patrol Value of the Boxzone on the map Ground Zero */
|
|
||||||
sandboxMaxPatrolvalue: number
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface IEquipmentLootSettings
|
export interface IEquipmentLootSettings
|
||||||
|
@ -51,13 +51,6 @@ export class InraidStaticRouter extends StaticRouter
|
|||||||
return this.inraidCallbacks.getTraitorScavHostileChance(url, info, sessionID);
|
return this.inraidCallbacks.getTraitorScavHostileChance(url, info, sessionID);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
new RouteAction(
|
|
||||||
"/singleplayer/sandbox/maxpatrol",
|
|
||||||
async (url: string, info: any, sessionID: string, output: string): Promise<string> =>
|
|
||||||
{
|
|
||||||
return this.inraidCallbacks.getSandboxMaxPatrolValue(url, info, sessionID);
|
|
||||||
},
|
|
||||||
),
|
|
||||||
new RouteAction(
|
new RouteAction(
|
||||||
"/singleplayer/BossConvert",
|
"/singleplayer/BossConvert",
|
||||||
async (url: string, info: any, sessionID: string, output: string): Promise<string> =>
|
async (url: string, info: any, sessionID: string, output: string): Promise<string> =>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user