C_MountJournal. GetMountInfoByID
functionimplementedavailable in: camelot
Returns information about the specified mount.
function C_MountJournal.GetMountInfoByID( mountID: number): (string?, number?, number?, boolean?, boolean?, number?, boolean?, boolean?, PvPFaction?, boolean?, boolean?, number?, boolean?)Parameters
| name | type | description |
|---|---|---|
mountID | number | MountID - Returned from C_MountJournal.GetMountIDs() |
Returns
| # | name | type | description |
|---|---|---|---|
| 1 | name | string? | The name of the mount. |
| 2 | spellID | number? | The ID of the spell that summons the mount. |
| 3 | icon | number? | Icon texture used by the mount. |
| 4 | isActive | boolean? | Indicates if the player is currently mounted on the mount. |
| 5 | isUsable | boolean? | Indicates if the mount is usable based on the player's current location, riding skill, profession skill, class, etc. |
| 6 | sourceType | number? | Indicates generally how the mount may be obtained; a localized string describing the acquisition method is returned by C_MountJournal.GetMountInfoExtraByID. |
| 7 | isFavorite | boolean? | Indicates if the mount is currently marked as a favorite. |
| 8 | isFactionSpecific | boolean? | true if the mount is only available to one faction, false otherwise. |
| 9 | faction | PvPFaction? | 0 if the mount is available only to Horde players, 1 if the mount is available only to Alliance players, or nil if the mount is not faction-specific. |
| 10 | shouldHideOnChar | boolean? | Indicates if the mount should be hidden in the player's mount journal (includes Swift Spectral Gryphon and mounts specific to the opposite faction). |
| 11 | isCollected | boolean? | Indicates if the player has learned the mount. |
| 12 | mountID | number? | ID of the mount. |
| 13 | isSteadyFlight | boolean? | true if mount supports only steady flight. |
Blizzard's documentation says it may return nothing.
In wowlua's emulated client
implementedwowlua models the system behind it. what the statuses mean
Restrictions
sources
Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (MountJournal system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.