C_Garrison. GetAutoTroops
functionguessedavailable in: camelot
Returns the troops available for adventures. · description by wowlua
function C_Garrison.GetAutoTroops( followerType: number): AutoCombatTroopInfo[]Parameters
| name | type | description |
|---|---|---|
followerType | number | The follower type of the adventure table. |
Returns
autoTroopInfo · AutoCombatTroopInfo[]
| field | type |
|---|---|
name | string |
followerID | GarrisonFollower |
garrFollowerID | GarrisonFollower |
followerTypeID | number |
displayIDs | FollowerDisplayID[] |
level | number |
quality | number |
levelXP | number |
maxXP | number |
height | number |
scale | number |
displayScale | number? |
displayHeight | number? |
classSpec | number? |
className | string? |
flavorText | string? |
classAtlas | string |
portraitIconID | number |
textureKit | string |
isTroop | boolean |
raceID | number |
health | number |
maxHealth | number |
role | number |
isAutoTroop | boolean |
isSoulbind | boolean |
isCollected | boolean |
autoCombatStats | FollowerAutoCombatStatsInfo |
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
Restrictions
sources
Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (GarrisonInfo system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry.