C_MountJournal.GetMountInfoExtraByID

From Warcraft Wiki
Jump to navigation Jump to search
GitHub Octocat.png  Townlong-Yak BAD.png  ProfIcons engineering.png  BTNTemp.png C_MountJournal.GetMountInfoExtraByID TheWarWithin-Icon-Inline.pngDragonflight-Icon-Inline.pngCata-Logo-Small.pngWrath-Logo-Small.pngWoW Icon update.png + 7.0.3 / 1.15.0
GitHub Octocat.png  Townlong-Yak BAD.png  ProfIcons engineering.png  BTNTemp.png C_MountJournal.GetDisplayedMountInfoExtra TheWarWithin-Icon-Inline.pngDragonflight-Icon-Inline.pngCata-Logo-Small.pngWrath-Logo-Small.pngWoW Icon update.png + 7.0.3 / 1.15.0
BTNTemp.png C_MountJournal.GetMountInfoExtra + 6.0.2

Returns extra information about the specified mount.

creatureDisplayInfoID, description, source, isSelfMount, mountTypeID,
uiModelSceneID, animID, spellVisualKitID, disablePlayerMountPreview
    = C_MountJournal.GetMountInfoExtraByID(mountID)
    = C_MountJournal.GetDisplayedMountInfoExtra(index)

Arguments

GetMountInfoExtraByID

mountID
number : MountID - Returned from C_MountJournal.GetMountIDs()

GetDisplayedMountInfoExtra

index
number - Index of the displayed mount in the mount journal list with the current search query and filters. Ranging from 1 to C_MountJournal.GetNumDisplayedMounts()

Returns

creatureDisplayInfoID
number : DisplayID - If nil, then the mount has multiple displayIDs, from C_MountJournal.GetMountAllCreatureDisplayInfoByID()[1]. This is not consistent however, since this can be not nil and still have multiple displayIds.
description
string - flavor text describing the mount
source
string - information about how the mount is obtained, including vendor name and location, monetary cost, etc.
isSelfMount
boolean - true if the player transforms into the mount (eg. Obsidian Nightwing or Sandstone Drake), or false for normal mounts
mountTypeID
number - a number indicating the capabilities of the mount; known values include:
uiModelSceneID
number : ModelSceneID
animID
number
spellVisualKitID
number
disablePlayerMountPreview
boolean

Patch changes

Battle for Azeroth Patch 8.2.5 (2019-09-24): Added animID, spellVisualKitID, disablePlayerMountPreview returns.
Legion Patch 7.0.3 (2016-07-19): Moved to C_MountJournal.GetMountInfoExtraByID()
Warlords of Draenor Patch 6.0.2 (2014-10-14): Added C_MountJournal.GetMountInfoExtra()