class ExternalInventoryMagGen
implements IInventoryMagGen
import { ExternalInventoryMagGen } from "https://deno.land/x/sptaki@1.2.0/generators/weapongen/implementations/ExternalInventoryMagGen.d.ts";
Constructors
new
ExternalInventoryMagGen(logger: ILogger,
itemHelper: ItemHelper,
localisationService: LocalisationService,
botWeaponGeneratorHelper: BotWeaponGeneratorHelper,
botGeneratorHelper: BotGeneratorHelper,
randomUtil: RandomUtil,
Properties
protected
botGeneratorHelper: BotGeneratorHelperprotected
botWeaponGeneratorHelper: BotWeaponGeneratorHelperprotected
itemHelper: ItemHelperprotected
localisationService: LocalisationServiceprotected
logger: ILoggerprotected
randomUtil: RandomUtilMethods
protected
getRandomExternalMagazineForInternalMagazineGun(weaponTpl: string, magazineBlacklist: string[]): ITemplateItemGet a random compatible external magazine for a weapon, exclude internal magazines from possible pool
canHandleInventoryMagGen(inventoryMagGen: InventoryMagGen): boolean
getPriority(): number
process(inventoryMagGen: InventoryMagGen): void