C_Garrison.GetBuildingInfo

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 6.0.2

Returns a table containing all buiildings for a garrison. Each element contains buildingID,plotID,texPrefix,uiTab

id, name, texPrefix, icon, description, rank, currencyID, currencyQty, goldQty, buildTime, needsPlan, isPrebuilt, possSpecs, upgrades, canUpgrade, isMaxLevel, hasFollowerSlot = C_Garrison.GetBuildingInfo(BuildingID)

Arguments

BuildingID
number - Building ID

Returns

id, name, texPrefix, icon, description, rank, currencyID, currencyQty, goldQty, buildTime, needsPlan, isPrebuilt, possSpecs, upgrades, canUpgrade, isMaxLevel, hasFollowerSlot

Guess them for now

Patch changes

Warlords of Draenor Patch 6.0.2 (2014-10-14): Added.

See also

  • C_Garrison.GetBuildings