C_Garrison. GetOwnedBuildingInfoAbbrev
functionguessedavailable in: camelot
Returns basic information on garrison buildings.
The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.
Parameters
| name | type |
|---|---|
plotID | number |
Returns
| # | name | type | description |
|---|---|---|---|
| 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 |
In wowlua's emulated client
guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean
sources
Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.