🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
>[danger] 这些函数与插件有关。 [DisableAddOn](https://wow.gamepedia.com/API_DisableAddOn "API DisableAddOn")(addonIndex or "AddOnName"\[, "character"\]) - 为后续会话禁用指定的插件。 [DisableAllAddOns](https://wow.gamepedia.com/API_DisableAllAddOns "API DisableAllAddOns")(\["character"\]) -禁用所有附加组件以进行后续会话 [EnableAddOn](https://wow.gamepedia.com/API_EnableAddOn "API EnableAddOn")(addonIndex or "AddOnName"\[, "character"\]) - 为后续会话启用指定的插件。 [EnableAllAddOns](https://wow.gamepedia.com/API_EnableAllAddOns "API EnableAllAddOns")(\["character"\]) - 为后续会话启用所有插件。 [GetAddOnDependencies](https://wow.gamepedia.com/API_GetAddOnDependencies "API GetAddOnDependencies")(addonIndex or "AddOnName") - 获取插件的依赖项列表。 [GetAddOnEnableState](https://wow.gamepedia.com/API_GetAddOnEnableState "API GetAddOnEnableState")(\["character"\], addonIndex or "AddOnName") [GetAddOnInfo](https://wow.gamepedia.com/API_GetAddOnInfo "API GetAddOnInfo")(addonIndex or "AddOnName") - 获取有关插件的信息 [GetAddOnMetadata](https://wow.gamepedia.com/API_GetAddOnMetadata "API GetAddOnMetadata")(addonIndex or "AddOnName", "variable") - 从插件的TOC文件中检索元数据 [GetAddOnOptionalDependencies](https://wow.gamepedia.com/index.php?title=API_GetAddOnOptionalDependencies&action=edit&redlink=1 "API GetAddOnOptionalDependencies (page does not exist)")(addonIndex or "AddOnName") - 返回可选依赖项列表 [GetNumAddOns](https://wow.gamepedia.com/API_GetNumAddOns "API GetNumAddOns")() - 获取用户提供的插件的数量 [IsAddOnLoaded](https://wow.gamepedia.com/API_IsAddOnLoaded "API IsAddOnLoaded")(addonIndex or "AddOnName") - 如果已加载指定的AddOn,则返回true。 [IsAddOnLoadOnDemand](https://wow.gamepedia.com/API_IsAddOnLoadOnDemand "API IsAddOnLoadOnDemand")(addonIndex or "AddOnName") - 测试AddOn是否按需加载。 [IsAddonVersionCheckEnabled](https://wow.gamepedia.com/index.php?title=API_IsAddonVersionCheckEnabled&action=edit&redlink=1 "API IsAddonVersionCheckEnabled (page does not exist)")() [LoadAddOn](https://wow.gamepedia.com/API_LoadAddOn "API LoadAddOn")(addonIndex or "AddOnName") -请求加载按需加载附件。 [ResetAddOns](https://wow.gamepedia.com/index.php?title=API_ResetAddOns&action=edit&redlink=1 "API ResetAddOns (page does not exist)")() [ResetDisabledAddOns](https://wow.gamepedia.com/index.php?title=API_ResetDisabledAddOns&action=edit&redlink=1 "API ResetDisabledAddOns (page does not exist)")() [SaveAddOns](https://wow.gamepedia.com/index.php?title=API_SaveAddOns&action=edit&redlink=1 "API SaveAddOns (page does not exist)")() [SetAddonVersionCheck](https://wow.gamepedia.com/index.php?title=API_SetAddonVersionCheck&action=edit&redlink=1 "API SetAddonVersionCheck (page does not exist)")(boolean) UI[UIParentLoadAddOn](https://wow.gamepedia.com/API_UIParentLoadAddOn "API UIParentLoadAddOn")("AddOnName") - 加载或重新加载指定的加载项,如果由于某种原因加载失败,则会弹出一条错误消息