C_Garrison .GetOwnedBuildingInfoAbbrev
Jump to navigation
Jump to search
Flavors |
---|
Links |
Info |
Added in 6.0.2 |
Returns basic information on garrison buildings.
id, name, textureKit, icon, rank, isBuilding, timeStart, buildTime, canActivate, canUpgrade, isPrebuilt = C_Garrison.GetOwnedBuildingInfoAbbrev(plotID)
Arguments
- plotID
- number
Returns
- 1. id
- number
- 2. name
- string
- 3. textureKit
- string
- 4. icon
- number : FileID
- 5. rank
- number - Rank of the building in this plot, between 1 and 3
- 6. isBuilding
- boolean - Returns true when the building in this plot is still in progress.
- 7. timeStart
- number - Timestamp when the building was placed.
- 8. buildTime
- number - Total duration (in seconds) until the building is completed and can be activated.
- 9. canActivate
- boolean - Returns true when the build has been completed but the building has not yet been activated.
- 10. canUpgrade
- boolean - Returns true when the building has available upgrades. false when already on max level or or plans not known.
- 11. isPrebuilt
- boolean
Patch changes
Patch 6.0.2 (2014-10-14): Added.
See also
- C_Garrison.GetOwnedBuildingInfo()
External Links
- GitHub FrameXML, Gethe
- Globe "wut?" Tool, Townlong-Yak
- wowprogramming, Jim Whitehead