v0.13.8

C_MountJournal

namespaceavailable in: camelot

Status in wowlua

50 functions: 19 implemented, 3 recorded, 28 guessed. 4 events, 2 of them fired by the emulator on its own.

Functions

functionwhat it doesstatus
ApplyMountEquipmentApplies a mount equipment item to the player's mounts and returns whether it worked. · by wowlua
(itemLocation: ItemLocationMixin): boolean
guessed
AreMountEquipmentEffectsSuppressedWhether the applied mount equipment's effects are suppressed. · by wowlua
(): boolean
guessed
ClearFanfareMarks a new mount as seen so it stops showing as new. · by wowlua
(mountID: number)
guessed
ClearRecentFanfaresMarks all new mounts as seen. · by wowlua
()
guessed
DismissDismisses the currently summoned mount.
()
guessed
GetAllCreatureDisplayIDsForMountIDReturns the IDs of all the looks a mount can have. · by wowlua
(mountID: number): number[]
implemented
GetAppliedMountEquipmentIDReturns the ID of the applied mount equipment. · by wowlua
(): number?
guessed
GetCollectedDragonridingMountsReturns the IDs of the player's collected skyriding mounts. · by wowlua
(): number[]
guessed
GetCollectedFilterSettingIndicates whether the specified mount journal filter is enabled.
(filterIndex: number): boolean
guessed
GetDisplayedMountAllCreatureDisplayInfoReturns the display IDs for a mount.
(mountIndex: number): MountCreatureDisplayInfo[]?
implemented
GetDisplayedMountIDReturns the ID of a mount in the mount journal's filtered list, or 0 past its end. · by wowlua
(displayIndex: number): number
implemented
GetDisplayedMountInfoReturns information about a mount in the mount journal's filtered list. · by wowlua
(displayIndex: number): (string?, number?, number?, boolean?, boolean?, number?, boolean?, boolean?, PvPFaction?, boolean?, boolean?, number?, boolean?)
implemented
GetDisplayedMountInfoExtraReturns more information about a mount in the mount journal's filtered list, such as its description and source. · by wowlua
(mountIndex: number): (number?, string?, string?, boolean?, number?, number?, number?, number?, boolean?)
implemented
GetDynamicFlightModeSpellIDReturns the ID of the spell that switches between skyriding and steady flight. · by wowlua
(): number
recorded
GetIsFavoriteIndicates whether the specified mount is marked as a favorite.
(mountIndex: number): (boolean, boolean)
implemented
GetMountAllCreatureDisplayInfoByIDReturns the display IDs for a mount.
(mountID: number): MountCreatureDisplayInfo[]?
implemented
GetMountEquipmentUnlockLevelReturns the level at which mount equipment unlocks. · by wowlua
(): number
guessed
GetMountFromItemReturns the mount for an item ID.
(itemID: number): number?
implemented
GetMountFromSpellReturns the mount for a spell ID.
(spellID: SpellIdentifier): number?
implemented
GetMountIDsReturns the IDs of mounts listed in the mount journal.
(): number[]
implemented
GetMountInfoByIDReturns information about the specified mount.
(mountID: number): (string?, number?, number?, boolean?, boolean?, number?, boolean?, boolean?, PvPFaction?, boolean?, boolean?, number?, boolean?)
implemented
GetMountInfoExtraByIDReturns extra information about the specified mount.
(mountID: number): (number?, string?, string?, boolean?, number?, number?, number?, number?, boolean?)
implemented
GetMountLinkReturns the link of a mount. · by wowlua
(spellID: number): string?
guessed
GetMountUsabilityByIDReturns if a mount is currently usable by the player.
(mountID: number, checkIndoors: boolean): (boolean?, string?)
implemented
GetNumDisplayedMountsReturns the number of (filtered) mounts shown in the mount journal.
(): number
implemented
GetNumMountsReturns the number of mounts listed in the mount journal.
(): number
implemented
GetNumMountsNeedingFanfareReturns the number of new mounts not yet seen. · by wowlua
(): number
implemented
HasDisplayableMountWhether the mount journal has any mount to show. · by wowlua
(): boolean
implemented
IsDragonridingUnlockedReturns whether the player has unlocked the ability to switch between Skyriding and steady flight styles for flying mounts .
(): boolean
recorded
IsItemMountEquipmentDetermines if the item is mount equipment based on its class and subclass.
(itemLocation: ItemLocationMixin): boolean
guessed
IsMountEquipmentAppliedWhether mount equipment is applied. · by wowlua
(): boolean
guessed
IsSourceCheckedWhether a source filter of the mount journal is checked. · by wowlua
(filterIndex: number): boolean
guessed
IsTypeCheckedWhether a type filter of the mount journal is checked. · by wowlua
(filterIndex: number): boolean
guessed
IsUsingDefaultFiltersWhether the mount journal uses its default filters. · by wowlua
(): boolean
guessed
IsValidSourceFilterWhether a source filter of the mount journal exists. · by wowlua
(filterIndex: number): boolean
guessed
IsValidTypeFilterWhether a type filter of the mount journal exists. · by wowlua
(filterIndex: number): boolean
guessed
MountEquipmentAvailableWhether mount equipment is available to the player. · by wowlua
(): boolean
recorded
NeedsFanfareWhether a mount is new and not yet seen. · by wowlua
(mountID: number): boolean
guessed
PickupPicks up the specified mount onto the cursor, usually in preparation for placing it on an action button.
(displayIndex: number)
guessed
PickupDynamicFlightModePuts the skyriding and steady flight switch on the cursor. · by wowlua
()
guessed
SetAllSourceFiltersChecks or unchecks all source filters of the mount journal. · by wowlua
(isChecked: boolean)
guessed
SetAllTypeFiltersChecks or unchecks all type filters of the mount journal. · by wowlua
(isChecked: boolean)
guessed
SetCollectedFilterSettingEnables or disables the specified mount journal filter.
(filterIndex: number, isChecked: boolean)
implemented
SetDefaultFiltersResets the mount journal's filters to their defaults. · by wowlua
()
guessed
SetIsFavoriteMarks or unmarks the specified mount as a favorite.
(mountIndex: number, isFavorite: boolean)
implemented
SetSearchFilters the mount journal by a search text. · by wowlua
(searchValue: string)
guessed
SetSourceFilterChecks or unchecks a source filter of the mount journal. · by wowlua
(filterIndex: number, isChecked: boolean)
guessed
SetTypeFilterChecks or unchecks a type filter of the mount journal. · by wowlua
(filterIndex: number, isChecked: boolean)
guessed
SummonByIDSummons the specified mount.
(mountID: number)
guessed
SwapDynamicFlightModeSwitches between skyriding and steady flight. · by wowlua
()
guessed

"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.

Events

eventpayloadfired by the emulator
MOUNT_EQUIPMENT_APPLY_RESULTsuccess: booleannot implemented
MOUNT_JOURNAL_SEARCH_UPDATEDno payloadimplemented
MOUNT_JOURNAL_USABILITY_CHANGEDno payloadimplemented
NEW_MOUNT_ADDEDmountID: numbernot implemented

An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("MOUNT_EQUIPMENT_APPLY_RESULT").

Structures

  • MountCreatureDisplayInfo · creatureDisplayID, isVisible
  • MountInfo · name, spellID, icon, isActive, isUsable, sourceType, isFavorite, isFactionSpecific, faction?, shouldHideOnChar, isCollected, mountID, isSteadyFlight
  • MountInfoExtra · creatureDisplayInfoID?, description, source, isSelfMount, mountTypeID, uiModelSceneID, animID, spellVisualKitID, disablePlayerMountPreview

sources

Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (MountJournal system, camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗; written by wowlua where no documentation describes the entry.