Exemple #1
0
 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);
 }
Exemple #2
0
 public DivCardsFilter(
     GameController gameController,
     NormalInventoryItem normalInventoryItem,
     IDivCardsProvider divCardsProvider)
     : base(gameController, normalInventoryItem)
 {
     _divCardsProvider = divCardsProvider;
 }
Exemple #3
0
 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;
 }