using ItemChanger; using System.Collections.Generic; namespace Archipelago.HollowKnight.IC { internal static class PlacementUtils { internal static IEnumerable GetLocationIDs(AbstractPlacement pmt) { ArchipelagoItemTag tag; foreach (AbstractItem item in pmt.Items) { tag = item.GetTag(); if (tag != null) { yield return tag.Location; } } } } }