🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
这些函数与[同伴(Companions)](https://wow.gamepedia.com/Companion "Companion")(非战斗宠物)和坐骑有关,并在补丁[Patch 3.0](https://wow.gamepedia.com/Patch_3.0 "Patch 3.0").中引入。它们已被弃用(但仍然可以部分使用)。另请参见[Pet Journal](https://wow.gamepedia.com/World_of_Warcraft_API#Pet_Journal)和[Mount Journal](https://wow.gamepedia.com/World_of_Warcraft_API#Mount_Journal)功能。 [CallCompanion](https://wow.gamepedia.com/API_CallCompanion "API CallCompanion")("type", slotid) - 召唤一个同伴 [DismissCompanion](https://wow.gamepedia.com/API_DismissCompanion "API DismissCompanion")("type") - 解雇一个活跃的同伴 [GetCompanionInfo](https://wow.gamepedia.com/API_GetCompanionInfo "API GetCompanionInfo")("type", slotid) - 返回有关所选同伴的信息 [GetNumCompanions](https://wow.gamepedia.com/API_GetNumCompanions "API GetNumCompanions")("type") - 获取指定类型的伙伴数量。 [SummonRandomCritter](https://wow.gamepedia.com/API_SummonRandomCritter "API SummonRandomCritter")() - 随机召唤一个小动物同伴。