Returns information on a garrison building. For additional information on the character's buildings, check out C_Garrison.GetOwnedBuildingInfo()


See also _(API_CAT_GARRISON).

Signature:

buildingID, buildingName, texturePrefix, icon, description, rank, currencyID, currencyAmount, goldAmount, timeRequirement, needsPlan, isPreBuilt, possSpecs, upgrades, canUpgrade, isMaxLevel, hasFollowerSlot = C_Garrison.GetBuildingInfo(buildingID)

Arguments:

  • buildingID - The static id for the building (number)

Returns:

  • buildingID - (number)
  • buildingName - (string)
  • texturePrefix - (string)
  • icon - (string)
  • description - (string)
  • rank - Rank of the building in this plot, between 1 and 3 (number)
  • currencyID - The id of the currency required for upgrading this building. (number)
  • currencyAmount - The amount of the currency required for upgrading this building. (number)
  • goldAmount - The amount of gold required for upgrading this building. (number)
  • timeRequirement - The time required to update this building. (string)
  • needsPlan - (boolean)
  • isPreBuilt - (boolean)
  • possSpecs - (table)
  • upgrades - Table of buildingID, keyed by level (1-3) (table)
  • canUpgrade - true when the building has available upgrades. false when already on max level or or plans not known. (boolean)
  • isMaxLevel - (boolean)
  • hasFollowerSlot - (boolean)