Nexus.Client.Games.Morrowind.PluginManagement.Boss.BossSorter.StripPluginDirectory C# (CSharp) Method

StripPluginDirectory() protected method

Removes the plugin directory from the given plugin paths.
BAPI expects plugin paths to be relative to the plugins directory. This adjusts the plugin paths for that purpose.
protected StripPluginDirectory ( string p_strPlugins ) : string[]
p_strPlugins string The array of plugin paths to adjust.
return string[]
		protected string[] StripPluginDirectory(string[] p_strPlugins)
		{
			string[] strPlugins = new string[p_strPlugins.Length];
			for (Int32 i = strPlugins.Length - 1; i >= 0; i--)
				strPlugins[i] = StripPluginDirectory(p_strPlugins[i]);
			return strPlugins;
		}

Same methods

BossSorter::StripPluginDirectory ( string p_strPlugin ) : string