🧙♂️
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright (c) Steven Confessore - Balanced Solutions Software. All Rights Reserved. Licensed under the MIT license. See LICENSE in the project root for license information. | |
using System; | |
using System.Collections.ObjectModel; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using backend.Contexts; | |
using backend.Models.Abstractions; | |
using backend.Models.Enums; | |
using backend.Models.Observations; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public WoWGameObject ClosestNode() | |
{ | |
List<WoWGameObject> herbNodes = ObjectManager.GameObjects | |
.Where(x => x.GatherInfo.Type == Enums.GatherType.Herbalism).ToList(); | |
List<WoWGameObject> mineNodes = ObjectManager.GameObjects | |
.Where(x => x.GatherInfo.Type == Enums.GatherType.Mining).ToList(); | |
List<string> herbCheckedBoxes = CMD.herbCheckedBoxes; | |
List<string> mineCheckedBoxes = CMD.mineCheckedBoxes; |