コード例 #1
0
 public GrindingObjective(AmeisenBotInterfaces bot, int targetLevel,
                          List <List <Vector3> > grindingAreas, List <Vector3> vendorsLocation = null)
 {
     Bot             = bot;
     WantedLevel     = targetLevel;
     SearchAreas     = new SearchAreaEnsamble(grindingAreas);
     VendorsLocation = vendorsLocation;
 }
コード例 #2
0
        public KillAndLootQuestObjective(AmeisenBotInterfaces bot, List <int> npcIds, int collectOrKillAmount, int questItemId, List <List <Vector3> > areas)
        {
            Bot    = bot;
            NpcIds = npcIds;
            CollectOrKillAmount = collectOrKillAmount;
            QuestItemId         = questItemId;
            SearchAreas         = new SearchAreaEnsamble(areas);

            Bot.CombatLog.OnPartyKill += OnPartyKill;
        }
コード例 #3
0
        public KillAndLootQuestObjective(WowInterface wowInterface, List <int> npcIds, int collectOrKillAmount, int questItemId, List <List <Vector3> > areas)
        {
            WowInterface        = wowInterface;
            NpcIds              = npcIds;
            CollectOrKillAmount = collectOrKillAmount;
            QuestItemId         = questItemId;
            SearchAreas         = new SearchAreaEnsamble(areas);

            if (!CollectQuestItem)
            {
                wowInterface.Db.GetCombatLogSubject().Register(this);
            }
        }
コード例 #4
0
 public GrindingObjective(WowInterface wowInterface, int targetLevel, List <List <Vector3> > grindingAreas)
 {
     WowInterface = wowInterface;
     WantedLevel  = targetLevel;
     SearchAreas  = new SearchAreaEnsamble(grindingAreas);
 }