You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

929 lines
45 KiB

  1. <!DOCTYPE html>
  2. <!--[if IE]><![endif]-->
  3. <html>
  4. <head>
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  7. <title>Class PluginManager
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class PluginManager
  11. ">
  12. <meta name="generator" content="docfx 2.43.3.0">
  13. <link rel="shortcut icon" href="../favicon.ico">
  14. <link rel="stylesheet" href="../styles/docfx.vendor.css">
  15. <link rel="stylesheet" href="../styles/docfx.css">
  16. <link rel="stylesheet" href="../styles/main.css">
  17. <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
  18. <meta property="docfx:navrel" content="../toc.html">
  19. <meta property="docfx:tocrel" content="toc.html">
  20. <meta property="docfx:rel" content="../">
  21. <meta property="docfx:newtab" content="true">
  22. </head> <body data-spy="scroll" data-target="#affix" data-offset="120">
  23. <div id="wrapper">
  24. <header>
  25. <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
  26. <div class="container">
  27. <div class="navbar-header">
  28. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
  29. <span class="sr-only">Toggle navigation</span>
  30. <span class="icon-bar"></span>
  31. <span class="icon-bar"></span>
  32. <span class="icon-bar"></span>
  33. </button>
  34. <a class="navbar-brand" href="../index.html">
  35. <img id="logo" class="svg" src="../logo.svg" alt="">
  36. </a>
  37. </div>
  38. <div class="collapse navbar-collapse" id="navbar">
  39. <form class="navbar-form navbar-right" role="search" id="search">
  40. <div class="form-group">
  41. <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
  42. </div>
  43. </form>
  44. </div>
  45. </div>
  46. </nav>
  47. <div class="subnav navbar navbar-default">
  48. <div class="container hide-when-search" id="breadcrumb">
  49. <ul class="breadcrumb">
  50. <li></li>
  51. </ul>
  52. </div>
  53. </div>
  54. </header>
  55. <div class="container body-content">
  56. <div id="search-results">
  57. <div class="search-list"></div>
  58. <div class="sr-items">
  59. <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
  60. </div>
  61. <ul id="pagination"></ul>
  62. </div>
  63. </div>
  64. <div role="main" class="container body-content hide-when-search">
  65. <div class="sidenav hide-when-search">
  66. <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
  67. <div class="sidetoggle collapse" id="sidetoggle">
  68. <div id="sidetoc"></div>
  69. </div>
  70. </div>
  71. <div class="article row grid-right">
  72. <div class="col-md-10">
  73. <article class="content wrap" id="_content" data-uid="IPA.Loader.PluginManager">
  74. <h1 id="IPA_Loader_PluginManager" data-uid="IPA.Loader.PluginManager" class="text-break">Class PluginManager
  75. </h1>
  76. <div class="markdown level0 summary"><p>The manager class for all plugins.</p>
  77. </div>
  78. <div class="markdown level0 conceptual"></div>
  79. <div class="inheritance">
  80. <h5>Inheritance</h5>
  81. <div class="level0"><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object">Object</a></div>
  82. <div class="level1"><span class="xref">PluginManager</span></div>
  83. </div>
  84. <div class="inheritedMembers">
  85. <h5>Inherited Members</h5>
  86. <div>
  87. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.tostring#System_Object_ToString">Object.ToString()</a>
  88. </div>
  89. <div>
  90. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.equals#System_Object_Equals_System_Object_">Object.Equals(Object)</a>
  91. </div>
  92. <div>
  93. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.equals#System_Object_Equals_System_Object_System_Object_">Object.Equals(Object, Object)</a>
  94. </div>
  95. <div>
  96. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.referenceequals#System_Object_ReferenceEquals_System_Object_System_Object_">Object.ReferenceEquals(Object, Object)</a>
  97. </div>
  98. <div>
  99. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.gethashcode#System_Object_GetHashCode">Object.GetHashCode()</a>
  100. </div>
  101. <div>
  102. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.gettype#System_Object_GetType">Object.GetType()</a>
  103. </div>
  104. <div>
  105. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.memberwiseclone#System_Object_MemberwiseClone">Object.MemberwiseClone()</a>
  106. </div>
  107. </div>
  108. <h6><strong>Namespace</strong>: <a class="xref" href="IPA.Loader.html">IPA.Loader</a></h6>
  109. <h6><strong>Assembly</strong>: IPA.Loader.dll</h6>
  110. <h5 id="IPA_Loader_PluginManager_syntax">Syntax</h5>
  111. <div class="codewrapper">
  112. <pre><code class="lang-csharp hljs">public static class PluginManager</code></pre>
  113. </div>
  114. <h3 id="properties">Properties
  115. </h3>
  116. <span class="small pull-right mobile-hide">
  117. <span class="divider">|</span>
  118. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Loader_PluginManager_AllPlugins.md&amp;value=---%0Auid%3A%20IPA.Loader.PluginManager.AllPlugins%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  119. </span>
  120. <span class="small pull-right mobile-hide">
  121. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/0eb49a8c17290828954ff54b4d02926ef8931f67/IPA.Loader/Loader/PluginManager.cs/#L267">View Source</a>
  122. </span>
  123. <a id="IPA_Loader_PluginManager_AllPlugins_" data-uid="IPA.Loader.PluginManager.AllPlugins*"></a>
  124. <h4 id="IPA_Loader_PluginManager_AllPlugins" data-uid="IPA.Loader.PluginManager.AllPlugins">AllPlugins</h4>
  125. <div class="markdown level1 summary"><p>Gets a list of all BSIPA plugins.</p>
  126. </div>
  127. <div class="markdown level1 conceptual"></div>
  128. <h5 class="decalaration">Declaration</h5>
  129. <div class="codewrapper">
  130. <pre><code class="lang-csharp hljs">public static IEnumerable&lt;PluginLoader.PluginInfo&gt; AllPlugins { get; }</code></pre>
  131. </div>
  132. <h5 class="propertyValue">Property Value</h5>
  133. <table class="table table-bordered table-striped table-condensed">
  134. <thead>
  135. <tr>
  136. <th>Type</th>
  137. <th>Description</th>
  138. </tr>
  139. </thead>
  140. <tbody>
  141. <tr>
  142. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="IPA.Loader.PluginLoader.PluginInfo.html">PluginLoader.PluginInfo</a>&gt;</td>
  143. <td><p>a collection of all enabled plugins as <a class="xref" href="IPA.Loader.PluginLoader.PluginInfo.html">PluginLoader.PluginInfo</a>s</p>
  144. </td>
  145. </tr>
  146. </tbody>
  147. </table>
  148. <span class="small pull-right mobile-hide">
  149. <span class="divider">|</span>
  150. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Loader_PluginManager_DisabledPlugins.md&amp;value=---%0Auid%3A%20IPA.Loader.PluginManager.DisabledPlugins%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  151. </span>
  152. <span class="small pull-right mobile-hide">
  153. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/0eb49a8c17290828954ff54b4d02926ef8931f67/IPA.Loader/Loader/PluginManager.cs/#L239">View Source</a>
  154. </span>
  155. <a id="IPA_Loader_PluginManager_DisabledPlugins_" data-uid="IPA.Loader.PluginManager.DisabledPlugins*"></a>
  156. <h4 id="IPA_Loader_PluginManager_DisabledPlugins" data-uid="IPA.Loader.PluginManager.DisabledPlugins">DisabledPlugins</h4>
  157. <div class="markdown level1 summary"><p>Gets a list of disabled BSIPA plugins.</p>
  158. </div>
  159. <div class="markdown level1 conceptual"></div>
  160. <h5 class="decalaration">Declaration</h5>
  161. <div class="codewrapper">
  162. <pre><code class="lang-csharp hljs">public static IEnumerable&lt;PluginLoader.PluginMetadata&gt; DisabledPlugins { get; }</code></pre>
  163. </div>
  164. <h5 class="propertyValue">Property Value</h5>
  165. <table class="table table-bordered table-striped table-condensed">
  166. <thead>
  167. <tr>
  168. <th>Type</th>
  169. <th>Description</th>
  170. </tr>
  171. </thead>
  172. <tbody>
  173. <tr>
  174. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="IPA.Loader.PluginLoader.PluginMetadata.html">PluginLoader.PluginMetadata</a>&gt;</td>
  175. <td><p>a collection of all disabled plugins as <a class="xref" href="IPA.Loader.PluginLoader.PluginMetadata.html">PluginLoader.PluginMetadata</a></p>
  176. </td>
  177. </tr>
  178. </tbody>
  179. </table>
  180. <span class="small pull-right mobile-hide">
  181. <span class="divider">|</span>
  182. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Loader_PluginManager_Plugins.md&amp;value=---%0Auid%3A%20IPA.Loader.PluginManager.Plugins%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  183. </span>
  184. <span class="small pull-right mobile-hide">
  185. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/0eb49a8c17290828954ff54b4d02926ef8931f67/IPA.Loader/Loader/PluginManager.cs/#L286">View Source</a>
  186. </span>
  187. <a id="IPA_Loader_PluginManager_Plugins_" data-uid="IPA.Loader.PluginManager.Plugins*"></a>
  188. <h4 id="IPA_Loader_PluginManager_Plugins" data-uid="IPA.Loader.PluginManager.Plugins">Plugins</h4>
  189. <div class="markdown level1 summary"><p>An <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</a> of old IPA plugins.</p>
  190. </div>
  191. <div class="markdown level1 conceptual"></div>
  192. <h5 class="decalaration">Declaration</h5>
  193. <div class="codewrapper">
  194. <pre><code class="lang-csharp hljs">[Obsolete(&quot;I mean, IPlugin shouldn't be used, so why should this? Not renaming to extend support for old plugins.&quot;)]
  195. public static IEnumerable&lt;IPlugin&gt; Plugins { get; }</code></pre>
  196. </div>
  197. <h5 class="propertyValue">Property Value</h5>
  198. <table class="table table-bordered table-striped table-condensed">
  199. <thead>
  200. <tr>
  201. <th>Type</th>
  202. <th>Description</th>
  203. </tr>
  204. </thead>
  205. <tbody>
  206. <tr>
  207. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="IPA.Old.IPlugin.html">IPlugin</a>&gt;</td>
  208. <td><p>all legacy plugin instances</p>
  209. </td>
  210. </tr>
  211. </tbody>
  212. </table>
  213. <h3 id="methods">Methods
  214. </h3>
  215. <span class="small pull-right mobile-hide">
  216. <span class="divider">|</span>
  217. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Loader_PluginManager_DisablePlugin_IPA_Loader_PluginLoader_PluginInfo_.md&amp;value=---%0Auid%3A%20IPA.Loader.PluginManager.DisablePlugin(IPA.Loader.PluginLoader.PluginInfo)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  218. </span>
  219. <span class="small pull-right mobile-hide">
  220. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/0eb49a8c17290828954ff54b4d02926ef8931f67/IPA.Loader/Loader/PluginManager.cs/#L82">View Source</a>
  221. </span>
  222. <a id="IPA_Loader_PluginManager_DisablePlugin_" data-uid="IPA.Loader.PluginManager.DisablePlugin*"></a>
  223. <h4 id="IPA_Loader_PluginManager_DisablePlugin_IPA_Loader_PluginLoader_PluginInfo_" data-uid="IPA.Loader.PluginManager.DisablePlugin(IPA.Loader.PluginLoader.PluginInfo)">DisablePlugin(PluginLoader.PluginInfo)</h4>
  224. <div class="markdown level1 summary"><p>Disables a plugin, and all dependents.</p>
  225. </div>
  226. <div class="markdown level1 conceptual"></div>
  227. <h5 class="decalaration">Declaration</h5>
  228. <div class="codewrapper">
  229. <pre><code class="lang-csharp hljs">public static bool DisablePlugin(PluginLoader.PluginInfo plugin)</code></pre>
  230. </div>
  231. <h5 class="parameters">Parameters</h5>
  232. <table class="table table-bordered table-striped table-condensed">
  233. <thead>
  234. <tr>
  235. <th>Type</th>
  236. <th>Name</th>
  237. <th>Description</th>
  238. </tr>
  239. </thead>
  240. <tbody>
  241. <tr>
  242. <td><a class="xref" href="IPA.Loader.PluginLoader.PluginInfo.html">PluginLoader.PluginInfo</a></td>
  243. <td><span class="parametername">plugin</span></td>
  244. <td><p>the plugin to disable</p>
  245. </td>
  246. </tr>
  247. </tbody>
  248. </table>
  249. <h5 class="returns">Returns</h5>
  250. <table class="table table-bordered table-striped table-condensed">
  251. <thead>
  252. <tr>
  253. <th>Type</th>
  254. <th>Description</th>
  255. </tr>
  256. </thead>
  257. <tbody>
  258. <tr>
  259. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
  260. <td><p>whether or not it needs a restart to enable</p>
  261. </td>
  262. </tr>
  263. </tbody>
  264. </table>
  265. <span class="small pull-right mobile-hide">
  266. <span class="divider">|</span>
  267. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Loader_PluginManager_DisablePlugin_System_String_.md&amp;value=---%0Auid%3A%20IPA.Loader.PluginManager.DisablePlugin(System.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  268. </span>
  269. <span class="small pull-right mobile-hide">
  270. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/0eb49a8c17290828954ff54b4d02926ef8931f67/IPA.Loader/Loader/PluginManager.cs/#L142">View Source</a>
  271. </span>
  272. <a id="IPA_Loader_PluginManager_DisablePlugin_" data-uid="IPA.Loader.PluginManager.DisablePlugin*"></a>
  273. <h4 id="IPA_Loader_PluginManager_DisablePlugin_System_String_" data-uid="IPA.Loader.PluginManager.DisablePlugin(System.String)">DisablePlugin(String)</h4>
  274. <div class="markdown level1 summary"><p>Disables a plugin, and all dependents.</p>
  275. </div>
  276. <div class="markdown level1 conceptual"></div>
  277. <h5 class="decalaration">Declaration</h5>
  278. <div class="codewrapper">
  279. <pre><code class="lang-csharp hljs">public static bool DisablePlugin(string pluginId)</code></pre>
  280. </div>
  281. <h5 class="parameters">Parameters</h5>
  282. <table class="table table-bordered table-striped table-condensed">
  283. <thead>
  284. <tr>
  285. <th>Type</th>
  286. <th>Name</th>
  287. <th>Description</th>
  288. </tr>
  289. </thead>
  290. <tbody>
  291. <tr>
  292. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a></td>
  293. <td><span class="parametername">pluginId</span></td>
  294. <td><p>the ID, or name if the ID is null, of the plugin to disable</p>
  295. </td>
  296. </tr>
  297. </tbody>
  298. </table>
  299. <h5 class="returns">Returns</h5>
  300. <table class="table table-bordered table-striped table-condensed">
  301. <thead>
  302. <tr>
  303. <th>Type</th>
  304. <th>Description</th>
  305. </tr>
  306. </thead>
  307. <tbody>
  308. <tr>
  309. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
  310. <td><p>whether a restart is needed to activate</p>
  311. </td>
  312. </tr>
  313. </tbody>
  314. </table>
  315. <span class="small pull-right mobile-hide">
  316. <span class="divider">|</span>
  317. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Loader_PluginManager_EnablePlugin_IPA_Loader_PluginLoader_PluginMetadata_.md&amp;value=---%0Auid%3A%20IPA.Loader.PluginManager.EnablePlugin(IPA.Loader.PluginLoader.PluginMetadata)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  318. </span>
  319. <span class="small pull-right mobile-hide">
  320. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/0eb49a8c17290828954ff54b4d02926ef8931f67/IPA.Loader/Loader/PluginManager.cs/#L149">View Source</a>
  321. </span>
  322. <a id="IPA_Loader_PluginManager_EnablePlugin_" data-uid="IPA.Loader.PluginManager.EnablePlugin*"></a>
  323. <h4 id="IPA_Loader_PluginManager_EnablePlugin_IPA_Loader_PluginLoader_PluginMetadata_" data-uid="IPA.Loader.PluginManager.EnablePlugin(IPA.Loader.PluginLoader.PluginMetadata)">EnablePlugin(PluginLoader.PluginMetadata)</h4>
  324. <div class="markdown level1 summary"><p>Enables a plugin that had been previously disabled.</p>
  325. </div>
  326. <div class="markdown level1 conceptual"></div>
  327. <h5 class="decalaration">Declaration</h5>
  328. <div class="codewrapper">
  329. <pre><code class="lang-csharp hljs">public static bool EnablePlugin(PluginLoader.PluginMetadata plugin)</code></pre>
  330. </div>
  331. <h5 class="parameters">Parameters</h5>
  332. <table class="table table-bordered table-striped table-condensed">
  333. <thead>
  334. <tr>
  335. <th>Type</th>
  336. <th>Name</th>
  337. <th>Description</th>
  338. </tr>
  339. </thead>
  340. <tbody>
  341. <tr>
  342. <td><a class="xref" href="IPA.Loader.PluginLoader.PluginMetadata.html">PluginLoader.PluginMetadata</a></td>
  343. <td><span class="parametername">plugin</span></td>
  344. <td><p>the plugin to enable</p>
  345. </td>
  346. </tr>
  347. </tbody>
  348. </table>
  349. <h5 class="returns">Returns</h5>
  350. <table class="table table-bordered table-striped table-condensed">
  351. <thead>
  352. <tr>
  353. <th>Type</th>
  354. <th>Description</th>
  355. </tr>
  356. </thead>
  357. <tbody>
  358. <tr>
  359. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
  360. <td><p>whether a restart is needed to activate</p>
  361. </td>
  362. </tr>
  363. </tbody>
  364. </table>
  365. <span class="small pull-right mobile-hide">
  366. <span class="divider">|</span>
  367. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Loader_PluginManager_EnablePlugin_System_String_.md&amp;value=---%0Auid%3A%20IPA.Loader.PluginManager.EnablePlugin(System.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  368. </span>
  369. <span class="small pull-right mobile-hide">
  370. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/0eb49a8c17290828954ff54b4d02926ef8931f67/IPA.Loader/Loader/PluginManager.cs/#L217">View Source</a>
  371. </span>
  372. <a id="IPA_Loader_PluginManager_EnablePlugin_" data-uid="IPA.Loader.PluginManager.EnablePlugin*"></a>
  373. <h4 id="IPA_Loader_PluginManager_EnablePlugin_System_String_" data-uid="IPA.Loader.PluginManager.EnablePlugin(System.String)">EnablePlugin(String)</h4>
  374. <div class="markdown level1 summary"><p>Enables a plugin that had been previously disabled.</p>
  375. </div>
  376. <div class="markdown level1 conceptual"></div>
  377. <h5 class="decalaration">Declaration</h5>
  378. <div class="codewrapper">
  379. <pre><code class="lang-csharp hljs">public static bool EnablePlugin(string pluginId)</code></pre>
  380. </div>
  381. <h5 class="parameters">Parameters</h5>
  382. <table class="table table-bordered table-striped table-condensed">
  383. <thead>
  384. <tr>
  385. <th>Type</th>
  386. <th>Name</th>
  387. <th>Description</th>
  388. </tr>
  389. </thead>
  390. <tbody>
  391. <tr>
  392. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a></td>
  393. <td><span class="parametername">pluginId</span></td>
  394. <td><p>the ID, or name if the ID is null, of the plugin to enable</p>
  395. </td>
  396. </tr>
  397. </tbody>
  398. </table>
  399. <h5 class="returns">Returns</h5>
  400. <table class="table table-bordered table-striped table-condensed">
  401. <thead>
  402. <tr>
  403. <th>Type</th>
  404. <th>Description</th>
  405. </tr>
  406. </thead>
  407. <tbody>
  408. <tr>
  409. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
  410. <td><p>whether a restart is needed to activate</p>
  411. </td>
  412. </tr>
  413. </tbody>
  414. </table>
  415. <span class="small pull-right mobile-hide">
  416. <span class="divider">|</span>
  417. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Loader_PluginManager_GetDisabledPlugin_System_String_.md&amp;value=---%0Auid%3A%20IPA.Loader.PluginManager.GetDisabledPlugin(System.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  418. </span>
  419. <span class="small pull-right mobile-hide">
  420. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/0eb49a8c17290828954ff54b4d02926ef8931f67/IPA.Loader/Loader/PluginManager.cs/#L66">View Source</a>
  421. </span>
  422. <a id="IPA_Loader_PluginManager_GetDisabledPlugin_" data-uid="IPA.Loader.PluginManager.GetDisabledPlugin*"></a>
  423. <h4 id="IPA_Loader_PluginManager_GetDisabledPlugin_System_String_" data-uid="IPA.Loader.PluginManager.GetDisabledPlugin(System.String)">GetDisabledPlugin(String)</h4>
  424. <div class="markdown level1 summary"><p>Gets a disabled plugin&apos;s metadata by its name.</p>
  425. </div>
  426. <div class="markdown level1 conceptual"></div>
  427. <h5 class="decalaration">Declaration</h5>
  428. <div class="codewrapper">
  429. <pre><code class="lang-csharp hljs">public static PluginLoader.PluginMetadata GetDisabledPlugin(string name)</code></pre>
  430. </div>
  431. <h5 class="parameters">Parameters</h5>
  432. <table class="table table-bordered table-striped table-condensed">
  433. <thead>
  434. <tr>
  435. <th>Type</th>
  436. <th>Name</th>
  437. <th>Description</th>
  438. </tr>
  439. </thead>
  440. <tbody>
  441. <tr>
  442. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a></td>
  443. <td><span class="parametername">name</span></td>
  444. <td><p>the name of the disabled plugin to get</p>
  445. </td>
  446. </tr>
  447. </tbody>
  448. </table>
  449. <h5 class="returns">Returns</h5>
  450. <table class="table table-bordered table-striped table-condensed">
  451. <thead>
  452. <tr>
  453. <th>Type</th>
  454. <th>Description</th>
  455. </tr>
  456. </thead>
  457. <tbody>
  458. <tr>
  459. <td><a class="xref" href="IPA.Loader.PluginLoader.PluginMetadata.html">PluginLoader.PluginMetadata</a></td>
  460. <td><p>the metadata for the corresponding plugin</p>
  461. </td>
  462. </tr>
  463. </tbody>
  464. </table>
  465. <span class="small pull-right mobile-hide">
  466. <span class="divider">|</span>
  467. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Loader_PluginManager_GetDisabledPluginFromId_System_String_.md&amp;value=---%0Auid%3A%20IPA.Loader.PluginManager.GetDisabledPluginFromId(System.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  468. </span>
  469. <span class="small pull-right mobile-hide">
  470. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/0eb49a8c17290828954ff54b4d02926ef8931f67/IPA.Loader/Loader/PluginManager.cs/#L74">View Source</a>
  471. </span>
  472. <a id="IPA_Loader_PluginManager_GetDisabledPluginFromId_" data-uid="IPA.Loader.PluginManager.GetDisabledPluginFromId*"></a>
  473. <h4 id="IPA_Loader_PluginManager_GetDisabledPluginFromId_System_String_" data-uid="IPA.Loader.PluginManager.GetDisabledPluginFromId(System.String)">GetDisabledPluginFromId(String)</h4>
  474. <div class="markdown level1 summary"><p>Gets a disabled plugin&apos;s metadata by its ID.</p>
  475. </div>
  476. <div class="markdown level1 conceptual"></div>
  477. <h5 class="decalaration">Declaration</h5>
  478. <div class="codewrapper">
  479. <pre><code class="lang-csharp hljs">public static PluginLoader.PluginMetadata GetDisabledPluginFromId(string name)</code></pre>
  480. </div>
  481. <h5 class="parameters">Parameters</h5>
  482. <table class="table table-bordered table-striped table-condensed">
  483. <thead>
  484. <tr>
  485. <th>Type</th>
  486. <th>Name</th>
  487. <th>Description</th>
  488. </tr>
  489. </thead>
  490. <tbody>
  491. <tr>
  492. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a></td>
  493. <td><span class="parametername">name</span></td>
  494. <td><p>the ID of the disabled plugin to get</p>
  495. </td>
  496. </tr>
  497. </tbody>
  498. </table>
  499. <h5 class="returns">Returns</h5>
  500. <table class="table table-bordered table-striped table-condensed">
  501. <thead>
  502. <tr>
  503. <th>Type</th>
  504. <th>Description</th>
  505. </tr>
  506. </thead>
  507. <tbody>
  508. <tr>
  509. <td><a class="xref" href="IPA.Loader.PluginLoader.PluginMetadata.html">PluginLoader.PluginMetadata</a></td>
  510. <td><p>the metadata for the corresponding plugin</p>
  511. </td>
  512. </tr>
  513. </tbody>
  514. </table>
  515. <span class="small pull-right mobile-hide">
  516. <span class="divider">|</span>
  517. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Loader_PluginManager_GetPlugin_System_String_.md&amp;value=---%0Auid%3A%20IPA.Loader.PluginManager.GetPlugin(System.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  518. </span>
  519. <span class="small pull-right mobile-hide">
  520. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/0eb49a8c17290828954ff54b4d02926ef8931f67/IPA.Loader/Loader/PluginManager.cs/#L38">View Source</a>
  521. </span>
  522. <a id="IPA_Loader_PluginManager_GetPlugin_" data-uid="IPA.Loader.PluginManager.GetPlugin*"></a>
  523. <h4 id="IPA_Loader_PluginManager_GetPlugin_System_String_" data-uid="IPA.Loader.PluginManager.GetPlugin(System.String)">GetPlugin(String)</h4>
  524. <div class="markdown level1 summary"><p>Gets info about the plugin with the specified name.</p>
  525. </div>
  526. <div class="markdown level1 conceptual"></div>
  527. <h5 class="decalaration">Declaration</h5>
  528. <div class="codewrapper">
  529. <pre><code class="lang-csharp hljs">public static PluginLoader.PluginInfo GetPlugin(string name)</code></pre>
  530. </div>
  531. <h5 class="parameters">Parameters</h5>
  532. <table class="table table-bordered table-striped table-condensed">
  533. <thead>
  534. <tr>
  535. <th>Type</th>
  536. <th>Name</th>
  537. <th>Description</th>
  538. </tr>
  539. </thead>
  540. <tbody>
  541. <tr>
  542. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a></td>
  543. <td><span class="parametername">name</span></td>
  544. <td><p>the name of the plugin to get (must be an exact match)</p>
  545. </td>
  546. </tr>
  547. </tbody>
  548. </table>
  549. <h5 class="returns">Returns</h5>
  550. <table class="table table-bordered table-striped table-condensed">
  551. <thead>
  552. <tr>
  553. <th>Type</th>
  554. <th>Description</th>
  555. </tr>
  556. </thead>
  557. <tbody>
  558. <tr>
  559. <td><a class="xref" href="IPA.Loader.PluginLoader.PluginInfo.html">PluginLoader.PluginInfo</a></td>
  560. <td><p>the plugin info for the requested plugin or null</p>
  561. </td>
  562. </tr>
  563. </tbody>
  564. </table>
  565. <span class="small pull-right mobile-hide">
  566. <span class="divider">|</span>
  567. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Loader_PluginManager_GetPluginFromId_System_String_.md&amp;value=---%0Auid%3A%20IPA.Loader.PluginManager.GetPluginFromId(System.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  568. </span>
  569. <span class="small pull-right mobile-hide">
  570. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/0eb49a8c17290828954ff54b4d02926ef8931f67/IPA.Loader/Loader/PluginManager.cs/#L56">View Source</a>
  571. </span>
  572. <a id="IPA_Loader_PluginManager_GetPluginFromId_" data-uid="IPA.Loader.PluginManager.GetPluginFromId*"></a>
  573. <h4 id="IPA_Loader_PluginManager_GetPluginFromId_System_String_" data-uid="IPA.Loader.PluginManager.GetPluginFromId(System.String)">GetPluginFromId(String)</h4>
  574. <div class="markdown level1 summary"><p>Gets info about the plugin with the specified ID.</p>
  575. </div>
  576. <div class="markdown level1 conceptual"></div>
  577. <h5 class="decalaration">Declaration</h5>
  578. <div class="codewrapper">
  579. <pre><code class="lang-csharp hljs">public static PluginLoader.PluginInfo GetPluginFromId(string name)</code></pre>
  580. </div>
  581. <h5 class="parameters">Parameters</h5>
  582. <table class="table table-bordered table-striped table-condensed">
  583. <thead>
  584. <tr>
  585. <th>Type</th>
  586. <th>Name</th>
  587. <th>Description</th>
  588. </tr>
  589. </thead>
  590. <tbody>
  591. <tr>
  592. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a></td>
  593. <td><span class="parametername">name</span></td>
  594. <td><p>the ID name of the plugin to get (must be an exact match)</p>
  595. </td>
  596. </tr>
  597. </tbody>
  598. </table>
  599. <h5 class="returns">Returns</h5>
  600. <table class="table table-bordered table-striped table-condensed">
  601. <thead>
  602. <tr>
  603. <th>Type</th>
  604. <th>Description</th>
  605. </tr>
  606. </thead>
  607. <tbody>
  608. <tr>
  609. <td><a class="xref" href="IPA.Loader.PluginLoader.PluginInfo.html">PluginLoader.PluginInfo</a></td>
  610. <td><p>the plugin info for the requested plugin or null</p>
  611. </td>
  612. </tr>
  613. </tbody>
  614. </table>
  615. <span class="small pull-right mobile-hide">
  616. <span class="divider">|</span>
  617. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Loader_PluginManager_GetPluginFromModSaberName_System_String_.md&amp;value=---%0Auid%3A%20IPA.Loader.PluginManager.GetPluginFromModSaberName(System.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  618. </span>
  619. <span class="small pull-right mobile-hide">
  620. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/0eb49a8c17290828954ff54b4d02926ef8931f67/IPA.Loader/Loader/PluginManager.cs/#L48">View Source</a>
  621. </span>
  622. <a id="IPA_Loader_PluginManager_GetPluginFromModSaberName_" data-uid="IPA.Loader.PluginManager.GetPluginFromModSaberName*"></a>
  623. <h4 id="IPA_Loader_PluginManager_GetPluginFromModSaberName_System_String_" data-uid="IPA.Loader.PluginManager.GetPluginFromModSaberName(System.String)">GetPluginFromModSaberName(String)</h4>
  624. <div class="markdown level1 summary"><p>Gets info about the plugin with the specified ModSaber name.</p>
  625. </div>
  626. <div class="markdown level1 conceptual"></div>
  627. <h5 class="decalaration">Declaration</h5>
  628. <div class="codewrapper">
  629. <pre><code class="lang-csharp hljs">[Obsolete(&quot;Old name. Use GetPluginFromId instead.&quot;)]
  630. public static PluginLoader.PluginInfo GetPluginFromModSaberName(string name)</code></pre>
  631. </div>
  632. <h5 class="parameters">Parameters</h5>
  633. <table class="table table-bordered table-striped table-condensed">
  634. <thead>
  635. <tr>
  636. <th>Type</th>
  637. <th>Name</th>
  638. <th>Description</th>
  639. </tr>
  640. </thead>
  641. <tbody>
  642. <tr>
  643. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a></td>
  644. <td><span class="parametername">name</span></td>
  645. <td><p>the ModSaber name of the plugin to get (must be an exact match)</p>
  646. </td>
  647. </tr>
  648. </tbody>
  649. </table>
  650. <h5 class="returns">Returns</h5>
  651. <table class="table table-bordered table-striped table-condensed">
  652. <thead>
  653. <tr>
  654. <th>Type</th>
  655. <th>Description</th>
  656. </tr>
  657. </thead>
  658. <tbody>
  659. <tr>
  660. <td><a class="xref" href="IPA.Loader.PluginLoader.PluginInfo.html">PluginLoader.PluginInfo</a></td>
  661. <td><p>the plugin info for the requested plugin or null</p>
  662. </td>
  663. </tr>
  664. </tbody>
  665. </table>
  666. <span class="small pull-right mobile-hide">
  667. <span class="divider">|</span>
  668. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Loader_PluginManager_InfoFromMetadata_IPA_Loader_PluginLoader_PluginMetadata_.md&amp;value=---%0Auid%3A%20IPA.Loader.PluginManager.InfoFromMetadata(IPA.Loader.PluginLoader.PluginMetadata)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  669. </span>
  670. <span class="small pull-right mobile-hide">
  671. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/0eb49a8c17290828954ff54b4d02926ef8931f67/IPA.Loader/Loader/PluginManager.cs/#L274">View Source</a>
  672. </span>
  673. <a id="IPA_Loader_PluginManager_InfoFromMetadata_" data-uid="IPA.Loader.PluginManager.InfoFromMetadata*"></a>
  674. <h4 id="IPA_Loader_PluginManager_InfoFromMetadata_IPA_Loader_PluginLoader_PluginMetadata_" data-uid="IPA.Loader.PluginManager.InfoFromMetadata(IPA.Loader.PluginLoader.PluginMetadata)">InfoFromMetadata(PluginLoader.PluginMetadata)</h4>
  675. <div class="markdown level1 summary"><p>Converts a plugin&apos;s metadata to a <a class="xref" href="IPA.Loader.PluginLoader.PluginInfo.html">PluginLoader.PluginInfo</a>.</p>
  676. </div>
  677. <div class="markdown level1 conceptual"></div>
  678. <h5 class="decalaration">Declaration</h5>
  679. <div class="codewrapper">
  680. <pre><code class="lang-csharp hljs">public static PluginLoader.PluginInfo InfoFromMetadata(PluginLoader.PluginMetadata meta)</code></pre>
  681. </div>
  682. <h5 class="parameters">Parameters</h5>
  683. <table class="table table-bordered table-striped table-condensed">
  684. <thead>
  685. <tr>
  686. <th>Type</th>
  687. <th>Name</th>
  688. <th>Description</th>
  689. </tr>
  690. </thead>
  691. <tbody>
  692. <tr>
  693. <td><a class="xref" href="IPA.Loader.PluginLoader.PluginMetadata.html">PluginLoader.PluginMetadata</a></td>
  694. <td><span class="parametername">meta</span></td>
  695. <td><p>the metadata</p>
  696. </td>
  697. </tr>
  698. </tbody>
  699. </table>
  700. <h5 class="returns">Returns</h5>
  701. <table class="table table-bordered table-striped table-condensed">
  702. <thead>
  703. <tr>
  704. <th>Type</th>
  705. <th>Description</th>
  706. </tr>
  707. </thead>
  708. <tbody>
  709. <tr>
  710. <td><a class="xref" href="IPA.Loader.PluginLoader.PluginInfo.html">PluginLoader.PluginInfo</a></td>
  711. <td><p>the plugin info</p>
  712. </td>
  713. </tr>
  714. </tbody>
  715. </table>
  716. <span class="small pull-right mobile-hide">
  717. <span class="divider">|</span>
  718. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Loader_PluginManager_IsDisabled_IPA_Loader_PluginLoader_PluginMetadata_.md&amp;value=---%0Auid%3A%20IPA.Loader.PluginManager.IsDisabled(IPA.Loader.PluginLoader.PluginMetadata)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  719. </span>
  720. <span class="small pull-right mobile-hide">
  721. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/0eb49a8c17290828954ff54b4d02926ef8931f67/IPA.Loader/Loader/PluginManager.cs/#L225">View Source</a>
  722. </span>
  723. <a id="IPA_Loader_PluginManager_IsDisabled_" data-uid="IPA.Loader.PluginManager.IsDisabled*"></a>
  724. <h4 id="IPA_Loader_PluginManager_IsDisabled_IPA_Loader_PluginLoader_PluginMetadata_" data-uid="IPA.Loader.PluginManager.IsDisabled(IPA.Loader.PluginLoader.PluginMetadata)">IsDisabled(PluginLoader.PluginMetadata)</h4>
  725. <div class="markdown level1 summary"><p>Checks if a given plugin is disabled.</p>
  726. </div>
  727. <div class="markdown level1 conceptual"></div>
  728. <h5 class="decalaration">Declaration</h5>
  729. <div class="codewrapper">
  730. <pre><code class="lang-csharp hljs">public static bool IsDisabled(PluginLoader.PluginMetadata meta)</code></pre>
  731. </div>
  732. <h5 class="parameters">Parameters</h5>
  733. <table class="table table-bordered table-striped table-condensed">
  734. <thead>
  735. <tr>
  736. <th>Type</th>
  737. <th>Name</th>
  738. <th>Description</th>
  739. </tr>
  740. </thead>
  741. <tbody>
  742. <tr>
  743. <td><a class="xref" href="IPA.Loader.PluginLoader.PluginMetadata.html">PluginLoader.PluginMetadata</a></td>
  744. <td><span class="parametername">meta</span></td>
  745. <td><p>the plugin to check</p>
  746. </td>
  747. </tr>
  748. </tbody>
  749. </table>
  750. <h5 class="returns">Returns</h5>
  751. <table class="table table-bordered table-striped table-condensed">
  752. <thead>
  753. <tr>
  754. <th>Type</th>
  755. <th>Description</th>
  756. </tr>
  757. </thead>
  758. <tbody>
  759. <tr>
  760. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
  761. <td><p><span class="xref">true</span> if the plugin is disabled, <span class="xref">false</span> otherwise.</p>
  762. </td>
  763. </tr>
  764. </tbody>
  765. </table>
  766. <span class="small pull-right mobile-hide">
  767. <span class="divider">|</span>
  768. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Loader_PluginManager_IsEnabled_IPA_Loader_PluginLoader_PluginMetadata_.md&amp;value=---%0Auid%3A%20IPA.Loader.PluginManager.IsEnabled(IPA.Loader.PluginLoader.PluginMetadata)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  769. </span>
  770. <span class="small pull-right mobile-hide">
  771. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/0eb49a8c17290828954ff54b4d02926ef8931f67/IPA.Loader/Loader/PluginManager.cs/#L232">View Source</a>
  772. </span>
  773. <a id="IPA_Loader_PluginManager_IsEnabled_" data-uid="IPA.Loader.PluginManager.IsEnabled*"></a>
  774. <h4 id="IPA_Loader_PluginManager_IsEnabled_IPA_Loader_PluginLoader_PluginMetadata_" data-uid="IPA.Loader.PluginManager.IsEnabled(IPA.Loader.PluginLoader.PluginMetadata)">IsEnabled(PluginLoader.PluginMetadata)</h4>
  775. <div class="markdown level1 summary"><p>Checks if a given plugin is enabled.</p>
  776. </div>
  777. <div class="markdown level1 conceptual"></div>
  778. <h5 class="decalaration">Declaration</h5>
  779. <div class="codewrapper">
  780. <pre><code class="lang-csharp hljs">public static bool IsEnabled(PluginLoader.PluginMetadata meta)</code></pre>
  781. </div>
  782. <h5 class="parameters">Parameters</h5>
  783. <table class="table table-bordered table-striped table-condensed">
  784. <thead>
  785. <tr>
  786. <th>Type</th>
  787. <th>Name</th>
  788. <th>Description</th>
  789. </tr>
  790. </thead>
  791. <tbody>
  792. <tr>
  793. <td><a class="xref" href="IPA.Loader.PluginLoader.PluginMetadata.html">PluginLoader.PluginMetadata</a></td>
  794. <td><span class="parametername">meta</span></td>
  795. <td><p>the plugin to check</p>
  796. </td>
  797. </tr>
  798. </tbody>
  799. </table>
  800. <h5 class="returns">Returns</h5>
  801. <table class="table table-bordered table-striped table-condensed">
  802. <thead>
  803. <tr>
  804. <th>Type</th>
  805. <th>Description</th>
  806. </tr>
  807. </thead>
  808. <tbody>
  809. <tr>
  810. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
  811. <td><p><span class="xref">true</span> if the plugin is enabled, <span class="xref">false</span> otherwise.</p>
  812. </td>
  813. </tr>
  814. </tbody>
  815. </table>
  816. <h3 id="events">Events
  817. </h3>
  818. <span class="small pull-right mobile-hide">
  819. <span class="divider">|</span>
  820. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Loader_PluginManager_PluginDisabled.md&amp;value=---%0Auid%3A%20IPA.Loader.PluginManager.PluginDisabled%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  821. </span>
  822. <span class="small pull-right mobile-hide">
  823. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/0eb49a8c17290828954ff54b4d02926ef8931f67/IPA.Loader/Loader/PluginManager.cs/#L261">View Source</a>
  824. </span>
  825. <h4 id="IPA_Loader_PluginManager_PluginDisabled" data-uid="IPA.Loader.PluginManager.PluginDisabled">PluginDisabled</h4>
  826. <div class="markdown level1 summary"><p>Called whenever a plugin is disabled.</p>
  827. </div>
  828. <div class="markdown level1 conceptual"></div>
  829. <h5 class="decalaration">Declaration</h5>
  830. <div class="codewrapper">
  831. <pre><code class="lang-csharp hljs">public static event PluginManager.PluginDisableDelegate PluginDisabled</code></pre>
  832. </div>
  833. <h5 class="eventType">Event Type</h5>
  834. <table class="table table-bordered table-striped table-condensed">
  835. <thead>
  836. <tr>
  837. <th>Type</th>
  838. <th>Description</th>
  839. </tr>
  840. </thead>
  841. <tbody>
  842. <tr>
  843. <td><a class="xref" href="IPA.Loader.PluginManager.PluginDisableDelegate.html">PluginManager.PluginDisableDelegate</a></td>
  844. <td></td>
  845. </tr>
  846. </tbody>
  847. </table>
  848. <span class="small pull-right mobile-hide">
  849. <span class="divider">|</span>
  850. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Loader_PluginManager_PluginEnabled.md&amp;value=---%0Auid%3A%20IPA.Loader.PluginManager.PluginEnabled%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  851. </span>
  852. <span class="small pull-right mobile-hide">
  853. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/0eb49a8c17290828954ff54b4d02926ef8931f67/IPA.Loader/Loader/PluginManager.cs/#L257">View Source</a>
  854. </span>
  855. <h4 id="IPA_Loader_PluginManager_PluginEnabled" data-uid="IPA.Loader.PluginManager.PluginEnabled">PluginEnabled</h4>
  856. <div class="markdown level1 summary"><p>Called whenever a plugin is enabled.</p>
  857. </div>
  858. <div class="markdown level1 conceptual"></div>
  859. <h5 class="decalaration">Declaration</h5>
  860. <div class="codewrapper">
  861. <pre><code class="lang-csharp hljs">public static event PluginManager.PluginEnableDelegate PluginEnabled</code></pre>
  862. </div>
  863. <h5 class="eventType">Event Type</h5>
  864. <table class="table table-bordered table-striped table-condensed">
  865. <thead>
  866. <tr>
  867. <th>Type</th>
  868. <th>Description</th>
  869. </tr>
  870. </thead>
  871. <tbody>
  872. <tr>
  873. <td><a class="xref" href="IPA.Loader.PluginManager.PluginEnableDelegate.html">PluginManager.PluginEnableDelegate</a></td>
  874. <td></td>
  875. </tr>
  876. </tbody>
  877. </table>
  878. </article>
  879. </div>
  880. <div class="hidden-sm col-md-2" role="complementary">
  881. <div class="sideaffix">
  882. <div class="contribution">
  883. <ul class="nav">
  884. <li>
  885. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Loader_PluginManager.md&amp;value=---%0Auid%3A%20IPA.Loader.PluginManager%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
  886. </li>
  887. <li>
  888. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/0eb49a8c17290828954ff54b4d02926ef8931f67/IPA.Loader/Loader/PluginManager.cs/#L22" class="contribution-link">View Source</a>
  889. </li>
  890. </ul>
  891. </div>
  892. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  893. <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
  894. </nav>
  895. </div>
  896. </div>
  897. </div>
  898. </div>
  899. <footer>
  900. <div class="grad-bottom"></div>
  901. <div class="footer">
  902. <div class="container">
  903. <span class="pull-right">
  904. <a href="#top">Back to top</a>
  905. </span>
  906. <span>Generated by <strong>DocFX</strong></span>
  907. </div>
  908. </div>
  909. </footer>
  910. </div>
  911. <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
  912. <script type="text/javascript" src="../styles/docfx.js"></script>
  913. <script type="text/javascript" src="../styles/main.js"></script>
  914. </body>
  915. </html>