v0.13.8

C_Garrison

namespaceavailable in: camelot

Status in wowlua

227 functions: 2 implemented, 0 recorded, 225 guessed. 65 events, 3 of them fired by the emulator on its own.

Functions

functionwhat it doesstatus
AddFollowerToMissionAdds a follower to a mission and returns whether it was added. · by wowlua
(missionID: number, followerID: GarrisonFollower, boardIndex: number?): boolean
guessed
AllowMissionStartAboveSoftCapReturns whether missions of a follower type can be started while the player has more followers than the soft cap. The mission page refuses to start a mission when this is false and C_Garrison.IsAboveFollowerSoftCap is true. · by wowlua
not in Blizzard's documentation
guessed
AreMissionFollowerRequirementsMetReturns whether the followers assigned to a mission meet its follower requirements. The mission page checks it before starting the mission. · by wowlua
not in Blizzard's documentation
guessed
AssignFollowerToBuildingAssigns a follower to work in the building on a garrison plot. Blizzard's building UI passes the plot ID and the follower's ID. · by wowlua
not in Blizzard's documentation
guessed
CanGenerateRecruitsReturns whether the garrison recruiter can offer a new set of followers to recruit. · by wowlua
not in Blizzard's documentation
guessed
CanOpenMissionChestReturns whether the reward chest of a completed mission can be opened. · by wowlua
not in Blizzard's documentation
guessed
CanSetRecruitmentPreferenceReturns whether the player can choose an ability or trait preference at the garrison recruiter. · by wowlua
not in Blizzard's documentation
guessed
CanSpellTargetFollowerIDWithAddAbilityReturns whether the spell waiting for a target can give a temporary ability to the given follower. · by wowlua
not in Blizzard's documentation
guessed
CanUpgradeGarrisonReturns whether the player's garrison can be upgraded to its next level. · by wowlua
not in Blizzard's documentation
guessed
CancelConstructionCancels the building under construction on a garrison plot. · by wowlua
not in Blizzard's documentation
guessed
CastItemSpellOnFollowerAbilityCasts the targeting item spell on one ability of a follower. Blizzard's UI passes the follower's ID and the ability ID. · by wowlua
not in Blizzard's documentation
guessed
CastSpellOnFollowerCasts the spell waiting for a target on a follower. · by wowlua
not in Blizzard's documentation
guessed
CastSpellOnFollowerAbilityCasts the spell waiting for a target on one ability of a follower. Blizzard's UI passes the follower's ID and the ability ID. · by wowlua
not in Blizzard's documentation
guessed
CastSpellOnMissionCasts the spell waiting for a target on a mission and returns whether it was cast. · by wowlua
not in Blizzard's documentation
guessed
ClearCompleteTalentClears the notice of a finished talent research for a garrison type. · by wowlua
not in Blizzard's documentation
guessed
CloseArchitectCloses the interaction with the garrison architect table. · by wowlua
not in Blizzard's documentation
guessed
CloseGarrisonTradeskillNPCCloses the interaction with a garrison profession NPC. · by wowlua
not in Blizzard's documentation
guessed
CloseMissionNPCCloses the interaction with the mission table. · by wowlua
not in Blizzard's documentation
guessed
CloseRecruitmentNPCCloses the interaction with the garrison recruiter. · by wowlua
not in Blizzard's documentation
guessed
CloseTalentNPCCloses the interaction with the NPC that researches garrison talents. · by wowlua
not in Blizzard's documentation
guessed
CloseTradeskillCrafterCloses the interaction with a work order NPC. · by wowlua
not in Blizzard's documentation
guessed
GenerateRecruitsAsks the garrison recruiter for new followers to recruit, favouring an ability and a trait. Blizzard's UI passes 0 for both to get random recruits. · by wowlua
not in Blizzard's documentation
guessed
GetAllBonusAbilityEffectsReturns the bonus ability effects active for a follower type. The shipyard uses it for ships. · by wowlua
not in Blizzard's documentation
guessed
GetAllEncounterThreatsReturns the mechanics that mission enemies of a follower type can have. · by wowlua
not in Blizzard's documentation
guessed
GetAutoCombatDamageClassValuesReturns the damage classes of adventure combat spells. · by wowlua
(): AutoCombatDamageClassString[]
guessed
GetAutoMissionBoardStateReturns the targeting state of every position on an adventure's board. · by wowlua
(missionID: number): AutoMissionTargetingInfo[]
guessed
GetAutoMissionEnvironmentEffectReturns an adventure's environment effect, or nothing. · by wowlua
(missionID: number): AutoMissionEnvironmentEffect?
guessed
GetAutoMissionTargetingInfoReturns the targets a follower's abilities hit from a position on an adventure's board. · by wowlua
(missionID: number, followerID: GarrisonFollower, casterBoardIndex: number): AutoMissionTargetingInfo[]
guessed
GetAutoMissionTargetingInfoForSpellReturns the targets an adventure combat spell hits from a position on the board. · by wowlua
(missionID: number, autoCombatSpellID: number, casterBoardIndex: number): AutoMissionTargetingInfo[]
guessed
GetAutoTroopsReturns the troops available for adventures. · by wowlua
(followerType: number): AutoCombatTroopInfo[]
guessed
GetAvailableMissionsReturns a list of available follower missions.
not in Blizzard's documentation
guessed
GetAvailableRecruitsReturns the followers the garrison recruiter currently offers. · by wowlua
not in Blizzard's documentation
guessed
GetBasicMissionInfoReturns a table containing information on the requested mission.
not in Blizzard's documentation
guessed
GetBuffedFollowersForMissionReturns which followers counter the mechanics of a mission. · by wowlua
not in Blizzard's documentation
guessed
GetBuildingInfoReturns garrison building info.
not in Blizzard's documentation
guessed
GetBuildingLockInfoNo description yet.
not in Blizzard's documentation
guessed
GetBuildingSizesReturns the garrison building size tabs shown in the architect table. · by wowlua
not in Blizzard's documentation
guessed
GetBuildingSpecInfoReturns the name, tooltip text and icon of a building specialization. · by wowlua
not in Blizzard's documentation
guessed
GetBuildingTimeRemainingReturns how long a building's construction has left, as a number and as text. · by wowlua
not in Blizzard's documentation
guessed
GetBuildingTooltipReturns the tooltip text and costs of a garrison building: the text, the cost, the gold, the currency ID, the build time and whether it needs a plan. · by wowlua
not in Blizzard's documentation
guessed
GetBuildingUpgradeInfoReturns information about a garrison building's next upgrade, among it its name, icon, rank, costs and build time. · by wowlua
not in Blizzard's documentation
guessed
GetBuildingsReturns the buildings the player owns in a garrison type. · by wowlua
not in Blizzard's documentation
guessed
GetBuildingsForPlotReturns the buildings that can be placed on a garrison plot. · by wowlua
not in Blizzard's documentation
guessed
GetBuildingsForSizeReturns the buildings of one size category in a garrison type. · by wowlua
not in Blizzard's documentation
guessed
GetClassSpecCategoryInfoReturns the follower class spec categories of a follower type. Pairs with C_Garrison.RequestClassSpecCategoryInfo. · by wowlua
not in Blizzard's documentation
guessed
GetCombatAllyMissionReturns the combat ally mission of a follower type. · by wowlua
not in Blizzard's documentation
guessed
GetCombatLogSpellInfoReturns information about an adventure combat spell, or nothing. · by wowlua
(autoCombatSpellID: number): AutoCombatSpellInfo?
guessed
GetCompleteMissionsReturns the missions of a follower type that have finished but are not yet collected. · by wowlua
not in Blizzard's documentation
guessed
GetCompleteTalentReturns the ID of the talent whose research just finished for a garrison type. · by wowlua
not in Blizzard's documentation
guessed
GetCurrencyTypesReturns the primary and secondary currency IDs of a garrison type. · by wowlua
not in Blizzard's documentation
guessed
GetCurrentCypherEquipmentLevelReturns the player's current Cypher of the First Ones equipment level. · by wowlua
(): number
guessed
GetCurrentGarrTalentTreeFriendshipFactionIDReturns the friendship faction ID of the open talent tree, or nothing. · by wowlua
(): number?
guessed
GetCurrentGarrTalentTreeIDReturns the ID of the open talent tree, or nothing. · by wowlua
(): number?
guessed
GetCyphersToNextEquipmentLevelReturns the number of Cyphers of the First Ones needed for the next equipment level, or nothing. · by wowlua
(): number?
guessed
GetFollowerAbilitiesReturns the abilities of a garrison follower.
not in Blizzard's documentation
guessed
GetFollowerAbilityAtIndexReturns an ability for the follower.
not in Blizzard's documentation
guessed
GetFollowerAbilityAtIndexByIDReturns the ability at an index in the list of a follower, looked up by its garrFollowerID. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerAbilityCounterMechanicInfoReturns the mechanic a follower ability counters: its ID, name and icon, and the counter factor. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerAbilityCountersForMechanicTypesReturns which follower abilities counter each mechanic type, for a follower type. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerAbilityDescriptionReturns the description of a follower ability. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerAbilityIconReturns the icon of a follower ability. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerAbilityInfoReturns a table of information about a follower ability. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerAbilityIsTraitReturns whether a follower ability is a trait. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerAbilityLinkReturns a chat link for a follower ability. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerAbilityNameReturns the name of a follower ability. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerActivationCostReturns the gold, in copper, it costs to activate an inactive follower. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerAutoCombatSpellsReturns a follower's adventure combat abilities and its auto attack. · by wowlua
(garrFollowerID: GarrisonFollower, followerLevel: number): (AutoCombatSpellInfo[]?, AutoCombatSpellInfo?)
guessed
GetFollowerAutoCombatStatsReturns a follower's adventure combat stats, or nothing. · by wowlua
(garrFollowerID: GarrisonFollower): FollowerAutoCombatStatsInfo?
guessed
GetFollowerBiasForMissionReturns how a follower's level suits a mission. Blizzard's UI treats a value below 0 as the follower being under the mission's level. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerClassSpecReturns the class spec of a follower. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerClassSpecAtlasReturns the atlas for a follower class spec. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerClassSpecByIDReturns the class spec of a follower, looked up by its garrFollowerID. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerClassSpecNameReturns the name of a follower's class spec. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerDisplayIDReturns the display ID of a follower's model. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerInfoReturns information about a follower.
not in Blizzard's documentation
guessed
GetFollowerInfoForBuildingReturns the follower working in the building on a plot: its name, level, quality, follower ID, garrFollowerID, status and portrait icon. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerIsTroopReturns whether a follower is a troop. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerItemLevelAverageReturns the average item level of a follower. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerItemsReturn information about a follower weapon and armor.
not in Blizzard's documentation
guessed
GetFollowerLevelReturns the level of a follower. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerLevelXPReturns the experience a follower needs for its next level. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerLinkReturns a chat link for one of the player's followers. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerLinkByIDReturns a chat link for a follower, looked up by its garrFollowerID. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerMissionCompleteInfoReturns a follower's information for the mission complete screen. · by wowlua
(followerID: GarrisonFollower): FollowerMissionCompleteInfo
guessed
GetFollowerMissionTimeLeftReturns, as text, how long the mission a follower is on has left. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerMissionTimeLeftSecondsReturns, in seconds, how long the mission a follower is on has left. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerModelItemsReturns the items a follower's model shows. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerNameReturns the name of one of the player's followers. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerNameByIDReturns the name of a follower, looked up by its garrFollowerID. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerPortraitIconIDReturns the portrait icon of one of the player's followers. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerPortraitIconIDByIDReturns the portrait icon of a follower, looked up by its garrFollowerID. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerQualityReturns the quality of a follower. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerQualityTableReturns the follower quality table of a follower type. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerRecentlyGainedAbilityIDsReturns the abilities a follower gained recently. Blizzard's UI uses them to mark new abilities. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerRecentlyGainedTraitIDsReturns the traits a follower gained recently. Blizzard's UI uses them to mark new traits. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerShipmentsReturns the follower shipments of a garrison type, shown on the landing page. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerSoftCapReturns the soft cap on the number of active followers of a follower type. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerSourceTextByIDReturns the text that says where a follower can be found, looked up by its garrFollowerID. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerSpecializationAtIndexReturns the specialization at an index for one of the player's followers. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerStatusReturns the status of a follower, such as being on a mission or in the party, or nil when it has none. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerTraitAtIndexReturns the trait at an index for one of the player's followers. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerTraitAtIndexByIDReturns the trait at an index for a follower, looked up by its garrFollowerID. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerTypeByIDReturns the follower type of a follower, looked up by its garrFollowerID. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerTypeByMissionIDReturns the follower type a mission is for. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerUnderBiasReasonReturns why a follower is too weak for a mission. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerXPReturns the experience a follower has toward its next level. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerXPTableReturns the follower experience table of a follower type. · by wowlua
not in Blizzard's documentation
guessed
GetFollowerZoneSupportAbilitiesReturns the spell IDs of a follower's combat ally (zone support) abilities. · by wowlua
not in Blizzard's documentation
guessed
GetFollowersReturns a list of garrison tech followers.
not in Blizzard's documentation
guessed
GetFollowersSpellsForMissionReturns the spells of the followers on a mission. · by wowlua
not in Blizzard's documentation
guessed
GetFollowersTraitsForMissionReturns the traits of the followers on a mission. · by wowlua
not in Blizzard's documentation
guessed
GetGarrisonInfoReturns information for your character's garrison.
not in Blizzard's documentation
guessed
GetGarrisonPlotsInstancesForMapReturns the garrison building plots on a map. · by wowlua
(uiMapID: number): GarrisonPlotInstanceMapInfo[]
implemented
GetGarrisonTalentTreeCurrencyTypesReturns the currency ID a talent tree's talents cost, or nothing. · by wowlua
(garrTalentTreeID: number): number?
guessed
GetGarrisonTalentTreeTypeReturns the type of a talent tree. · by wowlua
(garrTalentTreeID: number): number
guessed
GetGarrisonUpgradeCostReturns the material and gold cost of the garrison's next upgrade. · by wowlua
not in Blizzard's documentation
guessed
GetInProgressMissionsReturns a list of active follower missions.
not in Blizzard's documentation
guessed
GetLandingPageGarrisonTypeReturns the garrison type the landing page (minimap button report) shows. · by wowlua
not in Blizzard's documentation
guessed
GetLandingPageItemsReturns the missions shown on the landing page for a garrison type. · by wowlua
not in Blizzard's documentation
guessed
GetLandingPageShipmentCountReturns the number of shipments shown on the garrison landing page. · by wowlua
not in Blizzard's documentation
guessed
GetLandingPageShipmentInfo<!-- or , , , , --> Retrieves information about work orders for specified building.
not in Blizzard's documentation
guessed
GetLandingPageShipmentInfoByContainerIDReturns information on Garrison/Class Hall/other shipment in progress.
not in Blizzard's documentation
guessed
GetLooseShipmentsReturns Garrison shipments in progress.
not in Blizzard's documentation
guessed
GetMaxCypherEquipmentLevelReturns the highest Cypher of the First Ones equipment level. · by wowlua
(): number
guessed
GetMissionBonusAbilityEffectsReturns the bonus ability effects that apply to a mission. · by wowlua
not in Blizzard's documentation
guessed
GetMissionCompleteEncountersReturns the enemy encounters of a completed mission. · by wowlua
(missionID: number): GarrisonEnemyEncounterInfo[]
guessed
GetMissionCostReturns the base cost and the actual cost of starting a mission. · by wowlua
not in Blizzard's documentation
guessed
GetMissionDeploymentInfoReturns the information shown when deploying followers to a mission. · by wowlua
(missionID: number): MissionDeploymentInfo
guessed
GetMissionDisplayIDsReturns the model display IDs of a mission's followers and of its enemies. · by wowlua
not in Blizzard's documentation
guessed
GetMissionEncounterIconInfoReturns the icon information of a mission's encounter. · by wowlua
(missionID: number): MissionEncounterIconInfo
guessed
GetMissionLinkReturns a chat link for a mission. · by wowlua
not in Blizzard's documentation
guessed
GetMissionMaxFollowersReturns the number of followers a mission takes. · by wowlua
not in Blizzard's documentation
guessed
GetMissionNameReturns the name of a mission. · by wowlua
not in Blizzard's documentation
guessed
GetMissionRewardInfoReturns the rewards of a mission. · by wowlua
not in Blizzard's documentation
guessed
GetMissionSuccessChanceReturns a mission's chance of success as a percentage. It can go above 100, which the order hall UI shows as a bonus chance. · by wowlua
not in Blizzard's documentation
guessed
GetMissionTextureReturns the texture kit and map position of a mission texture on the shipyard map. · by wowlua
not in Blizzard's documentation
guessed
GetMissionTimesReturns timing information for a mission. · by wowlua
not in Blizzard's documentation
guessed
GetMissionUncounteredMechanicsReturns the mechanics of a mission that its assigned followers do not counter. · by wowlua
not in Blizzard's documentation
guessed
GetNumActiveFollowersReturns the number of active followers of a follower type. · by wowlua
not in Blizzard's documentation
guessed
GetNumFollowerActivationsRemainingReturns how many more followers can be activated today for a garrison type. · by wowlua
not in Blizzard's documentation
guessed
GetNumFollowerDailyActivationsReturns how many followers can be activated per day. · by wowlua
not in Blizzard's documentation
guessed
GetNumFollowersReturns the number of followers the player has of a follower type. · by wowlua
not in Blizzard's documentation
guessed
GetNumFollowersForMechanicReturns how many followers of a follower type counter a mechanic. · by wowlua
not in Blizzard's documentation
guessed
GetNumFollowersOnMissionReturns the number of followers assigned to a mission. · by wowlua
not in Blizzard's documentation
guessed
GetNumPendingShipmentsReturns the number of pending work orders at the open work order NPC. · by wowlua
not in Blizzard's documentation
guessed
GetNumShipmentCurrenciesReturns the number of currencies the open work order costs. · by wowlua
not in Blizzard's documentation
guessed
GetNumShipmentReagentsReturns the number of reagents the open work order needs. · by wowlua
not in Blizzard's documentation
guessed
GetOwnedBuildingInfoReturns detailed information about a building the player owns on a plot, among it its name, rank, costs, upgrades, specializations and whether it is under construction. · by wowlua
not in Blizzard's documentation
guessed
GetOwnedBuildingInfoAbbrevReturns basic information on garrison buildings.
not in Blizzard's documentation
guessed
GetPartyBuffsReturns the buffs the followers on a mission give. · by wowlua
not in Blizzard's documentation
guessed
GetPartyMentorLevelsReturns the mentor level and mentor item level of the followers on a mission. · by wowlua
not in Blizzard's documentation
guessed
GetPartyMissionInfoReturns information about the party assigned to a mission, among it its success chance, mission effects and currency and gold multipliers. · by wowlua
not in Blizzard's documentation
guessed
GetPendingShipmentInfoReturns information about a pending work order by index, among it the time it has left. · by wowlua
not in Blizzard's documentation
guessed
GetPlotsReturns the plots of the player's garrison. · by wowlua
not in Blizzard's documentation
guessed
GetPlotsForBuildingReturns the plots a garrison building can be placed on. · by wowlua
not in Blizzard's documentation
guessed
GetPossibleFollowersForBuildingReturns the followers that can be assigned to the building on a plot. · by wowlua
not in Blizzard's documentation
guessed
GetRecruitAbilitiesReturns the abilities of a follower offered by the garrison recruiter, by index. · by wowlua
not in Blizzard's documentation
guessed
GetRecruiterAbilityCategoriesReturns the ability categories the garrison recruiter offers. · by wowlua
not in Blizzard's documentation
guessed
GetRecruiterAbilityListFills a table with the abilities or traits the player can pick at the garrison recruiter. Blizzard's UI passes whether it wants traits and the table to fill. · by wowlua
not in Blizzard's documentation
guessed
GetRecruitmentPreferencesReturns the ability or trait the player chose at the garrison recruiter, with its name, description, icon and ID. · by wowlua
not in Blizzard's documentation
guessed
GetShipDeathAnimInfoReturns the animations and sounds the shipyard plays when a ship is destroyed, survives or is saved. · by wowlua
not in Blizzard's documentation
guessed
GetShipmentContainerInfoReturns the pending text and description of the open work order NPC. · by wowlua
not in Blizzard's documentation
guessed
GetShipmentItemInfoReturns what the open work order makes: its name, texture, quality, item ID, follower ID and duration. · by wowlua
not in Blizzard's documentation
guessed
GetShipmentReagentCurrencyInfoReturns the ID and amount of a currency the open work order costs, by index. · by wowlua
not in Blizzard's documentation
guessed
GetShipmentReagentInfoReturns a reagent the open work order needs, by index: its name, texture, quality, amount needed, amount owned and item ID. · by wowlua
not in Blizzard's documentation
guessed
GetShipmentReagentItemLinkReturns an item link for a reagent of the open work order, by index. · by wowlua
not in Blizzard's documentation
guessed
GetSpecChangeCostReturns the currency and cost of changing a building's specialization. · by wowlua
not in Blizzard's documentation
guessed
GetTabForPlotReturns the building size category of a garrison plot. · by wowlua
not in Blizzard's documentation
guessed
GetTalentInfoReturns information about a garrison talent. · by wowlua
(talentID: number): GarrisonTalentInfo
guessed
GetTalentPointsSpentInTalentTreeReturns the number of talent points spent in a talent tree. · by wowlua
(garrTalentTreeID: number): number
guessed
GetTalentTreeIDsByClassIDReturns the IDs of the talent trees of a garrison type for a class, or nothing. · by wowlua
(garrType: number, classID: number): number[]?
guessed
GetTalentTreeInfoReturns information about a garrison talent tree. · by wowlua
(treeID: number): GarrisonTalentTreeInfo
guessed
GetTalentTreeResetInfoReturns the money and currency costs of resetting a talent tree. · by wowlua
(garrTalentTreeID: number): (number, GarrisonTalentCurrencyCostInfo[])
guessed
GetTalentTreeTalentPointResearchInfoReturns the money cost, currency costs and duration of researching a talent point in a talent tree. · by wowlua
(garrTalentID: number, researchRank: number, garrTalentTreeID: number, talentPointIndex: number, isRespec: boolean): (number, GarrisonTalentCurrencyCostInfo[], number)
guessed
GetTalentUnlockWorldQuestReturns the ID of the world quest that unlocks a garrison talent, or nothing. · by wowlua
(talentID: number): number?
guessed
HasAdventuresWhether the player has access to adventures. · by wowlua
(): boolean
guessed
HasGarrisonReturns whether the player has a garrison of a garrison type. · by wowlua
not in Blizzard's documentation
guessed
HasShipyardReturns true if you have a shipyard.
not in Blizzard's documentation
guessed
IsAboveFollowerSoftCapReturns whether the player has more active followers of a follower type than the soft cap. · by wowlua
not in Blizzard's documentation
guessed
IsAtGarrisonMissionNPCWhether the player is interacting with a mission table. · by wowlua
(): boolean
guessed
IsEnvironmentCounteredWhether the mission's environment effect is countered by the assigned followers. · by wowlua
(missionID: number): boolean
guessed
IsFollowerCollectedReturns whether the player has collected a follower. · by wowlua
not in Blizzard's documentation
guessed
IsFollowerOnCompletedMissionWhether the follower is on a mission that has completed. · by wowlua
(followerID: GarrisonFollower): boolean
guessed
IsInvasionAvailableReturns whether a garrison invasion is available. · by wowlua
not in Blizzard's documentation
guessed
IsLandingPageMinimapButtonVisibleWhether the minimap button of a garrison type's landing page is shown. · by wowlua
(garrType: number): boolean
guessed
IsMechanicFullyCounteredReturns whether a follower's ability fully counters a mechanic on a mission. · by wowlua
not in Blizzard's documentation
guessed
IsOnGarrisonMapReturns whether the player is on a garrison map. · by wowlua
not in Blizzard's documentation
implemented
IsOnShipmentQuestForNPCReturns whether the player is on the quest for the open work order NPC. · by wowlua
not in Blizzard's documentation
guessed
IsOnShipyardMapReturns whether the player is on the shipyard map. · by wowlua
not in Blizzard's documentation
guessed
IsPlayerInGarrisonReturns whether the player is in their garrison of a garrison type. · by wowlua
not in Blizzard's documentation
guessed
IsTalentConditionMetWhether the garrison talent's condition is met, and the reason when it is not. · by wowlua
(talentID: number): (boolean, string?)
guessed
IsUsingPartyGarrisonReturns whether your are viewing your party leader's Garrison.
not in Blizzard's documentation
guessed
IsVisitGarrisonAvailableReturns whether the player can visit another player's garrison. Blizzard's unit menu offers it only outside cross-faction groups. · by wowlua
not in Blizzard's documentation
guessed
MarkMissionCompleteAcknowledges mission completion.
not in Blizzard's documentation
guessed
MissionBonusRollReceives mission loot.
not in Blizzard's documentation
guessed
PlaceBuildingPlaces a garrison building on a plot. Blizzard's UI passes the plot ID and the building ID. · by wowlua
not in Blizzard's documentation
guessed
RecruitFollowerRecruits a follower the garrison recruiter offers. · by wowlua
not in Blizzard's documentation
guessed
RegenerateCombatLogRebuilds the combat log of an adventure and returns whether it succeeded. · by wowlua
(missionID: number): boolean
guessed
RemoveFollowerRemoves one of the player's followers. The shipyard uses it to decommission a ship. · by wowlua
not in Blizzard's documentation
guessed
RemoveFollowerFromBuildingRemoves the follower working in the building on a plot. · by wowlua
not in Blizzard's documentation
guessed
RemoveFollowerFromMissionRemoves a follower from a mission. · by wowlua
(missionID: number, followerID: GarrisonFollower, boardIndex: number?)
guessed
RenameFollowerRenames a follower. The shipyard uses it to rename ships; an empty name resets it to the default. · by wowlua
not in Blizzard's documentation
guessed
RequestClassSpecCategoryInfoAsks the server for the follower class spec categories of a follower type, read with C_Garrison.GetClassSpecCategoryInfo. · by wowlua
not in Blizzard's documentation
guessed
RequestGarrisonUpgradeableAsks the server whether the garrison can be upgraded. · by wowlua
not in Blizzard's documentation
guessed
RequestLandingPageShipmentInfoAsks the server for the shipment information shown on the garrison landing page. · by wowlua
not in Blizzard's documentation
guessed
RequestShipmentCreationStarts work orders at the open work order NPC. Blizzard's UI passes how many to start. · by wowlua
not in Blizzard's documentation
guessed
RequestShipmentInfoAsks the server for the information of the open work order NPC. · by wowlua
not in Blizzard's documentation
guessed
ResearchTalentStarts researching a garrison talent. Blizzard's UI passes the talent ID and the rank to research. · by wowlua
not in Blizzard's documentation
guessed
RushHealAllFollowersHeals all followers of a follower type immediately. · by wowlua
(followerType: number)
guessed
RushHealFollowerHeals a follower immediately. · by wowlua
(garrFollowerID: GarrisonFollower)
guessed
SearchForFollowerReturns whether a follower matches a search text. · by wowlua
not in Blizzard's documentation
guessed
SetAutoCombatSpellFastForwardSets whether adventure combat playback is fast-forwarded. · by wowlua
(state: boolean)
guessed
SetBuildingActiveActivates a garrison building on a plot. · by wowlua
not in Blizzard's documentation
guessed
SetBuildingSpecializationSets the specialization of the building on a plot. · by wowlua
not in Blizzard's documentation
guessed
SetFollowerFavoriteSets whether a follower is marked as a favorite. · by wowlua
not in Blizzard's documentation
guessed
SetFollowerInactiveSets whether a follower is inactive. Reactivating one costs gold and counts against the daily activations. · by wowlua
not in Blizzard's documentation
guessed
SetRecruitmentPreferencesSets the ability and trait the garrison recruiter should favour; 0 means none. · by wowlua
not in Blizzard's documentation
guessed
SetUsingPartyGarrisonSwitches between viewing your party leader's Garrison or your own.
not in Blizzard's documentation
guessed
ShouldShowMapTabReturns whether the mission UI of a garrison type should show its map tab. · by wowlua
not in Blizzard's documentation
guessed
ShowFollowerNameInErrorMessageReturns whether a mission requires exactly one specific follower, and that follower's ID, for the mission page's error message. · by wowlua
not in Blizzard's documentation
guessed
StartMissionStarts a mission.
not in Blizzard's documentation
guessed
SwapBuildingsSwaps the buildings on two garrison plots. · by wowlua
not in Blizzard's documentation
guessed
TargetSpellHasFollowerItemLevelUpgradeReturns whether the spell waiting for a target raises a follower's item level. · by wowlua
not in Blizzard's documentation
guessed
TargetSpellHasFollowerRerollReturns whether the spell waiting for a target rerolls a follower, and whether it rerolls abilities and traits. · by wowlua
not in Blizzard's documentation
guessed
TargetSpellHasFollowerTemporaryAbilityReturns whether the spell waiting for a target gives a follower a temporary ability. · by wowlua
not in Blizzard's documentation
guessed
UpgradeBuildingUpgrades the building on a plot. · by wowlua
not in Blizzard's documentation
guessed
UpgradeGarrisonUpgrades the player's garrison to its next level. · by wowlua
not in Blizzard's documentation
guessed

"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.

Events

eventpayloadfired by the emulator
GARRISON_ARCHITECT_CLOSEDno payloadnot implemented
GARRISON_ARCHITECT_OPENEDfollowerTypeID: numbernot implemented
GARRISON_BUILDING_ACTIVATABLEbuildingName: string, garrisonType: numbernot implemented
GARRISON_BUILDING_ACTIVATEDgarrisonPlotInstanceID: number, garrisonBuildingID: numbernot implemented
GARRISON_BUILDING_ERRORno payloadnot implemented
GARRISON_BUILDING_LIST_UPDATEcategoryID: numbernot implemented
GARRISON_BUILDING_PLACEDgarrisonPlotInstanceID: number, newPlacement: booleannot implemented
GARRISON_BUILDING_REMOVEDgarrPlotInstanceID: number, garrBuildingID: numbernot implemented
GARRISON_BUILDING_UPDATEgarrisonBuildingID: number, garrPlotInstanceID: number?not implemented
GARRISON_FOLLOWER_ADDEDfollowerDbID: GarrisonFollower, followerName: string, followerClassName: string, followerLevel: number, followerQuality: number, isUpgraded: boolean, textureKit: string, followerTypeID: numbernot implemented
GARRISON_FOLLOWER_CATEGORIES_UPDATEDno payloadnot implemented
GARRISON_FOLLOWER_DURABILITY_CHANGEDgarrFollowerTypeID: number, followerDbID: GarrisonFollower, followerDurability: numbernot implemented
GARRISON_FOLLOWER_HEALEDfollowerID: GarrisonFollowernot implemented
GARRISON_FOLLOWER_LIST_UPDATEfollowerTypeID: numbernot implemented
GARRISON_FOLLOWER_REMOVEDfollowerTypeID: numbernot implemented
GARRISON_FOLLOWER_UPGRADEDfollowerDbID: GarrisonFollowernot implemented
GARRISON_FOLLOWER_XP_CHANGEDgarrFollowerTypeID: number, followerDbID: GarrisonFollower, xpChange: number, oldFollowerXp: number, oldFollowerLevel: number, oldFollowerQuality: numbernot implemented
GARRISON_HIDE_LANDING_PAGEno payloadimplemented
GARRISON_INVASION_AVAILABLEno payloadnot implemented
GARRISON_INVASION_UNAVAILABLEno payloadnot implemented
GARRISON_LANDINGPAGE_SHIPMENTSno payloadimplemented
GARRISON_MISSION_AREA_BONUS_ADDEDgarrisonMissonBonusAbilityID: numbernot implemented
GARRISON_MISSION_BONUS_ROLL_COMPLETEmissionID: number, success: booleannot implemented
GARRISON_MISSION_COMPLETE_RESPONSEmissionID: number, canComplete: boolean, success: boolean, bonusRollSuccess: boolean, followerDeaths: GarrisonFollowerDeathInfo[], autoCombatResult: AutoCombatResult?not implemented
GARRISON_MISSION_FINISHEDfollowerTypeID: number, missionID: numbernot implemented
GARRISON_MISSION_LIST_UPDATEgarrFollowerTypeID: numbernot implemented
GARRISON_MISSION_NPC_CLOSEDno payloadnot implemented
GARRISON_MISSION_NPC_OPENEDfollowerTypeID: numbernot implemented
GARRISON_MISSION_REWARD_INFOmissionID: number, followerDbID: GarrisonFollowernot implemented
GARRISON_MISSION_STARTEDgarrFollowerTypeID: number, missionID: numbernot implemented
GARRISON_MONUMENT_CLOSE_UIno payloadnot implemented
GARRISON_MONUMENT_LIST_LOADEDsuccess: booleannot implemented
GARRISON_MONUMENT_REPLACEDsuccess: booleannot implemented
GARRISON_MONUMENT_SELECTED_TROPHY_ID_LOADEDsuccess: booleannot implemented
GARRISON_MONUMENT_SHOW_UIno payloadnot implemented
GARRISON_RANDOM_MISSION_ADDEDfollowerTypeID: number, missionID: numbernot implemented
GARRISON_RECALL_PORTAL_LAST_USED_TIMEsuccess: boolean, recallPortalLastUsedTime: numbernot implemented
GARRISON_RECALL_PORTAL_USEDsuccess: booleannot implemented
GARRISON_RECRUITMENT_FOLLOWERS_GENERATEDno payloadnot implemented
GARRISON_RECRUITMENT_NPC_CLOSEDno payloadnot implemented
GARRISON_RECRUITMENT_NPC_OPENEDfollowerTypeID: numbernot implemented
GARRISON_RECRUITMENT_READYno payloadnot implemented
GARRISON_RECRUIT_FOLLOWER_RESULTno payloadnot implemented
GARRISON_SHIPMENT_RECEIVEDno payloadnot implemented
GARRISON_SHIPYARD_NPC_CLOSEDno payloadnot implemented
GARRISON_SHIPYARD_NPC_OPENEDfollowerTypeID: numbernot implemented
GARRISON_SHOW_LANDING_PAGEno payloadnot implemented
GARRISON_SPEC_GROUPS_CLEAREDgarrTypeID: numbernot implemented
GARRISON_SPEC_GROUP_UPDATEDgarrTypeID: number, specID: numbernot implemented
GARRISON_TALENT_COMPLETEgarrTypeID: number, doAlert: booleannot implemented
GARRISON_TALENT_EVENT_UPDATEeventType: number, eventID: numbernot implemented
GARRISON_TALENT_NPC_CLOSEDno payloadnot implemented
GARRISON_TALENT_NPC_OPENEDgarrisonTypeID: number, garrisonTalentTreeID: numbernot implemented
GARRISON_TALENT_RESEARCH_STARTEDgarrTypeID: number, garrisonTalentTreeID: number, garrTalentID: numbernot implemented
GARRISON_TALENT_UNLOCKS_RESULTno payloadnot implemented
GARRISON_TALENT_UPDATEgarrTypeID: numbernot implemented
GARRISON_TRADESKILL_NPC_CLOSEDno payloadnot implemented
GARRISON_UPDATEno payloadimplemented
GARRISON_UPGRADEABLE_RESULTgarrisonUpgradeable: booleannot implemented
GARRISON_USE_PARTY_GARRISON_CHANGEDno payloadnot implemented
SHIPMENT_CRAFTER_CLOSEDno payloadnot implemented
SHIPMENT_CRAFTER_INFOsuccess: number, shipmentCount: number, maxShipments: number, ownedShipments: number, plotInstanceID: numbernot implemented
SHIPMENT_CRAFTER_OPENEDcharShipmentContainerID: numbernot implemented
SHIPMENT_CRAFTER_REAGENT_UPDATEno payloadnot implemented
SHIPMENT_UPDATEshipmentStarted: boolean?, hasAttachedFollower: boolean?not implemented

An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("GARRISON_ARCHITECT_CLOSED").

Structures

  • AutoCombatDamageClassString · damageClassValue, locString
  • AutoCombatResult · winner, combatLog
  • AutoCombatSpellInfo · autoCombatSpellID, name, description, cooldown, duration, schoolMask, previewMask, icon, spellTutorialFlag, hasThornsEffect
  • AutoCombatTroopInfo · name, followerID, garrFollowerID, followerTypeID, displayIDs, level, quality, levelXP, maxXP, height, scale, displayScale?, displayHeight?, classSpec?, className?, flavorText?, classAtlas, portraitIconID, textureKit, isTroop, raceID, health, maxHealth, role, isAutoTroop, isSoulbind, isCollected, autoCombatStats
  • AutoMissionCombatEventInfo · boardIndex, oldHealth, newHealth, maxHealth, points?
  • AutoMissionEnvironmentEffect · name, autoCombatSpellInfo
  • AutoMissionEvent · type, spellID, schoolMask, effectIndex, casterBoardIndex, auraType, targetInfo
  • AutoMissionRound · events
  • AutoMissionTargetingInfo · targetIndex, previewType, spellID, effectIndex
  • FollowerAutoCombatStatsInfo · currentHealth, maxHealth, attack, healingTimestamp, healCost, minutesHealingRemaining
  • FollowerDisplayID · id, followerPageScale, showWeapon
  • FollowerMissionCompleteInfo · name, displayIDs, level, quality, currentXP, maxXP, height, scale, movementType?, impactDelay?, castID?, castSoundID?, impactID?, impactSoundID?, targetImpactID?, targetImpactSoundID?, className?, classAtlas, portraitIconID, textureKit, isTroop, boardIndex, health, maxHealth, role
  • GarrisonAbilityCounterInfo · id, icon, name, factor, description
  • GarrisonAbilityInfo · id, name, description, icon, isTrait, isSpecialization, temporary, category?, counters, isEmptySlot
  • GarrisonEnemyEncounterInfo · name, displayID, portraitFileDataID, textureKit, scale, height, mechanics, autoCombatSpells, autoCombatAutoAttack?, role, health, maxHealth, attack, boardIndex, isElite
  • GarrisonFollowerDeathInfo · followerID, state
  • GarrisonMechanicInfo · mechanicTypeID, icon, name, factor, description, ability?
  • GarrisonPlotInstanceMapInfo · buildingPlotInstanceID, position, name, atlasName
  • MissionDeploymentInfo · location, xp, environment?, environmentDesc?, environmentTexture, locTextureKit, isExhausting, enemies
  • MissionEncounterIconInfo · portraitFileDataID, missionScalar, isElite, isRare

sources

Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (GarrisonInfo system, camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗; written by wowlua where no documentation describes the entry.