public static bool IsContainedWithinFreeSpace(PatchRange range, FreeSpaceMode mode) { foreach (PatchRange freeSpaceRange in GetRanges(mode)) { if (range.IsContainedWithin(freeSpaceRange)) { return(true); } } return(false); }
public static bool IsContainedWithinPsxFreeSpace(PatchRange range) { foreach (PatchRange freeSpaceRange in PsxRanges) { if (range.IsContainedWithin(freeSpaceRange)) { return(true); } } return(false); }