🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
[Garrisons](https://wow.gamepedia.com/Garrison "Garrison")were introduced in[Patch 6.0.2](https://wow.gamepedia.com/Patch_6.0.2 "Patch 6.0.2"). Also used for[Class Halls](https://wow.gamepedia.com/Class_Hall "Class Hall")and[War Campaigns](https://wow.gamepedia.com/War_Campaign "War Campaign"). [C\_Garrison.CanGenerateRecruits](https://wow.gamepedia.com/index.php?title=API_C_Garrison.CanGenerateRecruits&action=edit&redlink=1 "API C Garrison.CanGenerateRecruits (page does not exist)")() [C\_Garrison.CanSetRecruitmentPreference](https://wow.gamepedia.com/index.php?title=API_C_Garrison.CanSetRecruitmentPreference&action=edit&redlink=1 "API C Garrison.CanSetRecruitmentPreference (page does not exist)")() [C\_Garrison.CanUpgradeGarrison](https://wow.gamepedia.com/index.php?title=API_C_Garrison.CanUpgradeGarrison&action=edit&redlink=1 "API C Garrison.CanUpgradeGarrison (page does not exist)")() [C\_Garrison.ClearCompleteTalent](https://wow.gamepedia.com/index.php?title=API_C_Garrison.ClearCompleteTalent&action=edit&redlink=1 "API C Garrison.ClearCompleteTalent (page does not exist)")(garrisonType) [C\_Garrison.CloseArchitect](https://wow.gamepedia.com/index.php?title=API_C_Garrison.CloseArchitect&action=edit&redlink=1 "API C Garrison.CloseArchitect (page does not exist)")() [C\_Garrison.CloseGarrisonTradeskillNPC](https://wow.gamepedia.com/index.php?title=API_C_Garrison.CloseGarrisonTradeskillNPC&action=edit&redlink=1 "API C Garrison.CloseGarrisonTradeskillNPC (page does not exist)")() [C\_Garrison.CloseRecruitmentNPC](https://wow.gamepedia.com/index.php?title=API_C_Garrison.CloseRecruitmentNPC&action=edit&redlink=1 "API C Garrison.CloseRecruitmentNPC (page does not exist)")() [C\_Garrison.CloseTalentNPC](https://wow.gamepedia.com/index.php?title=API_C_Garrison.CloseTalentNPC&action=edit&redlink=1 "API C Garrison.CloseTalentNPC (page does not exist)")() [C\_Garrison.CloseTradeskillCrafter](https://wow.gamepedia.com/index.php?title=API_C_Garrison.CloseTradeskillCrafter&action=edit&redlink=1 "API C Garrison.CloseTradeskillCrafter (page does not exist)")() [C\_Garrison.GenerateRecruits](https://wow.gamepedia.com/index.php?title=API_C_Garrison.GenerateRecruits&action=edit&redlink=1 "API C Garrison.GenerateRecruits (page does not exist)")(mechanicTypeID, traitID) [C\_Garrison.GetAllBonusAbilityEffects](https://wow.gamepedia.com/index.php?title=API_C_Garrison.GetAllBonusAbilityEffects&action=edit&redlink=1 "API C Garrison.GetAllBonusAbilityEffects (page does not exist)")() [C\_Garrison.GetAvailableRecruits](https://wow.gamepedia.com/index.php?title=API_C_Garrison.GetAvailableRecruits&action=edit&redlink=1 "API C Garrison.GetAvailableRecruits (page does not exist)")() [C\_Garrison.GetCompleteTalent](https://wow.gamepedia.com/index.php?title=API_C_Garrison.GetCompleteTalent&action=edit&redlink=1 "API C Garrison.GetCompleteTalent (page does not exist)")(garrisonType) [C\_Garrison.GetCurrencyTypes](https://wow.gamepedia.com/index.php?title=API_C_Garrison.GetCurrencyTypes&action=edit&redlink=1 "API C Garrison.GetCurrencyTypes (page does not exist)")(garrType) [C\_Garrison.GetCurrentGarrTalentTreeFriendshipFactionID](https://wow.gamepedia.com/API_C_Garrison.GetCurrentGarrTalentTreeFriendshipFactionID "API C Garrison.GetCurrentGarrTalentTreeFriendshipFactionID")() [C\_Garrison.GetCurrentGarrTalentTreeID](https://wow.gamepedia.com/API_C_Garrison.GetCurrentGarrTalentTreeID "API C Garrison.GetCurrentGarrTalentTreeID")() [C\_Garrison.GetGarrisonInfo](https://wow.gamepedia.com/API_C_Garrison.GetGarrisonInfo "API C Garrison.GetGarrisonInfo")(garrisonType) [C\_Garrison.GetGarrisonUpgradeCost](https://wow.gamepedia.com/index.php?title=API_C_Garrison.GetGarrisonUpgradeCost&action=edit&redlink=1 "API C Garrison.GetGarrisonUpgradeCost (page does not exist)")(followerType) [C\_Garrison.GetLandingPageGarrisonType](https://wow.gamepedia.com/index.php?title=API_C_Garrison.GetLandingPageGarrisonType&action=edit&redlink=1 "API C Garrison.GetLandingPageGarrisonType (page does not exist)")() [C\_Garrison.GetLandingPageItems](https://wow.gamepedia.com/index.php?title=API_C_Garrison.GetLandingPageItems&action=edit&redlink=1 "API C Garrison.GetLandingPageItems (page does not exist)")(garrTypeID \[, noSort\]) [C\_Garrison.GetLandingPageShipmentCount](https://wow.gamepedia.com/index.php?title=API_C_Garrison.GetLandingPageShipmentCount&action=edit&redlink=1 "API C Garrison.GetLandingPageShipmentCount (page does not exist)")() [C\_Garrison.GetLandingPageShipmentInfoByContainerID](https://wow.gamepedia.com/API_C_Garrison.GetLandingPageShipmentInfoByContainerID "API C Garrison.GetLandingPageShipmentInfoByContainerID")(shipmentContainerID) [C\_Garrison.GetLooseShipments](https://wow.gamepedia.com/API_C_Garrison.GetLooseShipments "API C Garrison.GetLooseShipments")(garrTypeID) [C\_Garrison.GetNumPendingShipments](https://wow.gamepedia.com/index.php?title=API_C_Garrison.GetNumPendingShipments&action=edit&redlink=1 "API C Garrison.GetNumPendingShipments (page does not exist)")() [C\_Garrison.GetNumShipmentCurrencies](https://wow.gamepedia.com/index.php?title=API_C_Garrison.GetNumShipmentCurrencies&action=edit&redlink=1 "API C Garrison.GetNumShipmentCurrencies (page does not exist)")() [C\_Garrison.GetNumShipmentReagents](https://wow.gamepedia.com/index.php?title=API_C_Garrison.GetNumShipmentReagents&action=edit&redlink=1 "API C Garrison.GetNumShipmentReagents (page does not exist)")() [C\_Garrison.GetPendingShipmentInfo](https://wow.gamepedia.com/index.php?title=API_C_Garrison.GetPendingShipmentInfo&action=edit&redlink=1 "API C Garrison.GetPendingShipmentInfo (page does not exist)")(index) [C\_Garrison.GetRecruitAbilities](https://wow.gamepedia.com/index.php?title=API_C_Garrison.GetRecruitAbilities&action=edit&redlink=1 "API C Garrison.GetRecruitAbilities (page does not exist)")(index) [C\_Garrison.GetRecruiterAbilityCategories](https://wow.gamepedia.com/index.php?title=API_C_Garrison.GetRecruiterAbilityCategories&action=edit&redlink=1 "API C Garrison.GetRecruiterAbilityCategories (page does not exist)")() [C\_Garrison.GetRecruiterAbilityList](https://wow.gamepedia.com/index.php?title=API_C_Garrison.GetRecruiterAbilityList&action=edit&redlink=1 "API C Garrison.GetRecruiterAbilityList (page does not exist)")(traits) [C\_Garrison.GetRecruitmentPreferences](https://wow.gamepedia.com/index.php?title=API_C_Garrison.GetRecruitmentPreferences&action=edit&redlink=1 "API C Garrison.GetRecruitmentPreferences (page does not exist)")() [C\_Garrison.GetShipmentContainerInfo](https://wow.gamepedia.com/index.php?title=API_C_Garrison.GetShipmentContainerInfo&action=edit&redlink=1 "API C Garrison.GetShipmentContainerInfo (page does not exist)")() [C\_Garrison.GetShipmentItemInfo](https://wow.gamepedia.com/index.php?title=API_C_Garrison.GetShipmentItemInfo&action=edit&redlink=1 "API C Garrison.GetShipmentItemInfo (page does not exist)")() [C\_Garrison.GetShipmentReagentCurrencyInfo](https://wow.gamepedia.com/index.php?title=API_C_Garrison.GetShipmentReagentCurrencyInfo&action=edit&redlink=1 "API C Garrison.GetShipmentReagentCurrencyInfo (page does not exist)")(currencyIndex) [C\_Garrison.GetShipmentReagentInfo](https://wow.gamepedia.com/index.php?title=API_C_Garrison.GetShipmentReagentInfo&action=edit&redlink=1 "API C Garrison.GetShipmentReagentInfo (page does not exist)")(reagentIndex) [C\_Garrison.GetShipmentReagentItemLink](https://wow.gamepedia.com/index.php?title=API_C_Garrison.GetShipmentReagentItemLink&action=edit&redlink=1 "API C Garrison.GetShipmentReagentItemLink (page does not exist)")(reagentIndex) [C\_Garrison.GetSpecChangeCost](https://wow.gamepedia.com/index.php?title=API_C_Garrison.GetSpecChangeCost&action=edit&redlink=1 "API C Garrison.GetSpecChangeCost (page does not exist)")() [C\_Garrison.GetTalent](https://wow.gamepedia.com/index.php?title=API_C_Garrison.GetTalent&action=edit&redlink=1 "API C Garrison.GetTalent (page does not exist)")(talentID) [C\_Garrison.GetTalentTreeIDsByClassID](https://wow.gamepedia.com/API_C_Garrison.GetTalentTreeIDsByClassID "API C Garrison.GetTalentTreeIDsByClassID")(garrType, classID) [C\_Garrison.GetTalentTreeInfoForID](https://wow.gamepedia.com/index.php?title=API_C_Garrison.GetTalentTreeInfoForID&action=edit&redlink=1 "API C Garrison.GetTalentTreeInfoForID (page does not exist)")(garrTalentTreeID) [C\_Garrison.HasGarrison](https://wow.gamepedia.com/index.php?title=API_C_Garrison.HasGarrison&action=edit&redlink=1 "API C Garrison.HasGarrison (page does not exist)")(garrisonType) [C\_Garrison.IsInvasionAvailable](https://wow.gamepedia.com/index.php?title=API_C_Garrison.IsInvasionAvailable&action=edit&redlink=1 "API C Garrison.IsInvasionAvailable (page does not exist)")() [C\_Garrison.IsOnGarrisonMap](https://wow.gamepedia.com/index.php?title=API_C_Garrison.IsOnGarrisonMap&action=edit&redlink=1 "API C Garrison.IsOnGarrisonMap (page does not exist)")() [C\_Garrison.IsOnShipmentQuestForNPC](https://wow.gamepedia.com/index.php?title=API_C_Garrison.IsOnShipmentQuestForNPC&action=edit&redlink=1 "API C Garrison.IsOnShipmentQuestForNPC (page does not exist)")() [C\_Garrison.IsPlayerInGarrison](https://wow.gamepedia.com/index.php?title=API_C_Garrison.IsPlayerInGarrison&action=edit&redlink=1 "API C Garrison.IsPlayerInGarrison (page does not exist)")(garrType) [C\_Garrison.IsUsingPartyGarrison](https://wow.gamepedia.com/API_C_Garrison.IsUsingPartyGarrison "API C Garrison.IsUsingPartyGarrison")() [C\_Garrison.IsVisitGarrisonAvailable](https://wow.gamepedia.com/index.php?title=API_C_Garrison.IsVisitGarrisonAvailable&action=edit&redlink=1 "API C Garrison.IsVisitGarrisonAvailable (page does not exist)")() [C\_Garrison.RequestGarrisonUpgradeable](https://wow.gamepedia.com/index.php?title=API_C_Garrison.RequestGarrisonUpgradeable&action=edit&redlink=1 "API C Garrison.RequestGarrisonUpgradeable (page does not exist)")(followerType) [C\_Garrison.RequestLandingPageShipmentInfo](https://wow.gamepedia.com/index.php?title=API_C_Garrison.RequestLandingPageShipmentInfo&action=edit&redlink=1 "API C Garrison.RequestLandingPageShipmentInfo (page does not exist)")() [C\_Garrison.RequestShipmentCreation](https://wow.gamepedia.com/index.php?title=API_C_Garrison.RequestShipmentCreation&action=edit&redlink=1 "API C Garrison.RequestShipmentCreation (page does not exist)")() [C\_Garrison.RequestShipmentInfo](https://wow.gamepedia.com/index.php?title=API_C_Garrison.RequestShipmentInfo&action=edit&redlink=1 "API C Garrison.RequestShipmentInfo (page does not exist)")() [C\_Garrison.ResearchTalent](https://wow.gamepedia.com/index.php?title=API_C_Garrison.ResearchTalent&action=edit&redlink=1 "API C Garrison.ResearchTalent (page does not exist)")(garrTalentID) [C\_Garrison.SetRecruitmentPreferences](https://wow.gamepedia.com/index.php?title=API_C_Garrison.SetRecruitmentPreferences&action=edit&redlink=1 "API C Garrison.SetRecruitmentPreferences (page does not exist)")(mechanicTypeID, traitID) [C\_Garrison.SetUsingPartyGarrison](https://wow.gamepedia.com/API_C_Garrison.SetUsingPartyGarrison "API C Garrison.SetUsingPartyGarrison")(enabled) [C\_Garrison.ShouldShowMapTab](https://wow.gamepedia.com/index.php?title=API_C_Garrison.ShouldShowMapTab&action=edit&redlink=1 "API C Garrison.ShouldShowMapTab (page does not exist)")(garrType) [C\_Garrison.UpgradeGarrison](https://wow.gamepedia.com/index.php?title=API_C_Garrison.UpgradeGarrison&action=edit&redlink=1 "API C Garrison.UpgradeGarrison (page does not exist)")(followerType) [GetEquipmentNameFromSpell](https://wow.gamepedia.com/index.php?title=API_GetEquipmentNameFromSpell&action=edit&redlink=1 "API GetEquipmentNameFromSpell (page does not exist)")() - returns a garrison equipment for a spell. [GetFollowerTypeIDFromSpell](https://wow.gamepedia.com/index.php?title=API_GetFollowerTypeIDFromSpell&action=edit&redlink=1 "API GetFollowerTypeIDFromSpell (page does not exist)")() - Returns the Garrison expansion type. [ReopenInteraction](https://wow.gamepedia.com/index.php?title=API_ReopenInteraction&action=edit&redlink=1 "API ReopenInteraction (page does not exist)")() - Reopens the order hall talents interaction.