C_MountJournal.GetMountInfoExtraByID

From Wowpedia
Jump to: navigation, search

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 - the ID of the mount, valid mount IDs are returned from C_MountJournal.GetMountIDs()

Arguments (GetDisplayedMountInfoExtra)

index 
number - the index of the displayed mount, i.e. mount in list that matches current search query and filters, in the range of 1 to C_MountJournal.GetNumDisplayedMounts() (inclusive).

Returns

creatureDisplayInfoID 
number - the display ID of the model for the mount. If this is nil, then the mount has multiple displayIds, returned from C_MountJournal.GetMountAllCreatureDisplayInfoByID and is shown with random displayIds in the mount journal [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 - an ID representing the ui model scene
animID 
number
spellVisualKitID 
number
disablePlayerMountPreview 
boolean

Patch changes

See also