public override bool Initialise() { Input.RegisterKey(Keys.LControlKey); Input.RegisterKey(Keys.LShiftKey); Input.RegisterKey(Settings.MainHotkey2); Input.RegisterKey(Settings.CopyStatsHotkey2); Input.RegisterKey(Settings.StopHotkey2); _ninja = new NinjaUniqueProvider( Settings.Unique0LChaosCutoff2, Settings.Unique6LChaosCutoff2, DirectoryFullName, Settings.LeagueNameArchnemesis); _divCardsProvider = new LocalDivCardsProvider( Settings.LimitedUsername, Settings.FilterName ); _itemFactory = new ItemFactory( GameController, _ninja, _divCardsProvider, Settings.BypassBrokenItemMods2, Settings.VendorInfluenced2, Settings.SaveVeiledHelmets, Settings.SaveEnchantedHelmets ); return(true); }
public DivCardsFilter( GameController gameController, NormalInventoryItem normalInventoryItem, IDivCardsProvider divCardsProvider) : base(gameController, normalInventoryItem) { _divCardsProvider = divCardsProvider; }
public ItemFactory(GameController gameController, INinjaProvider ninjaProvider, IDivCardsProvider divCardsProvider, bool bypassBrokenItemMods, bool vendorInfluenced, bool saveVeiledHelmets, bool settingsSaveEnchantedHelmets ) { _gameController = gameController; _ninjaProvider = ninjaProvider; _divCardsProvider = divCardsProvider; _bypassBrokenItemMods = bypassBrokenItemMods; _vendorInfluenced = vendorInfluenced; _saveVeiledHelmets = saveVeiledHelmets; _settingsSaveEnchantedHelmets = settingsSaveEnchantedHelmets; }