OpenRA.Mods.Common.Traits.EditorActorLayer.NeighbouringPreviews C# (CSharp) Method

NeighbouringPreviews() private method

private NeighbouringPreviews ( SubCell>.IReadOnlyDictionary footprint ) : string[]>.Dictionary
footprint SubCell>.IReadOnlyDictionary
return string[]>.Dictionary
        Dictionary<CPos, string[]> NeighbouringPreviews(IReadOnlyDictionary<CPos, SubCell> footprint)
        {
            var cells = Util.ExpandFootprint(footprint.Keys, true).Except(footprint.Keys);
            return cells.ToDictionary(c => c, c => PreviewsAt(c).Select(p => p.Info.Name).ToArray());
        }