mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-04 17:55:24 +08:00
5 lines
4.5 KiB
JavaScript
5 lines
4.5 KiB
JavaScript
import{_ as s,o as e,c as o,a}from"./app-BpUB8-Q8.js";const n={},c=a(`<div class="custom-container warning"><p class="custom-container-title">Notice</p><p>Due to maintenance costs, the <code>YukiHookAPI</code> will no longer update this document from version <code>1.3.0</code> and switch to the API document automatically generated by the Dokka plugin in version <code>2.0.0</code>.</p></div><div class="custom-container warning"><p class="custom-container-title">Notice</p><p>The English translation of this page has not been completed, you are welcome to contribute translations to us.</p><p>You can use the <strong>Chrome Translation Plugin</strong> to translate entire pages for reference.</p></div><h1 id="moduleclassloader-class" tabindex="-1"><a class="header-anchor" href="#moduleclassloader-class" aria-hidden="true">#</a> ModuleClassLoader <span class="symbol">- class</span></h1><div class="language-kotlin" data-ext="kt"><pre class="shiki github-dark-dimmed" style="background-color:#22272e;" tabindex="0"><code><span class="line"><span style="color:#F47067;">class</span><span style="color:#ADBAC7;"> </span><span style="color:#F69D50;">ModuleClassLoader</span><span style="color:#ADBAC7;"> </span><span style="color:#F47067;">private</span><span style="color:#ADBAC7;"> </span><span style="color:#DCBDFB;">constructor</span><span style="color:#ADBAC7;">() : </span><span style="color:#F69D50;">ClassLoader</span></span>
|
|
<span class="line"></span></code></pre></div><p><strong>Change Records</strong></p><p><code>v1.1.2</code> <code>added</code></p><p><strong>Function Illustrate</strong></p><blockquote><p>自动处理 (Xposed) 宿主环境与模块环境的 <code>ClassLoader</code>。</p></blockquote><h2 id="companion-object-object" tabindex="-1"><a class="header-anchor" href="#companion-object-object" aria-hidden="true">#</a> companion object <span class="symbol">- object</span></h2><p><strong>Change Records</strong></p><p><code>v1.1.2</code> <code>added</code></p><h3 id="excludehostclasses-method" tabindex="-1"><a class="header-anchor" href="#excludehostclasses-method" aria-hidden="true">#</a> excludeHostClasses <span class="symbol">- method</span></h3><div class="language-kotlin" data-ext="kt"><pre class="shiki github-dark-dimmed" style="background-color:#22272e;" tabindex="0"><code><span class="line"><span style="color:#F47067;">fun</span><span style="color:#ADBAC7;"> </span><span style="color:#DCBDFB;">excludeHostClasses</span><span style="color:#ADBAC7;">(</span><span style="color:#F47067;">vararg</span><span style="color:#ADBAC7;"> name: </span><span style="color:#F69D50;">String</span><span style="color:#ADBAC7;">)</span></span>
|
|
<span class="line"></span></code></pre></div><p><strong>Change Records</strong></p><p><code>v1.1.2</code> <code>added</code></p><p><strong>Function Illustrate</strong></p><blockquote><p>添加到 Hook APP (宿主) <code>Class</code> 排除列表。</p></blockquote><p>排除列表中的 <code>Class</code> 将会使用宿主的 <code>ClassLoader</code> 进行装载。</p><div class="custom-container danger"><p class="custom-container-title">Pay Attention</p><p>排除列表仅会在 (Xposed) 宿主环境生效。</p></div><h3 id="excludemoduleclasses-method" tabindex="-1"><a class="header-anchor" href="#excludemoduleclasses-method" aria-hidden="true">#</a> excludeModuleClasses <span class="symbol">- method</span></h3><div class="language-kotlin" data-ext="kt"><pre class="shiki github-dark-dimmed" style="background-color:#22272e;" tabindex="0"><code><span class="line"><span style="color:#F47067;">fun</span><span style="color:#ADBAC7;"> </span><span style="color:#DCBDFB;">excludeModuleClasses</span><span style="color:#ADBAC7;">(</span><span style="color:#F47067;">vararg</span><span style="color:#ADBAC7;"> name: </span><span style="color:#F69D50;">String</span><span style="color:#ADBAC7;">)</span></span>
|
|
<span class="line"></span></code></pre></div><p><strong>Change Records</strong></p><p><code>v1.1.2</code> <code>added</code></p><p><strong>Function Illustrate</strong></p><blockquote><p>添加到模块 <code>Class</code> 排除列表。</p></blockquote><p>排除列表中的 <code>Class</code> 将会使用模块 (当前宿主环境的模块注入进程) 的 <code>ClassLoader</code> 进行装载。</p><div class="custom-container danger"><p class="custom-container-title">Pay Attention</p><p>排除列表仅会在 (Xposed) 宿主环境生效。</p></div>`,27),t=[c];function l(d,p){return e(),o("div",null,t)}const i=s(n,[["render",l],["__file","ModuleClassLoader.html.vue"]]);export{i as default};
|