API C_MountJournal.GetMountInfoExtraByID

From Wowpedia
Jump to: navigation, search

Returns extra information about the specified mount.

creatureDisplayID, descriptionText, sourceText, isSelfMount, mountType, uiModelScene = 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

creatureDisplayID 
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.
descriptionText 
string - flavor text describing the mount
sourceText 
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
mountType 
number - a number indicating the capabilities of the mount; known values include:
uiModelScene 
number - an ID representing the ui model scene

Patch changes

See also