企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
These functions relate to[Specializations](https://wow.gamepedia.com/Specialization "Specialization") [C\_SpecializationInfo.GetAllSelectedPvpTalentIDs](https://wow.gamepedia.com/API_C_SpecializationInfo.GetAllSelectedPvpTalentIDs "API C SpecializationInfo.GetAllSelectedPvpTalentIDs")() [C\_SpecializationInfo.GetInspectSelectedPvpTalent](https://wow.gamepedia.com/API_C_SpecializationInfo.GetInspectSelectedPvpTalent "API C SpecializationInfo.GetInspectSelectedPvpTalent")("inspectedUnit", talentIndex) [C\_SpecializationInfo.GetPvpTalentAlertStatus](https://wow.gamepedia.com/API_C_SpecializationInfo.GetPvpTalentAlertStatus "API C SpecializationInfo.GetPvpTalentAlertStatus")() [C\_SpecializationInfo.GetPvpTalentSlotInfo](https://wow.gamepedia.com/API_C_SpecializationInfo.GetPvpTalentSlotInfo "API C SpecializationInfo.GetPvpTalentSlotInfo")(talentIndex) [C\_SpecializationInfo.GetPvpTalentSlotUnlockLevel](https://wow.gamepedia.com/API_C_SpecializationInfo.GetPvpTalentSlotUnlockLevel "API C SpecializationInfo.GetPvpTalentSlotUnlockLevel")(talentIndex) [C\_SpecializationInfo.GetPvpTalentUnlockLevel](https://wow.gamepedia.com/API_C_SpecializationInfo.GetPvpTalentUnlockLevel "API C SpecializationInfo.GetPvpTalentUnlockLevel")(talentID) [C\_SpecializationInfo.GetSpellsDisplay](https://wow.gamepedia.com/API_C_SpecializationInfo.GetSpellsDisplay "API C SpecializationInfo.GetSpellsDisplay")(specializationID) [C\_SpecializationInfo.IsInitialized](https://wow.gamepedia.com/API_C_SpecializationInfo.IsInitialized "API C SpecializationInfo.IsInitialized")() [C\_SpecializationInfo.IsPvpTalentLocked](https://wow.gamepedia.com/API_C_SpecializationInfo.IsPvpTalentLocked "API C SpecializationInfo.IsPvpTalentLocked")(talentID) [C\_SpecializationInfo.SetPvpTalentLocked](https://wow.gamepedia.com/API_C_SpecializationInfo.SetPvpTalentLocked "API C SpecializationInfo.SetPvpTalentLocked")(talentID, locked) [AreTalentsLocked](https://wow.gamepedia.com/index.php?title=API_AreTalentsLocked&action=edit&redlink=1 "API AreTalentsLocked (page does not exist)")() [CheckTalentMasterDist](https://wow.gamepedia.com/index.php?title=API_CheckTalentMasterDist&action=edit&redlink=1 "API CheckTalentMasterDist (page does not exist)")() - Returns nil if the player is too far away from the talent master to use the talent methods. [ClearFailedPVPTalentIDs](https://wow.gamepedia.com/index.php?title=API_ClearFailedPVPTalentIDs&action=edit&redlink=1 "API ClearFailedPVPTalentIDs (page does not exist)")() - Unused in FrameXML. [ClearFailedTalentIDs](https://wow.gamepedia.com/index.php?title=API_ClearFailedTalentIDs&action=edit&redlink=1 "API ClearFailedTalentIDs (page does not exist)")() [ConfirmTalentWipe](https://wow.gamepedia.com/index.php?title=API_ConfirmTalentWipe&action=edit&redlink=1 "API ConfirmTalentWipe (page does not exist)")() - Confirms freeing all talent points. [GetActiveSpecGroup](https://wow.gamepedia.com/API_GetActiveSpecGroup "API GetActiveSpecGroup")(\[isInspect\]) - Returns the index of the current active specialization/talent/glyph group. [GetArenaOpponentSpec](https://wow.gamepedia.com/index.php?title=API_GetArenaOpponentSpec&action=edit&redlink=1 "API GetArenaOpponentSpec (page does not exist)")() [GetFailedPVPTalentIDs](https://wow.gamepedia.com/index.php?title=API_GetFailedPVPTalentIDs&action=edit&redlink=1 "API GetFailedPVPTalentIDs (page does not exist)")() - Unused in FrameXML. [GetFailedTalentIDs](https://wow.gamepedia.com/index.php?title=API_GetFailedTalentIDs&action=edit&redlink=1 "API GetFailedTalentIDs (page does not exist)")() [GetMaxTalentTier](https://wow.gamepedia.com/API_GetMaxTalentTier "API GetMaxTalentTier")() - Returns the number of available talent tiers. [GetNumArenaOpponentSpecs](https://wow.gamepedia.com/index.php?title=API_GetNumArenaOpponentSpecs&action=edit&redlink=1 "API GetNumArenaOpponentSpecs (page does not exist)")() [GetNumSpecGroups](https://wow.gamepedia.com/API_GetNumSpecGroups "API GetNumSpecGroups")(\[isInspect\]) - Returns the number of specialization group (dual specs) the player has. [GetNumSpecializationsForClassID](https://wow.gamepedia.com/API_GetNumSpecializationsForClassID "API GetNumSpecializationsForClassID")(classID) - Returns the number of specializations available to a particular class. [GetNumSpecializations](https://wow.gamepedia.com/API_GetNumSpecializations "API GetNumSpecializations")(\[isInspect\[, isPet\]\]) - Returns the number of available specializations. [GetNumUnspentPvpTalents](https://wow.gamepedia.com/index.php?title=API_GetNumUnspentPvpTalents&action=edit&redlink=1 "API GetNumUnspentPvpTalents (page does not exist)")() [GetNumUnspentTalents](https://wow.gamepedia.com/API_GetNumUnspentTalents "API GetNumUnspentTalents")() - Returns the number of unspent talents. [GetPetTalentTree](https://wow.gamepedia.com/index.php?title=API_GetPetTalentTree&action=edit&redlink=1 "API GetPetTalentTree (page does not exist)")() [GetPrimarySpecialization](https://wow.gamepedia.com/index.php?title=API_GetPrimarySpecialization&action=edit&redlink=1 "API GetPrimarySpecialization (page does not exist)")() [GetPvpTalentInfoByID](https://wow.gamepedia.com/API_GetPvpTalentInfoByID "API GetPvpTalentInfoByID")() [GetPvpTalentInfoBySpecialization](https://wow.gamepedia.com/index.php?title=API_GetPvpTalentInfoBySpecialization&action=edit&redlink=1 "API GetPvpTalentInfoBySpecialization (page does not exist)")() [GetPvpTalentLink](https://wow.gamepedia.com/index.php?title=API_GetPvpTalentLink&action=edit&redlink=1 "API GetPvpTalentLink (page does not exist)")() [GetSetBonusesForSpecializationByItemID](https://wow.gamepedia.com/index.php?title=API_GetSetBonusesForSpecializationByItemID&action=edit&redlink=1 "API GetSetBonusesForSpecializationByItemID (page does not exist)")(specID, itemID) [GetSpecChangeCost](https://wow.gamepedia.com/index.php?title=API_GetSpecChangeCost&action=edit&redlink=1 "API GetSpecChangeCost (page does not exist)")() [GetSpecializationInfoByID](https://wow.gamepedia.com/API_GetSpecializationInfoByID "API GetSpecializationInfoByID")(specID) - Returns information about the specified specialization. [GetSpecializationInfoForClassID](https://wow.gamepedia.com/API_GetSpecializationInfoForClassID "API GetSpecializationInfoForClassID")(classID, specIndex) - Returns information about the specified specialization. [GetSpecializationInfoForSpecID](https://wow.gamepedia.com/index.php?title=API_GetSpecializationInfoForSpecID&action=edit&redlink=1 "API GetSpecializationInfoForSpecID (page does not exist)")(specID\[,sex\]) [GetSpecializationInfo](https://wow.gamepedia.com/API_GetSpecializationInfo "API GetSpecializationInfo")(specIndex\[, isInspect\[, isPet\]\]) - Returns information about the player's specializations. [GetSpecializationMasterySpells](https://wow.gamepedia.com/API_GetSpecializationMasterySpells "API GetSpecializationMasterySpells")(specIndex\[, isInspect\[, isPet\]\]) - Returns the mastery spellID of the current player's specialization. [GetSpecializationNameForSpecID](https://wow.gamepedia.com/index.php?title=API_GetSpecializationNameForSpecID&action=edit&redlink=1 "API GetSpecializationNameForSpecID (page does not exist)")(specID\[,sex\]) [GetSpecializationRole](https://wow.gamepedia.com/API_GetSpecializationRole "API GetSpecializationRole")(specIndex\[, isInspect\[, isPet\]\]) - Returns the role a specialization is intended to perform. [GetSpecializationRoleByID](https://wow.gamepedia.com/API_GetSpecializationRoleByID "API GetSpecializationRoleByID")(specID) - Returns the role a specialization is intended to perform. [GetSpecializationSpells](https://wow.gamepedia.com/API_GetSpecializationSpells "API GetSpecializationSpells")(specIndex\[, isInspect\[, isPet\]\]) - Returns the spellID of key abilities used by the specified specialization. [GetSpecialization](https://wow.gamepedia.com/API_GetSpecialization "API GetSpecialization")(\[isInspect\[, isPet\[, specGroup\]\]\]) - Returns the index of the player's current specialization. [GetSpecsForSpell](https://wow.gamepedia.com/index.php?title=API_GetSpecsForSpell&action=edit&redlink=1 "API GetSpecsForSpell (page does not exist)")("spellName" or spellIndex, "bookType") - Returns the specs for which the specified spell can be used. [GetTalentInfoByID](https://wow.gamepedia.com/API_GetTalentInfoByID "API GetTalentInfoByID")() [GetTalentInfoBySpecialization](https://wow.gamepedia.com/API_GetTalentInfoBySpecialization "API GetTalentInfoBySpecialization")() [GetTalentInfo](https://wow.gamepedia.com/API_GetTalentInfo "API GetTalentInfo")(talentID\[, isInspect\[, specGroup\[, inspectID\[, classID\]\]\]\]) - Returns information about a talent. [GetTalentLink](https://wow.gamepedia.com/index.php?title=API_GetTalentLink&action=edit&redlink=1 "API GetTalentLink (page does not exist)")(talentID\[, isInspect\[, specGroup\[, inspectID\[, classID\]\]\]\]) - Returns the talent link. [GetTalentTierInfo](https://wow.gamepedia.com/API_GetTalentTierInfo "API GetTalentTierInfo")() [IsPvpTalentSpell](https://wow.gamepedia.com/index.php?title=API_IsPvpTalentSpell&action=edit&redlink=1 "API IsPvpTalentSpell (page does not exist)")() [IsSpellClassOrSpec](https://wow.gamepedia.com/API_IsSpellClassOrSpec "API IsSpellClassOrSpec")("spellName" or spellIndex, "bookType") - Returns whether a given spell is specific to a specialization and/or class. [IsTalentSpell](https://wow.gamepedia.com/API_IsTalentSpell "API IsTalentSpell")(slot, bookType) - Returns whether or not the specified spell is learned from a talent. [LearnPvpTalent](https://wow.gamepedia.com/API_LearnPvpTalent "API LearnPvpTalent")() [LearnPvpTalents](https://wow.gamepedia.com/index.php?title=API_LearnPvpTalents&action=edit&redlink=1 "API LearnPvpTalents (page does not exist)")() [LearnTalent](https://wow.gamepedia.com/API_LearnTalent "API LearnTalent")() NOCOMBAT[LearnTalents](https://wow.gamepedia.com/index.php?title=API_LearnTalents&action=edit&redlink=1 "API LearnTalents (page does not exist)")(talentID1, talentID2, etc.) - Learns the talents listed. Unused in FrameXML [RemovePvpTalent](https://wow.gamepedia.com/index.php?title=API_RemovePvpTalent&action=edit&redlink=1 "API RemovePvpTalent (page does not exist)")() NOCOMBAT[RemoveTalent](https://wow.gamepedia.com/index.php?title=API_RemoveTalent&action=edit&redlink=1 "API RemoveTalent (page does not exist)")(talentID) - Removes the specified talent. NOCOMBAT[SetSpecialization](https://wow.gamepedia.com/API_SetSpecialization "API SetSpecialization")(specIndex \[, isPet\]) - Selects a specialization. NOCOMBAT[UnlearnSpecialization](https://wow.gamepedia.com/index.php?title=API_UnlearnSpecialization&action=edit&redlink=1 "API UnlearnSpecialization (page does not exist)")(specIndex \[, isPet\])