v0.13.7

C_MountJournal.GetMountInfoByID

functionimplementedavailable in: camelot

Returns information about the specified mount.

signaturewowlua
function C_MountJournal.GetMountInfoByID(    mountID: number): (string?, number?, number?, boolean?, boolean?, number?, boolean?, boolean?, PvPFaction?, boolean?, boolean?, number?, boolean?)

Parameters

nametypedescription
mountIDnumberMountID - Returned from C_MountJournal.GetMountIDs()

Returns

#nametypedescription
1namestring?The name of the mount.
2spellIDnumber?The ID of the spell that summons the mount.
3iconnumber?Icon texture used by the mount.
4isActiveboolean?Indicates if the player is currently mounted on the mount.
5isUsableboolean?Indicates if the mount is usable based on the player's current location, riding skill, profession skill, class, etc.
6sourceTypenumber?Indicates generally how the mount may be obtained; a localized string describing the acquisition method is returned by C_MountJournal.GetMountInfoExtraByID.
7isFavoriteboolean?Indicates if the mount is currently marked as a favorite.
8isFactionSpecificboolean?true if the mount is only available to one faction, false otherwise.
9factionPvPFaction?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.
10shouldHideOnCharboolean?Indicates if the mount should be hidden in the player's mount journal (includes Swift Spectral Gryphon and mounts specific to the opposite faction).
11isCollectedboolean?Indicates if the player has learned the mount.
12mountIDnumber?ID of the mount.
13isSteadyFlightboolean?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 ↗.