Returns information about a mount.
See also _(API_CAT_MOUNT).
Signature:
creatureName,
spellID,
icon,
active,
summonable,
source,
isFavorite,
isFactionSpecific,
faction,
unknown,
owned
=
C_MountJournal.GetMountInfo(index)
Arguments:
index
- Index of a mount(between 1 andC_MountJournal.GetNumMounts(type)
) (number
)
Returns:
creatureName
- Localized name of the mount (string
)spellID
- spellID of ability used to summon mount (number
, spellID)icon
- Path to an icon texture for the mount (string
)active
- true if the mount queried is currently summoned; otherwise false (boolean
)summonable
- true if the mount can be summoned by this character; otherwise false (boolean
)source
- A number indicating the source of the mount. (number
)1
- Drop2
- Quest3
- Vendor4
- Profession5
- Pet Battle6
- Achievement7
- World Event8
- Promotion9
- Trading Card Game10
- In-Game Shop
isFavorite
- (boolean
)isFactionSpecific
- (boolean
)faction
- the faction the mount belongs to (boolean
)0
- Horde1
- Alliancenil
- none / both / neutral
unknown
- (boolean
)owned
- (boolean
)