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
itemLocation | ItemLocation |
|---|
Returns
canContinue | bool |
|---|
C_MountJournal.AreMountEquipmentEffectsSuppressed
areEffectsSuppressed = C_MountJournal.AreMountEquipmentEffectsSuppressed()
Returns
areEffectsSuppressed | bool |
|---|
C_MountJournal.ClearFanfare
C_MountJournal.ClearFanfare(mountID)
Arguments
mountID | number |
|---|
C_MountJournal.ClearRecentFanfares
C_MountJournal.ClearRecentFanfares()
C_MountJournal.Dismiss
C_MountJournal.Dismiss()
C_MountJournal.GetAllCreatureDisplayIDsForMountID
creatureDisplayIDs = C_MountJournal.GetAllCreatureDisplayIDsForMountID(mountID)
Arguments
mountID | number |
|---|
Returns
creatureDisplayIDs | number[] |
|---|
C_MountJournal.GetAppliedMountEquipmentID
itemID = C_MountJournal.GetAppliedMountEquipmentID()
Returns
itemID | number may be nil |
|---|
C_MountJournal.GetCollectedDragonridingMounts
mountIDs = C_MountJournal.GetCollectedDragonridingMounts()
Returns
mountIDs | number[] |
|---|
C_MountJournal.GetCollectedFilterSetting
isChecked = C_MountJournal.GetCollectedFilterSetting(filterIndex)
Arguments
filterIndex | luaIndex |
|---|
Returns
isChecked | bool |
|---|
C_MountJournal.GetDisplayedMountAllCreatureDisplayInfo
allDisplayInfo = C_MountJournal.GetDisplayedMountAllCreatureDisplayInfo(mountIndex)
May return nothing.
Arguments
mountIndex | luaIndex |
|---|
Returns
allDisplayInfo | MountCreatureDisplayInfo[] |
|---|
C_MountJournal.GetDisplayedMountID
mountID = C_MountJournal.GetDisplayedMountID(displayIndex)
Arguments
displayIndex | luaIndex |
|---|
Returns
mountID | number |
|---|
C_MountJournal.GetDisplayedMountInfo
name, spellID, icon, isActive, isUsable, sourceType, isFavorite, isFactionSpecific, faction, shouldHideOnChar, isCollected, mountID, isSteadyFlight = C_MountJournal.GetDisplayedMountInfo(displayIndex)
May return nothing.
Arguments
displayIndex | luaIndex |
|---|
Returns
name | cstring | |
|---|---|---|
spellID | number | |
icon | fileID | |
isActive | bool | |
isUsable | bool | |
sourceType | number | |
isFavorite | bool | |
isFactionSpecific | bool | |
faction | PvPFaction may be nil | |
shouldHideOnChar | bool | |
isCollected | bool | |
mountID | number | |
isSteadyFlight | bool |
C_MountJournal.GetDisplayedMountInfoExtra
creatureDisplayInfoID, description, source, isSelfMount, mountTypeID, uiModelSceneID, animID, spellVisualKitID, disablePlayerMountPreview = C_MountJournal.GetDisplayedMountInfoExtra(mountIndex)
May return nothing.
Arguments
mountIndex | luaIndex |
|---|
Returns
creatureDisplayInfoID | number may be nil | |
|---|---|---|
description | cstring | |
source | cstring | |
isSelfMount | bool | |
mountTypeID | number | |
uiModelSceneID | number | |
animID | number | |
spellVisualKitID | number | |
disablePlayerMountPreview | bool |
C_MountJournal.GetDynamicFlightModeSpellID
spellID = C_MountJournal.GetDynamicFlightModeSpellID()
Returns
spellID | number |
|---|
C_MountJournal.GetIsFavorite
isFavorite, canSetFavorite = C_MountJournal.GetIsFavorite(mountIndex)
Arguments
mountIndex | luaIndex |
|---|
Returns
isFavorite | bool | |
|---|---|---|
canSetFavorite | bool |
C_MountJournal.GetMountAllCreatureDisplayInfoByID
allDisplayInfo = C_MountJournal.GetMountAllCreatureDisplayInfoByID(mountID)
May return nothing.
Arguments
mountID | number |
|---|
Returns
allDisplayInfo | MountCreatureDisplayInfo[] |
|---|
C_MountJournal.GetMountEquipmentUnlockLevel
level = C_MountJournal.GetMountEquipmentUnlockLevel()
Returns
level | number |
|---|
C_MountJournal.GetMountFromItem
mountID = C_MountJournal.GetMountFromItem(itemID)
Arguments
itemID | number |
|---|
Returns
mountID | number may be nil |
|---|
C_MountJournal.GetMountFromSpell
mountID = C_MountJournal.GetMountFromSpell(spellID)
Arguments
spellID | SpellIdentifier |
|---|
Returns
mountID | number may be nil |
|---|
C_MountJournal.GetMountIDs
mountIDs = C_MountJournal.GetMountIDs()
Returns
mountIDs | number[] |
|---|
C_MountJournal.GetMountInfoByID
name, spellID, icon, isActive, isUsable, sourceType, isFavorite, isFactionSpecific, faction, shouldHideOnChar, isCollected, mountID, isSteadyFlight = C_MountJournal.GetMountInfoByID(mountID)
May return nothing.
Arguments
mountID | number |
|---|
Returns
name | cstring | |
|---|---|---|
spellID | number | |
icon | fileID | |
isActive | bool | |
isUsable | bool | |
sourceType | number | |
isFavorite | bool | |
isFactionSpecific | bool | |
faction | PvPFaction may be nil | |
shouldHideOnChar | bool | |
isCollected | bool | |
mountID | number | |
isSteadyFlight | bool |
C_MountJournal.GetMountInfoExtraByID
creatureDisplayInfoID, description, source, isSelfMount, mountTypeID, uiModelSceneID, animID, spellVisualKitID, disablePlayerMountPreview = C_MountJournal.GetMountInfoExtraByID(mountID)
May return nothing.
Arguments
mountID | number |
|---|
Returns
creatureDisplayInfoID | number may be nil | |
|---|---|---|
description | cstring | |
source | cstring | |
isSelfMount | bool | |
mountTypeID | number | |
uiModelSceneID | number | |
animID | number | |
spellVisualKitID | number | |
disablePlayerMountPreview | bool |
C_MountJournal.GetMountLink
mountCreatureDisplayInfoLink = C_MountJournal.GetMountLink(spellID)
Arguments
spellID | number |
|---|
Returns
mountCreatureDisplayInfoLink | string may be nil |
|---|
C_MountJournal.GetMountUsabilityByID
isUsable, useError = C_MountJournal.GetMountUsabilityByID(mountID, checkIndoors)
May return nothing.
Arguments
mountID | number | |
|---|---|---|
checkIndoors | bool |
Returns
isUsable | bool | |
|---|---|---|
useError | cstring may be nil |
C_MountJournal.GetNumDisplayedMounts
numMounts = C_MountJournal.GetNumDisplayedMounts()
Returns
numMounts | number |
|---|
C_MountJournal.GetNumMounts
numMounts = C_MountJournal.GetNumMounts()
Returns
numMounts | number |
|---|
C_MountJournal.GetNumMountsNeedingFanfare
numMountsNeedingFanfare = C_MountJournal.GetNumMountsNeedingFanfare()
Returns
numMountsNeedingFanfare | number |
|---|
C_MountJournal.HasDisplayableMount
hasMount = C_MountJournal.HasDisplayableMount()
Returns
hasMount | bool |
|---|
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
isUnlocked | bool |
|---|
C_MountJournal.IsItemMountEquipment
isMountEquipment = C_MountJournal.IsItemMountEquipment(itemLocation)
Determines if the item is mount equipment based on its class and subclass.
Arguments
itemLocation | ItemLocation |
|---|
Returns
isMountEquipment | bool |
|---|
C_MountJournal.IsMountEquipmentApplied
isApplied = C_MountJournal.IsMountEquipmentApplied()
Returns
isApplied | bool |
|---|
C_MountJournal.IsSourceChecked
isChecked = C_MountJournal.IsSourceChecked(filterIndex)
Arguments
filterIndex | luaIndex |
|---|
Returns
isChecked | bool |
|---|
C_MountJournal.IsTypeChecked
isChecked = C_MountJournal.IsTypeChecked(filterIndex)
Arguments
filterIndex | luaIndex |
|---|
Returns
isChecked | bool |
|---|
C_MountJournal.IsUsingDefaultFilters
isUsingDefaultFilters = C_MountJournal.IsUsingDefaultFilters()
Returns
isUsingDefaultFilters | bool |
|---|
C_MountJournal.IsValidSourceFilter
isValid = C_MountJournal.IsValidSourceFilter(filterIndex)
Arguments
filterIndex | luaIndex |
|---|
Returns
isValid | bool |
|---|
C_MountJournal.IsValidTypeFilter
isValid = C_MountJournal.IsValidTypeFilter(filterIndex)
Arguments
filterIndex | luaIndex |
|---|
Returns
isValid | bool |
|---|
C_MountJournal.MountEquipmentAvailable
isMountEquipmentAvailable = C_MountJournal.MountEquipmentAvailable()
Returns
isMountEquipmentAvailable | bool |
|---|
C_MountJournal.NeedsFanfare
needsFanfare = C_MountJournal.NeedsFanfare(mountID)
Arguments
mountID | number |
|---|
Returns
needsFanfare | bool |
|---|
C_MountJournal.Pickup
C_MountJournal.Pickup(displayIndex)
Arguments
displayIndex | luaIndex |
|---|
C_MountJournal.PickupDynamicFlightMode
C_MountJournal.PickupDynamicFlightMode()
C_MountJournal.SetAllSourceFilters
C_MountJournal.SetAllSourceFilters(isChecked)
Arguments
isChecked | bool |
|---|
C_MountJournal.SetAllTypeFilters
C_MountJournal.SetAllTypeFilters(isChecked)
Arguments
isChecked | bool |
|---|
C_MountJournal.SetCollectedFilterSetting
C_MountJournal.SetCollectedFilterSetting(filterIndex, isChecked)
Arguments
filterIndex | luaIndex | |
|---|---|---|
isChecked | bool |
C_MountJournal.SetDefaultFilters
C_MountJournal.SetDefaultFilters()
C_MountJournal.SetIsFavorite
C_MountJournal.SetIsFavorite(mountIndex, isFavorite)
Arguments
mountIndex | luaIndex | |
|---|---|---|
isFavorite | bool |
C_MountJournal.SetSearch
C_MountJournal.SetSearch(searchValue)
Arguments
searchValue | cstring |
|---|
C_MountJournal.SetSourceFilter
C_MountJournal.SetSourceFilter(filterIndex, isChecked)
Arguments
filterIndex | luaIndex | |
|---|---|---|
isChecked | bool |
C_MountJournal.SetTypeFilter
C_MountJournal.SetTypeFilter(filterIndex, isChecked)
Arguments
filterIndex | luaIndex | |
|---|---|---|
isChecked | bool |
C_MountJournal.SummonByID
C_MountJournal.SummonByID(mountID)
Arguments
mountID | number |
|---|
C_MountJournal.SwapDynamicFlightMode
C_MountJournal.SwapDynamicFlightMode()
Events
MOUNT_EQUIPMENT_APPLY_RESULT
success | bool |
|---|
MOUNT_JOURNAL_SEARCH_UPDATED
No payload.
MOUNT_JOURNAL_USABILITY_CHANGED
No payload.
NEW_MOUNT_ADDED
mountID | number |
|---|
Tables
MountCreatureDisplayInfo structure
creatureDisplayID | number | |
|---|---|---|
isVisible | bool |
MountInfo structure
name | cstring | |
|---|---|---|
spellID | number | |
icon | fileID | |
isActive | bool | |
isUsable | bool | |
sourceType | number | |
isFavorite | bool | |
isFactionSpecific | bool | |
faction | PvPFaction may be nil | |
shouldHideOnChar | bool | |
isCollected | bool | |
mountID | number | |
isSteadyFlight | bool |
MountInfoExtra structure
creatureDisplayInfoID | number may be nil | |
|---|---|---|
description | cstring | |
source | cstring | |
isSelfMount | bool | |
mountTypeID | number | |
uiModelSceneID | number | |
animID | number | |
spellVisualKitID | number | |
disablePlayerMountPreview | bool |