C_MountJournal.GetNumMounts

From Warcraft Wiki
Jump to navigation Jump to search

Returns the number of mounts listed in the mount journal.

numMounts = C_MountJournal.GetNumMounts()

Returns

numMounts
number

Details

  • Unlike the corresponding function for the pet journal, the number returned by this function includes not only the mounts that are currently visible in the mount journal, but also the mounts that are hidden by the player's current filter preferences, mounts that are hidden because they are not available to the player's faction, and mounts that are never displayed, such as the Swift Spectral Gryphon which players are mounted on while dead in certain zones.

Patch changes

Warlords of Draenor Patch 6.0.2 (2014-10-14): Added.

See also