Returns basic information on garrison buildings.. For additional information, see C_Garrison.GetOwnedBuildingInfo()


See also _(API_CAT_GARRISON).

Signature:

buildingID, buildingName, texturePrefix, icon, rank, isBeingBuilt, timeStarted, buildDuration, canCompleteBuild, canUpgrade, isPreBuilt = C_Garrison.GetOwnedBuildingInfoAbbrev(plotID)

Arguments:

  • plotID - (number)

Returns:

  • buildingID - nil (number)
  • buildingName - nil (string)
  • texturePrefix - nil (string)
  • icon - nil (string)
  • rank - Rank of the building in this plot, between 1 and 3 (number)
  • isBeingBuilt - true when the building in this plot is still in progress. (boolean)
  • timeStarted - Timestamp when the building was placed. (number)
  • buildDuration - Total duration (in seconds) until the building is completed and can be activated. (number)
  • canCompleteBuild - true when the build has been completed but the building has not yet been activated. (boolean)
  • canUpgrade - true when the building has available upgrades. false when already on max level or or plans not known. (boolean)
  • isPreBuilt - (boolean)