WowAddons

World of Warcraft Forever API · C_MountJournal.md, for your AI

C_MountJournal

50 functions, 4 events, 3 tables, as Blizzard documents them for Forever 1.60.1 (70959).

Making an addon with an AI? Tell it: Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it. It checks every call against this API before you try it in the game, then publishes it here. How it works.

Functions

C_MountJournal.ApplyMountEquipment

canContinue = C_MountJournal.ApplyMountEquipment(itemLocation)

Arguments

itemLocationItemLocation

Returns

canContinuebool

C_MountJournal.AreMountEquipmentEffectsSuppressed

areEffectsSuppressed = C_MountJournal.AreMountEquipmentEffectsSuppressed()

Returns

areEffectsSuppressedbool

C_MountJournal.ClearFanfare

C_MountJournal.ClearFanfare(mountID)

Arguments

mountIDnumber

C_MountJournal.ClearRecentFanfares

C_MountJournal.ClearRecentFanfares()

C_MountJournal.Dismiss

C_MountJournal.Dismiss()

C_MountJournal.GetAllCreatureDisplayIDsForMountID

creatureDisplayIDs = C_MountJournal.GetAllCreatureDisplayIDsForMountID(mountID)

Arguments

mountIDnumber

Returns

creatureDisplayIDsnumber[]

C_MountJournal.GetAppliedMountEquipmentID

itemID = C_MountJournal.GetAppliedMountEquipmentID()

Returns

itemIDnumber may be nil

C_MountJournal.GetCollectedDragonridingMounts

mountIDs = C_MountJournal.GetCollectedDragonridingMounts()

Returns

mountIDsnumber[]

C_MountJournal.GetCollectedFilterSetting

isChecked = C_MountJournal.GetCollectedFilterSetting(filterIndex)

Arguments

filterIndexluaIndex

Returns

isCheckedbool

C_MountJournal.GetDisplayedMountAllCreatureDisplayInfo

allDisplayInfo = C_MountJournal.GetDisplayedMountAllCreatureDisplayInfo(mountIndex)

May return nothing.

Arguments

mountIndexluaIndex

Returns

allDisplayInfoMountCreatureDisplayInfo[]

C_MountJournal.GetDisplayedMountID

mountID = C_MountJournal.GetDisplayedMountID(displayIndex)

Arguments

displayIndexluaIndex

Returns

mountIDnumber

C_MountJournal.GetDisplayedMountInfo

name, spellID, icon, isActive, isUsable, sourceType, isFavorite, isFactionSpecific, faction, shouldHideOnChar, isCollected, mountID, isSteadyFlight = C_MountJournal.GetDisplayedMountInfo(displayIndex)

May return nothing.

Arguments

displayIndexluaIndex

Returns

namecstring
spellIDnumber
iconfileID
isActivebool
isUsablebool
sourceTypenumber
isFavoritebool
isFactionSpecificbool
factionPvPFaction may be nil
shouldHideOnCharbool
isCollectedbool
mountIDnumber
isSteadyFlightbool

C_MountJournal.GetDisplayedMountInfoExtra

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

May return nothing.

Arguments

mountIndexluaIndex

Returns

creatureDisplayInfoIDnumber may be nil
descriptioncstring
sourcecstring
isSelfMountbool
mountTypeIDnumber
uiModelSceneIDnumber
animIDnumber
spellVisualKitIDnumber
disablePlayerMountPreviewbool

C_MountJournal.GetDynamicFlightModeSpellID

spellID = C_MountJournal.GetDynamicFlightModeSpellID()

Returns

spellIDnumber

C_MountJournal.GetIsFavorite

isFavorite, canSetFavorite = C_MountJournal.GetIsFavorite(mountIndex)

Arguments

mountIndexluaIndex

Returns

isFavoritebool
canSetFavoritebool

C_MountJournal.GetMountAllCreatureDisplayInfoByID

allDisplayInfo = C_MountJournal.GetMountAllCreatureDisplayInfoByID(mountID)

May return nothing.

Arguments

mountIDnumber

Returns

allDisplayInfoMountCreatureDisplayInfo[]

C_MountJournal.GetMountEquipmentUnlockLevel

level = C_MountJournal.GetMountEquipmentUnlockLevel()

Returns

levelnumber

C_MountJournal.GetMountFromItem

mountID = C_MountJournal.GetMountFromItem(itemID)

Arguments

itemIDnumber

Returns

mountIDnumber may be nil

C_MountJournal.GetMountFromSpell

mountID = C_MountJournal.GetMountFromSpell(spellID)

Arguments

spellIDSpellIdentifier

Returns

mountIDnumber may be nil

C_MountJournal.GetMountIDs

mountIDs = C_MountJournal.GetMountIDs()

Returns

mountIDsnumber[]

C_MountJournal.GetMountInfoByID

name, spellID, icon, isActive, isUsable, sourceType, isFavorite, isFactionSpecific, faction, shouldHideOnChar, isCollected, mountID, isSteadyFlight = C_MountJournal.GetMountInfoByID(mountID)

May return nothing.

Arguments

mountIDnumber

Returns

namecstring
spellIDnumber
iconfileID
isActivebool
isUsablebool
sourceTypenumber
isFavoritebool
isFactionSpecificbool
factionPvPFaction may be nil
shouldHideOnCharbool
isCollectedbool
mountIDnumber
isSteadyFlightbool

C_MountJournal.GetMountInfoExtraByID

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

May return nothing.

Arguments

mountIDnumber

Returns

creatureDisplayInfoIDnumber may be nil
descriptioncstring
sourcecstring
isSelfMountbool
mountTypeIDnumber
uiModelSceneIDnumber
animIDnumber
spellVisualKitIDnumber
disablePlayerMountPreviewbool

C_MountJournal.GetMountUsabilityByID

isUsable, useError = C_MountJournal.GetMountUsabilityByID(mountID, checkIndoors)

May return nothing.

Arguments

mountIDnumber
checkIndoorsbool

Returns

isUsablebool
useErrorcstring may be nil

C_MountJournal.GetNumDisplayedMounts

numMounts = C_MountJournal.GetNumDisplayedMounts()

Returns

numMountsnumber

C_MountJournal.GetNumMounts

numMounts = C_MountJournal.GetNumMounts()

Returns

numMountsnumber

C_MountJournal.GetNumMountsNeedingFanfare

numMountsNeedingFanfare = C_MountJournal.GetNumMountsNeedingFanfare()

Returns

numMountsNeedingFanfarenumber

C_MountJournal.HasDisplayableMount

hasMount = C_MountJournal.HasDisplayableMount()

Returns

hasMountbool

C_MountJournal.IsDragonridingUnlocked

isUnlocked = C_MountJournal.IsDragonridingUnlocked()

Returns whether the player has unlocked the ability to switch between Skyriding and steady flight styles for flying mounts .

Returns

isUnlockedbool

C_MountJournal.IsItemMountEquipment

isMountEquipment = C_MountJournal.IsItemMountEquipment(itemLocation)

Determines if the item is mount equipment based on its class and subclass.

Arguments

itemLocationItemLocation

Returns

isMountEquipmentbool

C_MountJournal.IsMountEquipmentApplied

isApplied = C_MountJournal.IsMountEquipmentApplied()

Returns

isAppliedbool

C_MountJournal.IsSourceChecked

isChecked = C_MountJournal.IsSourceChecked(filterIndex)

Arguments

filterIndexluaIndex

Returns

isCheckedbool

C_MountJournal.IsTypeChecked

isChecked = C_MountJournal.IsTypeChecked(filterIndex)

Arguments

filterIndexluaIndex

Returns

isCheckedbool

C_MountJournal.IsUsingDefaultFilters

isUsingDefaultFilters = C_MountJournal.IsUsingDefaultFilters()

Returns

isUsingDefaultFiltersbool

C_MountJournal.IsValidSourceFilter

isValid = C_MountJournal.IsValidSourceFilter(filterIndex)

Arguments

filterIndexluaIndex

Returns

isValidbool

C_MountJournal.IsValidTypeFilter

isValid = C_MountJournal.IsValidTypeFilter(filterIndex)

Arguments

filterIndexluaIndex

Returns

isValidbool

C_MountJournal.MountEquipmentAvailable

isMountEquipmentAvailable = C_MountJournal.MountEquipmentAvailable()

Returns

isMountEquipmentAvailablebool

C_MountJournal.NeedsFanfare

needsFanfare = C_MountJournal.NeedsFanfare(mountID)

Arguments

mountIDnumber

Returns

needsFanfarebool

C_MountJournal.Pickup

C_MountJournal.Pickup(displayIndex)

Arguments

displayIndexluaIndex

C_MountJournal.PickupDynamicFlightMode

C_MountJournal.PickupDynamicFlightMode()

C_MountJournal.SetAllSourceFilters

C_MountJournal.SetAllSourceFilters(isChecked)

Arguments

isCheckedbool

C_MountJournal.SetAllTypeFilters

C_MountJournal.SetAllTypeFilters(isChecked)

Arguments

isCheckedbool

C_MountJournal.SetCollectedFilterSetting

C_MountJournal.SetCollectedFilterSetting(filterIndex, isChecked)

Arguments

filterIndexluaIndex
isCheckedbool

C_MountJournal.SetDefaultFilters

C_MountJournal.SetDefaultFilters()

C_MountJournal.SetIsFavorite

C_MountJournal.SetIsFavorite(mountIndex, isFavorite)

Arguments

mountIndexluaIndex
isFavoritebool

C_MountJournal.SetSearch

C_MountJournal.SetSearch(searchValue)

Arguments

searchValuecstring

C_MountJournal.SetSourceFilter

C_MountJournal.SetSourceFilter(filterIndex, isChecked)

Arguments

filterIndexluaIndex
isCheckedbool

C_MountJournal.SetTypeFilter

C_MountJournal.SetTypeFilter(filterIndex, isChecked)

Arguments

filterIndexluaIndex
isCheckedbool

C_MountJournal.SummonByID

C_MountJournal.SummonByID(mountID)

Arguments

mountIDnumber

C_MountJournal.SwapDynamicFlightMode

C_MountJournal.SwapDynamicFlightMode()

Events

MOUNT_EQUIPMENT_APPLY_RESULT

successbool

MOUNT_JOURNAL_SEARCH_UPDATED

No payload.

MOUNT_JOURNAL_USABILITY_CHANGED

No payload.

NEW_MOUNT_ADDED

mountIDnumber

Tables

MountCreatureDisplayInfo structure

creatureDisplayIDnumber
isVisiblebool

MountInfo structure

namecstring
spellIDnumber
iconfileID
isActivebool
isUsablebool
sourceTypenumber
isFavoritebool
isFactionSpecificbool
factionPvPFaction may be nil
shouldHideOnCharbool
isCollectedbool
mountIDnumber
isSteadyFlightbool

MountInfoExtra structure

creatureDisplayInfoIDnumber may be nil
descriptioncstring
sourcecstring
isSelfMountbool
mountTypeIDnumber
uiModelSceneIDnumber
animIDnumber
spellVisualKitIDnumber
disablePlayerMountPreviewbool

It takes WowAddons

Free, for Windows, macOS and Linux: it puts the addon in your game in one click and keeps it up to date. Open it once, then press Install again.

WowAddons runs on your computer: open wowaddons.gg there.

Download for Windows