NetMud.Data.EntityBackingData.RoomData.GetPathways C# (CSharp) Method

GetPathways() public method

What pathways are affiliated with this room data (what it spawns with)
public GetPathways ( bool withReturn = false ) : IEnumerable
withReturn bool includes paths into this room as well
return IEnumerable
        public IEnumerable<IPathwayData> GetPathways(bool withReturn = false)
        {
            return BackingDataCache.GetAll<IPathwayData>().Where(path => path.FromLocationID.Equals(ID.ToString())
                                                                        || (withReturn && path.ToLocationID.Equals(ID.ToString()))
                                                                        );
        }