C_Garrison .GetGarrisonInfo
Jump to navigation
Jump to search
Flavors |
---|
Links |
Info |
Added in 6.0.2 |
Returns information for your character's garrison.
garrisonLevel, mapTexture, townHallX, townHallY = C_Garrison.GetGarrisonInfo(garrisonType)
Arguments
- garrisonType
- Enum.GarrisonType
Value | Field | Description |
---|---|---|
2 | Type_6_0_Garrison | Warlords of Draenor |
3 | Type_7_0_Garrison | Legion |
9 | Type_8_0_Garrison | Battle for Azeroth |
111 | Type_9_0_Garrison | Shadowlands |
Returns
- garrisonLevel
- number?
- mapTexture
- string?
- townHallX
- number?
- townHallY
- number?
Patch changes
Patch 7.0.3 (2016-07-19): garrisonType is now required, additional returns added.
Patch 6.0.2 (2014-10-14): Added.