Replaced usages of parameters with fixed values
This commit is contained in:
parent
e2eb56a60a
commit
0dfbf61ddf
@ -421,7 +421,7 @@ export class BotLootGenerator
|
|||||||
totalItemCount: number,
|
totalItemCount: number,
|
||||||
inventoryToAddItemsTo: PmcInventory,
|
inventoryToAddItemsTo: PmcInventory,
|
||||||
botRole: string,
|
botRole: string,
|
||||||
itemSpawnLimits: IItemSpawnLimitSettings = undefined,
|
itemSpawnLimits?: IItemSpawnLimitSettings,
|
||||||
totalValueLimitRub = 0,
|
totalValueLimitRub = 0,
|
||||||
isPmc = false,
|
isPmc = false,
|
||||||
containersIdFull = new Set<string>(),
|
containersIdFull = new Set<string>(),
|
||||||
|
@ -572,7 +572,7 @@ export class InventoryHelper
|
|||||||
profile: IPmcData,
|
profile: IPmcData,
|
||||||
itemId: string,
|
itemId: string,
|
||||||
sessionID: string,
|
sessionID: string,
|
||||||
output: IItemEventRouterResponse = undefined,
|
output?: IItemEventRouterResponse,
|
||||||
): void
|
): void
|
||||||
{
|
{
|
||||||
if (!itemId)
|
if (!itemId)
|
||||||
@ -629,7 +629,7 @@ export class InventoryHelper
|
|||||||
public removeItemAndChildrenFromMailRewards(
|
public removeItemAndChildrenFromMailRewards(
|
||||||
sessionId: string,
|
sessionId: string,
|
||||||
removeRequest: IInventoryRemoveRequestData,
|
removeRequest: IInventoryRemoveRequestData,
|
||||||
output: IItemEventRouterResponse = undefined,
|
output?: IItemEventRouterResponse,
|
||||||
): void
|
): void
|
||||||
{
|
{
|
||||||
const fullProfile = this.profileHelper.getFullProfile(sessionId);
|
const fullProfile = this.profileHelper.getFullProfile(sessionId);
|
||||||
@ -682,7 +682,7 @@ export class InventoryHelper
|
|||||||
itemId: string,
|
itemId: string,
|
||||||
countToRemove: number,
|
countToRemove: number,
|
||||||
sessionID: string,
|
sessionID: string,
|
||||||
output: IItemEventRouterResponse = undefined,
|
output?: IItemEventRouterResponse,
|
||||||
): IItemEventRouterResponse
|
): IItemEventRouterResponse
|
||||||
{
|
{
|
||||||
if (!itemId)
|
if (!itemId)
|
||||||
|
@ -1320,7 +1320,7 @@ export class ItemHelper
|
|||||||
magazine: Item[],
|
magazine: Item[],
|
||||||
magTemplate: ITemplateItem,
|
magTemplate: ITemplateItem,
|
||||||
staticAmmoDist: Record<string, IStaticAmmoDetails[]>,
|
staticAmmoDist: Record<string, IStaticAmmoDetails[]>,
|
||||||
caliber: string = undefined,
|
caliber?: string,
|
||||||
minSizePercent = 0.25,
|
minSizePercent = 0.25,
|
||||||
defaultCartridgeTpl?: string,
|
defaultCartridgeTpl?: string,
|
||||||
weapon?: ITemplateItem,
|
weapon?: ITemplateItem,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user