Beispiel #1
0
        public CharacterManager(AmeisenBotConfig config, WowInterface wowInterface)
        {
            WowInterface = wowInterface;
            Config       = config;

            Inventory      = new CharacterInventory(WowInterface);
            Equipment      = new CharacterEquipment(WowInterface);
            SpellBook      = new SpellBook(WowInterface);
            ItemComparator = new ItemLevelComparator();
            Skills         = new List <string>();
        }
        public CharacterManager(AmeisenBotConfig config, WowInterface wowInterface)
        {
            WowInterface = wowInterface;
            Config       = config;

            Inventory      = new CharacterInventory(WowInterface);
            Equipment      = new CharacterEquipment(WowInterface);
            SpellBook      = new SpellBook(WowInterface);
            TalentManager  = new TalentManager(WowInterface);
            ItemComparator = new ItemLevelComparator();
            Skills         = new Dictionary <string, (int, int)>();
        }
        public CharacterManager(AmeisenBotConfig config, WowInterface wowInterface)
        {
            WowInterface = wowInterface;
            Config       = config;

            Inventory      = new(WowInterface);
            Equipment      = new(WowInterface);
            SpellBook      = new(WowInterface);
            TalentManager  = new(WowInterface);
            ItemComparator = new ItemLevelComparator();
            Skills         = new();

            ItemSlotsToSkip = new();
        }
Beispiel #4
0
        public DefaultCharacterManager(IWowInterface wowInterface, WowMemoryApi memory, AmeisenBotConfig config)
        {
            Wow       = wowInterface;
            MemoryApi = memory;

            Inventory        = new(Wow, config);
            Equipment        = new(Wow);
            SpellBook        = new(Wow);
            TalentManager    = new(Wow);
            LastLevelTrained = 0;
            ItemComparator   = new ItemLevelComparator();
            Skills           = new();
            ItemSlotsToSkip  = new();
        }
        public DefaultCharacterManager(IWowInterface wowInterface, IMemoryApi memoryApi)
        {
            Wow       = wowInterface;
            MemoryApi = memoryApi;

            Inventory        = new CharacterInventory(Wow);
            Equipment        = new CharacterEquipment(Wow);
            SpellBook        = new SpellBook(Wow);
            TalentManager    = new TalentManager(Wow);
            LastLevelTrained = 0;
            ItemComparator   = new ItemLevelComparator();
            Skills           = new Dictionary <string, (int, int)>();

            ItemSlotsToSkip = new List <WowEquipmentSlot>();
        }
Beispiel #6
0
        public CharacterManager(XMemory xMemory, AmeisenBotConfig config, IOffsetList offsetList, ObjectManager objectManager, HookManager hookManager)
        {
            XMemory       = xMemory;
            OffsetList    = offsetList;
            ObjectManager = objectManager;
            HookManager   = hookManager;
            Config        = config;

            KeyMap = new Dictionary <VirtualKeys, bool>();

            Inventory      = new CharacterInventory(hookManager);
            Equipment      = new CharacterEquipment(hookManager);
            SpellBook      = new SpellBook(hookManager);
            ItemComparator = new ItemLevelComparator();
            Skills         = new List <string>();
        }