This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
api:rc:zh [2023/11/30 08:01] hfsr [命令行界面] |
api:rc:zh [2023/11/30 08:02] (current) hfsr [RC API] |
||
---|---|---|---|
Line 84: | Line 84: | ||
==== RC API ==== | ==== RC API ==== | ||
- | - `unload(moduleName: string)` | + | - `unload(moduleName: string)` |
- | + | 你可以卸载RC脚本,以将其从RC缓存中移除。此功能可用于重置配置文件,或是清理脚本的全局定义。在调试时此功能用处极大,你可以在不重启电脑的前提下重新加载脚本代码。 | |
- | 你可以卸载你的RC脚本,以此将其从RC缓存中移除。此功能用于重置配置文件或是清理脚本的全局定义。在调试时此功能用处极大,你可以在不重启电脑的前提下重新加载脚本代码。 | + | |
目录 | 目录 |