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