Nexus.Client.Games.Morrowind.PluginManagement.Boss.BossSorter.SetActivePlugins C# (CSharp) Метод

SetActivePlugins() публичный Метод

Sets the list of active plugins.
public SetActivePlugins ( string p_strActivePlugins ) : void
p_strActivePlugins string The list of plugins to set as active.
Результат void
		public void SetActivePlugins(string[] p_strActivePlugins)
		{
			try
			{
				UInt32 uintStatus = 0;
				using (StringArrayManualMarshaler ammMarshaler = new StringArrayManualMarshaler("UTF8"))
					uintStatus = m_dlgSetActivePlugins(m_ptrBossDb, ammMarshaler.MarshalManagedToNative(StripPluginDirectory(p_strActivePlugins)), Convert.ToUInt32(p_strActivePlugins.Length));
				HandleStatusCode(uintStatus);
			}
			catch
			{
				MessageBox.Show("The selected plugin has been manually removed." + Environment.NewLine + "Restart NMM or select again your game on Change Game Mode to refresh the plugin list.");
			}
		}