Lore archive · Warcraft Wiki, 2023 dump
API C MountJournal.GetMountInfoByID
Last wiki revision 2022-12-11
Returns information about the specified mount. name, spellID, icon, isActive, isUsable, sourceType, isFavorite, isFactionSpecific, faction, shouldHideOnChar, isCollected, mountID = C_MountJournal.GetMountInfoByID(mountID) = C_MountJournal.GetDisplayedMountInfo(displayIndex)
- mountID: : MountID - Returned from
- displayIndex: - Index of the displayed mount in the mount journal list with the current search query and filters. Ranging from 1 to
- 1. name: - The name of the mount.
- 2. spellID: - The ID of the spell that summons the mount.
- 3. icon: : FileID - Icon texture used by the mount.
- 4. isActive: - Indicates if the player is currently mounted on the mount.
- 5. isUsable: - Indicates if the mount is usable based on the player's current location, riding skill, profession skill, class, etc.
- 6. sourceType: - Indicates generally how the mount may be obtained; a localized string describing the acquisition method is returned by.
- 7. isFavorite: - Indicates if the mount is currently marked as a favorite.
- 8. isFactionSpecific: - true if the mount is only available to one faction, false otherwise.
- 9. faction: - 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: - 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: - Indicates if the player has learned the mount.
- 12. mountID: - ID of the mount.
- 13. isForDragonriding:
Current values of the return include:
- 0 - not categorized; includes many mounts that should (and may eventually) be included in one of the other categories
Source
https://warcraft.wiki.gg/wiki/API_C_MountJournal.GetMountInfoByID · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.